debugging and prepapred for mameo
[shermanaquarium] / sherman-aquarium / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
4 #
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 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
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
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
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 \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
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 ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
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
85
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
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
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
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
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
122     as_myself=$0
123   fi
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; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
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
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
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 |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
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; }; }
177
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).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >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
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
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'"
229
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'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
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`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
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}
266
267 # Identity of this package.
268 PACKAGE_NAME=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
273
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'
275 ac_subst_files=''
276
277 # Initialize some variables set by options.
278 ac_init_help=
279 ac_init_version=false
280 # The variables have the same names as the options, with
281 # dashes changed to underlines.
282 cache_file=/dev/null
283 exec_prefix=NONE
284 no_create=
285 no_recursion=
286 prefix=NONE
287 program_prefix=NONE
288 program_suffix=NONE
289 program_transform_name=s,x,x,
290 silent=
291 site=
292 srcdir=
293 verbose=
294 x_includes=NONE
295 x_libraries=NONE
296
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'
314
315 ac_prev=
316 for ac_option
317 do
318   # If the previous option needs an argument, assign it.
319   if test -n "$ac_prev"; then
320     eval "$ac_prev=\$ac_option"
321     ac_prev=
322     continue
323   fi
324
325   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
326
327   # Accept the important Cygnus configure options, so we can diagnose typos.
328
329   case $ac_option in
330
331   -bindir | --bindir | --bindi | --bind | --bin | --bi)
332     ac_prev=bindir ;;
333   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
334     bindir=$ac_optarg ;;
335
336   -build | --build | --buil | --bui | --bu)
337     ac_prev=build_alias ;;
338   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339     build_alias=$ac_optarg ;;
340
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 ;;
347
348   --config-cache | -C)
349     cache_file=config.cache ;;
350
351   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
352     ac_prev=datadir ;;
353   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354   | --da=*)
355     datadir=$ac_optarg ;;
356
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" ;;
365
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'`
373     case $ac_option in
374       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
375       *) ac_optarg=yes ;;
376     esac
377     eval "enable_$ac_feature='$ac_optarg'" ;;
378
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 ;;
387
388   -gas | --gas | --ga | --g)
389     # Obsolete; use --with-gas.
390     with_gas=yes ;;
391
392   -help | --help | --hel | --he | -h)
393     ac_init_help=long ;;
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 ;;
398
399   -host | --host | --hos | --ho)
400     ac_prev=host_alias ;;
401   -host=* | --host=* | --hos=* | --ho=*)
402     host_alias=$ac_optarg ;;
403
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 ;;
410
411   -infodir | --infodir | --infodi | --infod | --info | --inf)
412     ac_prev=infodir ;;
413   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414     infodir=$ac_optarg ;;
415
416   -libdir | --libdir | --libdi | --libd)
417     ac_prev=libdir ;;
418   -libdir=* | --libdir=* | --libdi=* | --libd=*)
419     libdir=$ac_optarg ;;
420
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 ;;
427
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 ;;
436
437   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
438     ac_prev=mandir ;;
439   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
440     mandir=$ac_optarg ;;
441
442   -nfp | --nfp | --nf)
443     # Obsolete; use --without-fp.
444     with_fp=no ;;
445
446   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447   | --no-cr | --no-c | -n)
448     no_create=yes ;;
449
450   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
451   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
452     no_recursion=yes ;;
453
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 ;;
462
463   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
464     ac_prev=prefix ;;
465   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
466     prefix=$ac_optarg ;;
467
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 ;;
474
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 ;;
481
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 ;;
498
499   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500   | -silent | --silent | --silen | --sile | --sil)
501     silent=yes ;;
502
503   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
504     ac_prev=sbindir ;;
505   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
506   | --sbi=* | --sb=*)
507     sbindir=$ac_optarg ;;
508
509   -sharedstatedir | --sharedstatedir | --sharedstatedi \
510   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
511   | --sharedst | --shareds | --shared | --share | --shar \
512   | --sha | --sh)
513     ac_prev=sharedstatedir ;;
514   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
515   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
517   | --sha=* | --sh=*)
518     sharedstatedir=$ac_optarg ;;
519
520   -site | --site | --sit)
521     ac_prev=site ;;
522   -site=* | --site=* | --sit=*)
523     site=$ac_optarg ;;
524
525   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
526     ac_prev=srcdir ;;
527   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
528     srcdir=$ac_optarg ;;
529
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 ;;
536
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 ;;
541
542   -v | -verbose | --verbose | --verbos | --verbo | --verb)
543     verbose=yes ;;
544
545   -version | --version | --versio | --versi | --vers | -V)
546     ac_init_version=: ;;
547
548   -with-* | --with-*)
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'`
555     case $ac_option in
556       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
557       *) ac_optarg=yes ;;
558     esac
559     eval "with_$ac_package='$ac_optarg'" ;;
560
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" ;;
569
570   --x)
571     # Obsolete; use --with-x.
572     with_x=yes ;;
573
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 ;;
580
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 ;;
587
588   -*) { echo "$as_me: error: unrecognized option: $ac_option
589 Try \`$0 --help' for more information." >&2
590    { (exit 1); exit 1; }; }
591     ;;
592
593   *=*)
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'"
601     export $ac_envvar ;;
602
603   *)
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}
609     ;;
610
611   esac
612 done
613
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; }; }
618 fi
619
620 # Be sure to have absolute paths.
621 for ac_var in exec_prefix prefix
622 do
623   eval ac_val=$`echo $ac_var`
624   case $ac_val in
625     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627    { (exit 1); exit 1; }; };;
628   esac
629 done
630
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
634 do
635   eval ac_val=$`echo $ac_var`
636   case $ac_val in
637     [\\/$]* | ?:[\\/]* ) ;;
638     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639    { (exit 1); exit 1; }; };;
640   esac
641 done
642
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.
646 build=$build_alias
647 host=$host_alias
648 target=$target_alias
649
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
657     cross_compiling=yes
658   fi
659 fi
660
661 ac_tool_prefix=
662 test -n "$host_alias" && ac_tool_prefix=$host_alias-
663
664 test "$silent" = yes && exec 6>/dev/null
665
666
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 ||
677 echo X"$0" |
678     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680           /^X\(\/\/\)$/{ s//\1/; q; }
681           /^X\(\/\).*/{ s//\1/; q; }
682           s/.*/./; q'`
683   srcdir=$ac_confdir
684   if test ! -r $srcdir/$ac_unique_file; then
685     srcdir=..
686   fi
687 else
688   ac_srcdir_defaulted=no
689 fi
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; }; }
694   else
695     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696    { (exit 1); exit 1; }; }
697   fi
698 fi
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}
716 ac_env_CC_value=$CC
717 ac_cv_env_CC_set=${CC+set}
718 ac_cv_env_CC_value=$CC
719 ac_env_CFLAGS_set=${CFLAGS+set}
720 ac_env_CFLAGS_value=$CFLAGS
721 ac_cv_env_CFLAGS_set=${CFLAGS+set}
722 ac_cv_env_CFLAGS_value=$CFLAGS
723 ac_env_LDFLAGS_set=${LDFLAGS+set}
724 ac_env_LDFLAGS_value=$LDFLAGS
725 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_cv_env_LDFLAGS_value=$LDFLAGS
727 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728 ac_env_CPPFLAGS_value=$CPPFLAGS
729 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
731
732 #
733 # Report the --help message.
734 #
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.
738   cat <<_ACEOF
739 \`configure' configures this package to adapt to many kinds of systems.
740
741 Usage: $0 [OPTION]... [VAR=VALUE]...
742
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.
745
746 Defaults for the options are specified in brackets.
747
748 Configuration:
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 \`..']
758
759 _ACEOF
760
761   cat <<_ACEOF
762 Installation directories:
763   --prefix=PREFIX         install architecture-independent files in PREFIX
764                           [$ac_default_prefix]
765   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
766                           [PREFIX]
767
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'.
772
773 For better control, use the options below.
774
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]
788 _ACEOF
789
790   cat <<\_ACEOF
791 _ACEOF
792 fi
793
794 if test -n "$ac_init_help"; then
795
796   cat <<\_ACEOF
797
798 Optional Features:
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
803
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>
811
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.
814
815 _ACEOF
816 fi
817
818 if test "$ac_init_help" = "recursive"; then
819   # If there are subdirs, report their specific --help.
820   ac_popdir=`pwd`
821   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
822     test -d $ac_dir || continue
823     ac_builddir=.
824
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'`
829 else
830   ac_dir_suffix= ac_top_builddir=
831 fi
832
833 case $srcdir in
834   .)  # No --srcdir option.  We are building in place.
835     ac_srcdir=.
836     if test -z "$ac_top_builddir"; then
837        ac_top_srcdir=.
838     else
839        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
840     fi ;;
841   [\\/]* | ?:[\\/]* )  # Absolute path.
842     ac_srcdir=$srcdir$ac_dir_suffix;
843     ac_top_srcdir=$srcdir ;;
844   *) # Relative path.
845     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
846     ac_top_srcdir=$ac_top_builddir$srcdir ;;
847 esac
848
849 # Do not use `cd foo && pwd` to compute absolute paths, because
850 # the directories may not exist.
851 case `pwd` in
852 .) ac_abs_builddir="$ac_dir";;
853 *)
854   case "$ac_dir" in
855   .) ac_abs_builddir=`pwd`;;
856   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
857   *) ac_abs_builddir=`pwd`/"$ac_dir";;
858   esac;;
859 esac
860 case $ac_abs_builddir in
861 .) ac_abs_top_builddir=${ac_top_builddir}.;;
862 *)
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}.;;
867   esac;;
868 esac
869 case $ac_abs_builddir in
870 .) ac_abs_srcdir=$ac_srcdir;;
871 *)
872   case $ac_srcdir in
873   .) ac_abs_srcdir=$ac_abs_builddir;;
874   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
875   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
876   esac;;
877 esac
878 case $ac_abs_builddir in
879 .) ac_abs_top_srcdir=$ac_top_srcdir;;
880 *)
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;;
885   esac;;
886 esac
887
888     cd $ac_dir
889     # Check for guested configure; otherwise get Cygnus style configure.
890     if test -f $ac_srcdir/configure.gnu; then
891       echo
892       $SHELL $ac_srcdir/configure.gnu  --help=recursive
893     elif test -f $ac_srcdir/configure; then
894       echo
895       $SHELL $ac_srcdir/configure  --help=recursive
896     elif test -f $ac_srcdir/configure.ac ||
897            test -f $ac_srcdir/configure.in; then
898       echo
899       $ac_configure --help
900     else
901       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
902     fi
903     cd $ac_popdir
904   done
905 fi
906
907 test -n "$ac_init_help" && exit 0
908 if $ac_init_version; then
909   cat <<\_ACEOF
910
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.
914 _ACEOF
915   exit 0
916 fi
917 exec 5>config.log
918 cat >&5 <<_ACEOF
919 This file contains any messages produced by compilers while
920 running configure, to aid debugging if configure makes a mistake.
921
922 It was created by $as_me, which was
923 generated by GNU Autoconf 2.59.  Invocation command line was
924
925   $ $0 $@
926
927 _ACEOF
928 {
929 cat <<_ASUNAME
930 ## --------- ##
931 ## Platform. ##
932 ## --------- ##
933
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`
939
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`
942
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`
950
951 _ASUNAME
952
953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
954 for as_dir in $PATH
955 do
956   IFS=$as_save_IFS
957   test -z "$as_dir" && as_dir=.
958   echo "PATH: $as_dir"
959 done
960
961 } >&5
962
963 cat >&5 <<_ACEOF
964
965
966 ## ----------- ##
967 ## Core tests. ##
968 ## ----------- ##
969
970 _ACEOF
971
972
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.
978 ac_configure_args=
979 ac_configure_args0=
980 ac_configure_args1=
981 ac_sep=
982 ac_must_keep_next=false
983 for ac_pass in 1 2
984 do
985   for ac_arg
986   do
987     case $ac_arg in
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)
991       continue ;;
992     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
993       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
994     esac
995     case $ac_pass in
996     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
997     2)
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.
1001       else
1002         case $ac_arg in
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 ;;
1009             esac
1010             ;;
1011           -* ) ac_must_keep_next=true ;;
1012         esac
1013       fi
1014       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1015       # Get rid of the leading space.
1016       ac_sep=" "
1017       ;;
1018     esac
1019   done
1020 done
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; }
1023
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.
1031   {
1032     echo
1033
1034     cat <<\_ASBOX
1035 ## ---------------- ##
1036 ## Cache variables. ##
1037 ## ---------------- ##
1038 _ASBOX
1039     echo
1040     # The following way of writing the cache mishandles newlines in values,
1041 {
1042   (set) 2>&1 |
1043     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1044     *ac_space=\ *)
1045       sed -n \
1046         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1047           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1048       ;;
1049     *)
1050       sed -n \
1051         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1052       ;;
1053     esac;
1054 }
1055     echo
1056
1057     cat <<\_ASBOX
1058 ## ----------------- ##
1059 ## Output variables. ##
1060 ## ----------------- ##
1061 _ASBOX
1062     echo
1063     for ac_var in $ac_subst_vars
1064     do
1065       eval ac_val=$`echo $ac_var`
1066       echo "$ac_var='"'"'$ac_val'"'"'"
1067     done | sort
1068     echo
1069
1070     if test -n "$ac_subst_files"; then
1071       cat <<\_ASBOX
1072 ## ------------- ##
1073 ## Output files. ##
1074 ## ------------- ##
1075 _ASBOX
1076       echo
1077       for ac_var in $ac_subst_files
1078       do
1079         eval ac_val=$`echo $ac_var`
1080         echo "$ac_var='"'"'$ac_val'"'"'"
1081       done | sort
1082       echo
1083     fi
1084
1085     if test -s confdefs.h; then
1086       cat <<\_ASBOX
1087 ## ----------- ##
1088 ## confdefs.h. ##
1089 ## ----------- ##
1090 _ASBOX
1091       echo
1092       sed "/^$/d" confdefs.h | sort
1093       echo
1094     fi
1095     test "$ac_signal" != 0 &&
1096       echo "$as_me: caught signal $ac_signal"
1097     echo "$as_me: exit $exit_status"
1098   } >&5
1099   rm -f core *.core &&
1100   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1101     exit $exit_status
1102      ' 0
1103 for ac_signal in 1 2 13 15; do
1104   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1105 done
1106 ac_signal=0
1107
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.
1111 echo >confdefs.h
1112
1113 # Predefined preprocessor variables.
1114
1115 cat >>confdefs.h <<_ACEOF
1116 #define PACKAGE_NAME "$PACKAGE_NAME"
1117 _ACEOF
1118
1119
1120 cat >>confdefs.h <<_ACEOF
1121 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1122 _ACEOF
1123
1124
1125 cat >>confdefs.h <<_ACEOF
1126 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1127 _ACEOF
1128
1129
1130 cat >>confdefs.h <<_ACEOF
1131 #define PACKAGE_STRING "$PACKAGE_STRING"
1132 _ACEOF
1133
1134
1135 cat >>confdefs.h <<_ACEOF
1136 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1137 _ACEOF
1138
1139
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"
1145   else
1146     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1147   fi
1148 fi
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
1154     . "$ac_site_file"
1155   fi
1156 done
1157
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;}
1164     case $cache_file in
1165       [\\/]* | ?:[\\/]* ) . $cache_file;;
1166       *)                      . ./$cache_file;;
1167     esac
1168   fi
1169 else
1170   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1171 echo "$as_me: creating cache $cache_file" >&6;}
1172   >$cache_file
1173 fi
1174
1175 # Check that the precious variables saved in the cache have kept the same
1176 # value.
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
1185     set,)
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=: ;;
1189     ,set)
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=: ;;
1193     ,);;
1194     *)
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=:
1203       fi;;
1204   esac
1205   # Pass precious variables to config.status.
1206   if test "$ac_new_set" = set; then
1207     case $ac_new_val in
1208     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1209       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1210     *) ac_arg=$ac_var=$ac_new_val ;;
1211     esac
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'" ;;
1215     esac
1216   fi
1217 done
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; }; }
1224 fi
1225
1226 ac_ext=c
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
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252 APPLET_NAME="shermans_applet"
1253
1254 APPLET_VERSION="3.0.1"
1255
1256 APPLET_NICE_NAME="Sherman's aquarium"
1257
1258 APPLET_AUTHOR="Jonas Aaberg, <cja@gmx.net> 2002-2005. Graphics by Jim Toomey."
1259
1260 APPLET_GROUP="Amusements"
1261
1262 APPLET_NAME_ICON="shermans_icon.png"
1263
1264 APPLET_IMAGES="aquarium/*"
1265
1266 APPLET_DESCRIPTION_SHORT="Bringer of life."
1267
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)."
1269
1270 APPLET_LICENSE="Program released under GNU GPL.\nMost graphics Copyrighted by Jim Toomey and is NOT under GNU GPL."
1271
1272 APPLET_REQUIRES_GAI_VERSION="0.5.3"
1273
1274 APPLET_XMMS=checkfor
1275
1276
1277 with_sdl=yes
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"
1283
1284                      if test x$withval = xyes; then
1285                         with_sdl=yes
1286                      else
1287                         with_sdl=no
1288                      fi
1289
1290 fi;
1291 if test x$with_sdl = xno; then
1292    echo "$as_me:$LINENO: result: no" >&5
1293 echo "${ECHO_T}no" >&6
1294 else
1295    echo "$as_me:$LINENO: result: yes" >&5
1296 echo "${ECHO_T}yes" >&6
1297 fi
1298
1299
1300 with_gai=yes
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"
1306
1307                      if test x$withval = xyes; then
1308                         with_gai=yes
1309                      else
1310                         with_gai=no
1311                      fi
1312
1313 fi;
1314 if test x$with_gai = xno; then
1315    echo "$as_me:$LINENO: result: no" >&5
1316 echo "${ECHO_T}no" >&6
1317 else
1318    echo "$as_me:$LINENO: result: yes" >&5
1319 echo "${ECHO_T}yes" >&6
1320 fi
1321
1322
1323 ac_ext=c
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
1335 else
1336   if test -n "$CC"; then
1337   ac_cv_prog_CC="$CC" # Let the user override the test.
1338 else
1339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1340 for as_dir in $PATH
1341 do
1342   IFS=$as_save_IFS
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
1348     break 2
1349   fi
1350 done
1351 done
1352
1353 fi
1354 fi
1355 CC=$ac_cv_prog_CC
1356 if test -n "$CC"; then
1357   echo "$as_me:$LINENO: result: $CC" >&5
1358 echo "${ECHO_T}$CC" >&6
1359 else
1360   echo "$as_me:$LINENO: result: no" >&5
1361 echo "${ECHO_T}no" >&6
1362 fi
1363
1364 fi
1365 if test -z "$ac_cv_prog_CC"; then
1366   ac_ct_CC=$CC
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
1373 else
1374   if test -n "$ac_ct_CC"; then
1375   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1376 else
1377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1378 for as_dir in $PATH
1379 do
1380   IFS=$as_save_IFS
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
1386     break 2
1387   fi
1388 done
1389 done
1390
1391 fi
1392 fi
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
1397 else
1398   echo "$as_me:$LINENO: result: no" >&5
1399 echo "${ECHO_T}no" >&6
1400 fi
1401
1402   CC=$ac_ct_CC
1403 else
1404   CC="$ac_cv_prog_CC"
1405 fi
1406
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
1415 else
1416   if test -n "$CC"; then
1417   ac_cv_prog_CC="$CC" # Let the user override the test.
1418 else
1419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1420 for as_dir in $PATH
1421 do
1422   IFS=$as_save_IFS
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
1428     break 2
1429   fi
1430 done
1431 done
1432
1433 fi
1434 fi
1435 CC=$ac_cv_prog_CC
1436 if test -n "$CC"; then
1437   echo "$as_me:$LINENO: result: $CC" >&5
1438 echo "${ECHO_T}$CC" >&6
1439 else
1440   echo "$as_me:$LINENO: result: no" >&5
1441 echo "${ECHO_T}no" >&6
1442 fi
1443
1444 fi
1445 if test -z "$ac_cv_prog_CC"; then
1446   ac_ct_CC=$CC
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
1453 else
1454   if test -n "$ac_ct_CC"; then
1455   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1456 else
1457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1458 for as_dir in $PATH
1459 do
1460   IFS=$as_save_IFS
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
1466     break 2
1467   fi
1468 done
1469 done
1470
1471 fi
1472 fi
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
1477 else
1478   echo "$as_me:$LINENO: result: no" >&5
1479 echo "${ECHO_T}no" >&6
1480 fi
1481
1482   CC=$ac_ct_CC
1483 else
1484   CC="$ac_cv_prog_CC"
1485 fi
1486
1487 fi
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
1495 else
1496   if test -n "$CC"; then
1497   ac_cv_prog_CC="$CC" # Let the user override the test.
1498 else
1499   ac_prog_rejected=no
1500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501 for as_dir in $PATH
1502 do
1503   IFS=$as_save_IFS
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
1509        continue
1510      fi
1511     ac_cv_prog_CC="cc"
1512     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1513     break 2
1514   fi
1515 done
1516 done
1517
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
1521   shift
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.
1526     shift
1527     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1528   fi
1529 fi
1530 fi
1531 fi
1532 CC=$ac_cv_prog_CC
1533 if test -n "$CC"; then
1534   echo "$as_me:$LINENO: result: $CC" >&5
1535 echo "${ECHO_T}$CC" >&6
1536 else
1537   echo "$as_me:$LINENO: result: no" >&5
1538 echo "${ECHO_T}no" >&6
1539 fi
1540
1541 fi
1542 if test -z "$CC"; then
1543   if test -n "$ac_tool_prefix"; then
1544   for ac_prog in cl
1545   do
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
1552 else
1553   if test -n "$CC"; then
1554   ac_cv_prog_CC="$CC" # Let the user override the test.
1555 else
1556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 for as_dir in $PATH
1558 do
1559   IFS=$as_save_IFS
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
1565     break 2
1566   fi
1567 done
1568 done
1569
1570 fi
1571 fi
1572 CC=$ac_cv_prog_CC
1573 if test -n "$CC"; then
1574   echo "$as_me:$LINENO: result: $CC" >&5
1575 echo "${ECHO_T}$CC" >&6
1576 else
1577   echo "$as_me:$LINENO: result: no" >&5
1578 echo "${ECHO_T}no" >&6
1579 fi
1580
1581     test -n "$CC" && break
1582   done
1583 fi
1584 if test -z "$CC"; then
1585   ac_ct_CC=$CC
1586   for ac_prog in cl
1587 do
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
1594 else
1595   if test -n "$ac_ct_CC"; then
1596   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1597 else
1598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1599 for as_dir in $PATH
1600 do
1601   IFS=$as_save_IFS
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
1607     break 2
1608   fi
1609 done
1610 done
1611
1612 fi
1613 fi
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
1618 else
1619   echo "$as_me:$LINENO: result: no" >&5
1620 echo "${ECHO_T}no" >&6
1621 fi
1622
1623   test -n "$ac_ct_CC" && break
1624 done
1625
1626   CC=$ac_ct_CC
1627 fi
1628
1629 fi
1630
1631
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; }; }
1637
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
1644   ac_status=$?
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
1649   ac_status=$?
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
1654   ac_status=$?
1655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1656   (exit $ac_status); }
1657
1658 cat >conftest.$ac_ext <<_ACEOF
1659 /* confdefs.h.  */
1660 _ACEOF
1661 cat confdefs.h >>conftest.$ac_ext
1662 cat >>conftest.$ac_ext <<_ACEOF
1663 /* end confdefs.h.  */
1664
1665 int
1666 main ()
1667 {
1668
1669   ;
1670   return 0;
1671 }
1672 _ACEOF
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
1677 # of exeext.
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
1683   ac_status=$?
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
1688 # resort.
1689
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.
1692 ac_cv_exeext=
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
1695 do
1696   test -f "$ac_file" || continue
1697   case $ac_file in
1698     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1699         ;;
1700     conftest.$ac_ext )
1701         # This is the source file.
1702         ;;
1703     [ab].out )
1704         # We found the default executable, but exeext='' is most
1705         # certainly right.
1706         break;;
1707     *.* )
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.
1712         export ac_cv_exeext
1713         break;;
1714     * )
1715         break;;
1716   esac
1717 done
1718 else
1719   echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1721
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; }; }
1727 fi
1728
1729 ac_exeext=$ac_cv_exeext
1730 echo "$as_me:$LINENO: result: $ac_file" >&5
1731 echo "${ECHO_T}$ac_file" >&6
1732
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
1742   (eval $ac_try) 2>&5
1743   ac_status=$?
1744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1745   (exit $ac_status); }; }; then
1746     cross_compiling=no
1747   else
1748     if test "$cross_compiling" = maybe; then
1749         cross_compiling=yes
1750     else
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; }; }
1758     fi
1759   fi
1760 fi
1761 echo "$as_me:$LINENO: result: yes" >&5
1762 echo "${ECHO_T}yes" >&6
1763
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
1772
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
1777   ac_status=$?
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
1783 # `rm'.
1784 for ac_file in conftest.exe conftest conftest.*; do
1785   test -f "$ac_file" || continue
1786   case $ac_file in
1787     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1788     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1789           export ac_cv_exeext
1790           break;;
1791     * ) break;;
1792   esac
1793 done
1794 else
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; }; }
1800 fi
1801
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
1805
1806 rm -f conftest.$ac_ext
1807 EXEEXT=$ac_cv_exeext
1808 ac_exeext=$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
1813 else
1814   cat >conftest.$ac_ext <<_ACEOF
1815 /* confdefs.h.  */
1816 _ACEOF
1817 cat confdefs.h >>conftest.$ac_ext
1818 cat >>conftest.$ac_ext <<_ACEOF
1819 /* end confdefs.h.  */
1820
1821 int
1822 main ()
1823 {
1824
1825   ;
1826   return 0;
1827 }
1828 _ACEOF
1829 rm -f conftest.o conftest.obj
1830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1831   (eval $ac_compile) 2>&5
1832   ac_status=$?
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
1836   case $ac_file in
1837     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1838     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1839        break;;
1840   esac
1841 done
1842 else
1843   echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1845
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; }; }
1851 fi
1852
1853 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1854 fi
1855 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1856 echo "${ECHO_T}$ac_cv_objext" >&6
1857 OBJEXT=$ac_cv_objext
1858 ac_objext=$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
1863 else
1864   cat >conftest.$ac_ext <<_ACEOF
1865 /* confdefs.h.  */
1866 _ACEOF
1867 cat confdefs.h >>conftest.$ac_ext
1868 cat >>conftest.$ac_ext <<_ACEOF
1869 /* end confdefs.h.  */
1870
1871 int
1872 main ()
1873 {
1874 #ifndef __GNUC__
1875        choke me
1876 #endif
1877
1878   ;
1879   return 0;
1880 }
1881 _ACEOF
1882 rm -f conftest.$ac_objext
1883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1884   (eval $ac_compile) 2>conftest.er1
1885   ac_status=$?
1886   grep -v '^ *+' conftest.er1 >conftest.err
1887   rm -f conftest.er1
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
1894   (eval $ac_try) 2>&5
1895   ac_status=$?
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
1900   (eval $ac_try) 2>&5
1901   ac_status=$?
1902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1903   (exit $ac_status); }; }; then
1904   ac_compiler_gnu=yes
1905 else
1906   echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1908
1909 ac_compiler_gnu=no
1910 fi
1911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1912 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1913
1914 fi
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
1920 CFLAGS="-g"
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
1925 else
1926   cat >conftest.$ac_ext <<_ACEOF
1927 /* confdefs.h.  */
1928 _ACEOF
1929 cat confdefs.h >>conftest.$ac_ext
1930 cat >>conftest.$ac_ext <<_ACEOF
1931 /* end confdefs.h.  */
1932
1933 int
1934 main ()
1935 {
1936
1937   ;
1938   return 0;
1939 }
1940 _ACEOF
1941 rm -f conftest.$ac_objext
1942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1943   (eval $ac_compile) 2>conftest.er1
1944   ac_status=$?
1945   grep -v '^ *+' conftest.er1 >conftest.err
1946   rm -f conftest.er1
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
1953   (eval $ac_try) 2>&5
1954   ac_status=$?
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
1959   (eval $ac_try) 2>&5
1960   ac_status=$?
1961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1962   (exit $ac_status); }; }; then
1963   ac_cv_prog_cc_g=yes
1964 else
1965   echo "$as_me: failed program was:" >&5
1966 sed 's/^/| /' conftest.$ac_ext >&5
1967
1968 ac_cv_prog_cc_g=no
1969 fi
1970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1971 fi
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
1978     CFLAGS="-g -O2"
1979   else
1980     CFLAGS="-g"
1981   fi
1982 else
1983   if test "$GCC" = yes; then
1984     CFLAGS="-O2"
1985   else
1986     CFLAGS=
1987   fi
1988 fi
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
1993 else
1994   ac_cv_prog_cc_stdc=no
1995 ac_save_CC=$CC
1996 cat >conftest.$ac_ext <<_ACEOF
1997 /* confdefs.h.  */
1998 _ACEOF
1999 cat confdefs.h >>conftest.$ac_ext
2000 cat >>conftest.$ac_ext <<_ACEOF
2001 /* end confdefs.h.  */
2002 #include <stdarg.h>
2003 #include <stdio.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)
2010      char **p;
2011      int i;
2012 {
2013   return p[i];
2014 }
2015 static char *f (char * (*g) (char **, int), char **p, ...)
2016 {
2017   char *s;
2018   va_list v;
2019   va_start (v,p);
2020   s = g (p, va_arg (v,int));
2021   va_end (v);
2022   return s;
2023 }
2024
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];
2033
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);
2038 int argc;
2039 char **argv;
2040 int
2041 main ()
2042 {
2043 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2044   ;
2045   return 0;
2046 }
2047 _ACEOF
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__"
2056 do
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
2061   ac_status=$?
2062   grep -v '^ *+' conftest.er1 >conftest.err
2063   rm -f conftest.er1
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
2070   (eval $ac_try) 2>&5
2071   ac_status=$?
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
2076   (eval $ac_try) 2>&5
2077   ac_status=$?
2078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079   (exit $ac_status); }; }; then
2080   ac_cv_prog_cc_stdc=$ac_arg
2081 break
2082 else
2083   echo "$as_me: failed program was:" >&5
2084 sed 's/^/| /' conftest.$ac_ext >&5
2085
2086 fi
2087 rm -f conftest.err conftest.$ac_objext
2088 done
2089 rm -f conftest.$ac_ext conftest.$ac_objext
2090 CC=$ac_save_CC
2091
2092 fi
2093
2094 case "x$ac_cv_prog_cc_stdc" in
2095   x|xno)
2096     echo "$as_me:$LINENO: result: none needed" >&5
2097 echo "${ECHO_T}none needed" >&6 ;;
2098   *)
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" ;;
2102 esac
2103
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
2109 #ifndef __cplusplus
2110   choke me
2111 #endif
2112 _ACEOF
2113 rm -f conftest.$ac_objext
2114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2115   (eval $ac_compile) 2>conftest.er1
2116   ac_status=$?
2117   grep -v '^ *+' conftest.er1 >conftest.err
2118   rm -f conftest.er1
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
2125   (eval $ac_try) 2>&5
2126   ac_status=$?
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
2131   (eval $ac_try) 2>&5
2132   ac_status=$?
2133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134   (exit $ac_status); }; }; then
2135   for ac_declaration in \
2136    '' \
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);' \
2141    'void exit (int);'
2142 do
2143   cat >conftest.$ac_ext <<_ACEOF
2144 /* confdefs.h.  */
2145 _ACEOF
2146 cat confdefs.h >>conftest.$ac_ext
2147 cat >>conftest.$ac_ext <<_ACEOF
2148 /* end confdefs.h.  */
2149 $ac_declaration
2150 #include <stdlib.h>
2151 int
2152 main ()
2153 {
2154 exit (42);
2155   ;
2156   return 0;
2157 }
2158 _ACEOF
2159 rm -f conftest.$ac_objext
2160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2161   (eval $ac_compile) 2>conftest.er1
2162   ac_status=$?
2163   grep -v '^ *+' conftest.er1 >conftest.err
2164   rm -f conftest.er1
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
2171   (eval $ac_try) 2>&5
2172   ac_status=$?
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
2177   (eval $ac_try) 2>&5
2178   ac_status=$?
2179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180   (exit $ac_status); }; }; then
2181   :
2182 else
2183   echo "$as_me: failed program was:" >&5
2184 sed 's/^/| /' conftest.$ac_ext >&5
2185
2186 continue
2187 fi
2188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2189   cat >conftest.$ac_ext <<_ACEOF
2190 /* confdefs.h.  */
2191 _ACEOF
2192 cat confdefs.h >>conftest.$ac_ext
2193 cat >>conftest.$ac_ext <<_ACEOF
2194 /* end confdefs.h.  */
2195 $ac_declaration
2196 int
2197 main ()
2198 {
2199 exit (42);
2200   ;
2201   return 0;
2202 }
2203 _ACEOF
2204 rm -f conftest.$ac_objext
2205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2206   (eval $ac_compile) 2>conftest.er1
2207   ac_status=$?
2208   grep -v '^ *+' conftest.er1 >conftest.err
2209   rm -f conftest.er1
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
2216   (eval $ac_try) 2>&5
2217   ac_status=$?
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
2222   (eval $ac_try) 2>&5
2223   ac_status=$?
2224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225   (exit $ac_status); }; }; then
2226   break
2227 else
2228   echo "$as_me: failed program was:" >&5
2229 sed 's/^/| /' conftest.$ac_ext >&5
2230
2231 fi
2232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2233 done
2234 rm -f conftest*
2235 if test -n "$ac_declaration"; then
2236   echo '#ifdef __cplusplus' >>confdefs.h
2237   echo $ac_declaration      >>confdefs.h
2238   echo '#endif'             >>confdefs.h
2239 fi
2240
2241 else
2242   echo "$as_me: failed program was:" >&5
2243 sed 's/^/| /' conftest.$ac_ext >&5
2244
2245 fi
2246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2247 ac_ext=c
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
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265 echo "$as_me:$LINENO: checking operating system" >&5
2266 echo $ECHO_N "checking operating system... $ECHO_C" >&6
2267 OSTYPE=`uname -s`
2268 echo "$as_me:$LINENO: result: $OSTYPE" >&5
2269 echo "${ECHO_T}$OSTYPE" >&6
2270 HOST="UNKNOWN"
2271 STATUS=
2272 SYSTEM_SPECIFIC_LIBS=
2273 case $OSTYPE in
2274
2275      Linux)
2276         HOST="LINUX"
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"
2280         else
2281                 STATUS="status_linux26.o"
2282         fi
2283         ;;
2284      Darwin)
2285         HOST="DARWIN"
2286         STATUS="status_drawin.o"
2287         ;;
2288      FreeBSD)
2289         HOST="FREEBSD"
2290         STATUS="status_freebsd.o"
2291         SYSTEM_SPECIFIC_LIBS="-lkvm"
2292         ;;
2293      OpenBSD)
2294         HOST="OPENBSD"
2295         ;;
2296      NetBSD)
2297         HOST="NETBSD"
2298         ;;
2299      SunOS)
2300         HOST="SUNOS"
2301         ;;
2302 esac
2303
2304
2305
2306
2307 INSTALL_APPLET=
2308 GAI=no
2309 APPLET=
2310 DGAI=
2311 FOUND_GAI_LIBS=no
2312
2313 INSTALL_GNOME=
2314 GNOME=no
2315
2316
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
2324 else
2325   if test -n "$PKGCONF"; then
2326   ac_cv_prog_PKGCONF="$PKGCONF" # Let the user override the test.
2327 else
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 for as_dir in $PATH
2330 do
2331   IFS=$as_save_IFS
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
2337     break 2
2338   fi
2339 done
2340 done
2341
2342   test -z "$ac_cv_prog_PKGCONF" && ac_cv_prog_PKGCONF="false"
2343 fi
2344 fi
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
2349 else
2350   echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6
2352 fi
2353
2354
2355 if $PKGCONF ; then
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`
2363         FOUND_GAI_LIBS=yes
2364     else
2365        echo "$as_me:$LINENO: result: no" >&5
2366 echo "${ECHO_T}no" >&6
2367     fi
2368 else
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; }; }
2372 fi
2373
2374 if test x$FOUND_GAI_LIBS = xyes ; then
2375
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
2381       DGAI=-DGAI
2382       GAI=yes
2383       APPLET=shermans_applet
2384       INSTALL_APPLET=install_applet
2385    else
2386       echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6
2388       GAI=no
2389    fi
2390
2391
2392
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
2396
2397 INSTALL_GNOME=
2398 GNOME_SERVER=
2399
2400 if test `pkg-config gai --variable=gnome` = yes; then
2401     echo "$as_me:$LINENO: result: yes" >&5
2402 echo "${ECHO_T}yes" >&6
2403     GNOME=yes
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}'
2409     fi
2410     echo "$as_me:$LINENO: result: $with_gnome_prefix" >&5
2411 echo "${ECHO_T}$with_gnome_prefix" >&6
2412
2413     GNOMEDIR=$with_gnome_prefix
2414     INSTALL_GNOME=install-gnome
2415     INSTALL_PATH='$(GNOMEDIR)'
2416
2417     GNOMESERVER=`echo -n GNOME_$APPLET_NAME;echo -n "Applet.server"`
2418     cat >$GNOMESERVER.in << EOF
2419 <oaf_info>
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"/>
2424                 </oaf_attribute>
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"/>
2427         </oaf_server>
2428
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"/>
2434                 </oaf_attribute>
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@"/>
2439         </oaf_server>
2440 </oaf_info>
2441 EOF
2442
2443
2444 else
2445     echo "$as_me:$LINENO: result: no" >&5
2446 echo "${ECHO_T}no" >&6
2447     GNOME=no
2448     if test x$prefix = xNONE ; then
2449         GNOMEDIR=/usr/local/
2450         INSTALL_PATH=/usr/local/
2451     else
2452         GNOMEDIR=$prefix
2453         INSTALL_PATH=$prefix
2454     fi
2455 fi
2456
2457
2458 fi
2459
2460
2461
2462
2463 ROX_APPRUN=
2464 ROX_APPINFO=
2465 INSTALL_ROX=
2466 ROX_PATH=
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
2472     ROX_APPRUN=AppRun
2473
2474     cat >AppRun.in << EOF
2475 #!/bin/sh
2476 # Slightly modified by Jonas Aaberg <cja@gmx.net> to suit GAI applets.
2477
2478 PROG=@APPLET_NAME@
2479
2480 APP_DIR=\`dirname "\$0"\`
2481 APP_DIR=\`cd "\$APP_DIR";pwd\`; export APP_DIR
2482
2483 BIN="\$APP_DIR/\$PROG"
2484
2485 exec "\$BIN" --gai-rox "\$@"
2486 EOF
2487
2488     ROX_APPINFO=AppInfo.xml
2489
2490     cat >AppInfo.xml.in << EOF
2491 <?xml version="1.0"?>
2492 <AppInfo>
2493   <Summary>@APPLET_DESCRIPTION_SHORT@</Summary>
2494 </AppInfo>
2495
2496 EOF
2497
2498
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
2505 else
2506     echo "$as_me:$LINENO: result: no" >&5
2507 echo "${ECHO_T}no" >&6
2508 fi
2509
2510
2511 fi
2512
2513 fi
2514
2515
2516 if test x$GAI = xno ; then
2517     if test x$prefix = xNONE ; then
2518         GNOMEDIR=/usr/local/
2519         INSTALL_PATH=/usr/local/
2520     else
2521         GNOMEDIR=$prefix
2522         INSTALL_PATH=$prefix
2523     fi
2524 fi
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542 if test x$APPLET_IMAGES = x; then
2543    INSTALL_IMAGES=
2544 else
2545    INSTALL_IMAGES=install-images
2546 fi
2547
2548
2549 if test x$GNOME = xyes ; then
2550    APPLET_IMAGE_PATH=$GNOMEDIR/share/pixmaps/shermans
2551    APPLET_ICON=$GNOMEDIR/share/pixmaps/$APPLET_NAME_ICON
2552 else
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
2556    else
2557       APPLET_IMAGE_PATH=$prefix/share/pixmaps/shermans
2558       APPLET_ICON=$prefix/share/pixmaps/$APPLET_NAME_ICON
2559    fi
2560 fi
2561
2562
2563
2564
2565
2566 SDL=no
2567 SCREENSAVER=
2568 SDL_CFLAGS=
2569 SDL_LIBS=
2570 INSTALL_SCREENSAVER=
2571
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
2579 else
2580   if test -n "$SDLCONF"; then
2581   ac_cv_prog_SDLCONF="$SDLCONF" # Let the user override the test.
2582 else
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 for as_dir in $PATH
2585 do
2586   IFS=$as_save_IFS
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
2592     break 2
2593   fi
2594 done
2595 done
2596
2597   test -z "$ac_cv_prog_SDLCONF" && ac_cv_prog_SDLCONF="false"
2598 fi
2599 fi
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
2604 else
2605   echo "$as_me:$LINENO: result: no" >&5
2606 echo "${ECHO_T}no" >&6
2607 fi
2608
2609
2610    if $SDLCONF ; then
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/'`
2620       SDL=yes
2621
2622       if test $SDL_MAJOR -eq 1 ; then
2623          if test $SDL_MINOR -eq 2 ; then
2624              SDL=yes;
2625          else
2626              SDL=no;
2627          fi
2628       else
2629          SDL=no
2630       fi
2631
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`
2646
2647
2648          else
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; }; }
2654          fi
2655       else
2656          echo "$as_me:$LINENO: result: no" >&5
2657 echo "${ECHO_T}no" >&6
2658       fi
2659   fi
2660
2661 fi
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672 XMMS=
2673 XMMS_CFLAGS=
2674 XMMS_LIBS=
2675 XMMS_OBJ=
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
2685 else
2686   if test -n "$XMMS_CONFIG"; then
2687   ac_cv_prog_XMMS_CONFIG="$XMMS_CONFIG" # Let the user override the test.
2688 else
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 for as_dir in $PATH
2691 do
2692   IFS=$as_save_IFS
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
2698     break 2
2699   fi
2700 done
2701 done
2702
2703   test -z "$ac_cv_prog_XMMS_CONFIG" && ac_cv_prog_XMMS_CONFIG="false"
2704 fi
2705 fi
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
2710 else
2711   echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2713 fi
2714
2715
2716    if $XMMS_CONFIG ; then
2717       XMMS_CFLAGS=`xmms-config --cflags`
2718       XMMS_LIBS=`xmms-config --libs`
2719       XMMS="#define XMMS"
2720    else
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; }; }
2724    fi
2725 fi
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
2733 else
2734   if test -n "$XMMS_CONFIG"; then
2735   ac_cv_prog_XMMS_CONFIG="$XMMS_CONFIG" # Let the user override the test.
2736 else
2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738 for as_dir in $PATH
2739 do
2740   IFS=$as_save_IFS
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
2746     break 2
2747   fi
2748 done
2749 done
2750
2751   test -z "$ac_cv_prog_XMMS_CONFIG" && ac_cv_prog_XMMS_CONFIG="false"
2752 fi
2753 fi
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
2758 else
2759   echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6
2761 fi
2762
2763
2764    if $XMMS_CONFIG ; then
2765       XMMS_CFLAGS=`xmms-config --cflags`
2766       XMMS_LIBS=`xmms-config --libs`
2767       XMMS="#define XMMS"
2768       XMMS_OBJ="xmms_sn.o"
2769    fi
2770 fi
2771 fi
2772 fi
2773
2774
2775
2776
2777
2778
2779 REMARK="This file is autogenerated by the configure script."
2780 REMARK2="So don't add things you want permanent here."
2781
2782
2783
2784
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.
2792 #
2793 # config.status only pays attention to the cache file if you give it
2794 # the --recheck option to rerun configure.
2795 #
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
2798 # following values.
2799
2800 _ACEOF
2801
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.
2807 {
2808   (set) 2>&1 |
2809     case `(ac_space=' '; set | grep ac_space) 2>&1` in
2810     *ac_space=\ *)
2811       # `set' does not quote correctly, so add quotes (double-quote
2812       # substitution turns \\\\ into \\, and sed turns \\ into \).
2813       sed -n \
2814         "s/'/'\\\\''/g;
2815           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2816       ;;
2817     *)
2818       # `set' quotes correctly as required by POSIX, so do not add quotes.
2819       sed -n \
2820         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2821       ;;
2822     esac;
2823 } |
2824   sed '
2825      t clear
2826      : clear
2827      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2828      t end
2829      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2830      : end' >>confcache
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
2835   else
2836     echo "not updating unwritable cache $cache_file"
2837   fi
2838 fi
2839 rm -f confcache
2840
2841 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2842 # Let make expand exec_prefix.
2843 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2844
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}:*/:/;
2853 s/:*@srcdir@:*/:/;
2854 s/^\([^=]*=[     ]*\):*/\1/;
2855 s/:*$//;
2856 s/^[^=]*=[       ]*$//;
2857 }'
2858 fi
2859
2860 # Transform confdefs.h into DEFS.
2861 # Protect against shell expansion while executing Makefile rules.
2862 # Protect against Makefile macro expansion.
2863 #
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
2868 t clear
2869 : clear
2870 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2871 t quote
2872 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2873 t quote
2874 d
2875 : quote
2876 s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2877 s,\[,\\&,g
2878 s,\],\\&,g
2879 s,\$,$$,g
2880 p
2881 _ACEOF
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
2887 # would break.
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
2891
2892
2893 ac_libobjs=
2894 ac_ltlibobjs=
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$//'`
2899   # 2. Add them.
2900   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2901   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2902 done
2903 LIBOBJS=$ac_libobjs
2904
2905 LTLIBOBJS=$ac_ltlibobjs
2906
2907
2908
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
2915 #! $SHELL
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.
2920
2921 debug=false
2922 ac_cs_recheck=false
2923 ac_cs_silent=false
2924 SHELL=\${CONFIG_SHELL-$SHELL}
2925 _ACEOF
2926
2927 cat >>$CONFIG_STATUS <<\_ACEOF
2928 ## --------------------- ##
2929 ## M4sh Initialization.  ##
2930 ## --------------------- ##
2931
2932 # Be Bourne compatible
2933 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2934   emulate sh
2935   NULLCMD=:
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
2940   set -o posix
2941 fi
2942 DUALCASE=1; export DUALCASE # for MKS sh
2943
2944 # Support unset when possible.
2945 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2946   as_unset=unset
2947 else
2948   as_unset=false
2949 fi
2950
2951
2952 # Work around bugs in pre-3.0 UWIN ksh.
2953 $as_unset ENV MAIL MAILPATH
2954 PS1='$ '
2955 PS2='> '
2956 PS4='+ '
2957
2958 # NLS nuisances.
2959 for as_var in \
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
2963 do
2964   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2965     eval $as_var=C; export $as_var
2966   else
2967     $as_unset $as_var
2968   fi
2969 done
2970
2971 # Required to use basename.
2972 if expr a : '\(a\)' >/dev/null 2>&1; then
2973   as_expr=expr
2974 else
2975   as_expr=false
2976 fi
2977
2978 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2979   as_basename=basename
2980 else
2981   as_basename=false
2982 fi
2983
2984
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 ||
2991 echo X/"$0" |
2992     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2993           /^X\/\(\/\/\)$/{ s//\1/; q; }
2994           /^X\/\(\/\).*/{ s//\1/; q; }
2995           s/.*/./; q'`
2996
2997
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
3005
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
3010   chmod +x conf$$.sh
3011   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3012     PATH_SEPARATOR=';'
3013   else
3014     PATH_SEPARATOR=:
3015   fi
3016   rm -f conf$$.sh
3017 fi
3018
3019
3020   as_lineno_1=$LINENO
3021   as_lineno_2=$LINENO
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
3026   # relative or not.
3027   case $0 in
3028     *[\\/]* ) as_myself=$0 ;;
3029     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 for as_dir in $PATH
3031 do
3032   IFS=$as_save_IFS
3033   test -z "$as_dir" && as_dir=.
3034   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3035 done
3036
3037        ;;
3038   esac
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
3042     as_myself=$0
3043   fi
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; }; }
3048   fi
3049   case $CONFIG_SHELL in
3050   '')
3051     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3052 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3053 do
3054   IFS=$as_save_IFS
3055   test -z "$as_dir" && as_dir=.
3056   for as_base in sh bash ksh sh5; do
3057          case $as_dir in
3058          /*)
3059            if ("$as_dir/$as_base" -c '
3060   as_lineno_1=$LINENO
3061   as_lineno_2=$LINENO
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
3068              export CONFIG_SHELL
3069              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3070            fi;;
3071          esac
3072        done
3073 done
3074 ;;
3075   esac
3076
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 |
3086     sed '
3087       N
3088       s,$,-,
3089       : loop
3090       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3091       t loop
3092       s,-$,,
3093       s,^['$as_cr_digits']*\n,,
3094     ' >$as_me.lineno &&
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; }; }
3099
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).
3103   . ./$as_me.lineno
3104   # Exit status is that of the last command.
3105   exit
3106 }
3107
3108
3109 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3110   *c*,-n*) ECHO_N= ECHO_C='
3111 ' ECHO_T='      ' ;;
3112   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3113   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3114 esac
3115
3116 if expr a : '\(a\)' >/dev/null 2>&1; then
3117   as_expr=expr
3118 else
3119   as_expr=false
3120 fi
3121
3122 rm -f conf$$ conf$$.exe conf$$.file
3123 echo >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
3129     as_ln_s='cp -p'
3130   else
3131     as_ln_s='ln -s'
3132   fi
3133 elif ln conf$$.file conf$$ 2>/dev/null; then
3134   as_ln_s=ln
3135 else
3136   as_ln_s='cp -p'
3137 fi
3138 rm -f conf$$ conf$$.exe conf$$.file
3139
3140 if mkdir -p . 2>/dev/null; then
3141   as_mkdir_p=:
3142 else
3143   test -d ./-p && rmdir ./-p
3144   as_mkdir_p=false
3145 fi
3146
3147 as_executable_p="test -f"
3148
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'"
3151
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'"
3154
3155
3156 # IFS
3157 # We need space, tab and new line, in precisely that order.
3158 as_nl='
3159 '
3160 IFS="   $as_nl"
3161
3162 # CDPATH.
3163 $as_unset CDPATH
3164
3165 exec 6>&1
3166
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.
3170 exec 5>>config.log
3171 {
3172   echo
3173   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3174 ## Running $as_me. ##
3175 _ASBOX
3176 } >&5
3177 cat >&5 <<_CSEOF
3178
3179 This file was extended by $as_me, which was
3180 generated by GNU Autoconf 2.59.  Invocation command line was
3181
3182   CONFIG_FILES    = $CONFIG_FILES
3183   CONFIG_HEADERS  = $CONFIG_HEADERS
3184   CONFIG_LINKS    = $CONFIG_LINKS
3185   CONFIG_COMMANDS = $CONFIG_COMMANDS
3186   $ $0 $@
3187
3188 _CSEOF
3189 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3190 echo >&5
3191 _ACEOF
3192
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
3196 fi
3197
3198 if test -n "$ac_config_headers"; then
3199   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3200 fi
3201
3202 if test -n "$ac_config_links"; then
3203   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3204 fi
3205
3206 if test -n "$ac_config_commands"; then
3207   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3208 fi
3209
3210 cat >>$CONFIG_STATUS <<\_ACEOF
3211
3212 ac_cs_usage="\
3213 \`$as_me' instantiates files from templates according to the
3214 current configuration.
3215
3216 Usage: $0 [OPTIONS] [FILE]...
3217
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
3225
3226 Configuration files:
3227 $config_files
3228
3229 Report bugs to <bug-autoconf@gnu.org>."
3230 _ACEOF
3231
3232 cat >>$CONFIG_STATUS <<_ACEOF
3233 ac_cs_version="\\
3234 config.status
3235 configured by $0, generated by GNU Autoconf 2.59,
3236   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3237
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."
3241 srcdir=$srcdir
3242 _ACEOF
3243
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.
3247 ac_need_defaults=:
3248 while test $# != 0
3249 do
3250   case $1 in
3251   --*=*)
3252     ac_option=`expr "x$1" : 'x\([^=]*\)='`
3253     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3254     ac_shift=:
3255     ;;
3256   -*)
3257     ac_option=$1
3258     ac_optarg=$2
3259     ac_shift=shift
3260     ;;
3261   *) # This is not an option, so the user has probably given explicit
3262      # arguments.
3263      ac_option=$1
3264      ac_need_defaults=false;;
3265   esac
3266
3267   case $ac_option in
3268   # Handling of the options.
3269 _ACEOF
3270 cat >>$CONFIG_STATUS <<\_ACEOF
3271   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3272     ac_cs_recheck=: ;;
3273   --version | --vers* | -V )
3274     echo "$ac_cs_version"; exit 0 ;;
3275   --he | --h)
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 )
3285     debug=: ;;
3286   --file | --fil | --fi | --f )
3287     $ac_shift
3288     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3289     ac_need_defaults=false;;
3290   --header | --heade | --head | --hea )
3291     $ac_shift
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)
3296     ac_cs_silent=: ;;
3297
3298   # This is an error.
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; }; } ;;
3304
3305   *) ac_config_targets="$ac_config_targets $1" ;;
3306
3307   esac
3308   shift
3309 done
3310
3311 ac_configure_extra_args=
3312
3313 if $ac_cs_silent; then
3314   exec 6>/dev/null
3315   ac_configure_extra_args="$ac_configure_extra_args --silent"
3316 fi
3317
3318 _ACEOF
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
3323 fi
3324
3325 _ACEOF
3326
3327
3328
3329
3330
3331 cat >>$CONFIG_STATUS <<\_ACEOF
3332 for ac_config_target in $ac_config_targets
3333 do
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; }; };;
3345   esac
3346 done
3347
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
3354 fi
3355
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.
3360 $debug ||
3361 {
3362   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3363   trap '{ (exit 1); exit 1; }' 1 2 13 15
3364 }
3365
3366 # Create a (secure) tmp directory for tmp files.
3367
3368 {
3369   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3370   test -n "$tmp" && test -d "$tmp"
3371 }  ||
3372 {
3373   tmp=./confstat$$-$RANDOM
3374   (umask 077 && mkdir $tmp)
3375 } ||
3376 {
3377    echo "$me: cannot create a temporary directory in ." >&2
3378    { (exit 1); exit 1; }
3379 }
3380
3381 _ACEOF
3382
3383 cat >>$CONFIG_STATUS <<_ACEOF
3384
3385 #
3386 # CONFIG_FILES section.
3387 #
3388
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
3420 s,@DEFS@,$DEFS,;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
3424 s,@LIBS@,$LIBS,;t t
3425 s,@CC@,$CC,;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
3442 s,@HOST@,$HOST,;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
3447 s,@DGAI@,$DGAI,;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
3470 s,@XMMS@,$XMMS,;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
3475 CEOF
3476
3477 _ACEOF
3478
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.
3482   ac_max_sed_lines=48
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.
3486   ac_more_lines=:
3487   ac_sed_cmds=
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
3491     else
3492       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3493     fi
3494     if test ! -s $tmp/subs.frag; then
3495       ac_more_lines=false
3496     else
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.
3501       (echo ':t
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"
3505       else
3506         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3507       fi
3508       ac_sed_frag=`expr $ac_sed_frag + 1`
3509       ac_beg=$ac_end
3510       ac_end=`expr $ac_end + $ac_max_sed_lines`
3511     fi
3512   done
3513   if test -z "$ac_sed_cmds"; then
3514     ac_sed_cmds=cat
3515   fi
3516 fi # test -n "$CONFIG_FILES"
3517
3518 _ACEOF
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".
3522   case $ac_file in
3523   - | *:- | *:-:* ) # input from stdin
3524         cat >$tmp/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 ;;
3530   esac
3531
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 ||
3539 echo X"$ac_file" |
3540     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3541           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3542           /^X\(\/\/\)$/{ s//\1/; q; }
3543           /^X\(\/\).*/{ s//\1/; q; }
3544           s/.*/./; q'`
3545   { if $as_mkdir_p; then
3546     mkdir -p "$ac_dir"
3547   else
3548     as_dir="$ac_dir"
3549     as_dirs=
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 ||
3558 echo X"$as_dir" |
3559     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3560           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3561           /^X\(\/\/\)$/{ s//\1/; q; }
3562           /^X\(\/\).*/{ s//\1/; q; }
3563           s/.*/./; q'`
3564     done
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; }; }; }
3569
3570   ac_builddir=.
3571
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'`
3576 else
3577   ac_dir_suffix= ac_top_builddir=
3578 fi
3579
3580 case $srcdir in
3581   .)  # No --srcdir option.  We are building in place.
3582     ac_srcdir=.
3583     if test -z "$ac_top_builddir"; then
3584        ac_top_srcdir=.
3585     else
3586        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3587     fi ;;
3588   [\\/]* | ?:[\\/]* )  # Absolute path.
3589     ac_srcdir=$srcdir$ac_dir_suffix;
3590     ac_top_srcdir=$srcdir ;;
3591   *) # Relative path.
3592     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3593     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3594 esac
3595
3596 # Do not use `cd foo && pwd` to compute absolute paths, because
3597 # the directories may not exist.
3598 case `pwd` in
3599 .) ac_abs_builddir="$ac_dir";;
3600 *)
3601   case "$ac_dir" in
3602   .) ac_abs_builddir=`pwd`;;
3603   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3604   *) ac_abs_builddir=`pwd`/"$ac_dir";;
3605   esac;;
3606 esac
3607 case $ac_abs_builddir in
3608 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3609 *)
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}.;;
3614   esac;;
3615 esac
3616 case $ac_abs_builddir in
3617 .) ac_abs_srcdir=$ac_srcdir;;
3618 *)
3619   case $ac_srcdir in
3620   .) ac_abs_srcdir=$ac_abs_builddir;;
3621   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3622   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3623   esac;;
3624 esac
3625 case $ac_abs_builddir in
3626 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3627 *)
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;;
3632   esac;;
3633 esac
3634
3635
3636
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;}
3640     rm -f "$ac_file"
3641   fi
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
3646     configure_input=
3647   else
3648     configure_input="$ac_file.  "
3649   fi
3650   configure_input=$configure_input"Generated from `echo $ac_file_in |
3651                                      sed 's,.*/,,'` by configure."
3652
3653   # First look for the input files in the build tree, otherwise in the
3654   # src tree.
3655   ac_file_inputs=`IFS=:
3656     for f in $ac_file_in; do
3657       case $f in
3658       -) echo $tmp/stdin ;;
3659       [\\/$]*)
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; }; }
3664          echo "$f";;
3665       *) # Relative
3666          if test -f "$f"; then
3667            # Build tree
3668            echo "$f"
3669          elif test -f "$srcdir/$f"; then
3670            # Source tree
3671            echo "$srcdir/$f"
3672          else
3673            # /dev/null tree
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; }; }
3677          fi;;
3678       esac
3679     done` || { (exit 1); exit 1; }
3680 _ACEOF
3681 cat >>$CONFIG_STATUS <<_ACEOF
3682   sed "$ac_vpsub
3683 $extrasub
3684 _ACEOF
3685 cat >>$CONFIG_STATUS <<\_ACEOF
3686 :t
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
3698   rm -f $tmp/stdin
3699   if test x"$ac_file" != x-; then
3700     mv $tmp/out $ac_file
3701   else
3702     cat $tmp/out
3703     rm -f $tmp/out
3704   fi
3705
3706 done
3707 _ACEOF
3708
3709 cat >>$CONFIG_STATUS <<\_ACEOF
3710
3711 { (exit 0); exit 0; }
3712 _ACEOF
3713 chmod +x $CONFIG_STATUS
3714 ac_clean_files=$ac_clean_files_save
3715
3716
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
3726   ac_cs_success=:
3727   ac_config_status_args=
3728   test "$silent" = yes &&
3729     ac_config_status_args="$ac_config_status_args --quiet"
3730   exec 5>/dev/null
3731   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3732   exec 5>>config.log
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; }
3736 fi
3737
3738
3739 echo
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"