2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="wmradio.c"
274 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS TARGETS HAVE_XOSD LIBXOSD_CONFIG LIBXOSD_CFLAGS LIBXOSD_LIBS PKG_CONFIG PANEL_LIBS PANEL_CFLAGS LIBOBJS LTLIBOBJS'
277 # Initialize some variables set by options.
279 ac_init_version
=false
280 # The variables have the same names as the options, with
281 # dashes changed to underlines.
289 program_transform_name
=s
,x
,x
,
297 # Installation directory options.
298 # These are left unexpanded so users can "make install exec_prefix=/foo"
299 # and all the variables that are supposed to be based on exec_prefix
300 # by default will actually change.
301 # Use braces instead of parens because sh, perl, etc. also accept them.
302 bindir
='${exec_prefix}/bin'
303 sbindir
='${exec_prefix}/sbin'
304 libexecdir
='${exec_prefix}/libexec'
305 datadir
='${prefix}/share'
306 sysconfdir
='${prefix}/etc'
307 sharedstatedir
='${prefix}/com'
308 localstatedir
='${prefix}/var'
309 libdir
='${exec_prefix}/lib'
310 includedir
='${prefix}/include'
311 oldincludedir
='/usr/include'
312 infodir
='${prefix}/info'
313 mandir
='${prefix}/man'
318 # If the previous option needs an argument, assign it.
319 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
325 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327 # Accept the important Cygnus configure options, so we can diagnose typos.
331 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
333 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
336 -build |
--build |
--buil |
--bui |
--bu)
337 ac_prev
=build_alias
;;
338 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
339 build_alias
=$ac_optarg ;;
341 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
342 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
343 ac_prev
=cache_file
;;
344 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
345 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
346 cache_file
=$ac_optarg ;;
349 cache_file
=config.cache
;;
351 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
353 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
355 datadir
=$ac_optarg ;;
357 -disable-* |
--disable-*)
358 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; }
363 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
366 -enable-* |
--enable-*)
367 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; }
372 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
374 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 eval "enable_$ac_feature='$ac_optarg'" ;;
379 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
380 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
381 |
--exec |
--exe |
--ex)
382 ac_prev
=exec_prefix
;;
383 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
384 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
385 |
--exec=* |
--exe=* |
--ex=*)
386 exec_prefix
=$ac_optarg ;;
388 -gas |
--gas |
--ga |
--g)
389 # Obsolete; use --with-gas.
392 -help |
--help |
--hel |
--he |
-h)
394 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
395 ac_init_help
=recursive
;;
396 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
397 ac_init_help
=short
;;
399 -host |
--host |
--hos |
--ho)
400 ac_prev
=host_alias
;;
401 -host=* |
--host=* |
--hos=* |
--ho=*)
402 host_alias
=$ac_optarg ;;
404 -includedir |
--includedir |
--includedi |
--included |
--include \
405 |
--includ |
--inclu |
--incl |
--inc)
406 ac_prev
=includedir
;;
407 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
408 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
409 includedir
=$ac_optarg ;;
411 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
413 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
414 infodir
=$ac_optarg ;;
416 -libdir |
--libdir |
--libdi |
--libd)
418 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
421 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
422 |
--libexe |
--libex |
--libe)
423 ac_prev
=libexecdir
;;
424 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
425 |
--libexe=* |
--libex=* |
--libe=*)
426 libexecdir
=$ac_optarg ;;
428 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
429 |
--localstate |
--localstat |
--localsta |
--localst \
430 |
--locals |
--local |
--loca |
--loc |
--lo)
431 ac_prev
=localstatedir
;;
432 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
433 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
434 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
435 localstatedir
=$ac_optarg ;;
437 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
439 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
443 # Obsolete; use --without-fp.
446 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
447 |
--no-cr |
--no-c |
-n)
450 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
451 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
454 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
455 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
456 |
--oldin |
--oldi |
--old |
--ol |
--o)
457 ac_prev
=oldincludedir
;;
458 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
459 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
460 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
461 oldincludedir
=$ac_optarg ;;
463 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
465 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
468 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
469 |
--program-pre |
--program-pr |
--program-p)
470 ac_prev
=program_prefix
;;
471 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
472 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
473 program_prefix
=$ac_optarg ;;
475 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
476 |
--program-suf |
--program-su |
--program-s)
477 ac_prev
=program_suffix
;;
478 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
479 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
480 program_suffix
=$ac_optarg ;;
482 -program-transform-name |
--program-transform-name \
483 |
--program-transform-nam |
--program-transform-na \
484 |
--program-transform-n |
--program-transform- \
485 |
--program-transform |
--program-transfor \
486 |
--program-transfo |
--program-transf \
487 |
--program-trans |
--program-tran \
488 |
--progr-tra |
--program-tr |
--program-t)
489 ac_prev
=program_transform_name
;;
490 -program-transform-name=* |
--program-transform-name=* \
491 |
--program-transform-nam=* |
--program-transform-na=* \
492 |
--program-transform-n=* |
--program-transform-=* \
493 |
--program-transform=* |
--program-transfor=* \
494 |
--program-transfo=* |
--program-transf=* \
495 |
--program-trans=* |
--program-tran=* \
496 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
497 program_transform_name
=$ac_optarg ;;
499 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
500 |
-silent |
--silent |
--silen |
--sile |
--sil)
503 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
505 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
507 sbindir
=$ac_optarg ;;
509 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
510 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
511 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
513 ac_prev
=sharedstatedir
;;
514 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
515 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
516 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
518 sharedstatedir
=$ac_optarg ;;
520 -site |
--site |
--sit)
522 -site=* |
--site=* |
--sit=*)
525 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
527 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
530 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
531 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
532 ac_prev
=sysconfdir
;;
533 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
534 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
535 sysconfdir
=$ac_optarg ;;
537 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
538 ac_prev
=target_alias
;;
539 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
540 target_alias
=$ac_optarg ;;
542 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
545 -version |
--version |
--versio |
--versi |
--vers |
-V)
549 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package
=`echo $ac_package| sed 's/-/_/g'`
556 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 eval "with_$ac_package='$ac_optarg'" ;;
561 -without-* |
--without-*)
562 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
565 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; }
567 ac_package
=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
571 # Obsolete; use --with-x.
574 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
575 |
--x-incl |
--x-inc |
--x-in |
--x-i)
576 ac_prev
=x_includes
;;
577 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
578 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
579 x_includes
=$ac_optarg ;;
581 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
582 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
583 ac_prev
=x_libraries
;;
584 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
585 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
586 x_libraries
=$ac_optarg ;;
588 -*) { echo "$as_me: error: unrecognized option: $ac_option
589 Try \`$0 --help' for more information." >&2
590 { (exit 1); exit 1; }; }
594 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
595 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; }
599 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
604 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
614 if test -n "$ac_prev"; then
615 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; }
620 # Be sure to have absolute paths.
621 for ac_var
in exec_prefix prefix
623 eval ac_val
=$
`echo $ac_var`
625 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
631 # Be sure to have absolute paths.
632 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
635 eval ac_val
=$
`echo $ac_var`
637 [\\/$
]* | ?
:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
643 # There might be people who depend on the old broken behavior: `$host'
644 # used to hold the argument of --host etc.
645 # FIXME: To remove some day.
650 # FIXME: To remove some day.
651 if test "x$host_alias" != x
; then
652 if test "x$build_alias" = x
; then
653 cross_compiling
=maybe
654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655 If a cross compiler is detected then cross compile mode will be used." >&2
656 elif test "x$build_alias" != "x$host_alias"; then
662 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
664 test "$silent" = yes && exec 6>/dev
/null
667 # Find the source files, if location was not specified.
668 if test -z "$srcdir"; then
669 ac_srcdir_defaulted
=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir
=`(dirname "$0") 2>/dev/null ||
672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
684 if test ! -r $srcdir/$ac_unique_file; then
688 ac_srcdir_defaulted
=no
690 if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693 { (exit 1); exit 1; }; }
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696 { (exit 1); exit 1; }; }
699 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set
=${build_alias+set}
704 ac_env_build_alias_value
=$build_alias
705 ac_cv_env_build_alias_set
=${build_alias+set}
706 ac_cv_env_build_alias_value
=$build_alias
707 ac_env_host_alias_set
=${host_alias+set}
708 ac_env_host_alias_value
=$host_alias
709 ac_cv_env_host_alias_set
=${host_alias+set}
710 ac_cv_env_host_alias_value
=$host_alias
711 ac_env_target_alias_set
=${target_alias+set}
712 ac_env_target_alias_value
=$target_alias
713 ac_cv_env_target_alias_set
=${target_alias+set}
714 ac_cv_env_target_alias_value
=$target_alias
715 ac_env_CC_set
=${CC+set}
717 ac_cv_env_CC_set
=${CC+set}
718 ac_cv_env_CC_value
=$CC
719 ac_env_CFLAGS_set
=${CFLAGS+set}
720 ac_env_CFLAGS_value
=$CFLAGS
721 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
722 ac_cv_env_CFLAGS_value
=$CFLAGS
723 ac_env_LDFLAGS_set
=${LDFLAGS+set}
724 ac_env_LDFLAGS_value
=$LDFLAGS
725 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
726 ac_cv_env_LDFLAGS_value
=$LDFLAGS
727 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
728 ac_env_CPPFLAGS_value
=$CPPFLAGS
729 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
730 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
731 ac_env_CPP_set
=${CPP+set}
732 ac_env_CPP_value
=$CPP
733 ac_cv_env_CPP_set
=${CPP+set}
734 ac_cv_env_CPP_value
=$CPP
737 # Report the --help message.
739 if test "$ac_init_help" = "long"; then
740 # Omit some internal or obsolete options to make the list less imposing.
741 # This message is too long to be a string in the A/UX 3.1 sh.
743 \`configure' configures this package to adapt to many kinds of systems.
745 Usage: $0 [OPTION]... [VAR=VALUE]...
747 To assign environment variables (e.g., CC, CFLAGS...), specify them as
748 VAR=VALUE. See below for descriptions of some of the useful variables.
750 Defaults for the options are specified in brackets.
753 -h, --help display this help and exit
754 --help=short display options specific to this package
755 --help=recursive display the short help of all the included packages
756 -V, --version display version information and exit
757 -q, --quiet, --silent do not print \`checking...' messages
758 --cache-file=FILE cache test results in FILE [disabled]
759 -C, --config-cache alias for \`--cache-file=config.cache'
760 -n, --no-create do not create output files
761 --srcdir=DIR find the sources in DIR [configure dir or \`..']
766 Installation directories:
767 --prefix=PREFIX install architecture-independent files in PREFIX
769 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
772 By default, \`make install' will install all the files in
773 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
774 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
775 for instance \`--prefix=\$HOME'.
777 For better control, use the options below.
779 Fine tuning of the installation directories:
780 --bindir=DIR user executables [EPREFIX/bin]
781 --sbindir=DIR system admin executables [EPREFIX/sbin]
782 --libexecdir=DIR program executables [EPREFIX/libexec]
783 --datadir=DIR read-only architecture-independent data [PREFIX/share]
784 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
785 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
786 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
787 --libdir=DIR object code libraries [EPREFIX/lib]
788 --includedir=DIR C header files [PREFIX/include]
789 --oldincludedir=DIR C header files for non-gcc [/usr/include]
790 --infodir=DIR info documentation [PREFIX/info]
791 --mandir=DIR man documentation [PREFIX/man]
797 --x-includes=DIR X include files are
in DIR
798 --x-libraries=DIR X library files are
in DIR
802 if test -n "$ac_init_help"; then
807 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
808 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
809 --enable-libxosd use libxosd library
(default
yes)
810 --enable-gnome create gnome applet too
(default
yes)
813 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
814 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
815 --with-x use the X Window System
816 --with-xosd-config=LIBXOSD_CONFIG
817 Location of xosd-config
819 Some influential environment variables
:
820 CC C compiler
command
821 CFLAGS C compiler flags
822 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
823 nonstandard directory
<lib dir
>
824 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
825 headers
in a nonstandard directory
<include dir
>
828 Use these variables to override the choices made by
`configure' or to help
829 it to find libraries and programs with nonstandard names/locations.
834 if test "$ac_init_help" = "recursive"; then
835 # If there are subdirs, report their specific --help.
837 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
838 test -d $ac_dir || continue
841 if test "$ac_dir" != .; then
842 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
843 # A "../" for each directory in $ac_dir_suffix.
844 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
846 ac_dir_suffix= ac_top_builddir=
850 .) # No --srcdir option. We are building in place.
852 if test -z "$ac_top_builddir"; then
855 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
857 [\\/]* | ?:[\\/]* ) # Absolute path.
858 ac_srcdir=$srcdir$ac_dir_suffix;
859 ac_top_srcdir=$srcdir ;;
861 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
862 ac_top_srcdir=$ac_top_builddir$srcdir ;;
864 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
866 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
867 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
868 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
869 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
872 # Check for guested configure; otherwise get Cygnus style configure.
873 if test -f $ac_srcdir/configure.gnu; then
875 $SHELL $ac_srcdir/configure.gnu --help=recursive
876 elif test -f $ac_srcdir/configure; then
878 $SHELL $ac_srcdir/configure --help=recursive
879 elif test -f $ac_srcdir/configure.ac ||
880 test -f $ac_srcdir/configure.in; then
884 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
890 test -n "$ac_init_help" && exit 0
891 if $ac_init_version; then
894 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
895 Free Software Foundation, Inc.
896 This configure script is free software; the Free Software Foundation
897 gives unlimited permission to copy, distribute and modify it.
903 This file contains any messages produced by compilers while
904 running configure, to aid debugging if configure makes a mistake.
906 It was created by $as_me, which was
907 generated by GNU Autoconf 2.57. Invocation command line was
918 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
919 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
920 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
921 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
922 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
924 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
925 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
927 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
928 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
929 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
930 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
931 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
932 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
933 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
941 test -z "$as_dir" && as_dir=.
957 # Keep a trace of the command line.
958 # Strip out --no-create and --no-recursion so they do not pile up.
959 # Strip out --silent because we don't want to record it for future runs.
960 # Also quote any args containing shell meta-characters.
961 # Make two passes to allow for proper duplicate-argument suppression.
966 ac_must_keep_next=false
972 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
973 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
974 | -silent | --silent | --silen | --sile | --sil)
976 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
977 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
980 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
982 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
983 if test $ac_must_keep_next = true; then
984 ac_must_keep_next=false # Got value, back to normal.
987 *=* | --config-cache | -C | -disable-* | --disable-* \
988 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
989 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
990 | -with-* | --with-* | -without-* | --without-* | --x)
991 case "$ac_configure_args0 " in
992 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
995 -* ) ac_must_keep_next=true ;;
998 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
999 # Get rid of the leading space.
1005 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1006 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1008 # When interrupted or exit'd, cleanup temporary files, and complete
1009 # config.log. We remove comments because anyway the quotes in there
1010 # would cause problems or look ugly.
1011 # WARNING: Be sure not to use single quotes in there, as some shells,
1012 # such as our DU 5.0 friend, will then `close
' the trap.
1013 trap 'exit_status
=$?
1014 # Save into config.log some information that might help in debugging.
1019 ## ---------------- ##
1020 ## Cache variables. ##
1021 ## ---------------- ##
1024 # The following way of writing the cache mishandles newlines in values,
1027 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1030 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1035 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1042 ## ----------------- ##
1043 ## Output variables. ##
1044 ## ----------------- ##
1047 for ac_var
in $ac_subst_vars
1049 eval ac_val
=$
`echo $ac_var`
1050 echo "$ac_var='"'"'$ac_val'"'"'"
1054 if test -n "$ac_subst_files"; then
1061 for ac_var
in $ac_subst_files
1063 eval ac_val
=$
`echo $ac_var`
1064 echo "$ac_var='"'"'$ac_val'"'"'"
1069 if test -s confdefs.h
; then
1076 sed "/^$/d" confdefs.h |
sort
1079 test "$ac_signal" != 0 &&
1080 echo "$as_me: caught signal $ac_signal"
1081 echo "$as_me: exit $exit_status"
1083 rm -f core core.
* *.core
&&
1084 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1087 for ac_signal in 1 2 13 15; do
1088 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1092 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1093 rm -rf conftest* confdefs.h
1094 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1097 # Predefined preprocessor variables.
1099 cat >>confdefs.h <<_ACEOF
1100 #define PACKAGE_NAME "$PACKAGE_NAME"
1104 cat >>confdefs.h <<_ACEOF
1105 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1109 cat >>confdefs.h <<_ACEOF
1110 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1114 cat >>confdefs.h <<_ACEOF
1115 #define PACKAGE_STRING "$PACKAGE_STRING"
1119 cat >>confdefs.h <<_ACEOF
1120 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1124 # Let the site file select an alternate cache file if it wants to.
1125 # Prefer explicitly selected file to automatically selected ones.
1126 if test -z "$CONFIG_SITE"; then
1127 if test "x$prefix" != xNONE; then
1128 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1130 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1133 for ac_site_file in $CONFIG_SITE; do
1134 if test -r "$ac_site_file"; then
1135 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1136 echo "$as_me: loading site script $ac_site_file" >&6;}
1137 sed 's
/^
/|
/' "$ac_site_file" >&5
1142 if test -r "$cache_file"; then
1143 # Some versions of bash will fail to source /dev/null (special
1144 # files actually), so we avoid doing that.
1145 if test -f "$cache_file"; then
1146 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1147 echo "$as_me: loading cache $cache_file" >&6;}
1149 [\\/]* | ?:[\\/]* ) . $cache_file;;
1150 *) . ./$cache_file;;
1154 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1155 echo "$as_me: creating cache $cache_file" >&6;}
1159 # Check that the precious variables saved in the cache have kept the same
1161 ac_cache_corrupted=false
1162 for ac_var in `(set) 2>&1 |
1163 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1164 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1165 eval ac_new_set=\$ac_env_${ac_var}_set
1166 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1167 eval ac_new_val="\$ac_env_${ac_var}_value"
1168 case $ac_old_set,$ac_new_set in
1170 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1171 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1172 ac_cache_corrupted=: ;;
1174 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1175 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1176 ac_cache_corrupted=: ;;
1179 if test "x$ac_old_val" != "x$ac_new_val"; then
1180 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1181 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1182 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1183 echo "$as_me: former value: $ac_old_val" >&2;}
1184 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1185 echo "$as_me: current value: $ac_new_val" >&2;}
1186 ac_cache_corrupted=:
1189 # Pass precious variables to config.status.
1190 if test "$ac_new_set" = set; then
1192 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1193 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1194 *) ac_arg=$ac_var=$ac_new_val ;;
1196 case " $ac_configure_args " in
1197 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1198 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1202 if $ac_cache_corrupted; then
1203 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1204 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1205 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1206 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1207 { (exit 1); exit 1; }; }
1211 ac_cpp='$CPP $CPPFLAGS'
1212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1213 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1235 # Check whether --enable-libxosd or --disable-libxosd was given.
1236 if test "${enable_libxosd+set}" = set; then
1237 enableval="$enable_libxosd"
1240 enable_libxosd="yes"
1243 # Check whether --enable-gnome or --disable-gnome was given.
1244 if test "${enable_gnome+set}" = set; then
1245 enableval="$enable_gnome"
1252 ac_cpp='$CPP $CPPFLAGS'
1253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1254 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1256 if test -n "$ac_tool_prefix"; then
1257 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1258 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1259 echo "$as_me:$LINENO: checking for $ac_word" >&5
1260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1261 if test "${ac_cv_prog_CC+set}" = set; then
1262 echo $ECHO_N "(cached) $ECHO_C" >&6
1264 if test -n "$CC"; then
1265 ac_cv_prog_CC="$CC" # Let the user override the test.
1267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1271 test -z "$as_dir" && as_dir=.
1272 for ac_exec_ext in '' $ac_executable_extensions; do
1273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1274 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1284 if test -n "$CC"; then
1285 echo "$as_me:$LINENO: result: $CC" >&5
1286 echo "${ECHO_T}$CC" >&6
1288 echo "$as_me:$LINENO: result: no" >&5
1289 echo "${ECHO_T}no" >&6
1293 if test -z "$ac_cv_prog_CC"; then
1295 # Extract the first word of "gcc", so it can be a program name with args.
1296 set dummy gcc; ac_word=$2
1297 echo "$as_me:$LINENO: checking for $ac_word" >&5
1298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1299 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1300 echo $ECHO_N "(cached) $ECHO_C" >&6
1302 if test -n "$ac_ct_CC"; then
1303 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1309 test -z "$as_dir" && as_dir=.
1310 for ac_exec_ext in '' $ac_executable_extensions; do
1311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1312 ac_cv_prog_ac_ct_CC="gcc"
1313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1321 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1322 if test -n "$ac_ct_CC"; then
1323 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1324 echo "${ECHO_T}$ac_ct_CC" >&6
1326 echo "$as_me:$LINENO: result: no" >&5
1327 echo "${ECHO_T}no" >&6
1335 if test -z "$CC"; then
1336 if test -n "$ac_tool_prefix"; then
1337 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1338 set dummy ${ac_tool_prefix}cc; ac_word=$2
1339 echo "$as_me:$LINENO: checking for $ac_word" >&5
1340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1341 if test "${ac_cv_prog_CC+set}" = set; then
1342 echo $ECHO_N "(cached) $ECHO_C" >&6
1344 if test -n "$CC"; then
1345 ac_cv_prog_CC="$CC" # Let the user override the test.
1347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1351 test -z "$as_dir" && as_dir=.
1352 for ac_exec_ext in '' $ac_executable_extensions; do
1353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1354 ac_cv_prog_CC="${ac_tool_prefix}cc"
1355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1364 if test -n "$CC"; then
1365 echo "$as_me:$LINENO: result: $CC" >&5
1366 echo "${ECHO_T}$CC" >&6
1368 echo "$as_me:$LINENO: result: no" >&5
1369 echo "${ECHO_T}no" >&6
1373 if test -z "$ac_cv_prog_CC"; then
1375 # Extract the first word of "cc", so it can be a program name with args.
1376 set dummy cc; ac_word=$2
1377 echo "$as_me:$LINENO: checking for $ac_word" >&5
1378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 if test -n "$ac_ct_CC"; then
1383 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir=.
1390 for ac_exec_ext in '' $ac_executable_extensions; do
1391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1392 ac_cv_prog_ac_ct_CC="cc"
1393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1401 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1402 if test -n "$ac_ct_CC"; then
1403 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1404 echo "${ECHO_T}$ac_ct_CC" >&6
1406 echo "$as_me:$LINENO: result: no" >&5
1407 echo "${ECHO_T}no" >&6
1416 if test -z "$CC"; then
1417 # Extract the first word of "cc", so it can be a program name with args.
1418 set dummy cc; ac_word=$2
1419 echo "$as_me:$LINENO: checking for $ac_word" >&5
1420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1421 if test "${ac_cv_prog_CC+set}" = set; then
1422 echo $ECHO_N "(cached) $ECHO_C" >&6
1424 if test -n "$CC"; then
1425 ac_cv_prog_CC="$CC" # Let the user override the test.
1428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1432 test -z "$as_dir" && as_dir=.
1433 for ac_exec_ext in '' $ac_executable_extensions; do
1434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1436 ac_prog_rejected=yes
1440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1446 if test $ac_prog_rejected = yes; then
1447 # We found a bogon in the path, so make sure we never use it.
1448 set dummy $ac_cv_prog_CC
1450 if test $# != 0; then
1451 # We chose a different compiler from the bogus one.
1452 # However, it has the same basename, so the bogon will be chosen
1453 # first if we set CC to just the basename; use the full file name.
1455 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1461 if test -n "$CC"; then
1462 echo "$as_me:$LINENO: result: $CC" >&5
1463 echo "${ECHO_T}$CC" >&6
1465 echo "$as_me:$LINENO: result: no" >&5
1466 echo "${ECHO_T}no" >&6
1470 if test -z "$CC"; then
1471 if test -n "$ac_tool_prefix"; then
1474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1475 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1476 echo "$as_me:$LINENO: checking for $ac_word" >&5
1477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1478 if test "${ac_cv_prog_CC+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1481 if test -n "$CC"; then
1482 ac_cv_prog_CC="$CC" # Let the user override the test.
1484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1488 test -z "$as_dir" && as_dir=.
1489 for ac_exec_ext in '' $ac_executable_extensions; do
1490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1491 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1501 if test -n "$CC"; then
1502 echo "$as_me:$LINENO: result: $CC" >&5
1503 echo "${ECHO_T}$CC" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1509 test -n "$CC" && break
1512 if test -z "$CC"; then
1516 # Extract the first word of "$ac_prog", so it can be a program name with args.
1517 set dummy $ac_prog; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$ac_ct_CC"; then
1524 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_ac_ct_CC="$ac_prog"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1542 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1543 if test -n "$ac_ct_CC"; then
1544 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1545 echo "${ECHO_T}$ac_ct_CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1551 test -n "$ac_ct_CC" && break
1560 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1561 See \`config.log' for more details.
" >&5
1562 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1563 See \
`config.log' for more details." >&2;}
1564 { (exit 1); exit 1; }; }
1566 # Provide some information about the compiler.
1567 echo "$as_me:$LINENO:" \
1568 "checking for C compiler version" >&5
1569 ac_compiler=`set X
$ac_compile; echo $2`
1570 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1571 (eval $ac_compiler --version </dev/null >&5) 2>&5
1573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1574 (exit $ac_status); }
1575 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1576 (eval $ac_compiler -v </dev/null >&5) 2>&5
1578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1579 (exit $ac_status); }
1580 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1581 (eval $ac_compiler -V </dev/null >&5) 2>&5
1583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1584 (exit $ac_status); }
1586 cat >conftest.$ac_ext <<_ACEOF
1587 #line $LINENO "configure"
1590 cat confdefs.h >>conftest.$ac_ext
1591 cat >>conftest.$ac_ext <<_ACEOF
1592 /* end confdefs.h. */
1602 ac_clean_files_save=$ac_clean_files
1603 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1604 # Try to create an executable without -o first, disregard a.out.
1605 # It will help us diagnose broken compilers, and finding out an intuition
1607 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1608 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1609 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1610 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1611 (eval $ac_link_default) 2>&5
1613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1614 (exit $ac_status); }; then
1615 # Find the output, starting from the most likely. This scheme is
1616 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1619 # Be careful to initialize this variable, since it used to be cached.
1620 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1622 # b.out is created by i960 compilers.
1623 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1625 test -f "$ac_file" || continue
1627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1630 # This is the source file.
1633 # We found the default executable, but exeext='' is most
1637 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1638 # FIXME: I believe we export ac_cv_exeext for Libtool,
1639 # but it would be cool to find out if it's true. Does anybody
1640 # maintain Libtool? --akim.
1648 echo "$as_me: failed program was:" >&5
1649 sed 's/^/| /' conftest.$ac_ext >&5
1651 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1652 See \`config.log
' for more details." >&5
1653 echo "$as_me: error: C compiler cannot create executables
1654 See \`config.log' for more details.
" >&2;}
1655 { (exit 77); exit 77; }; }
1658 ac_exeext=$ac_cv_exeext
1659 echo "$as_me:$LINENO: result
: $ac_file" >&5
1660 echo "${ECHO_T}$ac_file" >&6
1662 # Check the compiler produces executables we can run. If not, either
1663 # the compiler is broken, or we cross compile.
1664 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1665 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1666 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1667 # If not cross compiling, check that we can run a simple program.
1668 if test "$cross_compiling" != yes; then
1669 if { ac_try='./$ac_file'
1670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1673 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1674 (exit $ac_status); }; }; then
1677 if test "$cross_compiling" = maybe; then
1680 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1681 If you meant to cross compile
, use \
`--host'.
1682 See \`config.log
' for more details." >&5
1683 echo "$as_me: error: cannot run C compiled programs.
1684 If you meant to cross compile, use \`--host'.
1685 See \
`config.log' for more details." >&2;}
1686 { (exit 1); exit 1; }; }
1690 echo "$as_me:$LINENO: result: yes" >&5
1691 echo "${ECHO_T}yes" >&6
1693 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1694 ac_clean_files=$ac_clean_files_save
1695 # Check the compiler produces executables we can run. If not, either
1696 # the compiler is broken, or we cross compile.
1697 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1698 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1699 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1700 echo "${ECHO_T}$cross_compiling" >&6
1702 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1703 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1705 (eval $ac_link) 2>&5
1707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1708 (exit $ac_status); }; then
1709 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1710 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1711 # work properly (i.e., refer to `conftest.exe'), while it won't with
1713 for ac_file
in conftest.exe conftest conftest.
*; do
1714 test -f "$ac_file" ||
continue
1716 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1717 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1724 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1725 See \`config.log' for more details." >&5
1726 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1727 See \`config.log' for more details." >&2;}
1728 { (exit 1); exit 1; }; }
1731 rm -f conftest
$ac_cv_exeext
1732 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1733 echo "${ECHO_T}$ac_cv_exeext" >&6
1735 rm -f conftest.
$ac_ext
1736 EXEEXT
=$ac_cv_exeext
1738 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1739 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1740 if test "${ac_cv_objext+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1743 cat >conftest.
$ac_ext <<_ACEOF
1744 #line $LINENO "configure"
1747 cat confdefs.h
>>conftest.
$ac_ext
1748 cat >>conftest.
$ac_ext <<_ACEOF
1749 /* end confdefs.h. */
1759 rm -f conftest.o conftest.obj
1760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1761 (eval $ac_compile) 2>&5
1763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1764 (exit $ac_status); }; then
1765 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1767 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1768 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1773 echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.
$ac_ext >&5
1776 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1777 See \`config.log' for more details." >&5
1778 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1779 See \`config.log' for more details." >&2;}
1780 { (exit 1); exit 1; }; }
1783 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1785 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1786 echo "${ECHO_T}$ac_cv_objext" >&6
1787 OBJEXT
=$ac_cv_objext
1789 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1790 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1791 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1792 echo $ECHO_N "(cached) $ECHO_C" >&6
1794 cat >conftest.
$ac_ext <<_ACEOF
1795 #line $LINENO "configure"
1798 cat confdefs.h
>>conftest.
$ac_ext
1799 cat >>conftest.
$ac_ext <<_ACEOF
1800 /* end confdefs.h. */
1813 rm -f conftest.
$ac_objext
1814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1815 (eval $ac_compile) 2>&5
1817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1818 (exit $ac_status); } &&
1819 { ac_try
='test -s conftest.$ac_objext'
1820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1824 (exit $ac_status); }; }; then
1827 echo "$as_me: failed program was:" >&5
1828 sed 's/^/| /' conftest.
$ac_ext >&5
1832 rm -f conftest.
$ac_objext conftest.
$ac_ext
1833 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1836 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1837 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1838 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1839 ac_test_CFLAGS
=${CFLAGS+set}
1840 ac_save_CFLAGS
=$CFLAGS
1842 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1843 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1844 if test "${ac_cv_prog_cc_g+set}" = set; then
1845 echo $ECHO_N "(cached) $ECHO_C" >&6
1847 cat >conftest.
$ac_ext <<_ACEOF
1848 #line $LINENO "configure"
1851 cat confdefs.h
>>conftest.
$ac_ext
1852 cat >>conftest.
$ac_ext <<_ACEOF
1853 /* end confdefs.h. */
1863 rm -f conftest.
$ac_objext
1864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1865 (eval $ac_compile) 2>&5
1867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1868 (exit $ac_status); } &&
1869 { ac_try
='test -s conftest.$ac_objext'
1870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1874 (exit $ac_status); }; }; then
1877 echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.
$ac_ext >&5
1882 rm -f conftest.
$ac_objext conftest.
$ac_ext
1884 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1885 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1886 if test "$ac_test_CFLAGS" = set; then
1887 CFLAGS
=$ac_save_CFLAGS
1888 elif test $ac_cv_prog_cc_g = yes; then
1889 if test "$GCC" = yes; then
1895 if test "$GCC" = yes; then
1901 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1902 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1903 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 ac_cv_prog_cc_stdc
=no
1908 cat >conftest.
$ac_ext <<_ACEOF
1909 #line $LINENO "configure"
1912 cat confdefs.h
>>conftest.
$ac_ext
1913 cat >>conftest.
$ac_ext <<_ACEOF
1914 /* end confdefs.h. */
1917 #include <sys/types.h>
1918 #include <sys/stat.h>
1919 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1920 struct buf { int x; };
1921 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1922 static char *e (p, i)
1928 static char *f (char * (*g) (char **, int), char **p, ...)
1933 s = g (p, va_arg (v,int));
1937 int test (int i, double x);
1938 struct s1 {int (*f) (int a);};
1939 struct s2 {int (*f) (double a);};
1940 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1946 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1951 # Don't try gcc -ansi; that turns off useful extensions and
1952 # breaks some systems' header files.
1953 # AIX -qlanglvl=ansi
1954 # Ultrix and OSF/1 -std1
1955 # HP-UX 10.20 and later -Ae
1956 # HP-UX older versions -Aa -D_HPUX_SOURCE
1957 # SVR4 -Xc -D__EXTENSIONS__
1958 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1960 CC
="$ac_save_CC $ac_arg"
1961 rm -f conftest.
$ac_objext
1962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1963 (eval $ac_compile) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); } &&
1967 { ac_try
='test -s conftest.$ac_objext'
1968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1972 (exit $ac_status); }; }; then
1973 ac_cv_prog_cc_stdc
=$ac_arg
1976 echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.
$ac_ext >&5
1980 rm -f conftest.
$ac_objext
1982 rm -f conftest.
$ac_ext conftest.
$ac_objext
1987 case "x$ac_cv_prog_cc_stdc" in
1989 echo "$as_me:$LINENO: result: none needed" >&5
1990 echo "${ECHO_T}none needed" >&6 ;;
1992 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
1993 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
1994 CC
="$CC $ac_cv_prog_cc_stdc" ;;
1997 # Some people use a C++ compiler to compile C. Since we use `exit',
1998 # in C++ we need to declare it. In case someone uses the same compiler
1999 # for both compiling C and C++ we need to have the C++ compiler decide
2000 # the declaration of exit, since it's the most demanding environment.
2001 cat >conftest.
$ac_ext <<_ACEOF
2006 rm -f conftest.
$ac_objext
2007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2008 (eval $ac_compile) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); } &&
2012 { ac_try
='test -s conftest.$ac_objext'
2013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2017 (exit $ac_status); }; }; then
2018 for ac_declaration
in \
2020 '#include <stdlib.h>' \
2021 'extern "C" void std::exit (int) throw (); using std::exit;' \
2022 'extern "C" void std::exit (int); using std::exit;' \
2023 'extern "C" void exit (int) throw ();' \
2024 'extern "C" void exit (int);' \
2027 cat >conftest.
$ac_ext <<_ACEOF
2028 #line $LINENO "configure"
2031 cat confdefs.h
>>conftest.
$ac_ext
2032 cat >>conftest.
$ac_ext <<_ACEOF
2033 /* end confdefs.h. */
2044 rm -f conftest.
$ac_objext
2045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2046 (eval $ac_compile) 2>&5
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049 (exit $ac_status); } &&
2050 { ac_try
='test -s conftest.$ac_objext'
2051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); }; }; then
2058 echo "$as_me: failed program was:" >&5
2059 sed 's/^/| /' conftest.
$ac_ext >&5
2063 rm -f conftest.
$ac_objext conftest.
$ac_ext
2064 cat >conftest.
$ac_ext <<_ACEOF
2065 #line $LINENO "configure"
2068 cat confdefs.h
>>conftest.
$ac_ext
2069 cat >>conftest.
$ac_ext <<_ACEOF
2070 /* end confdefs.h. */
2080 rm -f conftest.
$ac_objext
2081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2082 (eval $ac_compile) 2>&5
2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085 (exit $ac_status); } &&
2086 { ac_try
='test -s conftest.$ac_objext'
2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; }; then
2094 echo "$as_me: failed program was:" >&5
2095 sed 's/^/| /' conftest.
$ac_ext >&5
2098 rm -f conftest.
$ac_objext conftest.
$ac_ext
2101 if test -n "$ac_declaration"; then
2102 echo '#ifdef __cplusplus' >>confdefs.h
2103 echo $ac_declaration >>confdefs.h
2104 echo '#endif' >>confdefs.h
2108 echo "$as_me: failed program was:" >&5
2109 sed 's/^/| /' conftest.
$ac_ext >&5
2112 rm -f conftest.
$ac_objext conftest.
$ac_ext
2114 ac_cpp
='$CPP $CPPFLAGS'
2115 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2116 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2117 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2121 ac_cpp
='$CPP $CPPFLAGS'
2122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2125 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2126 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2127 # On Suns, sometimes $CPP names a directory.
2128 if test -n "$CPP" && test -d "$CPP"; then
2131 if test -z "$CPP"; then
2132 if test "${ac_cv_prog_CPP+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 # Double quotes because CPP needs to be expanded
2136 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2139 for ac_c_preproc_warn_flag
in '' yes
2141 # Use a header file that comes with gcc, so configuring glibc
2142 # with a fresh cross-compiler works.
2143 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2144 # <limits.h> exists even on freestanding compilers.
2145 # On the NeXT, cc -E runs the code through the compiler's parser,
2146 # not just through cpp. "Syntax error" is here to catch this case.
2147 cat >conftest.
$ac_ext <<_ACEOF
2148 #line $LINENO "configure"
2151 cat confdefs.h
>>conftest.
$ac_ext
2152 cat >>conftest.
$ac_ext <<_ACEOF
2153 /* end confdefs.h. */
2155 # include <limits.h>
2157 # include <assert.h>
2161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2162 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2164 grep -v '^ *+' conftest.er1
>conftest.err
2166 cat conftest.err
>&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); } >/dev
/null
; then
2169 if test -s conftest.err
; then
2170 ac_cpp_err
=$ac_c_preproc_warn_flag
2177 if test -z "$ac_cpp_err"; then
2180 echo "$as_me: failed program was:" >&5
2181 sed 's/^/| /' conftest.
$ac_ext >&5
2183 # Broken: fails on valid input.
2186 rm -f conftest.err conftest.
$ac_ext
2188 # OK, works on sane cases. Now check whether non-existent headers
2189 # can be detected and how.
2190 cat >conftest.
$ac_ext <<_ACEOF
2191 #line $LINENO "configure"
2194 cat confdefs.h
>>conftest.
$ac_ext
2195 cat >>conftest.
$ac_ext <<_ACEOF
2196 /* end confdefs.h. */
2197 #include <ac_nonexistent.h>
2199 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2200 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2202 grep -v '^ *+' conftest.er1
>conftest.err
2204 cat conftest.err
>&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); } >/dev
/null
; then
2207 if test -s conftest.err
; then
2208 ac_cpp_err
=$ac_c_preproc_warn_flag
2215 if test -z "$ac_cpp_err"; then
2216 # Broken: success on invalid input.
2219 echo "$as_me: failed program was:" >&5
2220 sed 's/^/| /' conftest.
$ac_ext >&5
2222 # Passes both tests.
2226 rm -f conftest.err conftest.
$ac_ext
2229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2230 rm -f conftest.err conftest.
$ac_ext
2231 if $ac_preproc_ok; then
2243 echo "$as_me:$LINENO: result: $CPP" >&5
2244 echo "${ECHO_T}$CPP" >&6
2246 for ac_c_preproc_warn_flag
in '' yes
2248 # Use a header file that comes with gcc, so configuring glibc
2249 # with a fresh cross-compiler works.
2250 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2251 # <limits.h> exists even on freestanding compilers.
2252 # On the NeXT, cc -E runs the code through the compiler's parser,
2253 # not just through cpp. "Syntax error" is here to catch this case.
2254 cat >conftest.
$ac_ext <<_ACEOF
2255 #line $LINENO "configure"
2258 cat confdefs.h
>>conftest.
$ac_ext
2259 cat >>conftest.
$ac_ext <<_ACEOF
2260 /* end confdefs.h. */
2262 # include <limits.h>
2264 # include <assert.h>
2268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2269 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2271 grep -v '^ *+' conftest.er1
>conftest.err
2273 cat conftest.err
>&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); } >/dev
/null
; then
2276 if test -s conftest.err
; then
2277 ac_cpp_err
=$ac_c_preproc_warn_flag
2284 if test -z "$ac_cpp_err"; then
2287 echo "$as_me: failed program was:" >&5
2288 sed 's/^/| /' conftest.
$ac_ext >&5
2290 # Broken: fails on valid input.
2293 rm -f conftest.err conftest.
$ac_ext
2295 # OK, works on sane cases. Now check whether non-existent headers
2296 # can be detected and how.
2297 cat >conftest.
$ac_ext <<_ACEOF
2298 #line $LINENO "configure"
2301 cat confdefs.h
>>conftest.
$ac_ext
2302 cat >>conftest.
$ac_ext <<_ACEOF
2303 /* end confdefs.h. */
2304 #include <ac_nonexistent.h>
2306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2307 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2309 grep -v '^ *+' conftest.er1
>conftest.err
2311 cat conftest.err
>&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); } >/dev
/null
; then
2314 if test -s conftest.err
; then
2315 ac_cpp_err
=$ac_c_preproc_warn_flag
2322 if test -z "$ac_cpp_err"; then
2323 # Broken: success on invalid input.
2326 echo "$as_me: failed program was:" >&5
2327 sed 's/^/| /' conftest.
$ac_ext >&5
2329 # Passes both tests.
2333 rm -f conftest.err conftest.
$ac_ext
2336 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2337 rm -f conftest.err conftest.
$ac_ext
2338 if $ac_preproc_ok; then
2341 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2344 See \`config.log' for more details." >&2;}
2345 { (exit 1); exit 1; }; }
2349 ac_cpp
='$CPP $CPPFLAGS'
2350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2355 echo "$as_me:$LINENO: checking for X" >&5
2356 echo $ECHO_N "checking for X... $ECHO_C" >&6
2359 # Check whether --with-x or --without-x was given.
2360 if test "${with_x+set}" = set; then
2364 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2365 if test "x$with_x" = xno
; then
2366 # The user explicitly disabled X.
2369 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2370 # Both variables are already set.
2373 if test "${ac_cv_have_x+set}" = set; then
2374 echo $ECHO_N "(cached) $ECHO_C" >&6
2376 # One or both of the vars are not set, and there is no cached value.
2377 ac_x_includes
=no ac_x_libraries
=no
2379 if mkdir conftest.dir
; then
2381 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2382 cat >Imakefile
<<'_ACEOF'
2384 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2386 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2387 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2388 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2389 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2390 for ac_extension
in a so sl
; do
2391 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2392 test -f $ac_im_libdir/libX11.
$ac_extension; then
2393 ac_im_usrlibdir
=$ac_im_libdir; break
2396 # Screen out bogus values from the imake configuration. They are
2397 # bogus both because they are the default anyway, and because
2398 # using them would break gcc on systems where it needs fixed includes.
2399 case $ac_im_incroot in
2401 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2403 case $ac_im_usrlibdir in
2405 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2412 # Standard set of common directories for X headers.
2413 # Check X11 before X11Rn because it is often a symlink to the current release.
2425 /usr/local/X11/include
2426 /usr/local/X11R6/include
2427 /usr/local/X11R5/include
2428 /usr/local/X11R4/include
2430 /usr/local/include/X11
2431 /usr/local/include/X11R6
2432 /usr/local/include/X11R5
2433 /usr/local/include/X11R4
2437 /usr/XFree86/include/X11
2441 /usr/unsupported/include
2443 /usr/local/x11r5/include
2444 /usr/lpp/Xamples/include
2446 /usr/openwin/include
2447 /usr/openwin/share/include'
2449 if test "$ac_x_includes" = no
; then
2450 # Guess where to find include files, by looking for Intrinsic.h.
2451 # First, try using that file with no special directory specified.
2452 cat >conftest.
$ac_ext <<_ACEOF
2453 #line $LINENO "configure"
2456 cat confdefs.h
>>conftest.
$ac_ext
2457 cat >>conftest.
$ac_ext <<_ACEOF
2458 /* end confdefs.h. */
2459 #include <X11/Intrinsic.h>
2461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2462 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2464 grep -v '^ *+' conftest.er1
>conftest.err
2466 cat conftest.err
>&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); } >/dev
/null
; then
2469 if test -s conftest.err
; then
2470 ac_cpp_err
=$ac_c_preproc_warn_flag
2477 if test -z "$ac_cpp_err"; then
2478 # We can compile using X headers with no special include directory.
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.
$ac_ext >&5
2484 for ac_dir
in $ac_x_header_dirs; do
2485 if test -r "$ac_dir/X11/Intrinsic.h"; then
2486 ac_x_includes
=$ac_dir
2491 rm -f conftest.err conftest.
$ac_ext
2492 fi # $ac_x_includes = no
2494 if test "$ac_x_libraries" = no
; then
2495 # Check for the libraries.
2496 # See if we find them without any special options.
2497 # Don't add to $LIBS permanently.
2500 cat >conftest.
$ac_ext <<_ACEOF
2501 #line $LINENO "configure"
2504 cat confdefs.h
>>conftest.
$ac_ext
2505 cat >>conftest.
$ac_ext <<_ACEOF
2506 /* end confdefs.h. */
2507 #include <X11/Intrinsic.h>
2516 rm -f conftest.
$ac_objext conftest
$ac_exeext
2517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2518 (eval $ac_link) 2>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try
='test -s conftest$ac_exeext'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; }; then
2529 # We can link X programs with no special library path.
2532 echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.
$ac_ext >&5
2536 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2538 # Don't even attempt the hair of trying to link an X program!
2539 for ac_extension
in a so sl
; do
2540 if test -r $ac_dir/libXt.
$ac_extension; then
2541 ac_x_libraries
=$ac_dir
2547 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2548 fi # $ac_x_libraries = no
2550 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2551 # Didn't find X anywhere. Cache the known absence of X.
2552 ac_cv_have_x
="have_x=no"
2554 # Record where we found X for the cache.
2555 ac_cv_have_x
="have_x=yes \
2556 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2561 eval "$ac_cv_have_x"
2564 if test "$have_x" != yes; then
2565 echo "$as_me:$LINENO: result: $have_x" >&5
2566 echo "${ECHO_T}$have_x" >&6
2569 # If each of the values was on the command line, it overrides each guess.
2570 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2571 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2572 # Update the cache value to reflect the command line values.
2573 ac_cv_have_x
="have_x=yes \
2574 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2575 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2576 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2579 if test "$no_x" = yes; then
2580 # Not all programs may use this symbol, but it does not hurt to define it.
2582 cat >>confdefs.h
<<\_ACEOF
2583 #define X_DISPLAY_MISSING 1
2586 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2588 if test -n "$x_includes"; then
2589 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2592 # It would also be nice to do this for all -L options, not just this one.
2593 if test -n "$x_libraries"; then
2594 X_LIBS
="$X_LIBS -L$x_libraries"
2595 # For Solaris; some versions of Sun CC require a space after -R and
2596 # others require no space. Words are not sufficient . . . .
2597 case `(uname -sr) 2>/dev/null` in
2599 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2600 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2601 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2602 cat >conftest.
$ac_ext <<_ACEOF
2603 #line $LINENO "configure"
2606 cat confdefs.h
>>conftest.
$ac_ext
2607 cat >>conftest.
$ac_ext <<_ACEOF
2608 /* end confdefs.h. */
2618 rm -f conftest.
$ac_objext conftest
$ac_exeext
2619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2620 (eval $ac_link) 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); } &&
2624 { ac_try
='test -s conftest$ac_exeext'
2625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }; }; then
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.
$ac_ext >&5
2637 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2638 if test $ac_R_nospace = yes; then
2639 echo "$as_me:$LINENO: result: no" >&5
2640 echo "${ECHO_T}no" >&6
2641 X_LIBS
="$X_LIBS -R$x_libraries"
2643 LIBS
="$ac_xsave_LIBS -R $x_libraries"
2644 cat >conftest.
$ac_ext <<_ACEOF
2645 #line $LINENO "configure"
2648 cat confdefs.h
>>conftest.
$ac_ext
2649 cat >>conftest.
$ac_ext <<_ACEOF
2650 /* end confdefs.h. */
2660 rm -f conftest.
$ac_objext conftest
$ac_exeext
2661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2662 (eval $ac_link) 2>&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); } &&
2666 { ac_try
='test -s conftest$ac_exeext'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; }; then
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.
$ac_ext >&5
2679 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2680 if test $ac_R_space = yes; then
2681 echo "$as_me:$LINENO: result: yes" >&5
2682 echo "${ECHO_T}yes" >&6
2683 X_LIBS
="$X_LIBS -R $x_libraries"
2685 echo "$as_me:$LINENO: result: neither works" >&5
2686 echo "${ECHO_T}neither works" >&6
2693 # Check for system-dependent libraries X programs must link with.
2694 # Do this before checking for the system-independent R6 libraries
2695 # (-lICE), since we may need -lsocket or whatever for X linking.
2697 if test "$ISC" = yes; then
2698 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
2700 # Martyn Johnson says this is needed for Ultrix, if the X
2701 # libraries were built with DECnet support. And Karl Berry says
2702 # the Alpha needs dnet_stub (dnet does not exist).
2703 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
2704 cat >conftest.
$ac_ext <<_ACEOF
2705 #line $LINENO "configure"
2708 cat confdefs.h
>>conftest.
$ac_ext
2709 cat >>conftest.
$ac_ext <<_ACEOF
2710 /* end confdefs.h. */
2712 /* Override any gcc2 internal prototype to avoid an error. */
2716 /* We use char because int might match the return type of a gcc2
2717 builtin and then its argument prototype would still apply. */
2718 char XOpenDisplay ();
2727 rm -f conftest.
$ac_objext conftest
$ac_exeext
2728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2729 (eval $ac_link) 2>&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); } &&
2733 { ac_try
='test -s conftest$ac_exeext'
2734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); }; }; then
2741 echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.
$ac_ext >&5
2744 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2745 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2746 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2749 ac_check_lib_save_LIBS
=$LIBS
2751 cat >conftest.
$ac_ext <<_ACEOF
2752 #line $LINENO "configure"
2755 cat confdefs.h
>>conftest.
$ac_ext
2756 cat >>conftest.
$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2759 /* Override any gcc2 internal prototype to avoid an error. */
2763 /* We use char because int might match the return type of a gcc2
2764 builtin and then its argument prototype would still apply. */
2774 rm -f conftest.
$ac_objext conftest
$ac_exeext
2775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2776 (eval $ac_link) 2>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try
='test -s conftest$ac_exeext'
2781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }; }; then
2786 ac_cv_lib_dnet_dnet_ntoa
=yes
2788 echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.
$ac_ext >&5
2791 ac_cv_lib_dnet_dnet_ntoa
=no
2793 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2794 LIBS
=$ac_check_lib_save_LIBS
2796 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2797 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2798 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2799 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
2802 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
2803 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2804 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2805 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2806 echo $ECHO_N "(cached) $ECHO_C" >&6
2808 ac_check_lib_save_LIBS
=$LIBS
2809 LIBS
="-ldnet_stub $LIBS"
2810 cat >conftest.
$ac_ext <<_ACEOF
2811 #line $LINENO "configure"
2814 cat confdefs.h
>>conftest.
$ac_ext
2815 cat >>conftest.
$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2818 /* Override any gcc2 internal prototype to avoid an error. */
2822 /* We use char because int might match the return type of a gcc2
2823 builtin and then its argument prototype would still apply. */
2833 rm -f conftest.
$ac_objext conftest
$ac_exeext
2834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2835 (eval $ac_link) 2>&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); } &&
2839 { ac_try
='test -s conftest$ac_exeext'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; }; then
2845 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.
$ac_ext >&5
2850 ac_cv_lib_dnet_stub_dnet_ntoa
=no
2852 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2853 LIBS
=$ac_check_lib_save_LIBS
2855 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
2856 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
2857 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
2858 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
2863 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2864 LIBS
="$ac_xsave_LIBS"
2866 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
2867 # to get the SysV transport functions.
2868 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
2870 # The nsl library prevents programs from opening the X display
2871 # on Irix 5.2, according to T.E. Dickey.
2872 # The functions gethostbyname, getservbyname, and inet_addr are
2873 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
2874 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2875 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2876 if test "${ac_cv_func_gethostbyname+set}" = set; then
2877 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 cat >conftest.
$ac_ext <<_ACEOF
2880 #line $LINENO "configure"
2883 cat confdefs.h
>>conftest.
$ac_ext
2884 cat >>conftest.
$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2886 /* System header to define __stub macros and hopefully few prototypes,
2887 which can conflict with char gethostbyname (); below.
2888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2889 <limits.h> exists even on freestanding compilers. */
2891 # include <limits.h>
2893 # include <assert.h>
2895 /* Override any gcc2 internal prototype to avoid an error. */
2900 /* We use char because int might match the return type of a gcc2
2901 builtin and then its argument prototype would still apply. */
2902 char gethostbyname ();
2903 /* The GNU C library defines this for functions which it implements
2904 to always fail with ENOSYS. Some functions are actually named
2905 something starting with __ and the normal name is an alias. */
2906 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2909 char (*f) () = gethostbyname;
2918 return f != gethostbyname;
2923 rm -f conftest.
$ac_objext conftest
$ac_exeext
2924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2925 (eval $ac_link) 2>&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); } &&
2929 { ac_try
='test -s conftest$ac_exeext'
2930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }; }; then
2935 ac_cv_func_gethostbyname
=yes
2937 echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.
$ac_ext >&5
2940 ac_cv_func_gethostbyname
=no
2942 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2944 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
2945 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
2947 if test $ac_cv_func_gethostbyname = no
; then
2948 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
2949 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
2950 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2951 echo $ECHO_N "(cached) $ECHO_C" >&6
2953 ac_check_lib_save_LIBS
=$LIBS
2955 cat >conftest.
$ac_ext <<_ACEOF
2956 #line $LINENO "configure"
2959 cat confdefs.h
>>conftest.
$ac_ext
2960 cat >>conftest.
$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2963 /* Override any gcc2 internal prototype to avoid an error. */
2967 /* We use char because int might match the return type of a gcc2
2968 builtin and then its argument prototype would still apply. */
2969 char gethostbyname ();
2978 rm -f conftest.
$ac_objext conftest
$ac_exeext
2979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2980 (eval $ac_link) 2>&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); } &&
2984 { ac_try
='test -s conftest$ac_exeext'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2990 ac_cv_lib_nsl_gethostbyname
=yes
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.
$ac_ext >&5
2995 ac_cv_lib_nsl_gethostbyname
=no
2997 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2998 LIBS
=$ac_check_lib_save_LIBS
3000 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3001 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3002 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3003 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3006 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3007 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3008 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3009 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 ac_check_lib_save_LIBS
=$LIBS
3014 cat >conftest.
$ac_ext <<_ACEOF
3015 #line $LINENO "configure"
3018 cat confdefs.h
>>conftest.
$ac_ext
3019 cat >>conftest.
$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3022 /* Override any gcc2 internal prototype to avoid an error. */
3026 /* We use char because int might match the return type of a gcc2
3027 builtin and then its argument prototype would still apply. */
3028 char gethostbyname ();
3037 rm -f conftest.
$ac_objext conftest
$ac_exeext
3038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3039 (eval $ac_link) 2>&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); } &&
3043 { ac_try
='test -s conftest$ac_exeext'
3044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); }; }; then
3049 ac_cv_lib_bsd_gethostbyname
=yes
3051 echo "$as_me: failed program was:" >&5
3052 sed 's/^/| /' conftest.
$ac_ext >&5
3054 ac_cv_lib_bsd_gethostbyname
=no
3056 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3057 LIBS
=$ac_check_lib_save_LIBS
3059 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3060 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3061 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3062 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3068 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3069 # socket/setsockopt and other routines are undefined under SCO ODT
3070 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3071 # on later versions), says Simon Leinen: it contains gethostby*
3072 # variants that don't use the name server (or something). -lsocket
3073 # must be given before -lnsl if both are needed. We assume that
3074 # if connect needs -lnsl, so does gethostbyname.
3075 echo "$as_me:$LINENO: checking for connect" >&5
3076 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3077 if test "${ac_cv_func_connect+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 cat >conftest.
$ac_ext <<_ACEOF
3081 #line $LINENO "configure"
3084 cat confdefs.h
>>conftest.
$ac_ext
3085 cat >>conftest.
$ac_ext <<_ACEOF
3086 /* end confdefs.h. */
3087 /* System header to define __stub macros and hopefully few prototypes,
3088 which can conflict with char connect (); below.
3089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3090 <limits.h> exists even on freestanding compilers. */
3092 # include <limits.h>
3094 # include <assert.h>
3096 /* Override any gcc2 internal prototype to avoid an error. */
3101 /* We use char because int might match the return type of a gcc2
3102 builtin and then its argument prototype would still apply. */
3104 /* The GNU C library defines this for functions which it implements
3105 to always fail with ENOSYS. Some functions are actually named
3106 something starting with __ and the normal name is an alias. */
3107 #if defined (__stub_connect) || defined (__stub___connect)
3110 char (*f) () = connect;
3119 return f != connect;
3124 rm -f conftest.
$ac_objext conftest
$ac_exeext
3125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3126 (eval $ac_link) 2>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } &&
3130 { ac_try
='test -s conftest$ac_exeext'
3131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); }; }; then
3136 ac_cv_func_connect
=yes
3138 echo "$as_me: failed program was:" >&5
3139 sed 's/^/| /' conftest.
$ac_ext >&5
3141 ac_cv_func_connect
=no
3143 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3145 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3146 echo "${ECHO_T}$ac_cv_func_connect" >&6
3148 if test $ac_cv_func_connect = no
; then
3149 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3150 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3151 if test "${ac_cv_lib_socket_connect+set}" = set; then
3152 echo $ECHO_N "(cached) $ECHO_C" >&6
3154 ac_check_lib_save_LIBS
=$LIBS
3155 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3156 cat >conftest.
$ac_ext <<_ACEOF
3157 #line $LINENO "configure"
3160 cat confdefs.h
>>conftest.
$ac_ext
3161 cat >>conftest.
$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
3164 /* Override any gcc2 internal prototype to avoid an error. */
3168 /* We use char because int might match the return type of a gcc2
3169 builtin and then its argument prototype would still apply. */
3179 rm -f conftest.
$ac_objext conftest
$ac_exeext
3180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3181 (eval $ac_link) 2>&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try
='test -s conftest$ac_exeext'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; }; then
3191 ac_cv_lib_socket_connect
=yes
3193 echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.
$ac_ext >&5
3196 ac_cv_lib_socket_connect
=no
3198 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3199 LIBS
=$ac_check_lib_save_LIBS
3201 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3202 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3203 if test $ac_cv_lib_socket_connect = yes; then
3204 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3209 # Guillermo Gomez says -lposix is necessary on A/UX.
3210 echo "$as_me:$LINENO: checking for remove" >&5
3211 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3212 if test "${ac_cv_func_remove+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 cat >conftest.
$ac_ext <<_ACEOF
3216 #line $LINENO "configure"
3219 cat confdefs.h
>>conftest.
$ac_ext
3220 cat >>conftest.
$ac_ext <<_ACEOF
3221 /* end confdefs.h. */
3222 /* System header to define __stub macros and hopefully few prototypes,
3223 which can conflict with char remove (); below.
3224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3225 <limits.h> exists even on freestanding compilers. */
3227 # include <limits.h>
3229 # include <assert.h>
3231 /* Override any gcc2 internal prototype to avoid an error. */
3236 /* We use char because int might match the return type of a gcc2
3237 builtin and then its argument prototype would still apply. */
3239 /* The GNU C library defines this for functions which it implements
3240 to always fail with ENOSYS. Some functions are actually named
3241 something starting with __ and the normal name is an alias. */
3242 #if defined (__stub_remove) || defined (__stub___remove)
3245 char (*f) () = remove;
3259 rm -f conftest.
$ac_objext conftest
$ac_exeext
3260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3261 (eval $ac_link) 2>&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); } &&
3265 { ac_try
='test -s conftest$ac_exeext'
3266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }; }; then
3271 ac_cv_func_remove
=yes
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.
$ac_ext >&5
3276 ac_cv_func_remove
=no
3278 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3280 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3281 echo "${ECHO_T}$ac_cv_func_remove" >&6
3283 if test $ac_cv_func_remove = no
; then
3284 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3285 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3286 if test "${ac_cv_lib_posix_remove+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 ac_check_lib_save_LIBS
=$LIBS
3290 LIBS
="-lposix $LIBS"
3291 cat >conftest.
$ac_ext <<_ACEOF
3292 #line $LINENO "configure"
3295 cat confdefs.h
>>conftest.
$ac_ext
3296 cat >>conftest.
$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3299 /* Override any gcc2 internal prototype to avoid an error. */
3303 /* We use char because int might match the return type of a gcc2
3304 builtin and then its argument prototype would still apply. */
3314 rm -f conftest.
$ac_objext conftest
$ac_exeext
3315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3316 (eval $ac_link) 2>&5
3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); } &&
3320 { ac_try
='test -s conftest$ac_exeext'
3321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); }; }; then
3326 ac_cv_lib_posix_remove
=yes
3328 echo "$as_me: failed program was:" >&5
3329 sed 's/^/| /' conftest.
$ac_ext >&5
3331 ac_cv_lib_posix_remove
=no
3333 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3334 LIBS
=$ac_check_lib_save_LIBS
3336 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3337 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3338 if test $ac_cv_lib_posix_remove = yes; then
3339 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3344 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3345 echo "$as_me:$LINENO: checking for shmat" >&5
3346 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3347 if test "${ac_cv_func_shmat+set}" = set; then
3348 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 cat >conftest.
$ac_ext <<_ACEOF
3351 #line $LINENO "configure"
3354 cat confdefs.h
>>conftest.
$ac_ext
3355 cat >>conftest.
$ac_ext <<_ACEOF
3356 /* end confdefs.h. */
3357 /* System header to define __stub macros and hopefully few prototypes,
3358 which can conflict with char shmat (); below.
3359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3360 <limits.h> exists even on freestanding compilers. */
3362 # include <limits.h>
3364 # include <assert.h>
3366 /* Override any gcc2 internal prototype to avoid an error. */
3371 /* We use char because int might match the return type of a gcc2
3372 builtin and then its argument prototype would still apply. */
3374 /* The GNU C library defines this for functions which it implements
3375 to always fail with ENOSYS. Some functions are actually named
3376 something starting with __ and the normal name is an alias. */
3377 #if defined (__stub_shmat) || defined (__stub___shmat)
3380 char (*f) () = shmat;
3394 rm -f conftest.
$ac_objext conftest
$ac_exeext
3395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3396 (eval $ac_link) 2>&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); } &&
3400 { ac_try
='test -s conftest$ac_exeext'
3401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); }; }; then
3406 ac_cv_func_shmat
=yes
3408 echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.
$ac_ext >&5
3413 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3415 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3416 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3418 if test $ac_cv_func_shmat = no
; then
3419 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3420 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3421 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 ac_check_lib_save_LIBS
=$LIBS
3426 cat >conftest.
$ac_ext <<_ACEOF
3427 #line $LINENO "configure"
3430 cat confdefs.h
>>conftest.
$ac_ext
3431 cat >>conftest.
$ac_ext <<_ACEOF
3432 /* end confdefs.h. */
3434 /* Override any gcc2 internal prototype to avoid an error. */
3438 /* We use char because int might match the return type of a gcc2
3439 builtin and then its argument prototype would still apply. */
3449 rm -f conftest.
$ac_objext conftest
$ac_exeext
3450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3451 (eval $ac_link) 2>&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); } &&
3455 { ac_try
='test -s conftest$ac_exeext'
3456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); }; }; then
3461 ac_cv_lib_ipc_shmat
=yes
3463 echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.
$ac_ext >&5
3466 ac_cv_lib_ipc_shmat
=no
3468 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3469 LIBS
=$ac_check_lib_save_LIBS
3471 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3472 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3473 if test $ac_cv_lib_ipc_shmat = yes; then
3474 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3480 # Check for libraries that X11R6 Xt/Xaw programs need.
3481 ac_save_LDFLAGS
=$LDFLAGS
3482 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3483 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3484 # check for ICE first), but we must link in the order -lSM -lICE or
3485 # we get undefined symbols. So assume we have SM if we have ICE.
3486 # These have to be linked with before -lX11, unlike the other
3487 # libraries we check for below, so use a different variable.
3488 # John Interrante, Karl Berry
3489 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3490 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3491 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3492 echo $ECHO_N "(cached) $ECHO_C" >&6
3494 ac_check_lib_save_LIBS
=$LIBS
3495 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3496 cat >conftest.
$ac_ext <<_ACEOF
3497 #line $LINENO "configure"
3500 cat confdefs.h
>>conftest.
$ac_ext
3501 cat >>conftest.
$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3504 /* Override any gcc2 internal prototype to avoid an error. */
3508 /* We use char because int might match the return type of a gcc2
3509 builtin and then its argument prototype would still apply. */
3510 char IceConnectionNumber ();
3514 IceConnectionNumber ();
3519 rm -f conftest.
$ac_objext conftest
$ac_exeext
3520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3521 (eval $ac_link) 2>&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); } &&
3525 { ac_try
='test -s conftest$ac_exeext'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; }; then
3531 ac_cv_lib_ICE_IceConnectionNumber
=yes
3533 echo "$as_me: failed program was:" >&5
3534 sed 's/^/| /' conftest.
$ac_ext >&5
3536 ac_cv_lib_ICE_IceConnectionNumber
=no
3538 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3539 LIBS
=$ac_check_lib_save_LIBS
3541 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3542 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3543 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3544 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
3547 LDFLAGS
=$ac_save_LDFLAGS
3552 TARGETS
="wmradio xwmradio"
3558 if test "$enable_libxosd" = "yes"; then
3560 # Check whether --with-xosd-config or --without-xosd-config was given.
3561 if test "${with_xosd_config+set}" = set; then
3562 withval
="$with_xosd_config"
3563 LIBXOSD_CONFIG
="$withval"
3566 # Extract the first word of "xosd-config", so it can be a program name with args.
3567 set dummy xosd-config
; ac_word
=$2
3568 echo "$as_me:$LINENO: checking for $ac_word" >&5
3569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3570 if test "${ac_cv_path_LIBXOSD_CONFIG+set}" = set; then
3571 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 case $LIBXOSD_CONFIG in
3575 ac_cv_path_LIBXOSD_CONFIG
="$LIBXOSD_CONFIG" # Let the user override the test with a path.
3578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3582 test -z "$as_dir" && as_dir
=.
3583 for ac_exec_ext
in '' $ac_executable_extensions; do
3584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585 ac_cv_path_LIBXOSD_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3592 test -z "$ac_cv_path_LIBXOSD_CONFIG" && ac_cv_path_LIBXOSD_CONFIG
="no"
3596 LIBXOSD_CONFIG
=$ac_cv_path_LIBXOSD_CONFIG
3598 if test -n "$LIBXOSD_CONFIG"; then
3599 echo "$as_me:$LINENO: result: $LIBXOSD_CONFIG" >&5
3600 echo "${ECHO_T}$LIBXOSD_CONFIG" >&6
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3606 echo "$as_me:$LINENO: checking for libxosd" >&5
3607 echo $ECHO_N "checking for libxosd... $ECHO_C" >&6
3608 if test "$LIBXOSD_CONFIG" = "no"; then
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3611 { { echo "$as_me:$LINENO: error: Can't find libxosd" >&5
3612 echo "$as_me: error: Can't find libxosd" >&2;}
3613 { (exit 1); exit 1; }; }
3615 LIBXOSD_CFLAGS
=`$LIBXOSD_CONFIG --cflags`
3616 LIBXOSD_LIBS
=`$LIBXOSD_CONFIG --libs`
3617 echo "$as_me:$LINENO: result: yes" >&5
3618 echo "${ECHO_T}yes" >&6
3628 if test "$enable_gnome" = "yes" ; then
3629 # Extract the first word of "pkg-config ", so it can be a program name with args.
3630 set dummy pkg-config
; ac_word
=$2
3631 echo "$as_me:$LINENO: checking for $ac_word" >&5
3632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3633 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3638 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
3641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3645 test -z "$as_dir" && as_dir
=.
3646 for ac_exec_ext
in '' $ac_executable_extensions; do
3647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3648 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
3649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
3660 if test -n "$PKG_CONFIG"; then
3661 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3662 echo "${ECHO_T}$PKG_CONFIG" >&6
3664 echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6
3668 if test "$PKG_CONFIG" = "" ; then
3669 { { echo "$as_me:$LINENO: error: pgk-config not found" >&5
3670 echo "$as_me: error: pgk-config not found" >&2;}
3671 { (exit 1); exit 1; }; }
3673 TARGETS
="$TARGETS gwmradio"
3674 PANEL_LIBS
="`$PKG_CONFIG --libs libpanelapplet-2.0`"
3675 PANEL_CFLAGS
="`$PKG_CONFIG --cflags libpanelapplet-2.0`"
3680 if test "x${prefix}" = "xNONE"; then
3681 cat >>confdefs.h
<<_ACEOF
3682 #define LOCALE_DIR "${ac_default_prefix}/${DATADIRNAME}/locale"
3686 cat >>confdefs.h
<<_ACEOF
3687 #define LOCALE_DIR "${prefix}/${DATADIRNAME}/locale"
3692 ac_config_files
="$ac_config_files Makefile config.h config/wmradio-config.py"
3693 cat >confcache
<<\_ACEOF
3694 # This file is a shell script that caches the results of configure
3695 # tests run on this system so they can be shared between configure
3696 # scripts and configure runs, see configure's option --config-cache.
3697 # It is not useful on other systems. If it contains results you don't
3698 # want to keep, you may remove or edit it.
3700 # config.status only pays attention to the cache file if you give it
3701 # the --recheck option to rerun configure.
3703 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3704 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3709 # The following way of writing the cache mishandles newlines in values,
3710 # but we know of no workaround that is simple, portable, and efficient.
3711 # So, don't put newlines in cache variables' values.
3712 # Ultrix sh set writes to stderr and can't be redirected directly,
3713 # and sets the high bit in the cache file unless we assign to the vars.
3716 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3718 # `set' does not quote correctly, so add quotes (double-quote
3719 # substitution turns \\\\ into \\, and sed turns \\ into \).
3722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3725 # `set' quotes correctly as required by POSIX, so do not add quotes.
3727 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3736 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3738 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3739 if test -w $cache_file; then
3740 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3741 cat confcache
>$cache_file
3743 echo "not updating unwritable cache $cache_file"
3748 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3749 # Let make expand exec_prefix.
3750 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3752 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3753 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3754 # trailing colons and then remove the whole line if VPATH becomes empty
3755 # (actually we leave an empty line to preserve line numbers).
3756 if test "x$srcdir" = x.
; then
3757 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3758 s/:*\$(srcdir):*/:/;
3759 s/:*\${srcdir}:*/:/;
3761 s/^\([^=]*=[ ]*\):*/\1/;
3767 # Transform confdefs.h into DEFS.
3768 # Protect against shell expansion while executing Makefile rules.
3769 # Protect against Makefile macro expansion.
3771 # If the first sed substitution is executed (which looks for macros that
3772 # take arguments), then we branch to the quote section. Otherwise,
3773 # look for a macro that doesn't take arguments.
3774 cat >confdef2opt.
sed <<\_ACEOF
3777 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3779 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3783 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3789 # We use echo to avoid assuming a particular line-breaking character.
3790 # The extra dot is to prevent the shell from consuming trailing
3791 # line-breaks from the sub-command output. A line-break within
3792 # single-quotes doesn't work because, if this script is created in a
3793 # platform that uses two characters for line-breaks (e.g., DOS), tr
3795 ac_LF_and_DOT=`echo; echo .
`
3796 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3797 rm -f confdef2opt.sed
3802 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3803 # 1. Remove the extension, and $U if already installed.
3804 ac_i=`echo "$ac_i" |
3805 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3807 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3808 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3812 LTLIBOBJS=$ac_ltlibobjs
3816 : ${CONFIG_STATUS=./config.status}
3817 ac_clean_files_save=$ac_clean_files
3818 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3819 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3820 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3821 cat >$CONFIG_STATUS <<_ACEOF
3823 # Generated by $as_me.
3824 # Run this file to recreate the current configuration.
3825 # Compiler output produced by configure, useful for debugging
3826 # configure, is in config.log if it exists.
3831 SHELL=\${CONFIG_SHELL-$SHELL}
3834 cat >>$CONFIG_STATUS <<\_ACEOF
3835 ## --------------------- ##
3836 ## M4sh Initialization. ##
3837 ## --------------------- ##
3839 # Be Bourne compatible
3840 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3843 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3844 # is contrary to our usage. Disable this feature.
3845 alias -g '${1+"$@"}'='"$@"'
3846 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3850 # Support unset when possible.
3851 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3858 # Work around bugs in pre-3.0 UWIN ksh.
3859 $as_unset ENV MAIL MAILPATH
3866 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3867 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3868 LC_TELEPHONE LC_TIME
3870 if (set +x; test -n "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3871 eval $as_var=C; export $as_var
3877 # Required to use basename.
3878 if expr a : '\(a\)' >/dev/null 2>&1; then
3884 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3885 as_basename=basename
3891 # Name of the executable.
3892 as_me=`$as_basename "$0" ||
3893 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3894 X
"$0" : 'X\(//\)$' \| \
3895 X
"$0" : 'X\(/\)$' \| \
3896 .
: '\(.\)' 2>/dev
/null ||
3898 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3899 /^X\/\(\/\/\)$/{ s//\1/; q; }
3900 /^X\/\(\/\).*/{ s//\1/; q; }
3904 # PATH needs CR, and LINENO needs CR and PATH.
3905 # Avoid depending upon Character Ranges.
3906 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3907 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3908 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3909 as_cr_digits='0123456789'
3910 as_cr_alnum=$as_cr_Letters$as_cr_digits
3912 # The user is always right.
3913 if test "${PATH_SEPARATOR+set}" != set; then
3914 echo "#! /bin/sh" >conf$$.sh
3915 echo "exit 0" >>conf$$.sh
3917 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3928 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3929 test "x$as_lineno_1" != "x$as_lineno_2" &&
3930 test "x$as_lineno_3" = "x$as_lineno_2" || {
3931 # Find who we are. Look in the path if we contain no path at all
3934 *[\\/]* ) as_myself=$0 ;;
3935 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir=.
3940 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3945 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3946 # in which case we are not to be found in the path.
3947 if test "x$as_myself" = x; then
3950 if test ! -f "$as_myself"; then
3951 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3952 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3953 { (exit 1); exit 1; }; }
3955 case $CONFIG_SHELL in
3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3961 test -z "$as_dir" && as_dir=.
3962 for as_base in sh bash ksh sh5; do
3965 if ("$as_dir/$as_base" -c '
3968 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3969 test "x$as_lineno_1" != "x$as_lineno_2" &&
3970 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3971 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3972 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3973 CONFIG_SHELL=$as_dir/$as_base
3975 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3983 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3984 # uniformly replaced by the line number. The first 'sed' inserts a
3985 # line-number line before each line; the second 'sed' does the real
3986 # work. The second script uses 'N
' to pair each line-number line
3987 # with the numbered line, and appends trailing '-' during
3988 # substitution so that $LINENO is not a special case at line end.
3989 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3990 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3991 sed '=' <$as_myself |
3996 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3999 s,^['$as_cr_digits']*\n,,
4001 chmod +x
$as_me.lineno ||
4002 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4003 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4004 { (exit 1); exit 1; }; }
4006 # Don't try to exec as it changes $[0], causing all sort of problems
4007 # (the dirname of $[0] is not the place where we might find the
4008 # original and so on. Autoconf is especially sensible to this).
4010 # Exit status is that of the last command.
4015 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4016 *c
*,-n*) ECHO_N
= ECHO_C
='
4018 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4019 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4022 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4028 rm -f conf$$ conf$$.exe conf$$.
file
4030 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4031 # We could just check for DJGPP; but this test a) works b) is more generic
4032 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4033 if test -f conf$$.exe
; then
4034 # Don't use ln at all; we don't have any links
4039 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4044 rm -f conf$$ conf$$.exe conf$$.
file
4046 if mkdir
-p .
2>/dev
/null
; then
4052 as_executable_p
="test -f"
4054 # Sed expression to map a string onto a valid CPP name.
4055 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4057 # Sed expression to map a string onto a valid variable name.
4058 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4062 # We need space, tab and new line, in precisely that order.
4072 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4073 # report actual input values of CONFIG_FILES etc. instead of their
4074 # values after options handling. Logging --version etc. is OK.
4078 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4079 ## Running $as_me. ##
4084 This file was extended by $as_me, which was
4085 generated by GNU Autoconf 2.57. Invocation command line was
4087 CONFIG_FILES = $CONFIG_FILES
4088 CONFIG_HEADERS = $CONFIG_HEADERS
4089 CONFIG_LINKS = $CONFIG_LINKS
4090 CONFIG_COMMANDS = $CONFIG_COMMANDS
4094 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4098 # Files that config.status was made for.
4099 if test -n "$ac_config_files"; then
4100 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4103 if test -n "$ac_config_headers"; then
4104 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4107 if test -n "$ac_config_links"; then
4108 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4111 if test -n "$ac_config_commands"; then
4112 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4115 cat >>$CONFIG_STATUS <<\_ACEOF
4118 \`$as_me' instantiates files from templates according to the
4119 current configuration.
4121 Usage: $0 [OPTIONS] [FILE]...
4123 -h, --help print this help, then exit
4124 -V, --version print version number, then exit
4125 -q, --quiet do not print progress messages
4126 -d, --debug don't remove temporary files
4127 --recheck update $as_me by reconfiguring in the same conditions
4128 --file=FILE[:TEMPLATE]
4129 instantiate the configuration file FILE
4131 Configuration files:
4134 Report bugs to <bug-autoconf@gnu.org>."
4137 cat >>$CONFIG_STATUS <<_ACEOF
4140 configured by $0, generated by GNU Autoconf 2.57,
4141 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4143 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4144 Free Software Foundation, Inc.
4145 This config.status script is free software; the Free Software Foundation
4146 gives unlimited permission to copy, distribute and modify it."
4150 cat >>$CONFIG_STATUS <<\_ACEOF
4151 # If no file are specified by the user, then we need to provide default
4152 # value. By we need to know if files were specified by the user.
4158 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4159 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4167 *) # This is not an option, so the user has probably given explicit
4170 ac_need_defaults
=false
;;
4174 # Handling of the options.
4176 cat >>$CONFIG_STATUS <<\_ACEOF
4177 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4179 --version |
--vers* |
-V )
4180 echo "$ac_cs_version"; exit 0 ;;
4182 # Conflict between --help and --header
4183 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4184 Try \`$0 --help' for more information." >&5
4185 echo "$as_me: error: ambiguous option: $1
4186 Try \`$0 --help' for more information." >&2;}
4187 { (exit 1); exit 1; }; };;
4188 --help |
--hel |
-h )
4189 echo "$ac_cs_usage"; exit 0 ;;
4190 --debug |
--d* |
-d )
4192 --file |
--fil |
--fi |
--f )
4194 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4195 ac_need_defaults
=false
;;
4196 --header |
--heade |
--head |
--hea )
4198 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4199 ac_need_defaults
=false
;;
4200 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4201 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4205 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4206 Try \`$0 --help' for more information." >&5
4207 echo "$as_me: error: unrecognized option: $1
4208 Try \`$0 --help' for more information." >&2;}
4209 { (exit 1); exit 1; }; } ;;
4211 *) ac_config_targets
="$ac_config_targets $1" ;;
4217 ac_configure_extra_args
=
4219 if $ac_cs_silent; then
4221 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4225 cat >>$CONFIG_STATUS <<_ACEOF
4226 if \$ac_cs_recheck; then
4227 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4228 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4237 cat >>$CONFIG_STATUS <<\_ACEOF
4238 for ac_config_target
in $ac_config_targets
4240 case "$ac_config_target" in
4241 # Handling of arguments.
4242 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4243 "config.h" ) CONFIG_FILES
="$CONFIG_FILES config.h" ;;
4244 "config/wmradio-config.py" ) CONFIG_FILES
="$CONFIG_FILES config/wmradio-config.py" ;;
4245 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4246 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4247 { (exit 1); exit 1; }; };;
4251 # If the user did not use the arguments to specify the items to instantiate,
4252 # then the envvar interface is used. Set only those that are not.
4253 # We use the long form for the default assignment because of an extremely
4254 # bizarre bug on SunOS 4.1.3.
4255 if $ac_need_defaults; then
4256 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4259 # Have a temporary directory for convenience. Make it in the build tree
4260 # simply because there is no reason to put it here, and in addition,
4261 # creating and moving files from /tmp can sometimes cause problems.
4262 # Create a temporary directory, and hook for its removal unless debugging.
4265 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4266 trap '{ (exit 1); exit 1; }' 1 2 13 15
4269 # Create a (secure) tmp directory for tmp files.
4272 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4273 test -n "$tmp" && test -d "$tmp"
4276 tmp
=.
/confstat$$
-$RANDOM
4277 (umask 077 && mkdir
$tmp)
4280 echo "$me: cannot create a temporary directory in ." >&2
4281 { (exit 1); exit 1; }
4286 cat >>$CONFIG_STATUS <<_ACEOF
4289 # CONFIG_FILES section.
4292 # No need to generate the scripts if there are no CONFIG_FILES.
4293 # This happens for instance when ./config.status config.h
4294 if test -n "\$CONFIG_FILES"; then
4295 # Protect against being on the right side of a sed subst in config.status.
4296 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4297 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4298 s,@SHELL@,$SHELL,;t t
4299 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4300 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4301 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4302 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4303 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4304 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4305 s,@exec_prefix@,$exec_prefix,;t t
4306 s,@prefix@,$prefix,;t t
4307 s,@program_transform_name@,$program_transform_name,;t t
4308 s,@bindir@,$bindir,;t t
4309 s,@sbindir@,$sbindir,;t t
4310 s,@libexecdir@,$libexecdir,;t t
4311 s,@datadir@,$datadir,;t t
4312 s,@sysconfdir@,$sysconfdir,;t t
4313 s,@sharedstatedir@,$sharedstatedir,;t t
4314 s,@localstatedir@,$localstatedir,;t t
4315 s,@libdir@,$libdir,;t t
4316 s,@includedir@,$includedir,;t t
4317 s,@oldincludedir@,$oldincludedir,;t t
4318 s,@infodir@,$infodir,;t t
4319 s,@mandir@,$mandir,;t t
4320 s,@build_alias@,$build_alias,;t t
4321 s,@host_alias@,$host_alias,;t t
4322 s,@target_alias@,$target_alias,;t t
4324 s,@ECHO_C@,$ECHO_C,;t t
4325 s,@ECHO_N@,$ECHO_N,;t t
4326 s,@ECHO_T@,$ECHO_T,;t t
4329 s,@CFLAGS@,$CFLAGS,;t t
4330 s,@LDFLAGS@,$LDFLAGS,;t t
4331 s,@CPPFLAGS@,$CPPFLAGS,;t t
4332 s,@ac_ct_CC@,$ac_ct_CC,;t t
4333 s,@EXEEXT@,$EXEEXT,;t t
4334 s,@OBJEXT@,$OBJEXT,;t t
4336 s,@X_CFLAGS@,$X_CFLAGS,;t t
4337 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
4338 s,@X_LIBS@,$X_LIBS,;t t
4339 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
4340 s,@TARGETS@,$TARGETS,;t t
4341 s,@HAVE_XOSD@,$HAVE_XOSD,;t t
4342 s,@LIBXOSD_CONFIG@,$LIBXOSD_CONFIG,;t t
4343 s,@LIBXOSD_CFLAGS@,$LIBXOSD_CFLAGS,;t t
4344 s,@LIBXOSD_LIBS@,$LIBXOSD_LIBS,;t t
4345 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
4346 s,@PANEL_LIBS@,$PANEL_LIBS,;t t
4347 s,@PANEL_CFLAGS@,$PANEL_CFLAGS,;t t
4348 s,@LIBOBJS@,$LIBOBJS,;t t
4349 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4354 cat >>$CONFIG_STATUS <<\_ACEOF
4355 # Split the substitutions into bite-sized pieces for seds with
4356 # small command number limits, like on Digital OSF/1 and HP-UX.
4358 ac_sed_frag
=1 # Number of current file.
4359 ac_beg
=1 # First line for current file.
4360 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4363 while $ac_more_lines; do
4364 if test $ac_beg -gt 1; then
4365 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4367 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4369 if test ! -s $tmp/subs.frag
; then
4372 # The purpose of the label and of the branching condition is to
4373 # speed up the sed processing (if there are no `@' at all, there
4374 # is no need to browse any of the substitutions).
4375 # These are the two extra sed commands mentioned above.
4377 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4378 if test -z "$ac_sed_cmds"; then
4379 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4381 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4383 ac_sed_frag
=`expr $ac_sed_frag + 1`
4385 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4388 if test -z "$ac_sed_cmds"; then
4391 fi # test -n "$CONFIG_FILES"
4394 cat >>$CONFIG_STATUS <<\_ACEOF
4395 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4396 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4398 - |
*:- |
*:-:* ) # input from stdin
4400 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4401 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4402 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4403 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4404 * ) ac_file_in
=$ac_file.
in ;;
4407 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4408 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4409 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4410 X"$ac_file" : 'X\(//\)[^/]' \| \
4411 X"$ac_file" : 'X\(//\)$' \| \
4412 X"$ac_file" : 'X\(/\)' \| \
4413 . : '\(.\)' 2>/dev/null ||
4415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4416 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4417 /^X\(\/\/\)$/{ s//\1/; q; }
4418 /^X\(\/\).*/{ s//\1/; q; }
4420 { if $as_mkdir_p; then
4425 while test ! -d "$as_dir"; do
4426 as_dirs
="$as_dir $as_dirs"
4427 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4428 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4429 X"$as_dir" : 'X\(//\)[^/]' \| \
4430 X"$as_dir" : 'X\(//\)$' \| \
4431 X"$as_dir" : 'X\(/\)' \| \
4432 . : '\(.\)' 2>/dev/null ||
4434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4435 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4436 /^X\(\/\/\)$/{ s//\1/; q; }
4437 /^X\(\/\).*/{ s//\1/; q; }
4440 test ! -n "$as_dirs" || mkdir
$as_dirs
4441 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4442 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4443 { (exit 1); exit 1; }; }; }
4447 if test "$ac_dir" != .
; then
4448 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4449 # A "../" for each directory in $ac_dir_suffix.
4450 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4452 ac_dir_suffix
= ac_top_builddir
=
4456 .
) # No --srcdir option. We are building in place.
4458 if test -z "$ac_top_builddir"; then
4461 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4463 [\\/]* | ?
:[\\/]* ) # Absolute path.
4464 ac_srcdir
=$srcdir$ac_dir_suffix;
4465 ac_top_srcdir
=$srcdir ;;
4467 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4468 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4470 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4472 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
4473 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4474 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4475 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4479 if test x
"$ac_file" != x-
; then
4480 { echo "$as_me:$LINENO: creating $ac_file" >&5
4481 echo "$as_me: creating $ac_file" >&6;}
4484 # Let's still pretend it is `configure' which instantiates (i.e., don't
4485 # use $as_me), people would be surprised to read:
4486 # /* config.h. Generated by config.status. */
4487 if test x
"$ac_file" = x-
; then
4490 configure_input
="$ac_file. "
4492 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4493 sed 's,.*/,,'` by configure."
4495 # First look for the input files in the build tree, otherwise in the
4497 ac_file_inputs
=`IFS=:
4498 for f in $ac_file_in; do
4500 -) echo $tmp/stdin ;;
4502 # Absolute (can't be DOS-style, as IFS=:)
4503 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4504 echo "$as_me: error: cannot find input file: $f" >&2;}
4505 { (exit 1); exit 1; }; }
4508 if test -f "$f"; then
4511 elif test -f "$srcdir/$f"; then
4516 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4517 echo "$as_me: error: cannot find input file: $f" >&2;}
4518 { (exit 1); exit 1; }; }
4521 done` ||
{ (exit 1); exit 1; }
4523 cat >>$CONFIG_STATUS <<_ACEOF
4527 cat >>$CONFIG_STATUS <<\_ACEOF
4529 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4530 s
,@configure_input@
,$configure_input,;t t
4531 s
,@srcdir@
,$ac_srcdir,;t t
4532 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4533 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4534 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4535 s
,@builddir@
,$ac_builddir,;t t
4536 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4537 s
,@top_builddir@
,$ac_top_builddir,;t t
4538 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4539 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4541 if test x"$ac_file" != x-; then
4542 mv $tmp/out $ac_file
4551 cat >>$CONFIG_STATUS <<\_ACEOF
4553 { (exit 0); exit 0; }
4555 chmod +x $CONFIG_STATUS
4556 ac_clean_files=$ac_clean_files_save
4559 # configure is writing to config.log, and then calls config.status.
4560 # config.status does its own redirection, appending to config.log.
4561 # Unfortunately, on DOS this fails, as config.log is still kept open
4562 # by configure, so config.status won't be able to write to it; its
4563 # output is simply discarded. So we exec the FD to /dev/null,
4564 # effectively closing config.log, so it can be properly (re)opened and
4565 # appended to by config.status. When coming back to configure, we
4566 # need to make the FD available again.
4567 if test "$no_create" != yes; then
4569 ac_config_status_args=
4570 test "$silent" = yes &&
4571 ac_config_status_args="$ac_config_status_args --quiet"
4573 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4575 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4576 # would make configure fail if this is the last instruction.
4577 $ac_cs_success || { (exit 1); exit 1; }