2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_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 APPLET_NAME APPLET_VERSION APPLET_NICE_NAME APPLET_AUTHOR APPLET_GROUP APPLET_NAME_ICON APPLET_IMAGES APPLET_DESCRIPTION_SHORT APPLET_DESCRIPTION APPLET_LICENSE HOST SYSTEM_SPECIFIC_LIBS STATUS PKGCONF GNOMEDIR DGAI GAI_CFLAGS GAI_LIBS APPLET INSTALL_APPLET INSTALL_GNOME INSTALL_PATH INSTALL_ROX ROX_PATH INSTALL_IMAGES APPLET_IMAGE_PATH APPLET_ICON SDLCONF GTK_LIBS GTK_CFLAGS INSTALL_SCREENSAVER SDL_CFLAGS SDL_LIBS SCREENSAVER XMMS_CONFIG XMMS_OBJ XMMS_CFLAGS XMMS_LIBS XMMS REMARK REMARK2 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
733 # Report the --help message.
735 if test "$ac_init_help" = "long"; then
736 # Omit some internal or obsolete options to make the list less imposing.
737 # This message is too long to be a string in the A/UX 3.1 sh.
739 \`configure' configures this package to adapt to many kinds of systems.
741 Usage: $0 [OPTION]... [VAR=VALUE]...
743 To assign environment variables (e.g., CC, CFLAGS...), specify them as
744 VAR=VALUE. See below for descriptions of some of the useful variables.
746 Defaults for the options are specified in brackets.
749 -h, --help display this help and exit
750 --help=short display options specific to this package
751 --help=recursive display the short help of all the included packages
752 -V, --version display version information and exit
753 -q, --quiet, --silent do not print \`checking...' messages
754 --cache-file=FILE cache test results in FILE [disabled]
755 -C, --config-cache alias for \`--cache-file=config.cache'
756 -n, --no-create do not create output files
757 --srcdir=DIR find the sources in DIR [configure dir or \`..']
762 Installation directories:
763 --prefix=PREFIX install architecture-independent files in PREFIX
765 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
768 By default, \`make install' will install all the files in
769 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
770 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
771 for instance \`--prefix=\$HOME'.
773 For better control, use the options below.
775 Fine tuning of the installation directories:
776 --bindir=DIR user executables [EPREFIX/bin]
777 --sbindir=DIR system admin executables [EPREFIX/sbin]
778 --libexecdir=DIR program executables [EPREFIX/libexec]
779 --datadir=DIR read-only architecture-independent data [PREFIX/share]
780 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
781 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
782 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
783 --libdir=DIR object code libraries [EPREFIX/lib]
784 --includedir=DIR C header files [PREFIX/include]
785 --oldincludedir=DIR C header files for non-gcc [/usr/include]
786 --infodir=DIR info documentation [PREFIX/info]
787 --mandir=DIR man documentation [PREFIX/man]
794 if test -n "$ac_init_help"; then
799 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
800 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
801 --disable-sdl Compile Sherman's aquarium without Screensaver support
802 --disable-gai Compile Sherman's aquarium without applet support
804 Some influential environment variables:
805 CC C compiler command
806 CFLAGS C compiler flags
807 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
808 nonstandard directory <lib dir>
809 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
810 headers in a nonstandard directory <include dir>
812 Use these variables to override the choices made by `configure' or to help
813 it to find libraries and programs with nonstandard names/locations.
818 if test "$ac_init_help" = "recursive"; then
819 # If there are subdirs, report their specific --help.
821 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
822 test -d $ac_dir || continue
825 if test "$ac_dir" != .; then
826 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
827 # A "../" for each directory in $ac_dir_suffix.
828 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
830 ac_dir_suffix= ac_top_builddir=
834 .) # No --srcdir option. We are building in place.
836 if test -z "$ac_top_builddir"; then
839 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
841 [\\/]* | ?:[\\/]* ) # Absolute path.
842 ac_srcdir=$srcdir$ac_dir_suffix;
843 ac_top_srcdir=$srcdir ;;
845 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
846 ac_top_srcdir=$ac_top_builddir$srcdir ;;
849 # Do not use `cd foo && pwd` to compute absolute paths, because
850 # the directories may not exist.
852 .) ac_abs_builddir="$ac_dir";;
855 .) ac_abs_builddir=`pwd`;;
856 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
857 *) ac_abs_builddir=`pwd`/"$ac_dir";;
860 case $ac_abs_builddir in
861 .) ac_abs_top_builddir=${ac_top_builddir}.;;
863 case ${ac_top_builddir}. in
864 .) ac_abs_top_builddir=$ac_abs_builddir;;
865 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
866 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
869 case $ac_abs_builddir in
870 .) ac_abs_srcdir=$ac_srcdir;;
873 .) ac_abs_srcdir=$ac_abs_builddir;;
874 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
875 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
878 case $ac_abs_builddir in
879 .) ac_abs_top_srcdir=$ac_top_srcdir;;
881 case $ac_top_srcdir in
882 .) ac_abs_top_srcdir=$ac_abs_builddir;;
883 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
884 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
889 # Check for guested configure; otherwise get Cygnus style configure.
890 if test -f $ac_srcdir/configure.gnu; then
892 $SHELL $ac_srcdir/configure.gnu --help=recursive
893 elif test -f $ac_srcdir/configure; then
895 $SHELL $ac_srcdir/configure --help=recursive
896 elif test -f $ac_srcdir/configure.ac ||
897 test -f $ac_srcdir/configure.in; then
901 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
907 test -n "$ac_init_help" && exit 0
908 if $ac_init_version; then
911 Copyright (C) 2003 Free Software Foundation, Inc.
912 This configure script is free software; the Free Software Foundation
913 gives unlimited permission to copy, distribute and modify it.
919 This file contains any messages produced by compilers while
920 running configure, to aid debugging if configure makes a mistake.
922 It was created by $as_me, which was
923 generated by GNU Autoconf 2.59. Invocation command line was
934 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
935 uname -m = `(uname -m) 2>/dev/null || echo unknown`
936 uname -r = `(uname -r) 2>/dev/null || echo unknown`
937 uname -s = `(uname -s) 2>/dev/null || echo unknown`
938 uname -v = `(uname -v) 2>/dev/null || echo unknown`
940 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
941 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
943 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
944 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
945 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
946 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
947 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
948 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
949 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
957 test -z "$as_dir" && as_dir=.
973 # Keep a trace of the command line.
974 # Strip out --no-create and --no-recursion so they do not pile up.
975 # Strip out --silent because we don't want to record it for future runs.
976 # Also quote any args containing shell meta-characters.
977 # Make two passes to allow for proper duplicate-argument suppression.
982 ac_must_keep_next=false
988 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990 | -silent | --silent | --silen | --sile | --sil)
992 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
993 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
996 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
998 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
999 if test $ac_must_keep_next = true; then
1000 ac_must_keep_next=false # Got value, back to normal.
1003 *=* | --config-cache | -C | -disable-* | --disable-* \
1004 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1005 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1006 | -with-* | --with-* | -without-* | --without-* | --x)
1007 case "$ac_configure_args0 " in
1008 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1011 -* ) ac_must_keep_next=true ;;
1014 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1015 # Get rid of the leading space.
1021 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1022 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1024 # When interrupted or exit'd, cleanup temporary files, and complete
1025 # config.log. We remove comments because anyway the quotes in there
1026 # would cause problems or look ugly.
1027 # WARNING: Be sure not to use single quotes in there, as some shells,
1028 # such as our DU 5.0 friend, will then `close' the trap.
1029 trap 'exit_status=$?
1030 # Save into config.log some information that might help in debugging.
1035 ## ---------------- ##
1036 ## Cache variables. ##
1037 ## ---------------- ##
1040 # The following way of writing the cache mishandles newlines in values,
1043 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1046 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1051 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1058 ## ----------------- ##
1059 ## Output variables. ##
1060 ## ----------------- ##
1063 for ac_var in $ac_subst_vars
1065 eval ac_val=$`echo $ac_var`
1066 echo "$ac_var='"'"'$ac_val'"'"'"
1070 if test -n "$ac_subst_files"; then
1077 for ac_var in $ac_subst_files
1079 eval ac_val=$`echo $ac_var`
1080 echo "$ac_var='"'"'$ac_val'"'"'"
1085 if test -s confdefs.h; then
1092 sed "/^$/d" confdefs.h | sort
1095 test "$ac_signal" != 0 &&
1096 echo "$as_me: caught signal $ac_signal"
1097 echo "$as_me: exit $exit_status"
1099 rm -f core *.core &&
1100 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1103 for ac_signal in 1 2 13 15; do
1104 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1108 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1109 rm -rf conftest* confdefs.h
1110 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1113 # Predefined preprocessor variables.
1115 cat >>confdefs.h <<_ACEOF
1116 #define PACKAGE_NAME "$PACKAGE_NAME"
1120 cat >>confdefs.h <<_ACEOF
1121 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1125 cat >>confdefs.h <<_ACEOF
1126 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1130 cat >>confdefs.h <<_ACEOF
1131 #define PACKAGE_STRING "$PACKAGE_STRING"
1135 cat >>confdefs.h <<_ACEOF
1136 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1140 # Let the site file select an alternate cache file if it wants to.
1141 # Prefer explicitly selected file to automatically selected ones.
1142 if test -z "$CONFIG_SITE"; then
1143 if test "x$prefix" != xNONE; then
1144 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1146 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1149 for ac_site_file in $CONFIG_SITE; do
1150 if test -r "$ac_site_file"; then
1151 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1152 echo "$as_me: loading site script $ac_site_file" >&6;}
1153 sed 's/^/| /' "$ac_site_file" >&5
1158 if test -r "$cache_file"; then
1159 # Some versions of bash will fail to source /dev/null (special
1160 # files actually), so we avoid doing that.
1161 if test -f "$cache_file"; then
1162 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1163 echo "$as_me: loading cache $cache_file" >&6;}
1165 [\\/]* | ?:[\\/]* ) . $cache_file;;
1166 *) . ./$cache_file;;
1170 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1171 echo "$as_me: creating cache $cache_file" >&6;}
1175 # Check that the precious variables saved in the cache have kept the same
1177 ac_cache_corrupted=false
1178 for ac_var in `(set) 2>&1 |
1179 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1180 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1181 eval ac_new_set=\$ac_env_${ac_var}_set
1182 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1183 eval ac_new_val="\$ac_env_${ac_var}_value"
1184 case $ac_old_set,$ac_new_set in
1186 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1187 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1188 ac_cache_corrupted=: ;;
1190 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1191 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1192 ac_cache_corrupted=: ;;
1195 if test "x$ac_old_val" != "x$ac_new_val"; then
1196 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1197 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1198 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1199 echo "$as_me: former value: $ac_old_val" >&2;}
1200 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1201 echo "$as_me: current value: $ac_new_val" >&2;}
1202 ac_cache_corrupted=:
1205 # Pass precious variables to config.status.
1206 if test "$ac_new_set" = set; then
1208 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1209 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1210 *) ac_arg=$ac_var=$ac_new_val ;;
1212 case " $ac_configure_args " in
1213 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1214 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1218 if $ac_cache_corrupted; then
1219 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1220 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1221 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1222 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1223 { (exit 1); exit 1; }; }
1227 ac_cpp='$CPP $CPPFLAGS'
1228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1252 APPLET_NAME="shermans_applet"
1254 APPLET_VERSION="3.0.1"
1256 APPLET_NICE_NAME="Sherman's aquarium"
1258 APPLET_AUTHOR="Jonas Aaberg, <cja@gmx.net> 2002-2005. Graphics by Jim Toomey."
1260 APPLET_GROUP="Amusements"
1262 APPLET_NAME_ICON="shermans_icon.png"
1264 APPLET_IMAGES="aquarium/*"
1266 APPLET_DESCRIPTION_SHORT="Bringer of life."
1268 APPLET_DESCRIPTION="Sherman's aquarium is an applet with the\ncreatures from Jim Toomey's\nwonderful comic, Sherman's Lagoon\n(www.slagoon.com)."
1270 APPLET_LICENSE="Program released under GNU GPL.\nMost graphics Copyrighted by Jim Toomey and is NOT under GNU GPL."
1272 APPLET_REQUIRES_GAI_VERSION="0.5.3"
1274 APPLET_XMMS=checkfor
1278 echo "$as_me:$LINENO: checking whether to try to include Screensaver support" >&5
1279 echo $ECHO_N "checking whether to try to include Screensaver support... $ECHO_C" >&6
1280 # Check whether --enable-sdl or --disable-sdl was given.
1281 if test "${enable_sdl+set}" = set; then
1282 enableval="$enable_sdl"
1284 if test x$withval = xyes; then
1291 if test x$with_sdl = xno; then
1292 echo "$as_me:$LINENO: result: no" >&5
1293 echo "${ECHO_T}no" >&6
1295 echo "$as_me:$LINENO: result: yes" >&5
1296 echo "${ECHO_T}yes" >&6
1301 echo "$as_me:$LINENO: checking whether to try to compile applet support " >&5
1302 echo $ECHO_N "checking whether to try to compile applet support ... $ECHO_C" >&6
1303 # Check whether --enable-gai or --disable-gai was given.
1304 if test "${enable_gai+set}" = set; then
1305 enableval="$enable_gai"
1307 if test x$withval = xyes; then
1314 if test x$with_gai = xno; then
1315 echo "$as_me:$LINENO: result: no" >&5
1316 echo "${ECHO_T}no" >&6
1318 echo "$as_me:$LINENO: result: yes" >&5
1319 echo "${ECHO_T}yes" >&6
1324 ac_cpp='$CPP $CPPFLAGS'
1325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1328 if test -n "$ac_tool_prefix"; then
1329 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1330 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1331 echo "$as_me:$LINENO: checking for $ac_word" >&5
1332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1333 if test "${ac_cv_prog_CC+set}" = set; then
1334 echo $ECHO_N "(cached) $ECHO_C" >&6
1336 if test -n "$CC"; then
1337 ac_cv_prog_CC="$CC" # Let the user override the test.
1339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1343 test -z "$as_dir" && as_dir=.
1344 for ac_exec_ext in '' $ac_executable_extensions; do
1345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1346 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1356 if test -n "$CC"; then
1357 echo "$as_me:$LINENO: result: $CC" >&5
1358 echo "${ECHO_T}$CC" >&6
1360 echo "$as_me:$LINENO: result: no" >&5
1361 echo "${ECHO_T}no" >&6
1365 if test -z "$ac_cv_prog_CC"; then
1367 # Extract the first word of "gcc", so it can be a program name with args.
1368 set dummy gcc; ac_word=$2
1369 echo "$as_me:$LINENO: checking for $ac_word" >&5
1370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1371 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 if test -n "$ac_ct_CC"; then
1375 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1381 test -z "$as_dir" && as_dir=.
1382 for ac_exec_ext in '' $ac_executable_extensions; do
1383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1384 ac_cv_prog_ac_ct_CC="gcc"
1385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1393 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1394 if test -n "$ac_ct_CC"; then
1395 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1396 echo "${ECHO_T}$ac_ct_CC" >&6
1398 echo "$as_me:$LINENO: result: no" >&5
1399 echo "${ECHO_T}no" >&6
1407 if test -z "$CC"; then
1408 if test -n "$ac_tool_prefix"; then
1409 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1410 set dummy ${ac_tool_prefix}cc; ac_word=$2
1411 echo "$as_me:$LINENO: checking for $ac_word" >&5
1412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1413 if test "${ac_cv_prog_CC+set}" = set; then
1414 echo $ECHO_N "(cached) $ECHO_C" >&6
1416 if test -n "$CC"; then
1417 ac_cv_prog_CC="$CC" # Let the user override the test.
1419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1423 test -z "$as_dir" && as_dir=.
1424 for ac_exec_ext in '' $ac_executable_extensions; do
1425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1426 ac_cv_prog_CC="${ac_tool_prefix}cc"
1427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1436 if test -n "$CC"; then
1437 echo "$as_me:$LINENO: result: $CC" >&5
1438 echo "${ECHO_T}$CC" >&6
1440 echo "$as_me:$LINENO: result: no" >&5
1441 echo "${ECHO_T}no" >&6
1445 if test -z "$ac_cv_prog_CC"; then
1447 # Extract the first word of "cc", so it can be a program name with args.
1448 set dummy cc; ac_word=$2
1449 echo "$as_me:$LINENO: checking for $ac_word" >&5
1450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1451 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1452 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 if test -n "$ac_ct_CC"; then
1455 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1461 test -z "$as_dir" && as_dir=.
1462 for ac_exec_ext in '' $ac_executable_extensions; do
1463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1464 ac_cv_prog_ac_ct_CC="cc"
1465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1473 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1474 if test -n "$ac_ct_CC"; then
1475 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1476 echo "${ECHO_T}$ac_ct_CC" >&6
1478 echo "$as_me:$LINENO: result: no" >&5
1479 echo "${ECHO_T}no" >&6
1488 if test -z "$CC"; then
1489 # Extract the first word of "cc", so it can be a program name with args.
1490 set dummy cc; ac_word=$2
1491 echo "$as_me:$LINENO: checking for $ac_word" >&5
1492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1493 if test "${ac_cv_prog_CC+set}" = set; then
1494 echo $ECHO_N "(cached) $ECHO_C" >&6
1496 if test -n "$CC"; then
1497 ac_cv_prog_CC="$CC" # Let the user override the test.
1500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1504 test -z "$as_dir" && as_dir=.
1505 for ac_exec_ext in '' $ac_executable_extensions; do
1506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1507 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1508 ac_prog_rejected=yes
1512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1518 if test $ac_prog_rejected = yes; then
1519 # We found a bogon in the path, so make sure we never use it.
1520 set dummy $ac_cv_prog_CC
1522 if test $# != 0; then
1523 # We chose a different compiler from the bogus one.
1524 # However, it has the same basename, so the bogon will be chosen
1525 # first if we set CC to just the basename; use the full file name.
1527 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1533 if test -n "$CC"; then
1534 echo "$as_me:$LINENO: result: $CC" >&5
1535 echo "${ECHO_T}$CC" >&6
1537 echo "$as_me:$LINENO: result: no" >&5
1538 echo "${ECHO_T}no" >&6
1542 if test -z "$CC"; then
1543 if test -n "$ac_tool_prefix"; then
1546 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1547 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1548 echo "$as_me:$LINENO: checking for $ac_word" >&5
1549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1550 if test "${ac_cv_prog_CC+set}" = set; then
1551 echo $ECHO_N "(cached) $ECHO_C" >&6
1553 if test -n "$CC"; then
1554 ac_cv_prog_CC="$CC" # Let the user override the test.
1556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1560 test -z "$as_dir" && as_dir=.
1561 for ac_exec_ext in '' $ac_executable_extensions; do
1562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1563 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1573 if test -n "$CC"; then
1574 echo "$as_me:$LINENO: result: $CC" >&5
1575 echo "${ECHO_T}$CC" >&6
1577 echo "$as_me:$LINENO: result: no" >&5
1578 echo "${ECHO_T}no" >&6
1581 test -n "$CC" && break
1584 if test -z "$CC"; then
1588 # Extract the first word of "$ac_prog", so it can be a program name with args.
1589 set dummy $ac_prog; ac_word=$2
1590 echo "$as_me:$LINENO: checking for $ac_word" >&5
1591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1592 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 if test -n "$ac_ct_CC"; then
1596 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1602 test -z "$as_dir" && as_dir=.
1603 for ac_exec_ext in '' $ac_executable_extensions; do
1604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1605 ac_cv_prog_ac_ct_CC="$ac_prog"
1606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1614 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1615 if test -n "$ac_ct_CC"; then
1616 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1617 echo "${ECHO_T}$ac_ct_CC" >&6
1619 echo "$as_me:$LINENO: result: no" >&5
1620 echo "${ECHO_T}no" >&6
1623 test -n "$ac_ct_CC" && break
1632 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1633 See \`config.log' for more details." >&5
1634 echo "$as_me: error: no acceptable C compiler found in \$PATH
1635 See \`config.log' for more details." >&2;}
1636 { (exit 1); exit 1; }; }
1638 # Provide some information about the compiler.
1639 echo "$as_me:$LINENO:" \
1640 "checking for C compiler version" >&5
1641 ac_compiler=`set X $ac_compile; echo $2`
1642 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1643 (eval $ac_compiler --version </dev/null >&5) 2>&5
1645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1646 (exit $ac_status); }
1647 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1648 (eval $ac_compiler -v </dev/null >&5) 2>&5
1650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1651 (exit $ac_status); }
1652 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1653 (eval $ac_compiler -V </dev/null >&5) 2>&5
1655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1656 (exit $ac_status); }
1658 cat >conftest.$ac_ext <<_ACEOF
1661 cat confdefs.h >>conftest.$ac_ext
1662 cat >>conftest.$ac_ext <<_ACEOF
1663 /* end confdefs.h. */
1673 ac_clean_files_save=$ac_clean_files
1674 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1675 # Try to create an executable without -o first, disregard a.out.
1676 # It will help us diagnose broken compilers, and finding out an intuition
1678 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1679 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1680 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1681 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1682 (eval $ac_link_default) 2>&5
1684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1685 (exit $ac_status); }; then
1686 # Find the output, starting from the most likely. This scheme is
1687 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1690 # Be careful to initialize this variable, since it used to be cached.
1691 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1693 # b.out is created by i960 compilers.
1694 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1696 test -f "$ac_file" || continue
1698 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1701 # This is the source file.
1704 # We found the default executable, but exeext='' is most
1708 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1709 # FIXME: I believe we export ac_cv_exeext for Libtool,
1710 # but it would be cool to find out if it's true. Does anybody
1711 # maintain Libtool? --akim.
1719 echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1722 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1723 See \`config.log' for more details." >&5
1724 echo "$as_me: error: C compiler cannot create executables
1725 See \`config.log' for more details." >&2;}
1726 { (exit 77); exit 77; }; }
1729 ac_exeext=$ac_cv_exeext
1730 echo "$as_me:$LINENO: result: $ac_file" >&5
1731 echo "${ECHO_T}$ac_file" >&6
1733 # Check the compiler produces executables we can run. If not, either
1734 # the compiler is broken, or we cross compile.
1735 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1736 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1737 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1738 # If not cross compiling, check that we can run a simple program.
1739 if test "$cross_compiling" != yes; then
1740 if { ac_try='./$ac_file'
1741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1745 (exit $ac_status); }; }; then
1748 if test "$cross_compiling" = maybe; then
1751 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1752 If you meant to cross compile, use \`--host'.
1753 See \`config.log' for more details." >&5
1754 echo "$as_me: error: cannot run C compiled programs.
1755 If you meant to cross compile, use \`--host'.
1756 See \`config.log' for more details." >&2;}
1757 { (exit 1); exit 1; }; }
1761 echo "$as_me:$LINENO: result: yes" >&5
1762 echo "${ECHO_T}yes" >&6
1764 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1765 ac_clean_files=$ac_clean_files_save
1766 # Check the compiler produces executables we can run. If not, either
1767 # the compiler is broken, or we cross compile.
1768 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1769 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1770 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1771 echo "${ECHO_T}$cross_compiling" >&6
1773 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1774 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1776 (eval $ac_link) 2>&5
1778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1779 (exit $ac_status); }; then
1780 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1781 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1782 # work properly (i.e., refer to `conftest.exe'), while it won't with
1784 for ac_file in conftest.exe conftest conftest.*; do
1785 test -f "$ac_file" || continue
1787 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1788 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1795 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1796 See \`config.log' for more details." >&5
1797 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1798 See \`config.log' for more details." >&2;}
1799 { (exit 1); exit 1; }; }
1802 rm -f conftest$ac_cv_exeext
1803 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1804 echo "${ECHO_T}$ac_cv_exeext" >&6
1806 rm -f conftest.$ac_ext
1807 EXEEXT=$ac_cv_exeext
1809 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1810 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1811 if test "${ac_cv_objext+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 cat >conftest.$ac_ext <<_ACEOF
1817 cat confdefs.h >>conftest.$ac_ext
1818 cat >>conftest.$ac_ext <<_ACEOF
1819 /* end confdefs.h. */
1829 rm -f conftest.o conftest.obj
1830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1831 (eval $ac_compile) 2>&5
1833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1834 (exit $ac_status); }; then
1835 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1837 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1838 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1843 echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1846 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1847 See \`config.log' for more details." >&5
1848 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1849 See \`config.log' for more details." >&2;}
1850 { (exit 1); exit 1; }; }
1853 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1855 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1856 echo "${ECHO_T}$ac_cv_objext" >&6
1857 OBJEXT=$ac_cv_objext
1859 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1860 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1861 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1864 cat >conftest.$ac_ext <<_ACEOF
1867 cat confdefs.h >>conftest.$ac_ext
1868 cat >>conftest.$ac_ext <<_ACEOF
1869 /* end confdefs.h. */
1882 rm -f conftest.$ac_objext
1883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1884 (eval $ac_compile) 2>conftest.er1
1886 grep -v '^ *+' conftest.er1 >conftest.err
1888 cat conftest.err >&5
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); } &&
1891 { ac_try='test -z "$ac_c_werror_flag"
1892 || test ! -s conftest.err'
1893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1897 (exit $ac_status); }; } &&
1898 { ac_try='test -s conftest.$ac_objext'
1899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1903 (exit $ac_status); }; }; then
1906 echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1912 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1915 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1916 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1917 GCC=`test $ac_compiler_gnu = yes && echo yes`
1918 ac_test_CFLAGS=${CFLAGS+set}
1919 ac_save_CFLAGS=$CFLAGS
1921 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1922 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1923 if test "${ac_cv_prog_cc_g+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 cat >conftest.$ac_ext <<_ACEOF
1929 cat confdefs.h >>conftest.$ac_ext
1930 cat >>conftest.$ac_ext <<_ACEOF
1931 /* end confdefs.h. */
1941 rm -f conftest.$ac_objext
1942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1943 (eval $ac_compile) 2>conftest.er1
1945 grep -v '^ *+' conftest.er1 >conftest.err
1947 cat conftest.err >&5
1948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949 (exit $ac_status); } &&
1950 { ac_try='test -z "$ac_c_werror_flag"
1951 || test ! -s conftest.err'
1952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956 (exit $ac_status); }; } &&
1957 { ac_try='test -s conftest.$ac_objext'
1958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1962 (exit $ac_status); }; }; then
1965 echo "$as_me: failed program was:" >&5
1966 sed 's/^/| /' conftest.$ac_ext >&5
1970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1972 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1973 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1974 if test "$ac_test_CFLAGS" = set; then
1975 CFLAGS=$ac_save_CFLAGS
1976 elif test $ac_cv_prog_cc_g = yes; then
1977 if test "$GCC" = yes; then
1983 if test "$GCC" = yes; then
1989 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1990 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1991 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 ac_cv_prog_cc_stdc=no
1996 cat >conftest.$ac_ext <<_ACEOF
1999 cat confdefs.h >>conftest.$ac_ext
2000 cat >>conftest.$ac_ext <<_ACEOF
2001 /* end confdefs.h. */
2004 #include <sys/types.h>
2005 #include <sys/stat.h>
2006 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2007 struct buf { int x; };
2008 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2009 static char *e (p, i)
2015 static char *f (char * (*g) (char **, int), char **p, ...)
2020 s = g (p, va_arg (v,int));
2025 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2026 function prototypes and stuff, but not '\xHH' hex character constants.
2027 These don't provoke an error unfortunately, instead are silently treated
2028 as 'x'. The following induces an error, until -std1 is added to get
2029 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2030 array size at least. It's necessary to write '\x00'==0 to get something
2031 that's true only with -std1. */
2032 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2034 int test (int i, double x);
2035 struct s1 {int (*f) (int a);};
2036 struct s2 {int (*f) (double a);};
2037 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2043 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2048 # Don't try gcc -ansi; that turns off useful extensions and
2049 # breaks some systems' header files.
2050 # AIX -qlanglvl=ansi
2051 # Ultrix and OSF/1 -std1
2052 # HP-UX 10.20 and later -Ae
2053 # HP-UX older versions -Aa -D_HPUX_SOURCE
2054 # SVR4 -Xc -D__EXTENSIONS__
2055 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2057 CC="$ac_save_CC $ac_arg"
2058 rm -f conftest.$ac_objext
2059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2060 (eval $ac_compile) 2>conftest.er1
2062 grep -v '^ *+' conftest.er1 >conftest.err
2064 cat conftest.err >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); } &&
2067 { ac_try='test -z "$ac_c_werror_flag"
2068 || test ! -s conftest.err'
2069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073 (exit $ac_status); }; } &&
2074 { ac_try='test -s conftest.$ac_objext'
2075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079 (exit $ac_status); }; }; then
2080 ac_cv_prog_cc_stdc=$ac_arg
2083 echo "$as_me: failed program was:" >&5
2084 sed 's/^/| /' conftest.$ac_ext >&5
2087 rm -f conftest.err conftest.$ac_objext
2089 rm -f conftest.$ac_ext conftest.$ac_objext
2094 case "x$ac_cv_prog_cc_stdc" in
2096 echo "$as_me:$LINENO: result: none needed" >&5
2097 echo "${ECHO_T}none needed" >&6 ;;
2099 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2100 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2101 CC="$CC $ac_cv_prog_cc_stdc" ;;
2104 # Some people use a C++ compiler to compile C. Since we use `exit',
2105 # in C++ we need to declare it. In case someone uses the same compiler
2106 # for both compiling C and C++ we need to have the C++ compiler decide
2107 # the declaration of exit, since it's the most demanding environment.
2108 cat >conftest.$ac_ext <<_ACEOF
2113 rm -f conftest.$ac_objext
2114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2115 (eval $ac_compile) 2>conftest.er1
2117 grep -v '^ *+' conftest.er1 >conftest.err
2119 cat conftest.err >&5
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); } &&
2122 { ac_try='test -z "$ac_c_werror_flag"
2123 || test ! -s conftest.err'
2124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }; } &&
2129 { ac_try='test -s conftest.$ac_objext'
2130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 (exit $ac_status); }; }; then
2135 for ac_declaration in \
2137 'extern "C" void std::exit (int) throw (); using std::exit;' \
2138 'extern "C" void std::exit (int); using std::exit;' \
2139 'extern "C" void exit (int) throw ();' \
2140 'extern "C" void exit (int);' \
2143 cat >conftest.$ac_ext <<_ACEOF
2146 cat confdefs.h >>conftest.$ac_ext
2147 cat >>conftest.$ac_ext <<_ACEOF
2148 /* end confdefs.h. */
2159 rm -f conftest.$ac_objext
2160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2161 (eval $ac_compile) 2>conftest.er1
2163 grep -v '^ *+' conftest.er1 >conftest.err
2165 cat conftest.err >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); } &&
2168 { ac_try='test -z "$ac_c_werror_flag"
2169 || test ! -s conftest.err'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; } &&
2175 { ac_try='test -s conftest.$ac_objext'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then
2183 echo "$as_me: failed program was:" >&5
2184 sed 's/^/| /' conftest.$ac_ext >&5
2188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2189 cat >conftest.$ac_ext <<_ACEOF
2192 cat confdefs.h >>conftest.$ac_ext
2193 cat >>conftest.$ac_ext <<_ACEOF
2194 /* end confdefs.h. */
2204 rm -f conftest.$ac_objext
2205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2206 (eval $ac_compile) 2>conftest.er1
2208 grep -v '^ *+' conftest.er1 >conftest.err
2210 cat conftest.err >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); } &&
2213 { ac_try='test -z "$ac_c_werror_flag"
2214 || test ! -s conftest.err'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; } &&
2220 { ac_try='test -s conftest.$ac_objext'
2221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; }; then
2228 echo "$as_me: failed program was:" >&5
2229 sed 's/^/| /' conftest.$ac_ext >&5
2232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2235 if test -n "$ac_declaration"; then
2236 echo '#ifdef __cplusplus' >>confdefs.h
2237 echo $ac_declaration >>confdefs.h
2238 echo '#endif' >>confdefs.h
2242 echo "$as_me: failed program was:" >&5
2243 sed 's/^/| /' conftest.$ac_ext >&5
2246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2248 ac_cpp='$CPP $CPPFLAGS'
2249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2265 echo "$as_me:$LINENO: checking operating system" >&5
2266 echo $ECHO_N "checking operating system... $ECHO_C" >&6
2268 echo "$as_me:$LINENO: result: $OSTYPE" >&5
2269 echo "${ECHO_T}$OSTYPE" >&6
2272 SYSTEM_SPECIFIC_LIBS=
2277 MINOR=`uname -r | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)\(.*\)/\2/'`
2278 if test x$MINOR = x4 ; then
2279 STATUS="status_linux24.o"
2281 STATUS="status_linux26.o"
2286 STATUS="status_drawin.o"
2290 STATUS="status_freebsd.o"
2291 SYSTEM_SPECIFIC_LIBS="-lkvm"
2317 if test x$with_gai = xyes ; then
2318 # Extract the first word of "pkg-config", so it can be a program name with args.
2319 set dummy pkg-config; ac_word=$2
2320 echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2322 if test "${ac_cv_prog_PKGCONF+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 if test -n "$PKGCONF"; then
2326 ac_cv_prog_PKGCONF="$PKGCONF" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2335 ac_cv_prog_PKGCONF="true"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2342 test -z "$ac_cv_prog_PKGCONF" && ac_cv_prog_PKGCONF="false"
2345 PKGCONF=$ac_cv_prog_PKGCONF
2346 if test -n "$PKGCONF"; then
2347 echo "$as_me:$LINENO: result: $PKGCONF" >&5
2348 echo "${ECHO_T}$PKGCONF" >&6
2350 echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6
2356 echo "$as_me:$LINENO: checking for gai" >&5
2357 echo $ECHO_N "checking for gai... $ECHO_C" >&6
2358 if `pkg-config --exists gai` ; then
2359 echo "$as_me:$LINENO: result: yes" >&5
2360 echo "${ECHO_T}yes" >&6
2361 GAI_CFLAGS=`pkg-config --cflags gai`
2362 GAI_LIBS=`pkg-config --libs gai`
2365 echo "$as_me:$LINENO: result: no" >&5
2366 echo "${ECHO_T}no" >&6
2369 { { echo "$as_me:$LINENO: error: \"can't find pkg-config!\"" >&5
2370 echo "$as_me: error: \"can't find pkg-config!\"" >&2;}
2371 { (exit 1); exit 1; }; }
2374 if test x$FOUND_GAI_LIBS = xyes ; then
2376 echo "$as_me:$LINENO: checking for gai version >= $APPLET_REQUIRES_GAI_VERSION" >&5
2377 echo $ECHO_N "checking for gai version >= $APPLET_REQUIRES_GAI_VERSION... $ECHO_C" >&6
2378 if `pkg-config gai --atleast-version $APPLET_REQUIRES_GAI_VERSION` ; then
2379 echo "$as_me:$LINENO: result: yes" >&5
2380 echo "${ECHO_T}yes" >&6
2383 APPLET=shermans_applet
2384 INSTALL_APPLET=install_applet
2386 echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6
2393 if test x$GAI = xyes ; then
2394 echo "$as_me:$LINENO: checking if gai is compiled with gnome support" >&5
2395 echo $ECHO_N "checking if gai is compiled with gnome support... $ECHO_C" >&6
2400 if test `pkg-config gai --variable=gnome` = yes; then
2401 echo "$as_me:$LINENO: result: yes" >&5
2402 echo "${ECHO_T}yes" >&6
2404 echo "$as_me:$LINENO: checking for gnome prefix" >&5
2405 echo $ECHO_N "checking for gnome prefix... $ECHO_C" >&6
2406 with_gnome_prefix=`(pkg-config --variable=prefix libpanelapplet-2.0) 2>/dev/null`
2407 if test $? -ne 0; then
2408 with_gnome_prefix='${prefix}'
2410 echo "$as_me:$LINENO: result: $with_gnome_prefix" >&5
2411 echo "${ECHO_T}$with_gnome_prefix" >&6
2413 GNOMEDIR=$with_gnome_prefix
2414 INSTALL_GNOME=install-gnome
2415 INSTALL_PATH='$(GNOMEDIR)'
2417 GNOMESERVER=`echo -n GNOME_$APPLET_NAME;echo -n "Applet.server"`
2418 cat >$GNOMESERVER.in << EOF
2420 <oaf_server iid="OAFIID:GNOME_@APPLET_NAME@Applet_Factory" type="exe" location="@GNOMEDIR@/bin/@APPLET_NAME@">
2421 <oaf_attribute name="repo_ids" type="stringv">
2422 <item value="IDL:Bonobo/GenericFactory:1.0"/>
2423 <item value="IDL:Bonobo/Unknown:1.0"/>
2425 <oaf_attribute name="name" type="string" value="@APPLET_NAME@ applet Factory"/>
2426 <oaf_attribute name="description" type="string" value="Factory for @APPLET_NAME@ applet"/>
2429 <oaf_server iid="OAFIID:GNOME_@APPLET_NAME@Applet" type="factory" location="OAFIID:GNOME_@APPLET_NAME@Applet_Factory">
2430 <oaf_attribute name="repo_ids" type="stringv">
2431 <item value="IDL:GNOME/Vertigo/PanelAppletShell:1.0"/>
2432 <item value="IDL:Bonobo/Control:1.0"/>
2433 <item value="IDL:Bonobo/Unknown:1.0"/>
2435 <oaf_attribute name="name" type="string" value="@APPLET_NICE_NAME@"/>
2436 <oaf_attribute name="description" type="string" value="@APPLET_DESCRIPTION_SHORT@"/>
2437 <oaf_attribute name="panel:category" type="string" value="@APPLET_GROUP@"/>
2438 <oaf_attribute name="panel:icon" type="string" value="@APPLET_NAME_ICON@"/>
2445 echo "$as_me:$LINENO: result: no" >&5
2446 echo "${ECHO_T}no" >&6
2448 if test x$prefix = xNONE ; then
2449 GNOMEDIR=/usr/local/
2450 INSTALL_PATH=/usr/local/
2453 INSTALL_PATH=$prefix
2467 echo "$as_me:$LINENO: checking if gai knows about the ROX panel" >&5
2468 echo $ECHO_N "checking if gai knows about the ROX panel... $ECHO_C" >&6
2469 if test `pkg-config gai --variable=rox` = yes; then
2470 echo "$as_me:$LINENO: result: yes" >&5
2471 echo "${ECHO_T}yes" >&6
2474 cat >AppRun.in << EOF
2476 # Slightly modified by Jonas Aaberg <cja@gmx.net> to suit GAI applets.
2480 APP_DIR=\`dirname "\$0"\`
2481 APP_DIR=\`cd "\$APP_DIR";pwd\`; export APP_DIR
2483 BIN="\$APP_DIR/\$PROG"
2485 exec "\$BIN" --gai-rox "\$@"
2488 ROX_APPINFO=AppInfo.xml
2490 cat >AppInfo.xml.in << EOF
2491 <?xml version="1.0"?>
2493 <Summary>@APPLET_DESCRIPTION_SHORT@</Summary>
2499 INSTALL_ROX=install-rox
2500 ROX_PATH=`pkg-config gai --variable=roxpath`
2501 echo "$as_me:$LINENO: checking for ROX path" >&5
2502 echo $ECHO_N "checking for ROX path... $ECHO_C" >&6
2503 echo "$as_me:$LINENO: result: $ROX_PATH" >&5
2504 echo "${ECHO_T}$ROX_PATH" >&6
2506 echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6
2516 if test x$GAI = xno ; then
2517 if test x$prefix = xNONE ; then
2518 GNOMEDIR=/usr/local/
2519 INSTALL_PATH=/usr/local/
2522 INSTALL_PATH=$prefix
2542 if test x$APPLET_IMAGES = x; then
2545 INSTALL_IMAGES=install-images
2549 if test x$GNOME = xyes ; then
2550 APPLET_IMAGE_PATH=$GNOMEDIR/share/pixmaps/shermans
2551 APPLET_ICON=$GNOMEDIR/share/pixmaps/$APPLET_NAME_ICON
2553 if test x$prefix = xNONE ; then
2554 APPLET_IMAGE_PATH=/usr/local/share/pixmaps/shermans
2555 APPLET_ICON=/usr/local/share/pixmaps/$APPLET_NAME_ICON
2557 APPLET_IMAGE_PATH=$prefix/share/pixmaps/shermans
2558 APPLET_ICON=$prefix/share/pixmaps/$APPLET_NAME_ICON
2570 INSTALL_SCREENSAVER=
2572 if test x$with_sdl = xyes ; then
2573 # Extract the first word of "sdl-config", so it can be a program name with args.
2574 set dummy sdl-config; ac_word=$2
2575 echo "$as_me:$LINENO: checking for $ac_word" >&5
2576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2577 if test "${ac_cv_prog_SDLCONF+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2580 if test -n "$SDLCONF"; then
2581 ac_cv_prog_SDLCONF="$SDLCONF" # Let the user override the test.
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir=.
2588 for ac_exec_ext in '' $ac_executable_extensions; do
2589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2590 ac_cv_prog_SDLCONF="true"
2591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 test -z "$ac_cv_prog_SDLCONF" && ac_cv_prog_SDLCONF="false"
2600 SDLCONF=$ac_cv_prog_SDLCONF
2601 if test -n "$SDLCONF"; then
2602 echo "$as_me:$LINENO: result: $SDLCONF" >&5
2603 echo "${ECHO_T}$SDLCONF" >&6
2605 echo "$as_me:$LINENO: result: no" >&5
2606 echo "${ECHO_T}no" >&6
2611 sdl_version=`sdl-config --version`
2612 echo "$as_me:$LINENO: checking for SDL version ($sdl_version) >= 1.2.0" >&5
2613 echo $ECHO_N "checking for SDL version ($sdl_version) >= 1.2.0... $ECHO_C" >&6
2614 SDL_MAJOR=`sdl-config --version | \
2615 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
2616 SDL_MINOR=`sdl-config --version | \
2617 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
2618 SDL_MICRO=`sdl-config --version | \
2619 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
2622 if test $SDL_MAJOR -eq 1 ; then
2623 if test $SDL_MINOR -eq 2 ; then
2632 if test x$SDL = xyes ; then
2633 SDL_CFLAGS=`sdl-config --cflags`
2634 SDL_LIBS=`sdl-config --libs`
2635 SCREENSAVER=shermans
2636 INSTALL_SCREENSAVER=install_screensaver
2637 echo "$as_me:$LINENO: result: yes" >&5
2638 echo "${ECHO_T}yes" >&6
2639 echo "$as_me:$LINENO: checking for gtk+ version >= 2.2.0" >&5
2640 echo $ECHO_N "checking for gtk+ version >= 2.2.0... $ECHO_C" >&6
2641 if `pkg-config gtk+-2.0 --atleast-version 2.2.0` ; then
2642 echo "$as_me:$LINENO: result: yes" >&5
2643 echo "${ECHO_T}yes" >&6
2644 GTK_CFLAGS=`pkg-config --cflags gtk+-2.0`
2645 GTK_LIBS=`pkg-config --libs gtk+-2.0`
2649 echo "$as_me:$LINENO: result: no" >&5
2650 echo "${ECHO_T}no" >&6
2651 { { echo "$as_me:$LINENO: error: GTK+ v2.2.0 or later is needed for Sherman's aquarium!" >&5
2652 echo "$as_me: error: GTK+ v2.2.0 or later is needed for Sherman's aquarium!" >&2;}
2653 { (exit 1); exit 1; }; }
2656 echo "$as_me:$LINENO: result: no" >&5
2657 echo "${ECHO_T}no" >&6
2676 if test x$FOUND_GAI_LIBS = xyes ; then
2677 if test x$with_gai = xyes ; then
2678 if test x$APPLET_XMMS = xyes ; then
2679 # Extract the first word of "xmms-config", so it can be a program name with args.
2680 set dummy xmms-config; ac_word=$2
2681 echo "$as_me:$LINENO: checking for $ac_word" >&5
2682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2683 if test "${ac_cv_prog_XMMS_CONFIG+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2686 if test -n "$XMMS_CONFIG"; then
2687 ac_cv_prog_XMMS_CONFIG="$XMMS_CONFIG" # Let the user override the test.
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 test -z "$as_dir" && as_dir=.
2694 for ac_exec_ext in '' $ac_executable_extensions; do
2695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2696 ac_cv_prog_XMMS_CONFIG="true"
2697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 test -z "$ac_cv_prog_XMMS_CONFIG" && ac_cv_prog_XMMS_CONFIG="false"
2706 XMMS_CONFIG=$ac_cv_prog_XMMS_CONFIG
2707 if test -n "$XMMS_CONFIG"; then
2708 echo "$as_me:$LINENO: result: $XMMS_CONFIG" >&5
2709 echo "${ECHO_T}$XMMS_CONFIG" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2716 if $XMMS_CONFIG ; then
2717 XMMS_CFLAGS=`xmms-config --cflags`
2718 XMMS_LIBS=`xmms-config --libs`
2721 { { echo "$as_me:$LINENO: error: \"can't find xmms-config! XMMS installed?\"" >&5
2722 echo "$as_me: error: \"can't find xmms-config! XMMS installed?\"" >&2;}
2723 { (exit 1); exit 1; }; }
2726 if test x$APPLET_XMMS = xcheckfor ; then
2727 # Extract the first word of "xmms-config", so it can be a program name with args.
2728 set dummy xmms-config; ac_word=$2
2729 echo "$as_me:$LINENO: checking for $ac_word" >&5
2730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2731 if test "${ac_cv_prog_XMMS_CONFIG+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 if test -n "$XMMS_CONFIG"; then
2735 ac_cv_prog_XMMS_CONFIG="$XMMS_CONFIG" # Let the user override the test.
2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 test -z "$as_dir" && as_dir=.
2742 for ac_exec_ext in '' $ac_executable_extensions; do
2743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2744 ac_cv_prog_XMMS_CONFIG="true"
2745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 test -z "$ac_cv_prog_XMMS_CONFIG" && ac_cv_prog_XMMS_CONFIG="false"
2754 XMMS_CONFIG=$ac_cv_prog_XMMS_CONFIG
2755 if test -n "$XMMS_CONFIG"; then
2756 echo "$as_me:$LINENO: result: $XMMS_CONFIG" >&5
2757 echo "${ECHO_T}$XMMS_CONFIG" >&6
2759 echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6
2764 if $XMMS_CONFIG ; then
2765 XMMS_CFLAGS=`xmms-config --cflags`
2766 XMMS_LIBS=`xmms-config --libs`
2768 XMMS_OBJ="xmms_sn.o"
2779 REMARK="This file is autogenerated by the configure script."
2780 REMARK2="So don't add things you want permanent here."
2785 ac_config_files="$ac_config_files $GNOMESERVER $ROX_APPRUN $ROX_APPINFO Makefile config.h shermans/Makefile"
2786 cat >confcache <<\_ACEOF
2787 # This file is a shell script that caches the results of configure
2788 # tests run on this system so they can be shared between configure
2789 # scripts and configure runs, see configure's option --config-cache.
2790 # It is not useful on other systems. If it contains results you don't
2791 # want to keep, you may remove or edit it.
2793 # config.status only pays attention to the cache file if you give it
2794 # the --recheck option to rerun configure.
2796 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2797 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2802 # The following way of writing the cache mishandles newlines in values,
2803 # but we know of no workaround that is simple, portable, and efficient.
2804 # So, don't put newlines in cache variables' values.
2805 # Ultrix sh set writes to stderr and can't be redirected directly,
2806 # and sets the high bit in the cache file unless we assign to the vars.
2809 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2811 # `set' does not quote correctly, so add quotes (double-quote
2812 # substitution turns \\\\ into \\, and sed turns \\ into \).
2815 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2818 # `set' quotes correctly as required by POSIX, so do not add quotes.
2820 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2827 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2829 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2831 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2832 if test -w $cache_file; then
2833 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2834 cat confcache >$cache_file
2836 echo "not updating unwritable cache $cache_file"
2841 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2842 # Let make expand exec_prefix.
2843 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2845 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2846 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2847 # trailing colons and then remove the whole line if VPATH becomes empty
2848 # (actually we leave an empty line to preserve line numbers).
2849 if test "x$srcdir" = x.; then
2850 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2851 s/:*\$(srcdir):*/:/;
2852 s/:*\${srcdir}:*/:/;
2854 s/^\([^=]*=[ ]*\):*/\1/;
2860 # Transform confdefs.h into DEFS.
2861 # Protect against shell expansion while executing Makefile rules.
2862 # Protect against Makefile macro expansion.
2864 # If the first sed substitution is executed (which looks for macros that
2865 # take arguments), then we branch to the quote section. Otherwise,
2866 # look for a macro that doesn't take arguments.
2867 cat >confdef2opt.sed <<\_ACEOF
2870 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2872 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2876 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2882 # We use echo to avoid assuming a particular line-breaking character.
2883 # The extra dot is to prevent the shell from consuming trailing
2884 # line-breaks from the sub-command output. A line-break within
2885 # single-quotes doesn't work because, if this script is created in a
2886 # platform that uses two characters for line-breaks (e.g., DOS), tr
2888 ac_LF_and_DOT=`echo; echo .`
2889 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2890 rm -f confdef2opt.sed
2895 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2896 # 1. Remove the extension, and $U if already installed.
2897 ac_i=`echo "$ac_i" |
2898 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2900 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2901 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2905 LTLIBOBJS=$ac_ltlibobjs
2909 : ${CONFIG_STATUS=./config.status}
2910 ac_clean_files_save=$ac_clean_files
2911 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2912 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2913 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2914 cat >$CONFIG_STATUS <<_ACEOF
2916 # Generated by $as_me.
2917 # Run this file to recreate the current configuration.
2918 # Compiler output produced by configure, useful for debugging
2919 # configure, is in config.log if it exists.
2924 SHELL=\${CONFIG_SHELL-$SHELL}
2927 cat >>$CONFIG_STATUS <<\_ACEOF
2928 ## --------------------- ##
2929 ## M4sh Initialization. ##
2930 ## --------------------- ##
2932 # Be Bourne compatible
2933 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2936 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2937 # is contrary to our usage. Disable this feature.
2938 alias -g '${1+"$@"}'='"$@"'
2939 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2942 DUALCASE=1; export DUALCASE # for MKS sh
2944 # Support unset when possible.
2945 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2952 # Work around bugs in pre-3.0 UWIN ksh.
2953 $as_unset ENV MAIL MAILPATH
2960 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2961 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2962 LC_TELEPHONE LC_TIME
2964 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2965 eval $as_var=C; export $as_var
2971 # Required to use basename.
2972 if expr a : '\(a\)' >/dev/null 2>&1; then
2978 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2979 as_basename=basename
2985 # Name of the executable.
2986 as_me=`$as_basename "$0" ||
2987 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2988 X"$0" : 'X\(//\)$' \| \
2989 X"$0" : 'X\(/\)$' \| \
2990 . : '\(.\)' 2>/dev/null ||
2992 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2993 /^X\/\(\/\/\)$/{ s//\1/; q; }
2994 /^X\/\(\/\).*/{ s//\1/; q; }
2998 # PATH needs CR, and LINENO needs CR and PATH.
2999 # Avoid depending upon Character Ranges.
3000 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3001 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3002 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3003 as_cr_digits='0123456789'
3004 as_cr_alnum=$as_cr_Letters$as_cr_digits
3006 # The user is always right.
3007 if test "${PATH_SEPARATOR+set}" != set; then
3008 echo "#! /bin/sh" >conf$$.sh
3009 echo "exit 0" >>conf$$.sh
3011 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3022 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3023 test "x$as_lineno_1" != "x$as_lineno_2" &&
3024 test "x$as_lineno_3" = "x$as_lineno_2" || {
3025 # Find who we are. Look in the path if we contain no path at all
3028 *[\\/]* ) as_myself=$0 ;;
3029 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir=.
3034 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3039 # We did not find ourselves, most probably we were run as `sh COMMAND'
3040 # in which case we are not to be found in the path.
3041 if test "x$as_myself" = x; then
3044 if test ! -f "$as_myself"; then
3045 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3046 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3047 { (exit 1); exit 1; }; }
3049 case $CONFIG_SHELL in
3051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3055 test -z "$as_dir" && as_dir=.
3056 for as_base in sh bash ksh sh5; do
3059 if ("$as_dir/$as_base" -c '
3062 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3063 test "x$as_lineno_1" != "x$as_lineno_2" &&
3064 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3065 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3066 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3067 CONFIG_SHELL=$as_dir/$as_base
3069 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3077 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3078 # uniformly replaced by the line number. The first 'sed' inserts a
3079 # line-number line before each line; the second 'sed' does the real
3080 # work. The second script uses 'N' to pair each line-number line
3081 # with the numbered line, and appends trailing '-' during
3082 # substitution so that $LINENO is not a special case at line end.
3083 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3084 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3085 sed '=' <$as_myself |
3090 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3093 s,^['$as_cr_digits']*\n,,
3095 chmod +x $as_me.lineno ||
3096 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3097 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3098 { (exit 1); exit 1; }; }
3100 # Don't try to exec as it changes $[0], causing all sort of problems
3101 # (the dirname of $[0] is not the place where we might find the
3102 # original and so on. Autoconf is especially sensible to this).
3104 # Exit status is that of the last command.
3109 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3110 *c*,-n*) ECHO_N= ECHO_C='
3112 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3113 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3116 if expr a : '\(a\)' >/dev/null 2>&1; then
3122 rm -f conf$$ conf$$.exe conf$$.file
3124 if ln -s conf$$.file conf$$ 2>/dev/null; then
3125 # We could just check for DJGPP; but this test a) works b) is more generic
3126 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3127 if test -f conf$$.exe; then
3128 # Don't use ln at all; we don't have any links
3133 elif ln conf$$.file conf$$ 2>/dev/null; then
3138 rm -f conf$$ conf$$.exe conf$$.file
3140 if mkdir -p . 2>/dev/null; then
3143 test -d ./-p && rmdir ./-p
3147 as_executable_p="test -f"
3149 # Sed expression to map a string onto a valid CPP name.
3150 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3152 # Sed expression to map a string onto a valid variable name.
3153 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3157 # We need space, tab and new line, in precisely that order.
3167 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3168 # report actual input values of CONFIG_FILES etc. instead of their
3169 # values after options handling. Logging --version etc. is OK.
3173 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3174 ## Running $as_me. ##
3179 This file was extended by $as_me, which was
3180 generated by GNU Autoconf 2.59. Invocation command line was
3182 CONFIG_FILES = $CONFIG_FILES
3183 CONFIG_HEADERS = $CONFIG_HEADERS
3184 CONFIG_LINKS = $CONFIG_LINKS
3185 CONFIG_COMMANDS = $CONFIG_COMMANDS
3189 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3193 # Files that config.status was made for.
3194 if test -n "$ac_config_files"; then
3195 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3198 if test -n "$ac_config_headers"; then
3199 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3202 if test -n "$ac_config_links"; then
3203 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3206 if test -n "$ac_config_commands"; then
3207 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3210 cat >>$CONFIG_STATUS <<\_ACEOF
3213 \`$as_me' instantiates files from templates according to the
3214 current configuration.
3216 Usage: $0 [OPTIONS] [FILE]...
3218 -h, --help print this help, then exit
3219 -V, --version print version number, then exit
3220 -q, --quiet do not print progress messages
3221 -d, --debug don't remove temporary files
3222 --recheck update $as_me by reconfiguring in the same conditions
3223 --file=FILE[:TEMPLATE]
3224 instantiate the configuration file FILE
3226 Configuration files:
3229 Report bugs to <bug-autoconf@gnu.org>."
3232 cat >>$CONFIG_STATUS <<_ACEOF
3235 configured by $0, generated by GNU Autoconf 2.59,
3236 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3238 Copyright (C) 2003 Free Software Foundation, Inc.
3239 This config.status script is free software; the Free Software Foundation
3240 gives unlimited permission to copy, distribute and modify it."
3244 cat >>$CONFIG_STATUS <<\_ACEOF
3245 # If no file are specified by the user, then we need to provide default
3246 # value. By we need to know if files were specified by the user.
3252 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3253 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3261 *) # This is not an option, so the user has probably given explicit
3264 ac_need_defaults=false;;
3268 # Handling of the options.
3270 cat >>$CONFIG_STATUS <<\_ACEOF
3271 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3273 --version | --vers* | -V )
3274 echo "$ac_cs_version"; exit 0 ;;
3276 # Conflict between --help and --header
3277 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3278 Try \`$0 --help' for more information." >&5
3279 echo "$as_me: error: ambiguous option: $1
3280 Try \`$0 --help' for more information." >&2;}
3281 { (exit 1); exit 1; }; };;
3282 --help | --hel | -h )
3283 echo "$ac_cs_usage"; exit 0 ;;
3284 --debug | --d* | -d )
3286 --file | --fil | --fi | --f )
3288 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3289 ac_need_defaults=false;;
3290 --header | --heade | --head | --hea )
3292 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3293 ac_need_defaults=false;;
3294 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3295 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3299 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3300 Try \`$0 --help' for more information." >&5
3301 echo "$as_me: error: unrecognized option: $1
3302 Try \`$0 --help' for more information." >&2;}
3303 { (exit 1); exit 1; }; } ;;
3305 *) ac_config_targets="$ac_config_targets $1" ;;
3311 ac_configure_extra_args=
3313 if $ac_cs_silent; then
3315 ac_configure_extra_args="$ac_configure_extra_args --silent"
3319 cat >>$CONFIG_STATUS <<_ACEOF
3320 if \$ac_cs_recheck; then
3321 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3322 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3331 cat >>$CONFIG_STATUS <<\_ACEOF
3332 for ac_config_target in $ac_config_targets
3334 case "$ac_config_target" in
3335 # Handling of arguments.
3336 "$GNOMESERVER" ) CONFIG_FILES="$CONFIG_FILES $GNOMESERVER" ;;
3337 "$ROX_APPRUN" ) CONFIG_FILES="$CONFIG_FILES $ROX_APPRUN" ;;
3338 "$ROX_APPINFO" ) CONFIG_FILES="$CONFIG_FILES $ROX_APPINFO" ;;
3339 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3340 "config.h" ) CONFIG_FILES="$CONFIG_FILES config.h" ;;
3341 "shermans/Makefile" ) CONFIG_FILES="$CONFIG_FILES shermans/Makefile" ;;
3342 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3343 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3344 { (exit 1); exit 1; }; };;
3348 # If the user did not use the arguments to specify the items to instantiate,
3349 # then the envvar interface is used. Set only those that are not.
3350 # We use the long form for the default assignment because of an extremely
3351 # bizarre bug on SunOS 4.1.3.
3352 if $ac_need_defaults; then
3353 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3356 # Have a temporary directory for convenience. Make it in the build tree
3357 # simply because there is no reason to put it here, and in addition,
3358 # creating and moving files from /tmp can sometimes cause problems.
3359 # Create a temporary directory, and hook for its removal unless debugging.
3362 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3363 trap '{ (exit 1); exit 1; }' 1 2 13 15
3366 # Create a (secure) tmp directory for tmp files.
3369 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3370 test -n "$tmp" && test -d "$tmp"
3373 tmp=./confstat$$-$RANDOM
3374 (umask 077 && mkdir $tmp)
3377 echo "$me: cannot create a temporary directory in ." >&2
3378 { (exit 1); exit 1; }
3383 cat >>$CONFIG_STATUS <<_ACEOF
3386 # CONFIG_FILES section.
3389 # No need to generate the scripts if there are no CONFIG_FILES.
3390 # This happens for instance when ./config.status config.h
3391 if test -n "\$CONFIG_FILES"; then
3392 # Protect against being on the right side of a sed subst in config.status.
3393 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3394 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3395 s,@SHELL@,$SHELL,;t t
3396 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3397 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3398 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3399 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3400 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3401 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3402 s,@exec_prefix@,$exec_prefix,;t t
3403 s,@prefix@,$prefix,;t t
3404 s,@program_transform_name@,$program_transform_name,;t t
3405 s,@bindir@,$bindir,;t t
3406 s,@sbindir@,$sbindir,;t t
3407 s,@libexecdir@,$libexecdir,;t t
3408 s,@datadir@,$datadir,;t t
3409 s,@sysconfdir@,$sysconfdir,;t t
3410 s,@sharedstatedir@,$sharedstatedir,;t t
3411 s,@localstatedir@,$localstatedir,;t t
3412 s,@libdir@,$libdir,;t t
3413 s,@includedir@,$includedir,;t t
3414 s,@oldincludedir@,$oldincludedir,;t t
3415 s,@infodir@,$infodir,;t t
3416 s,@mandir@,$mandir,;t t
3417 s,@build_alias@,$build_alias,;t t
3418 s,@host_alias@,$host_alias,;t t
3419 s,@target_alias@,$target_alias,;t t
3421 s,@ECHO_C@,$ECHO_C,;t t
3422 s,@ECHO_N@,$ECHO_N,;t t
3423 s,@ECHO_T@,$ECHO_T,;t t
3426 s,@CFLAGS@,$CFLAGS,;t t
3427 s,@LDFLAGS@,$LDFLAGS,;t t
3428 s,@CPPFLAGS@,$CPPFLAGS,;t t
3429 s,@ac_ct_CC@,$ac_ct_CC,;t t
3430 s,@EXEEXT@,$EXEEXT,;t t
3431 s,@OBJEXT@,$OBJEXT,;t t
3432 s,@APPLET_NAME@,$APPLET_NAME,;t t
3433 s,@APPLET_VERSION@,$APPLET_VERSION,;t t
3434 s,@APPLET_NICE_NAME@,$APPLET_NICE_NAME,;t t
3435 s,@APPLET_AUTHOR@,$APPLET_AUTHOR,;t t
3436 s,@APPLET_GROUP@,$APPLET_GROUP,;t t
3437 s,@APPLET_NAME_ICON@,$APPLET_NAME_ICON,;t t
3438 s,@APPLET_IMAGES@,$APPLET_IMAGES,;t t
3439 s,@APPLET_DESCRIPTION_SHORT@,$APPLET_DESCRIPTION_SHORT,;t t
3440 s,@APPLET_DESCRIPTION@,$APPLET_DESCRIPTION,;t t
3441 s,@APPLET_LICENSE@,$APPLET_LICENSE,;t t
3443 s,@SYSTEM_SPECIFIC_LIBS@,$SYSTEM_SPECIFIC_LIBS,;t t
3444 s,@STATUS@,$STATUS,;t t
3445 s,@PKGCONF@,$PKGCONF,;t t
3446 s,@GNOMEDIR@,$GNOMEDIR,;t t
3448 s,@GAI_CFLAGS@,$GAI_CFLAGS,;t t
3449 s,@GAI_LIBS@,$GAI_LIBS,;t t
3450 s,@APPLET@,$APPLET,;t t
3451 s,@INSTALL_APPLET@,$INSTALL_APPLET,;t t
3452 s,@INSTALL_GNOME@,$INSTALL_GNOME,;t t
3453 s,@INSTALL_PATH@,$INSTALL_PATH,;t t
3454 s,@INSTALL_ROX@,$INSTALL_ROX,;t t
3455 s,@ROX_PATH@,$ROX_PATH,;t t
3456 s,@INSTALL_IMAGES@,$INSTALL_IMAGES,;t t
3457 s,@APPLET_IMAGE_PATH@,$APPLET_IMAGE_PATH,;t t
3458 s,@APPLET_ICON@,$APPLET_ICON,;t t
3459 s,@SDLCONF@,$SDLCONF,;t t
3460 s,@GTK_LIBS@,$GTK_LIBS,;t t
3461 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
3462 s,@INSTALL_SCREENSAVER@,$INSTALL_SCREENSAVER,;t t
3463 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
3464 s,@SDL_LIBS@,$SDL_LIBS,;t t
3465 s,@SCREENSAVER@,$SCREENSAVER,;t t
3466 s,@XMMS_CONFIG@,$XMMS_CONFIG,;t t
3467 s,@XMMS_OBJ@,$XMMS_OBJ,;t t
3468 s,@XMMS_CFLAGS@,$XMMS_CFLAGS,;t t
3469 s,@XMMS_LIBS@,$XMMS_LIBS,;t t
3471 s,@REMARK@,$REMARK,;t t
3472 s,@REMARK2@,$REMARK2,;t t
3473 s,@LIBOBJS@,$LIBOBJS,;t t
3474 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3479 cat >>$CONFIG_STATUS <<\_ACEOF
3480 # Split the substitutions into bite-sized pieces for seds with
3481 # small command number limits, like on Digital OSF/1 and HP-UX.
3483 ac_sed_frag=1 # Number of current file.
3484 ac_beg=1 # First line for current file.
3485 ac_end=$ac_max_sed_lines # Line after last line for current file.
3488 while $ac_more_lines; do
3489 if test $ac_beg -gt 1; then
3490 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3492 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3494 if test ! -s $tmp/subs.frag; then
3497 # The purpose of the label and of the branching condition is to
3498 # speed up the sed processing (if there are no `@' at all, there
3499 # is no need to browse any of the substitutions).
3500 # These are the two extra sed commands mentioned above.
3502 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3503 if test -z "$ac_sed_cmds"; then
3504 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3506 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3508 ac_sed_frag=`expr $ac_sed_frag + 1`
3510 ac_end=`expr $ac_end + $ac_max_sed_lines`
3513 if test -z "$ac_sed_cmds"; then
3516 fi # test -n "$CONFIG_FILES"
3519 cat >>$CONFIG_STATUS <<\_ACEOF
3520 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3521 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3523 - | *:- | *:-:* ) # input from stdin
3525 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3526 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3527 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3528 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3529 * ) ac_file_in=$ac_file.in ;;
3532 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3533 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3534 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3535 X"$ac_file" : 'X\(//\)[^/]' \| \
3536 X"$ac_file" : 'X\(//\)$' \| \
3537 X"$ac_file" : 'X\(/\)' \| \
3538 . : '\(.\)' 2>/dev/null ||
3540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3541 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3542 /^X\(\/\/\)$/{ s//\1/; q; }
3543 /^X\(\/\).*/{ s//\1/; q; }
3545 { if $as_mkdir_p; then
3550 while test ! -d "$as_dir"; do
3551 as_dirs="$as_dir $as_dirs"
3552 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3554 X"$as_dir" : 'X\(//\)[^/]' \| \
3555 X"$as_dir" : 'X\(//\)$' \| \
3556 X"$as_dir" : 'X\(/\)' \| \
3557 . : '\(.\)' 2>/dev/null ||
3559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3560 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3561 /^X\(\/\/\)$/{ s//\1/; q; }
3562 /^X\(\/\).*/{ s//\1/; q; }
3565 test ! -n "$as_dirs" || mkdir $as_dirs
3566 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3567 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3568 { (exit 1); exit 1; }; }; }
3572 if test "$ac_dir" != .; then
3573 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3574 # A "../" for each directory in $ac_dir_suffix.
3575 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3577 ac_dir_suffix= ac_top_builddir=
3581 .) # No --srcdir option. We are building in place.
3583 if test -z "$ac_top_builddir"; then
3586 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3588 [\\/]* | ?:[\\/]* ) # Absolute path.
3589 ac_srcdir=$srcdir$ac_dir_suffix;
3590 ac_top_srcdir=$srcdir ;;
3592 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3593 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3596 # Do not use `cd foo && pwd` to compute absolute paths, because
3597 # the directories may not exist.
3599 .) ac_abs_builddir="$ac_dir";;
3602 .) ac_abs_builddir=`pwd`;;
3603 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3604 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3607 case $ac_abs_builddir in
3608 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3610 case ${ac_top_builddir}. in
3611 .) ac_abs_top_builddir=$ac_abs_builddir;;
3612 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3613 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3616 case $ac_abs_builddir in
3617 .) ac_abs_srcdir=$ac_srcdir;;
3620 .) ac_abs_srcdir=$ac_abs_builddir;;
3621 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3622 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3625 case $ac_abs_builddir in
3626 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3628 case $ac_top_srcdir in
3629 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3630 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3631 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3637 if test x"$ac_file" != x-; then
3638 { echo "$as_me:$LINENO: creating $ac_file" >&5
3639 echo "$as_me: creating $ac_file" >&6;}
3642 # Let's still pretend it is `configure' which instantiates (i.e., don't
3643 # use $as_me), people would be surprised to read:
3644 # /* config.h. Generated by config.status. */
3645 if test x"$ac_file" = x-; then
3648 configure_input="$ac_file. "
3650 configure_input=$configure_input"Generated from `echo $ac_file_in |
3651 sed 's,.*/,,'` by configure."
3653 # First look for the input files in the build tree, otherwise in the
3655 ac_file_inputs=`IFS=:
3656 for f in $ac_file_in; do
3658 -) echo $tmp/stdin ;;
3660 # Absolute (can't be DOS-style, as IFS=:)
3661 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3662 echo "$as_me: error: cannot find input file: $f" >&2;}
3663 { (exit 1); exit 1; }; }
3666 if test -f "$f"; then
3669 elif test -f "$srcdir/$f"; then
3674 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3675 echo "$as_me: error: cannot find input file: $f" >&2;}
3676 { (exit 1); exit 1; }; }
3679 done` || { (exit 1); exit 1; }
3681 cat >>$CONFIG_STATUS <<_ACEOF
3685 cat >>$CONFIG_STATUS <<\_ACEOF
3687 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3688 s,@configure_input@,$configure_input,;t t
3689 s,@srcdir@,$ac_srcdir,;t t
3690 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3691 s,@top_srcdir@,$ac_top_srcdir,;t t
3692 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3693 s,@builddir@,$ac_builddir,;t t
3694 s,@abs_builddir@,$ac_abs_builddir,;t t
3695 s,@top_builddir@,$ac_top_builddir,;t t
3696 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3697 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3699 if test x"$ac_file" != x-; then
3700 mv $tmp/out $ac_file
3709 cat >>$CONFIG_STATUS <<\_ACEOF
3711 { (exit 0); exit 0; }
3713 chmod +x $CONFIG_STATUS
3714 ac_clean_files=$ac_clean_files_save
3717 # configure is writing to config.log, and then calls config.status.
3718 # config.status does its own redirection, appending to config.log.
3719 # Unfortunately, on DOS this fails, as config.log is still kept open
3720 # by configure, so config.status won't be able to write to it; its
3721 # output is simply discarded. So we exec the FD to /dev/null,
3722 # effectively closing config.log, so it can be properly (re)opened and
3723 # appended to by config.status. When coming back to configure, we
3724 # need to make the FD available again.
3725 if test "$no_create" != yes; then
3727 ac_config_status_args=
3728 test "$silent" = yes &&
3729 ac_config_status_args="$ac_config_status_args --quiet"
3731 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3733 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3734 # would make configure fail if this is the last instruction.
3735 $ac_cs_success || { (exit 1); exit 1; }
3740 echo " Sherman's aquarium v$APPLET_VERSION"
3741 echo "==========================="
3742 echo " - Compile Sherman's aquarium - dockapp/wmapplet: $GAI"
3743 echo " - Compile Sherman's aquarium - Gnome 2 Panel applet: $GNOME"
3744 echo " - Compile Sherman's aquarium - Screensaver: $SDL"