/[cvs]/eggdrop1.6/configure
ViewVC logotype

Annotation of /eggdrop1.6/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.123 - (hide annotations) (download)
Tue Jun 15 07:25:51 2004 UTC (15 years, 8 months ago) by wcc
Branch: MAIN
Changes since 1.122: +1 -1 lines
* Ran autoconf (/).
* Modules: configure.in -> configure.ac.

1 segfault 1.1 #! /bin/sh
2 wcc 1.123 # From configure.ac Revision: 1.9 .
3 segfault 1.1 # Guess values for system-dependent variables and create Makefiles.
4 wcc 1.117 # Generated by GNU Autoconf 2.59 for Eggdrop 1.6.17.
5 wcc 1.106 #
6     # Report bugs to <bugs@eggheads.org>.
7 segfault 1.1 #
8 wcc 1.105 # Copyright (C) 2003 Free Software Foundation, Inc.
9 segfault 1.1 # This configure script is free software; the Free Software Foundation
10     # gives unlimited permission to copy, distribute and modify it.
11 wcc 1.106 #
12 wcc 1.110 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team
13 wcc 1.82 ## --------------------- ##
14     ## M4sh Initialization. ##
15     ## --------------------- ##
16    
17 guppy 1.72 # Be Bourne compatible
18     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19     emulate sh
20     NULLCMD=:
21 wcc 1.83 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22     # is contrary to our usage. Disable this feature.
23     alias -g '${1+"$@"}'='"$@"'
24 guppy 1.72 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
25     set -o posix
26     fi
27 wcc 1.105 DUALCASE=1; export DUALCASE # for MKS sh
28 guppy 1.72
29 wcc 1.83 # Support unset when possible.
30 wcc 1.105 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
31 wcc 1.83 as_unset=unset
32     else
33     as_unset=false
34     fi
35    
36    
37     # Work around bugs in pre-3.0 UWIN ksh.
38     $as_unset ENV MAIL MAILPATH
39     PS1='$ '
40     PS2='> '
41     PS4='+ '
42    
43     # NLS nuisances.
44 wcc 1.105 for as_var in \
45     LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
46     LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
47     LC_TELEPHONE LC_TIME
48 wcc 1.83 do
49 wcc 1.105 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50 wcc 1.83 eval $as_var=C; export $as_var
51     else
52     $as_unset $as_var
53     fi
54     done
55    
56     # Required to use basename.
57     if expr a : '\(a\)' >/dev/null 2>&1; then
58     as_expr=expr
59     else
60     as_expr=false
61     fi
62    
63     if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
64     as_basename=basename
65     else
66     as_basename=false
67     fi
68    
69    
70 guppy 1.72 # Name of the executable.
71 wcc 1.83 as_me=`$as_basename "$0" ||
72     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73     X"$0" : 'X\(//\)$' \| \
74     X"$0" : 'X\(/\)$' \| \
75     . : '\(.\)' 2>/dev/null ||
76     echo X/"$0" |
77     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
78     /^X\/\(\/\/\)$/{ s//\1/; q; }
79     /^X\/\(\/\).*/{ s//\1/; q; }
80     s/.*/./; q'`
81    
82    
83     # PATH needs CR, and LINENO needs CR and PATH.
84     # Avoid depending upon Character Ranges.
85     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
86     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
87     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
88     as_cr_digits='0123456789'
89     as_cr_alnum=$as_cr_Letters$as_cr_digits
90    
91     # The user is always right.
92     if test "${PATH_SEPARATOR+set}" != set; then
93 wcc 1.105 echo "#! /bin/sh" >conf$$.sh
94     echo "exit 0" >>conf$$.sh
95     chmod +x conf$$.sh
96     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
97 wcc 1.83 PATH_SEPARATOR=';'
98     else
99     PATH_SEPARATOR=:
100     fi
101 wcc 1.105 rm -f conf$$.sh
102 wcc 1.83 fi
103    
104    
105     as_lineno_1=$LINENO
106     as_lineno_2=$LINENO
107     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
108     test "x$as_lineno_1" != "x$as_lineno_2" &&
109     test "x$as_lineno_3" = "x$as_lineno_2" || {
110     # Find who we are. Look in the path if we contain no path at all
111     # relative or not.
112     case $0 in
113     *[\\/]* ) as_myself=$0 ;;
114     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115     for as_dir in $PATH
116     do
117     IFS=$as_save_IFS
118     test -z "$as_dir" && as_dir=.
119     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120     done
121    
122     ;;
123     esac
124     # We did not find ourselves, most probably we were run as `sh COMMAND'
125     # in which case we are not to be found in the path.
126     if test "x$as_myself" = x; then
127     as_myself=$0
128     fi
129     if test ! -f "$as_myself"; then
130     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
131     { (exit 1); exit 1; }; }
132     fi
133     case $CONFIG_SHELL in
134     '')
135     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
136     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
137     do
138     IFS=$as_save_IFS
139     test -z "$as_dir" && as_dir=.
140     for as_base in sh bash ksh sh5; do
141     case $as_dir in
142     /*)
143     if ("$as_dir/$as_base" -c '
144     as_lineno_1=$LINENO
145     as_lineno_2=$LINENO
146     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
147     test "x$as_lineno_1" != "x$as_lineno_2" &&
148     test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
149     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
150     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
151     CONFIG_SHELL=$as_dir/$as_base
152     export CONFIG_SHELL
153     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
154     fi;;
155     esac
156     done
157     done
158     ;;
159     esac
160    
161     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
162     # uniformly replaced by the line number. The first 'sed' inserts a
163     # line-number line before each line; the second 'sed' does the real
164     # work. The second script uses 'N' to pair each line-number line
165     # with the numbered line, and appends trailing '-' during
166     # substitution so that $LINENO is not a special case at line end.
167     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
168     # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
169     sed '=' <$as_myself |
170     sed '
171     N
172     s,$,-,
173     : loop
174     s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
175     t loop
176     s,-$,,
177     s,^['$as_cr_digits']*\n,,
178     ' >$as_me.lineno &&
179     chmod +x $as_me.lineno ||
180     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
181     { (exit 1); exit 1; }; }
182    
183     # Don't try to exec as it changes $[0], causing all sort of problems
184     # (the dirname of $[0] is not the place where we might find the
185     # original and so on. Autoconf is especially sensible to this).
186     . ./$as_me.lineno
187     # Exit status is that of the last command.
188     exit
189     }
190    
191    
192     case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
193     *c*,-n*) ECHO_N= ECHO_C='
194     ' ECHO_T=' ' ;;
195     *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
196     *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
197     esac
198 guppy 1.72
199     if expr a : '\(a\)' >/dev/null 2>&1; then
200     as_expr=expr
201     else
202     as_expr=false
203     fi
204    
205     rm -f conf$$ conf$$.exe conf$$.file
206     echo >conf$$.file
207     if ln -s conf$$.file conf$$ 2>/dev/null; then
208     # We could just check for DJGPP; but this test a) works b) is more generic
209     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
210     if test -f conf$$.exe; then
211     # Don't use ln at all; we don't have any links
212     as_ln_s='cp -p'
213     else
214     as_ln_s='ln -s'
215     fi
216     elif ln conf$$.file conf$$ 2>/dev/null; then
217     as_ln_s=ln
218     else
219     as_ln_s='cp -p'
220     fi
221     rm -f conf$$ conf$$.exe conf$$.file
222    
223 wcc 1.83 if mkdir -p . 2>/dev/null; then
224     as_mkdir_p=:
225     else
226 wcc 1.105 test -d ./-p && rmdir ./-p
227 wcc 1.83 as_mkdir_p=false
228     fi
229    
230 guppy 1.72 as_executable_p="test -f"
231    
232 wcc 1.83 # Sed expression to map a string onto a valid CPP name.
233 wcc 1.105 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
234 wcc 1.83
235     # Sed expression to map a string onto a valid variable name.
236 wcc 1.105 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 guppy 1.72
238    
239     # IFS
240     # We need space, tab and new line, in precisely that order.
241     as_nl='
242     '
243     IFS=" $as_nl"
244    
245     # CDPATH.
246 wcc 1.83 $as_unset CDPATH
247    
248 guppy 1.72
249     # Name of the host.
250     # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
251     # so uname gets run too.
252     ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253    
254     exec 6>&1
255    
256     #
257     # Initializations.
258     #
259 segfault 1.1 ac_default_prefix=/usr/local
260 wcc 1.83 ac_config_libobj_dir=.
261 guppy 1.72 cross_compiling=no
262     subdirs=
263 wcc 1.83 MFLAGS=
264     MAKEFLAGS=
265 guppy 1.72 SHELL=${CONFIG_SHELL-/bin/sh}
266    
267     # Maximum number of lines to put in a shell here document.
268     # This variable seems obsolete. It should probably be removed, and
269     # only ac_max_sed_lines should be used.
270     : ${ac_max_here_lines=38}
271    
272 wcc 1.83 # Identity of this package.
273 wcc 1.106 PACKAGE_NAME='Eggdrop'
274     PACKAGE_TARNAME='eggdrop'
275 wcc 1.117 PACKAGE_VERSION='1.6.17'
276     PACKAGE_STRING='Eggdrop 1.6.17'
277 wcc 1.106 PACKAGE_BUGREPORT='bugs@eggheads.org'
278 wcc 1.83
279 guppy 1.72 ac_unique_file="src/eggdrop.h"
280 fabian 1.14 ac_default_prefix=\${HOME}/eggdrop
281 guppy 1.72 # Factoring default headers for most tests.
282     ac_includes_default="\
283     #include <stdio.h>
284     #if HAVE_SYS_TYPES_H
285     # include <sys/types.h>
286     #endif
287     #if HAVE_SYS_STAT_H
288     # include <sys/stat.h>
289     #endif
290     #if STDC_HEADERS
291     # include <stdlib.h>
292     # include <stddef.h>
293     #else
294     # if HAVE_STDLIB_H
295     # include <stdlib.h>
296     # endif
297     #endif
298     #if HAVE_STRING_H
299     # if !STDC_HEADERS && HAVE_MEMORY_H
300     # include <memory.h>
301     # endif
302     # include <string.h>
303     #endif
304     #if HAVE_STRINGS_H
305     # include <strings.h>
306     #endif
307     #if HAVE_INTTYPES_H
308     # include <inttypes.h>
309     #else
310     # if HAVE_STDINT_H
311     # include <stdint.h>
312     # endif
313     #endif
314     #if HAVE_UNISTD_H
315     # include <unistd.h>
316     #endif"
317 segfault 1.1
318 wcc 1.106 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 egg_ac_parameters CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE RANLIB ac_ct_RANLIB LN_S HEAD_1 STRIP AWK BASENAME UNAME MOD_LD MOD_CC MOD_STRIP SHLIB_LD SHLIB_CC SHLIB_STRIP DEFAULT_MAKE MOD_EXT EGGEXEC TCLLIB TCLLIBFN TCLINC TCLINCFN TCL_REQS TCL_LIBS EGGVERSION DEST MOD_UPDIR LIBOBJS LTLIBOBJS'
319 wcc 1.83 ac_subst_files=''
320    
321 segfault 1.1 # Initialize some variables set by options.
322 guppy 1.72 ac_init_help=
323     ac_init_version=false
324 segfault 1.1 # The variables have the same names as the options, with
325     # dashes changed to underlines.
326 guppy 1.72 cache_file=/dev/null
327 segfault 1.1 exec_prefix=NONE
328     no_create=
329     no_recursion=
330     prefix=NONE
331     program_prefix=NONE
332     program_suffix=NONE
333     program_transform_name=s,x,x,
334     silent=
335     site=
336     srcdir=
337     verbose=
338     x_includes=NONE
339     x_libraries=NONE
340 guppy 1.72
341     # Installation directory options.
342     # These are left unexpanded so users can "make install exec_prefix=/foo"
343     # and all the variables that are supposed to be based on exec_prefix
344     # by default will actually change.
345     # Use braces instead of parens because sh, perl, etc. also accept them.
346 segfault 1.1 bindir='${exec_prefix}/bin'
347     sbindir='${exec_prefix}/sbin'
348     libexecdir='${exec_prefix}/libexec'
349     datadir='${prefix}/share'
350     sysconfdir='${prefix}/etc'
351     sharedstatedir='${prefix}/com'
352     localstatedir='${prefix}/var'
353     libdir='${exec_prefix}/lib'
354     includedir='${prefix}/include'
355     oldincludedir='/usr/include'
356     infodir='${prefix}/info'
357     mandir='${prefix}/man'
358    
359     ac_prev=
360     for ac_option
361     do
362     # If the previous option needs an argument, assign it.
363     if test -n "$ac_prev"; then
364     eval "$ac_prev=\$ac_option"
365     ac_prev=
366     continue
367     fi
368    
369 guppy 1.72 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
370 segfault 1.1
371     # Accept the important Cygnus configure options, so we can diagnose typos.
372    
373 guppy 1.72 case $ac_option in
374 segfault 1.1
375     -bindir | --bindir | --bindi | --bind | --bin | --bi)
376     ac_prev=bindir ;;
377     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
378 guppy 1.72 bindir=$ac_optarg ;;
379 segfault 1.1
380     -build | --build | --buil | --bui | --bu)
381 guppy 1.72 ac_prev=build_alias ;;
382 segfault 1.1 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
383 guppy 1.72 build_alias=$ac_optarg ;;
384 segfault 1.1
385     -cache-file | --cache-file | --cache-fil | --cache-fi \
386     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
387     ac_prev=cache_file ;;
388     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
389     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
390 guppy 1.72 cache_file=$ac_optarg ;;
391    
392     --config-cache | -C)
393     cache_file=config.cache ;;
394 segfault 1.1
395     -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
396     ac_prev=datadir ;;
397     -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
398     | --da=*)
399 guppy 1.72 datadir=$ac_optarg ;;
400 segfault 1.1
401     -disable-* | --disable-*)
402 guppy 1.72 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
403 segfault 1.1 # Reject names that are not valid shell variable names.
404 guppy 1.72 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
405     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
406     { (exit 1); exit 1; }; }
407     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
408     eval "enable_$ac_feature=no" ;;
409 segfault 1.1
410     -enable-* | --enable-*)
411 guppy 1.72 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
412 segfault 1.1 # Reject names that are not valid shell variable names.
413 guppy 1.72 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
414     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
415     { (exit 1); exit 1; }; }
416     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
417     case $ac_option in
418     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
419 segfault 1.1 *) ac_optarg=yes ;;
420     esac
421 guppy 1.72 eval "enable_$ac_feature='$ac_optarg'" ;;
422 segfault 1.1
423     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
424     | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
425     | --exec | --exe | --ex)
426     ac_prev=exec_prefix ;;
427     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
428     | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
429     | --exec=* | --exe=* | --ex=*)
430 guppy 1.72 exec_prefix=$ac_optarg ;;
431 segfault 1.1
432     -gas | --gas | --ga | --g)
433     # Obsolete; use --with-gas.
434     with_gas=yes ;;
435    
436 guppy 1.72 -help | --help | --hel | --he | -h)
437     ac_init_help=long ;;
438     -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
439     ac_init_help=recursive ;;
440     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
441     ac_init_help=short ;;
442 segfault 1.1
443     -host | --host | --hos | --ho)
444 guppy 1.72 ac_prev=host_alias ;;
445 segfault 1.1 -host=* | --host=* | --hos=* | --ho=*)
446 guppy 1.72 host_alias=$ac_optarg ;;
447 segfault 1.1
448     -includedir | --includedir | --includedi | --included | --include \
449     | --includ | --inclu | --incl | --inc)
450     ac_prev=includedir ;;
451     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
452     | --includ=* | --inclu=* | --incl=* | --inc=*)
453 guppy 1.72 includedir=$ac_optarg ;;
454 segfault 1.1
455     -infodir | --infodir | --infodi | --infod | --info | --inf)
456     ac_prev=infodir ;;
457     -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
458 guppy 1.72 infodir=$ac_optarg ;;
459 segfault 1.1
460     -libdir | --libdir | --libdi | --libd)
461     ac_prev=libdir ;;
462     -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 guppy 1.72 libdir=$ac_optarg ;;
464 segfault 1.1
465     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
466     | --libexe | --libex | --libe)
467     ac_prev=libexecdir ;;
468     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
469     | --libexe=* | --libex=* | --libe=*)
470 guppy 1.72 libexecdir=$ac_optarg ;;
471 segfault 1.1
472     -localstatedir | --localstatedir | --localstatedi | --localstated \
473     | --localstate | --localstat | --localsta | --localst \
474     | --locals | --local | --loca | --loc | --lo)
475     ac_prev=localstatedir ;;
476     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
477     | --localstate=* | --localstat=* | --localsta=* | --localst=* \
478     | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
479 guppy 1.72 localstatedir=$ac_optarg ;;
480 segfault 1.1
481     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
482     ac_prev=mandir ;;
483     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 guppy 1.72 mandir=$ac_optarg ;;
485 segfault 1.1
486     -nfp | --nfp | --nf)
487     # Obsolete; use --without-fp.
488     with_fp=no ;;
489    
490     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
491 wcc 1.83 | --no-cr | --no-c | -n)
492 segfault 1.1 no_create=yes ;;
493    
494     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
495     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
496     no_recursion=yes ;;
497    
498     -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
499     | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
500     | --oldin | --oldi | --old | --ol | --o)
501     ac_prev=oldincludedir ;;
502     -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
503     | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
504     | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
505 guppy 1.72 oldincludedir=$ac_optarg ;;
506 segfault 1.1
507     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
508     ac_prev=prefix ;;
509     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 guppy 1.72 prefix=$ac_optarg ;;
511 segfault 1.1
512     -program-prefix | --program-prefix | --program-prefi | --program-pref \
513     | --program-pre | --program-pr | --program-p)
514     ac_prev=program_prefix ;;
515     -program-prefix=* | --program-prefix=* | --program-prefi=* \
516     | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
517 guppy 1.72 program_prefix=$ac_optarg ;;
518 segfault 1.1
519     -program-suffix | --program-suffix | --program-suffi | --program-suff \
520     | --program-suf | --program-su | --program-s)
521     ac_prev=program_suffix ;;
522     -program-suffix=* | --program-suffix=* | --program-suffi=* \
523     | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
524 guppy 1.72 program_suffix=$ac_optarg ;;
525 segfault 1.1
526     -program-transform-name | --program-transform-name \
527     | --program-transform-nam | --program-transform-na \
528     | --program-transform-n | --program-transform- \
529     | --program-transform | --program-transfor \
530     | --program-transfo | --program-transf \
531     | --program-trans | --program-tran \
532     | --progr-tra | --program-tr | --program-t)
533     ac_prev=program_transform_name ;;
534     -program-transform-name=* | --program-transform-name=* \
535     | --program-transform-nam=* | --program-transform-na=* \
536     | --program-transform-n=* | --program-transform-=* \
537     | --program-transform=* | --program-transfor=* \
538     | --program-transfo=* | --program-transf=* \
539     | --program-trans=* | --program-tran=* \
540     | --progr-tra=* | --program-tr=* | --program-t=*)
541 guppy 1.72 program_transform_name=$ac_optarg ;;
542 segfault 1.1
543     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
544     | -silent | --silent | --silen | --sile | --sil)
545     silent=yes ;;
546    
547     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
548     ac_prev=sbindir ;;
549     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
550     | --sbi=* | --sb=*)
551 guppy 1.72 sbindir=$ac_optarg ;;
552 segfault 1.1
553     -sharedstatedir | --sharedstatedir | --sharedstatedi \
554     | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
555     | --sharedst | --shareds | --shared | --share | --shar \
556     | --sha | --sh)
557     ac_prev=sharedstatedir ;;
558     -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
559     | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
560     | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
561     | --sha=* | --sh=*)
562 guppy 1.72 sharedstatedir=$ac_optarg ;;
563 segfault 1.1
564     -site | --site | --sit)
565     ac_prev=site ;;
566     -site=* | --site=* | --sit=*)
567 guppy 1.72 site=$ac_optarg ;;
568 segfault 1.1
569     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
570     ac_prev=srcdir ;;
571     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 guppy 1.72 srcdir=$ac_optarg ;;
573 segfault 1.1
574     -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
575     | --syscon | --sysco | --sysc | --sys | --sy)
576     ac_prev=sysconfdir ;;
577     -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
578     | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
579 guppy 1.72 sysconfdir=$ac_optarg ;;
580 segfault 1.1
581     -target | --target | --targe | --targ | --tar | --ta | --t)
582 guppy 1.72 ac_prev=target_alias ;;
583 segfault 1.1 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
584 guppy 1.72 target_alias=$ac_optarg ;;
585 segfault 1.1
586     -v | -verbose | --verbose | --verbos | --verbo | --verb)
587     verbose=yes ;;
588    
589 guppy 1.72 -version | --version | --versio | --versi | --vers | -V)
590     ac_init_version=: ;;
591 segfault 1.1
592     -with-* | --with-*)
593 guppy 1.72 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
594 segfault 1.1 # Reject names that are not valid shell variable names.
595 guppy 1.72 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
596     { echo "$as_me: error: invalid package name: $ac_package" >&2
597     { (exit 1); exit 1; }; }
598 segfault 1.1 ac_package=`echo $ac_package| sed 's/-/_/g'`
599 guppy 1.72 case $ac_option in
600     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
601 segfault 1.1 *) ac_optarg=yes ;;
602     esac
603 guppy 1.72 eval "with_$ac_package='$ac_optarg'" ;;
604 segfault 1.1
605     -without-* | --without-*)
606 guppy 1.72 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
607 segfault 1.1 # Reject names that are not valid shell variable names.
608 guppy 1.72 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
609     { echo "$as_me: error: invalid package name: $ac_package" >&2
610     { (exit 1); exit 1; }; }
611     ac_package=`echo $ac_package | sed 's/-/_/g'`
612     eval "with_$ac_package=no" ;;
613 segfault 1.1
614     --x)
615     # Obsolete; use --with-x.
616     with_x=yes ;;
617    
618     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
619     | --x-incl | --x-inc | --x-in | --x-i)
620     ac_prev=x_includes ;;
621     -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
622     | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
623 guppy 1.72 x_includes=$ac_optarg ;;
624 segfault 1.1
625     -x-libraries | --x-libraries | --x-librarie | --x-librari \
626     | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
627     ac_prev=x_libraries ;;
628     -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
629     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
630 guppy 1.72 x_libraries=$ac_optarg ;;
631 segfault 1.1
632 guppy 1.72 -*) { echo "$as_me: error: unrecognized option: $ac_option
633     Try \`$0 --help' for more information." >&2
634     { (exit 1); exit 1; }; }
635 segfault 1.1 ;;
636    
637 guppy 1.72 *=*)
638     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
639     # Reject names that are not valid shell variable names.
640     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
641     { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
642     { (exit 1); exit 1; }; }
643     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
644     eval "$ac_envvar='$ac_optarg'"
645     export $ac_envvar ;;
646    
647 segfault 1.1 *)
648 guppy 1.72 # FIXME: should be removed in autoconf 3.0.
649     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
650     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
651     echo "$as_me: WARNING: invalid host type: $ac_option" >&2
652     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 segfault 1.1 ;;
654    
655     esac
656     done
657    
658     if test -n "$ac_prev"; then
659 guppy 1.72 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
660     { echo "$as_me: error: missing argument to $ac_option" >&2
661     { (exit 1); exit 1; }; }
662 segfault 1.1 fi
663    
664 guppy 1.72 # Be sure to have absolute paths.
665     for ac_var in exec_prefix prefix
666     do
667     eval ac_val=$`echo $ac_var`
668     case $ac_val in
669     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
670 wcc 1.83 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
671 guppy 1.72 { (exit 1); exit 1; }; };;
672     esac
673     done
674 segfault 1.1
675 guppy 1.72 # Be sure to have absolute paths.
676     for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
677 wcc 1.105 localstatedir libdir includedir oldincludedir infodir mandir
678 segfault 1.1 do
679 guppy 1.72 eval ac_val=$`echo $ac_var`
680     case $ac_val in
681     [\\/$]* | ?:[\\/]* ) ;;
682 wcc 1.83 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
683 guppy 1.72 { (exit 1); exit 1; }; };;
684 segfault 1.1 esac
685     done
686    
687 guppy 1.72 # There might be people who depend on the old broken behavior: `$host'
688     # used to hold the argument of --host etc.
689 wcc 1.83 # FIXME: To remove some day.
690 guppy 1.72 build=$build_alias
691     host=$host_alias
692     target=$target_alias
693    
694 wcc 1.83 # FIXME: To remove some day.
695 guppy 1.72 if test "x$host_alias" != x; then
696     if test "x$build_alias" = x; then
697     cross_compiling=maybe
698     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
699     If a cross compiler is detected then cross compile mode will be used." >&2
700     elif test "x$build_alias" != "x$host_alias"; then
701     cross_compiling=yes
702     fi
703     fi
704 segfault 1.1
705 guppy 1.72 ac_tool_prefix=
706     test -n "$host_alias" && ac_tool_prefix=$host_alias-
707 segfault 1.1
708 guppy 1.72 test "$silent" = yes && exec 6>/dev/null
709 segfault 1.1
710 wcc 1.83
711 segfault 1.1 # Find the source files, if location was not specified.
712     if test -z "$srcdir"; then
713     ac_srcdir_defaulted=yes
714     # Try the directory containing this script, then its parent.
715 wcc 1.83 ac_confdir=`(dirname "$0") 2>/dev/null ||
716     $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
717 wcc 1.105 X"$0" : 'X\(//\)[^/]' \| \
718     X"$0" : 'X\(//\)$' \| \
719     X"$0" : 'X\(/\)' \| \
720     . : '\(.\)' 2>/dev/null ||
721 wcc 1.83 echo X"$0" |
722     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
723     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
724     /^X\(\/\/\)$/{ s//\1/; q; }
725     /^X\(\/\).*/{ s//\1/; q; }
726     s/.*/./; q'`
727 segfault 1.1 srcdir=$ac_confdir
728     if test ! -r $srcdir/$ac_unique_file; then
729     srcdir=..
730     fi
731     else
732     ac_srcdir_defaulted=no
733     fi
734     if test ! -r $srcdir/$ac_unique_file; then
735     if test "$ac_srcdir_defaulted" = yes; then
736 wcc 1.82 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
737 guppy 1.72 { (exit 1); exit 1; }; }
738 segfault 1.1 else
739 wcc 1.82 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
740 guppy 1.72 { (exit 1); exit 1; }; }
741 segfault 1.1 fi
742     fi
743 wcc 1.83 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
744     { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
745     { (exit 1); exit 1; }; }
746 guppy 1.72 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
747     ac_env_build_alias_set=${build_alias+set}
748     ac_env_build_alias_value=$build_alias
749     ac_cv_env_build_alias_set=${build_alias+set}
750     ac_cv_env_build_alias_value=$build_alias
751     ac_env_host_alias_set=${host_alias+set}
752     ac_env_host_alias_value=$host_alias
753     ac_cv_env_host_alias_set=${host_alias+set}
754     ac_cv_env_host_alias_value=$host_alias
755     ac_env_target_alias_set=${target_alias+set}
756     ac_env_target_alias_value=$target_alias
757     ac_cv_env_target_alias_set=${target_alias+set}
758     ac_cv_env_target_alias_value=$target_alias
759     ac_env_CC_set=${CC+set}
760     ac_env_CC_value=$CC
761     ac_cv_env_CC_set=${CC+set}
762     ac_cv_env_CC_value=$CC
763     ac_env_CFLAGS_set=${CFLAGS+set}
764     ac_env_CFLAGS_value=$CFLAGS
765     ac_cv_env_CFLAGS_set=${CFLAGS+set}
766     ac_cv_env_CFLAGS_value=$CFLAGS
767     ac_env_LDFLAGS_set=${LDFLAGS+set}
768     ac_env_LDFLAGS_value=$LDFLAGS
769     ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
770     ac_cv_env_LDFLAGS_value=$LDFLAGS
771     ac_env_CPPFLAGS_set=${CPPFLAGS+set}
772     ac_env_CPPFLAGS_value=$CPPFLAGS
773     ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
774     ac_cv_env_CPPFLAGS_value=$CPPFLAGS
775     ac_env_CPP_set=${CPP+set}
776     ac_env_CPP_value=$CPP
777     ac_cv_env_CPP_set=${CPP+set}
778     ac_cv_env_CPP_value=$CPP
779    
780     #
781     # Report the --help message.
782     #
783     if test "$ac_init_help" = "long"; then
784     # Omit some internal or obsolete options to make the list less imposing.
785     # This message is too long to be a string in the A/UX 3.1 sh.
786 wcc 1.82 cat <<_ACEOF
787 wcc 1.117 \`configure' configures Eggdrop 1.6.17 to adapt to many kinds of systems.
788 guppy 1.72
789     Usage: $0 [OPTION]... [VAR=VALUE]...
790    
791     To assign environment variables (e.g., CC, CFLAGS...), specify them as
792     VAR=VALUE. See below for descriptions of some of the useful variables.
793    
794     Defaults for the options are specified in brackets.
795    
796     Configuration:
797     -h, --help display this help and exit
798     --help=short display options specific to this package
799     --help=recursive display the short help of all the included packages
800     -V, --version display version information and exit
801     -q, --quiet, --silent do not print \`checking...' messages
802     --cache-file=FILE cache test results in FILE [disabled]
803     -C, --config-cache alias for \`--cache-file=config.cache'
804     -n, --no-create do not create output files
805     --srcdir=DIR find the sources in DIR [configure dir or \`..']
806    
807 wcc 1.82 _ACEOF
808 guppy 1.72
809 wcc 1.82 cat <<_ACEOF
810 guppy 1.72 Installation directories:
811     --prefix=PREFIX install architecture-independent files in PREFIX
812 wcc 1.105 [$ac_default_prefix]
813 guppy 1.72 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
814 wcc 1.105 [PREFIX]
815 guppy 1.72
816     By default, \`make install' will install all the files in
817     \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
818     an installation prefix other than \`$ac_default_prefix' using \`--prefix',
819     for instance \`--prefix=\$HOME'.
820    
821     For better control, use the options below.
822    
823     Fine tuning of the installation directories:
824     --bindir=DIR user executables [EPREFIX/bin]
825     --sbindir=DIR system admin executables [EPREFIX/sbin]
826     --libexecdir=DIR program executables [EPREFIX/libexec]
827     --datadir=DIR read-only architecture-independent data [PREFIX/share]
828     --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
829     --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
830     --localstatedir=DIR modifiable single-machine data [PREFIX/var]
831     --libdir=DIR object code libraries [EPREFIX/lib]
832     --includedir=DIR C header files [PREFIX/include]
833     --oldincludedir=DIR C header files for non-gcc [/usr/include]
834     --infodir=DIR info documentation [PREFIX/info]
835     --mandir=DIR man documentation [PREFIX/man]
836 wcc 1.82 _ACEOF
837 guppy 1.72
838 wcc 1.82 cat <<\_ACEOF
839     _ACEOF
840 guppy 1.72 fi
841    
842     if test -n "$ac_init_help"; then
843 wcc 1.106 case $ac_init_help in
844 wcc 1.117 short | recursive ) echo "Configuration of Eggdrop 1.6.17:";;
845 wcc 1.106 esac
846 wcc 1.82 cat <<\_ACEOF
847 guppy 1.72
848     Optional Features:
849     --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
850     --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
851 stdarg 1.96 --enable-strip enable stripping of executables
852 wcc 1.93 --disable-tcl-threads disable threaded Tcl support if detected
853 guppy 1.72
854     Optional Packages:
855     --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
856     --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
857     --with-tcllib=PATH full path to Tcl library
858     --with-tclinc=PATH full path to Tcl header
859    
860     Some influential environment variables:
861     CC C compiler command
862     CFLAGS C compiler flags
863     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
864     nonstandard directory <lib dir>
865     CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
866     headers in a nonstandard directory <include dir>
867     CPP C preprocessor
868    
869     Use these variables to override the choices made by `configure' or to help
870     it to find libraries and programs with nonstandard names/locations.
871    
872 wcc 1.106 Report bugs to <bugs@eggheads.org>.
873 wcc 1.82 _ACEOF
874 guppy 1.72 fi
875    
876     if test "$ac_init_help" = "recursive"; then
877     # If there are subdirs, report their specific --help.
878     ac_popdir=`pwd`
879 wcc 1.82 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 wcc 1.83 test -d $ac_dir || continue
881     ac_builddir=.
882    
883     if test "$ac_dir" != .; then
884     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
885 wcc 1.82 # A "../" for each directory in $ac_dir_suffix.
886 wcc 1.83 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
887 wcc 1.82 else
888     ac_dir_suffix= ac_top_builddir=
889     fi
890    
891     case $srcdir in
892     .) # No --srcdir option. We are building in place.
893     ac_srcdir=.
894     if test -z "$ac_top_builddir"; then
895     ac_top_srcdir=.
896     else
897     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
898     fi ;;
899     [\\/]* | ?:[\\/]* ) # Absolute path.
900     ac_srcdir=$srcdir$ac_dir_suffix;
901     ac_top_srcdir=$srcdir ;;
902     *) # Relative path.
903     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904     ac_top_srcdir=$ac_top_builddir$srcdir ;;
905     esac
906 wcc 1.105
907     # Do not use `cd foo && pwd` to compute absolute paths, because
908     # the directories may not exist.
909     case `pwd` in
910     .) ac_abs_builddir="$ac_dir";;
911     *)
912     case "$ac_dir" in
913     .) ac_abs_builddir=`pwd`;;
914     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915     *) ac_abs_builddir=`pwd`/"$ac_dir";;
916     esac;;
917     esac
918     case $ac_abs_builddir in
919     .) ac_abs_top_builddir=${ac_top_builddir}.;;
920     *)
921     case ${ac_top_builddir}. in
922     .) ac_abs_top_builddir=$ac_abs_builddir;;
923     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
925     esac;;
926     esac
927     case $ac_abs_builddir in
928     .) ac_abs_srcdir=$ac_srcdir;;
929     *)
930     case $ac_srcdir in
931     .) ac_abs_srcdir=$ac_abs_builddir;;
932     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
934     esac;;
935     esac
936     case $ac_abs_builddir in
937     .) ac_abs_top_srcdir=$ac_top_srcdir;;
938     *)
939     case $ac_top_srcdir in
940     .) ac_abs_top_srcdir=$ac_abs_builddir;;
941     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
943     esac;;
944     esac
945 guppy 1.72
946 wcc 1.83 cd $ac_dir
947 guppy 1.72 # Check for guested configure; otherwise get Cygnus style configure.
948 wcc 1.82 if test -f $ac_srcdir/configure.gnu; then
949 guppy 1.72 echo
950 wcc 1.82 $SHELL $ac_srcdir/configure.gnu --help=recursive
951     elif test -f $ac_srcdir/configure; then
952 guppy 1.72 echo
953 wcc 1.82 $SHELL $ac_srcdir/configure --help=recursive
954     elif test -f $ac_srcdir/configure.ac ||
955 wcc 1.105 test -f $ac_srcdir/configure.in; then
956 guppy 1.72 echo
957     $ac_configure --help
958     else
959 wcc 1.82 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
960 guppy 1.72 fi
961     cd $ac_popdir
962     done
963     fi
964    
965     test -n "$ac_init_help" && exit 0
966     if $ac_init_version; then
967 wcc 1.82 cat <<\_ACEOF
968 wcc 1.117 Eggdrop configure 1.6.17
969 wcc 1.106 generated by GNU Autoconf 2.59
970 guppy 1.72
971 wcc 1.105 Copyright (C) 2003 Free Software Foundation, Inc.
972 guppy 1.72 This configure script is free software; the Free Software Foundation
973     gives unlimited permission to copy, distribute and modify it.
974 wcc 1.106
975 wcc 1.110 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team
976 wcc 1.82 _ACEOF
977 guppy 1.72 exit 0
978     fi
979     exec 5>config.log
980 wcc 1.82 cat >&5 <<_ACEOF
981 guppy 1.72 This file contains any messages produced by compilers while
982     running configure, to aid debugging if configure makes a mistake.
983    
984 wcc 1.117 It was created by Eggdrop $as_me 1.6.17, which was
985 wcc 1.105 generated by GNU Autoconf 2.59. Invocation command line was
986 guppy 1.72
987     $ $0 $@
988    
989 wcc 1.82 _ACEOF
990 guppy 1.72 {
991     cat <<_ASUNAME
992 wcc 1.82 ## --------- ##
993     ## Platform. ##
994     ## --------- ##
995 guppy 1.72
996     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
997     uname -m = `(uname -m) 2>/dev/null || echo unknown`
998     uname -r = `(uname -r) 2>/dev/null || echo unknown`
999     uname -s = `(uname -s) 2>/dev/null || echo unknown`
1000     uname -v = `(uname -v) 2>/dev/null || echo unknown`
1001    
1002     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1003     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1004    
1005     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1006     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1007     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1008     hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1009     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1010     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1011     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1012    
1013 wcc 1.83 _ASUNAME
1014    
1015     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016     for as_dir in $PATH
1017     do
1018     IFS=$as_save_IFS
1019     test -z "$as_dir" && as_dir=.
1020     echo "PATH: $as_dir"
1021     done
1022 guppy 1.72
1023     } >&5
1024    
1025 wcc 1.82 cat >&5 <<_ACEOF
1026 wcc 1.83
1027    
1028 wcc 1.82 ## ----------- ##
1029     ## Core tests. ##
1030     ## ----------- ##
1031 guppy 1.72
1032 wcc 1.82 _ACEOF
1033 guppy 1.72
1034 wcc 1.83
1035 guppy 1.72 # Keep a trace of the command line.
1036     # Strip out --no-create and --no-recursion so they do not pile up.
1037 wcc 1.105 # Strip out --silent because we don't want to record it for future runs.
1038 guppy 1.72 # Also quote any args containing shell meta-characters.
1039 wcc 1.105 # Make two passes to allow for proper duplicate-argument suppression.
1040 guppy 1.72 ac_configure_args=
1041 wcc 1.105 ac_configure_args0=
1042     ac_configure_args1=
1043 guppy 1.72 ac_sep=
1044 wcc 1.105 ac_must_keep_next=false
1045     for ac_pass in 1 2
1046 guppy 1.72 do
1047 wcc 1.105 for ac_arg
1048     do
1049     case $ac_arg in
1050     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1051     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052     | -silent | --silent | --silen | --sile | --sil)
1053     continue ;;
1054     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1055     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1056     esac
1057     case $ac_pass in
1058     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1059     2)
1060     ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1061     if test $ac_must_keep_next = true; then
1062     ac_must_keep_next=false # Got value, back to normal.
1063     else
1064     case $ac_arg in
1065     *=* | --config-cache | -C | -disable-* | --disable-* \
1066     | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1067     | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1068     | -with-* | --with-* | -without-* | --without-* | --x)
1069     case "$ac_configure_args0 " in
1070     "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071     esac
1072     ;;
1073     -* ) ac_must_keep_next=true ;;
1074     esac
1075     fi
1076     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1077     # Get rid of the leading space.
1078     ac_sep=" "
1079     ;;
1080     esac
1081     done
1082 guppy 1.72 done
1083 wcc 1.105 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1084     $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1085 guppy 1.72
1086     # When interrupted or exit'd, cleanup temporary files, and complete
1087     # config.log. We remove comments because anyway the quotes in there
1088     # would cause problems or look ugly.
1089 wcc 1.82 # WARNING: Be sure not to use single quotes in there, as some shells,
1090     # such as our DU 5.0 friend, will then `close' the trap.
1091 guppy 1.72 trap 'exit_status=$?
1092     # Save into config.log some information that might help in debugging.
1093 wcc 1.82 {
1094     echo
1095 wcc 1.83
1096 wcc 1.82 cat <<\_ASBOX
1097     ## ---------------- ##
1098     ## Cache variables. ##
1099     ## ---------------- ##
1100     _ASBOX
1101     echo
1102     # The following way of writing the cache mishandles newlines in values,
1103 guppy 1.72 {
1104     (set) 2>&1 |
1105     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1106     *ac_space=\ *)
1107     sed -n \
1108 wcc 1.105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1109     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 guppy 1.72 ;;
1111     *)
1112     sed -n \
1113 wcc 1.105 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1114 guppy 1.72 ;;
1115     esac;
1116 wcc 1.82 }
1117     echo
1118 wcc 1.83
1119     cat <<\_ASBOX
1120     ## ----------------- ##
1121     ## Output variables. ##
1122     ## ----------------- ##
1123     _ASBOX
1124     echo
1125     for ac_var in $ac_subst_vars
1126     do
1127     eval ac_val=$`echo $ac_var`
1128     echo "$ac_var='"'"'$ac_val'"'"'"
1129     done | sort
1130     echo
1131    
1132     if test -n "$ac_subst_files"; then
1133     cat <<\_ASBOX
1134     ## ------------- ##
1135     ## Output files. ##
1136     ## ------------- ##
1137     _ASBOX
1138     echo
1139     for ac_var in $ac_subst_files
1140     do
1141     eval ac_val=$`echo $ac_var`
1142 wcc 1.105 echo "$ac_var='"'"'$ac_val'"'"'"
1143 wcc 1.83 done | sort
1144     echo
1145     fi
1146    
1147 wcc 1.82 if test -s confdefs.h; then
1148     cat <<\_ASBOX
1149     ## ----------- ##
1150     ## confdefs.h. ##
1151     ## ----------- ##
1152     _ASBOX
1153     echo
1154 wcc 1.83 sed "/^$/d" confdefs.h | sort
1155 wcc 1.82 echo
1156     fi
1157     test "$ac_signal" != 0 &&
1158     echo "$as_me: caught signal $ac_signal"
1159     echo "$as_me: exit $exit_status"
1160     } >&5
1161 wcc 1.105 rm -f core *.core &&
1162 wcc 1.83 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1163 guppy 1.72 exit $exit_status
1164     ' 0
1165     for ac_signal in 1 2 13 15; do
1166     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167     done
1168     ac_signal=0
1169    
1170     # confdefs.h avoids OS command line length limits that DEFS can exceed.
1171     rm -rf conftest* confdefs.h
1172     # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1173     echo >confdefs.h
1174 segfault 1.1
1175 wcc 1.83 # Predefined preprocessor variables.
1176    
1177     cat >>confdefs.h <<_ACEOF
1178     #define PACKAGE_NAME "$PACKAGE_NAME"
1179     _ACEOF
1180    
1181    
1182     cat >>confdefs.h <<_ACEOF
1183     #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184     _ACEOF
1185    
1186    
1187     cat >>confdefs.h <<_ACEOF
1188     #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189     _ACEOF
1190    
1191    
1192     cat >>confdefs.h <<_ACEOF
1193     #define PACKAGE_STRING "$PACKAGE_STRING"
1194     _ACEOF
1195    
1196    
1197     cat >>confdefs.h <<_ACEOF
1198     #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199     _ACEOF
1200    
1201    
1202 guppy 1.72 # Let the site file select an alternate cache file if it wants to.
1203 segfault 1.1 # Prefer explicitly selected file to automatically selected ones.
1204     if test -z "$CONFIG_SITE"; then
1205     if test "x$prefix" != xNONE; then
1206     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1207     else
1208     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1209     fi
1210     fi
1211     for ac_site_file in $CONFIG_SITE; do
1212     if test -r "$ac_site_file"; then
1213 wcc 1.83 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1214 guppy 1.72 echo "$as_me: loading site script $ac_site_file" >&6;}
1215 wcc 1.82 sed 's/^/| /' "$ac_site_file" >&5
1216 segfault 1.1 . "$ac_site_file"
1217     fi
1218     done
1219    
1220     if test -r "$cache_file"; then
1221 guppy 1.72 # Some versions of bash will fail to source /dev/null (special
1222     # files actually), so we avoid doing that.
1223     if test -f "$cache_file"; then
1224 wcc 1.83 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1225 guppy 1.72 echo "$as_me: loading cache $cache_file" >&6;}
1226     case $cache_file in
1227     [\\/]* | ?:[\\/]* ) . $cache_file;;
1228     *) . ./$cache_file;;
1229     esac
1230     fi
1231 segfault 1.1 else
1232 wcc 1.83 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1233 guppy 1.72 echo "$as_me: creating cache $cache_file" >&6;}
1234     >$cache_file
1235     fi
1236    
1237     # Check that the precious variables saved in the cache have kept the same
1238     # value.
1239     ac_cache_corrupted=false
1240     for ac_var in `(set) 2>&1 |
1241 wcc 1.105 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1242 guppy 1.72 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1243     eval ac_new_set=\$ac_env_${ac_var}_set
1244     eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1245     eval ac_new_val="\$ac_env_${ac_var}_value"
1246     case $ac_old_set,$ac_new_set in
1247     set,)
1248 wcc 1.83 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1249 guppy 1.72 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1250     ac_cache_corrupted=: ;;
1251     ,set)
1252 wcc 1.83 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1253 guppy 1.72 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1254     ac_cache_corrupted=: ;;
1255     ,);;
1256     *)
1257     if test "x$ac_old_val" != "x$ac_new_val"; then
1258 wcc 1.105 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1259 guppy 1.72 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1260 wcc 1.105 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1261 guppy 1.72 echo "$as_me: former value: $ac_old_val" >&2;}
1262 wcc 1.105 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1263 guppy 1.72 echo "$as_me: current value: $ac_new_val" >&2;}
1264 wcc 1.105 ac_cache_corrupted=:
1265 guppy 1.72 fi;;
1266     esac
1267 wcc 1.83 # Pass precious variables to config.status.
1268 guppy 1.72 if test "$ac_new_set" = set; then
1269     case $ac_new_val in
1270     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 wcc 1.83 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1272     *) ac_arg=$ac_var=$ac_new_val ;;
1273     esac
1274     case " $ac_configure_args " in
1275     *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1276     *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277 guppy 1.72 esac
1278     fi
1279     done
1280     if $ac_cache_corrupted; then
1281 wcc 1.83 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1282 guppy 1.72 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1283 wcc 1.83 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1284 guppy 1.72 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1285     { (exit 1); exit 1; }; }
1286 segfault 1.1 fi
1287    
1288     ac_ext=c
1289     ac_cpp='$CPP $CPPFLAGS'
1290 guppy 1.72 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1291     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1292     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1293    
1294 wcc 1.83
1295    
1296    
1297    
1298    
1299    
1300    
1301    
1302    
1303    
1304    
1305    
1306    
1307    
1308    
1309    
1310    
1311 segfault 1.1
1312 wcc 1.106
1313    
1314    
1315    
1316    
1317    
1318    
1319    
1320    
1321    
1322    
1323 fabian 1.27 ac_aux_dir=
1324     for ac_dir in misc $srcdir/misc; do
1325     if test -f $ac_dir/install-sh; then
1326     ac_aux_dir=$ac_dir
1327     ac_install_sh="$ac_aux_dir/install-sh -c"
1328     break
1329     elif test -f $ac_dir/install.sh; then
1330     ac_aux_dir=$ac_dir
1331     ac_install_sh="$ac_aux_dir/install.sh -c"
1332     break
1333 guppy 1.72 elif test -f $ac_dir/shtool; then
1334     ac_aux_dir=$ac_dir
1335     ac_install_sh="$ac_aux_dir/shtool install -c"
1336     break
1337 fabian 1.27 fi
1338     done
1339     if test -z "$ac_aux_dir"; then
1340 wcc 1.83 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in misc $srcdir/misc" >&5
1341 guppy 1.72 echo "$as_me: error: cannot find install-sh or install.sh in misc $srcdir/misc" >&2;}
1342     { (exit 1); exit 1; }; }
1343     fi
1344     ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1345     ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1346     ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1347    
1348 wcc 1.83 ac_config_headers="$ac_config_headers config.h"
1349    
1350    
1351 guppy 1.72
1352 wcc 1.113
1353 wcc 1.119 # Print start message
1354    
1355 wcc 1.113 echo "$as_me:$LINENO: result: " >&5
1356 wcc 1.107 echo "${ECHO_T}" >&6
1357 wcc 1.113 echo "$as_me:$LINENO: result: This is Eggdrop's GNU configure script." >&5
1358 wcc 1.107 echo "${ECHO_T}This is Eggdrop's GNU configure script." >&6
1359 wcc 1.113 echo "$as_me:$LINENO: result: It's going to run a bunch of tests to hopefully make your compile" >&5
1360 wcc 1.108 echo "${ECHO_T}It's going to run a bunch of tests to hopefully make your compile" >&6
1361 wcc 1.113 echo "$as_me:$LINENO: result: work without much twiddling." >&5
1362 wcc 1.108 echo "${ECHO_T}work without much twiddling." >&6
1363 wcc 1.113 echo "$as_me:$LINENO: result: " >&5
1364 wcc 1.108 echo "${ECHO_T}" >&6
1365 wcc 1.107
1366 wcc 1.113
1367     egg_ac_parameters=
1368     ac_prev=
1369     for ac_arg in $ac_configure_args; do
1370     if test -n "$ac_prev"; then
1371     ac_prev=
1372     continue
1373     fi
1374     case $ac_arg in
1375     -cache-file | --cache-file | --cache-fil | --cache-fi | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1376     ac_prev=cache_file ;;
1377     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1378     ;;
1379     --config-cache | -C)
1380     ;;
1381     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1382     ac_prev=srcdir ;;
1383     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1384     ;;
1385     *) egg_ac_parameters="$egg_ac_parameters $ac_arg" ;;
1386     esac
1387     done
1388    
1389 fabian 1.27
1390 wcc 1.83
1391    
1392 wcc 1.119
1393     # Check for a working C compiler
1394 guppy 1.72 ac_ext=c
1395     ac_cpp='$CPP $CPPFLAGS'
1396     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1397     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1398     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1399     if test -n "$ac_tool_prefix"; then
1400     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1401     set dummy ${ac_tool_prefix}gcc; ac_word=$2
1402 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1403 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1404     if test "${ac_cv_prog_CC+set}" = set; then
1405     echo $ECHO_N "(cached) $ECHO_C" >&6
1406     else
1407     if test -n "$CC"; then
1408     ac_cv_prog_CC="$CC" # Let the user override the test.
1409     else
1410 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1411     for as_dir in $PATH
1412     do
1413     IFS=$as_save_IFS
1414     test -z "$as_dir" && as_dir=.
1415     for ac_exec_ext in '' $ac_executable_extensions; do
1416     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1417     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1418     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1419     break 2
1420     fi
1421     done
1422 guppy 1.72 done
1423 fabian 1.14
1424 guppy 1.72 fi
1425     fi
1426     CC=$ac_cv_prog_CC
1427     if test -n "$CC"; then
1428 wcc 1.83 echo "$as_me:$LINENO: result: $CC" >&5
1429 guppy 1.72 echo "${ECHO_T}$CC" >&6
1430     else
1431 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1432 guppy 1.72 echo "${ECHO_T}no" >&6
1433     fi
1434 segfault 1.1
1435 guppy 1.72 fi
1436     if test -z "$ac_cv_prog_CC"; then
1437     ac_ct_CC=$CC
1438     # Extract the first word of "gcc", so it can be a program name with args.
1439     set dummy gcc; ac_word=$2
1440 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1441 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1442     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1443     echo $ECHO_N "(cached) $ECHO_C" >&6
1444     else
1445     if test -n "$ac_ct_CC"; then
1446     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1447     else
1448 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1449     for as_dir in $PATH
1450     do
1451     IFS=$as_save_IFS
1452     test -z "$as_dir" && as_dir=.
1453     for ac_exec_ext in '' $ac_executable_extensions; do
1454     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1455     ac_cv_prog_ac_ct_CC="gcc"
1456     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1457     break 2
1458     fi
1459     done
1460 guppy 1.72 done
1461 segfault 1.1
1462 guppy 1.72 fi
1463     fi
1464     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1465     if test -n "$ac_ct_CC"; then
1466 wcc 1.83 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1467 guppy 1.72 echo "${ECHO_T}$ac_ct_CC" >&6
1468     else
1469 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1470 guppy 1.72 echo "${ECHO_T}no" >&6
1471     fi
1472 fabian 1.3
1473 guppy 1.72 CC=$ac_ct_CC
1474     else
1475     CC="$ac_cv_prog_CC"
1476     fi
1477 fabian 1.14
1478 guppy 1.72 if test -z "$CC"; then
1479     if test -n "$ac_tool_prefix"; then
1480     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1481     set dummy ${ac_tool_prefix}cc; ac_word=$2
1482 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1483 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1484     if test "${ac_cv_prog_CC+set}" = set; then
1485     echo $ECHO_N "(cached) $ECHO_C" >&6
1486 segfault 1.1 else
1487     if test -n "$CC"; then
1488     ac_cv_prog_CC="$CC" # Let the user override the test.
1489     else
1490 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491     for as_dir in $PATH
1492     do
1493     IFS=$as_save_IFS
1494     test -z "$as_dir" && as_dir=.
1495     for ac_exec_ext in '' $ac_executable_extensions; do
1496     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1497     ac_cv_prog_CC="${ac_tool_prefix}cc"
1498     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1499     break 2
1500     fi
1501     done
1502 guppy 1.72 done
1503    
1504 segfault 1.1 fi
1505     fi
1506 guppy 1.72 CC=$ac_cv_prog_CC
1507 segfault 1.1 if test -n "$CC"; then
1508 wcc 1.83 echo "$as_me:$LINENO: result: $CC" >&5
1509 guppy 1.72 echo "${ECHO_T}$CC" >&6
1510     else
1511 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1512 guppy 1.72 echo "${ECHO_T}no" >&6
1513     fi
1514    
1515     fi
1516     if test -z "$ac_cv_prog_CC"; then
1517     ac_ct_CC=$CC
1518     # Extract the first word of "cc", so it can be a program name with args.
1519     set dummy cc; ac_word=$2
1520 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1523     echo $ECHO_N "(cached) $ECHO_C" >&6
1524     else
1525     if test -n "$ac_ct_CC"; then
1526     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1527     else
1528 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1529     for as_dir in $PATH
1530     do
1531     IFS=$as_save_IFS
1532     test -z "$as_dir" && as_dir=.
1533     for ac_exec_ext in '' $ac_executable_extensions; do
1534     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535     ac_cv_prog_ac_ct_CC="cc"
1536     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1537     break 2
1538     fi
1539     done
1540 guppy 1.72 done
1541    
1542     fi
1543     fi
1544     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1545     if test -n "$ac_ct_CC"; then
1546 wcc 1.83 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1547 guppy 1.72 echo "${ECHO_T}$ac_ct_CC" >&6
1548     else
1549 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1550 guppy 1.72 echo "${ECHO_T}no" >&6
1551     fi
1552    
1553     CC=$ac_ct_CC
1554 segfault 1.1 else
1555 guppy 1.72 CC="$ac_cv_prog_CC"
1556 segfault 1.1 fi
1557    
1558 guppy 1.72 fi
1559 segfault 1.1 if test -z "$CC"; then
1560     # Extract the first word of "cc", so it can be a program name with args.
1561     set dummy cc; ac_word=$2
1562 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1563 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1564     if test "${ac_cv_prog_CC+set}" = set; then
1565     echo $ECHO_N "(cached) $ECHO_C" >&6
1566 segfault 1.1 else
1567     if test -n "$CC"; then
1568     ac_cv_prog_CC="$CC" # Let the user override the test.
1569     else
1570     ac_prog_rejected=no
1571 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1572     for as_dir in $PATH
1573     do
1574     IFS=$as_save_IFS
1575     test -z "$as_dir" && as_dir=.
1576     for ac_exec_ext in '' $ac_executable_extensions; do
1577     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1578     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1579     ac_prog_rejected=yes
1580     continue
1581     fi
1582     ac_cv_prog_CC="cc"
1583     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1584     break 2
1585     fi
1586     done
1587 guppy 1.72 done
1588    
1589 segfault 1.1 if test $ac_prog_rejected = yes; then
1590     # We found a bogon in the path, so make sure we never use it.
1591     set dummy $ac_cv_prog_CC
1592     shift
1593 guppy 1.72 if test $# != 0; then
1594 segfault 1.1 # We chose a different compiler from the bogus one.
1595     # However, it has the same basename, so the bogon will be chosen
1596     # first if we set CC to just the basename; use the full file name.
1597     shift
1598 wcc 1.83 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1599 segfault 1.1 fi
1600     fi
1601     fi
1602     fi
1603 guppy 1.72 CC=$ac_cv_prog_CC
1604 segfault 1.1 if test -n "$CC"; then
1605 wcc 1.83 echo "$as_me:$LINENO: result: $CC" >&5
1606 guppy 1.72 echo "${ECHO_T}$CC" >&6
1607 segfault 1.1 else
1608 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1609 guppy 1.72 echo "${ECHO_T}no" >&6
1610 segfault 1.1 fi
1611    
1612 guppy 1.72 fi
1613     if test -z "$CC"; then
1614     if test -n "$ac_tool_prefix"; then
1615     for ac_prog in cl
1616     do
1617     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1618     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1619 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1620 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1621     if test "${ac_cv_prog_CC+set}" = set; then
1622     echo $ECHO_N "(cached) $ECHO_C" >&6
1623 segfault 1.1 else
1624     if test -n "$CC"; then
1625     ac_cv_prog_CC="$CC" # Let the user override the test.
1626     else
1627 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1628     for as_dir in $PATH
1629     do
1630     IFS=$as_save_IFS
1631     test -z "$as_dir" && as_dir=.
1632     for ac_exec_ext in '' $ac_executable_extensions; do
1633     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1634     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1635     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1636     break 2
1637     fi
1638     done
1639 guppy 1.72 done
1640    
1641 segfault 1.1 fi
1642     fi
1643 guppy 1.72 CC=$ac_cv_prog_CC
1644 segfault 1.1 if test -n "$CC"; then
1645 wcc 1.83 echo "$as_me:$LINENO: result: $CC" >&5
1646 guppy 1.72 echo "${ECHO_T}$CC" >&6
1647 segfault 1.1 else
1648 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1649 guppy 1.72 echo "${ECHO_T}no" >&6
1650 segfault 1.1 fi
1651 guppy 1.72
1652     test -n "$CC" && break
1653     done
1654 segfault 1.1 fi
1655 guppy 1.72 if test -z "$CC"; then
1656     ac_ct_CC=$CC
1657     for ac_prog in cl
1658     do
1659     # Extract the first word of "$ac_prog", so it can be a program name with args.
1660     set dummy $ac_prog; ac_word=$2
1661 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1662 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1664     echo $ECHO_N "(cached) $ECHO_C" >&6
1665     else
1666     if test -n "$ac_ct_CC"; then
1667     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1668     else
1669 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670     for as_dir in $PATH
1671     do
1672     IFS=$as_save_IFS
1673     test -z "$as_dir" && as_dir=.
1674     for ac_exec_ext in '' $ac_executable_extensions; do
1675     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1676     ac_cv_prog_ac_ct_CC="$ac_prog"
1677     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678     break 2
1679     fi
1680     done
1681 guppy 1.72 done
1682 segfault 1.1
1683     fi
1684 guppy 1.72 fi
1685     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1686     if test -n "$ac_ct_CC"; then
1687 wcc 1.83 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1688 guppy 1.72 echo "${ECHO_T}$ac_ct_CC" >&6
1689 segfault 1.1 else
1690 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1691 guppy 1.72 echo "${ECHO_T}no" >&6
1692 segfault 1.1 fi
1693    
1694 guppy 1.72 test -n "$ac_ct_CC" && break
1695     done
1696 segfault 1.1
1697 guppy 1.72 CC=$ac_ct_CC
1698 segfault 1.1 fi
1699    
1700 guppy 1.72 fi
1701    
1702 wcc 1.83
1703 wcc 1.105 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1704     See \`config.log' for more details." >&5
1705     echo "$as_me: error: no acceptable C compiler found in \$PATH
1706     See \`config.log' for more details." >&2;}
1707 guppy 1.72 { (exit 1); exit 1; }; }
1708    
1709     # Provide some information about the compiler.
1710 wcc 1.83 echo "$as_me:$LINENO:" \
1711 guppy 1.72 "checking for C compiler version" >&5
1712     ac_compiler=`set X $ac_compile; echo $2`
1713 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1714 guppy 1.72 (eval $ac_compiler --version </dev/null >&5) 2>&5
1715     ac_status=$?
1716 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717 guppy 1.72 (exit $ac_status); }
1718 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1719 guppy 1.72 (eval $ac_compiler -v </dev/null >&5) 2>&5
1720     ac_status=$?
1721 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1722 guppy 1.72 (exit $ac_status); }
1723 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1724 guppy 1.72 (eval $ac_compiler -V </dev/null >&5) 2>&5
1725     ac_status=$?
1726 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1727 guppy 1.72 (exit $ac_status); }
1728    
1729     cat >conftest.$ac_ext <<_ACEOF
1730 wcc 1.105 /* confdefs.h. */
1731     _ACEOF
1732     cat confdefs.h >>conftest.$ac_ext
1733     cat >>conftest.$ac_ext <<_ACEOF
1734     /* end confdefs.h. */
1735 guppy 1.72
1736     int
1737     main ()
1738     {
1739    
1740     ;
1741     return 0;
1742     }
1743     _ACEOF
1744     ac_clean_files_save=$ac_clean_files
1745 wcc 1.105 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1746 guppy 1.72 # Try to create an executable without -o first, disregard a.out.
1747     # It will help us diagnose broken compilers, and finding out an intuition
1748     # of exeext.
1749 wcc 1.105 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1750     echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1751 guppy 1.72 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1752 wcc 1.83 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1753 guppy 1.72 (eval $ac_link_default) 2>&5
1754     ac_status=$?
1755 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1756 guppy 1.72 (exit $ac_status); }; then
1757     # Find the output, starting from the most likely. This scheme is
1758     # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1759     # resort.
1760 wcc 1.83
1761     # Be careful to initialize this variable, since it used to be cached.
1762     # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1763     ac_cv_exeext=
1764 wcc 1.105 # b.out is created by i960 compilers.
1765     for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1766     do
1767 wcc 1.83 test -f "$ac_file" || continue
1768 guppy 1.72 case $ac_file in
1769 wcc 1.105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1770     ;;
1771     conftest.$ac_ext )
1772     # This is the source file.
1773     ;;
1774     [ab].out )
1775     # We found the default executable, but exeext='' is most
1776     # certainly right.
1777     break;;
1778     *.* )
1779     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1780     # FIXME: I believe we export ac_cv_exeext for Libtool,
1781     # but it would be cool to find out if it's true. Does anybody
1782     # maintain Libtool? --akim.
1783     export ac_cv_exeext
1784     break;;
1785     * )
1786     break;;
1787 guppy 1.72 esac
1788     done
1789     else
1790     echo "$as_me: failed program was:" >&5
1791 wcc 1.105 sed 's/^/| /' conftest.$ac_ext >&5
1792    
1793 wcc 1.83 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1794 wcc 1.105 See \`config.log' for more details." >&5
1795 wcc 1.83 echo "$as_me: error: C compiler cannot create executables
1796 wcc 1.105 See \`config.log' for more details." >&2;}
1797 guppy 1.72 { (exit 77); exit 77; }; }
1798     fi
1799    
1800     ac_exeext=$ac_cv_exeext
1801 wcc 1.83 echo "$as_me:$LINENO: result: $ac_file" >&5
1802 guppy 1.72 echo "${ECHO_T}$ac_file" >&6
1803    
1804     # Check the compiler produces executables we can run. If not, either
1805     # the compiler is broken, or we cross compile.
1806 wcc 1.83 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1807 guppy 1.72 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1808     # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1809     # If not cross compiling, check that we can run a simple program.
1810     if test "$cross_compiling" != yes; then
1811     if { ac_try='./$ac_file'
1812 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1813 guppy 1.72 (eval $ac_try) 2>&5
1814     ac_status=$?
1815 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1816 guppy 1.72 (exit $ac_status); }; }; then
1817     cross_compiling=no
1818     else
1819     if test "$cross_compiling" = maybe; then
1820     cross_compiling=yes
1821     else
1822 wcc 1.83 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1823 wcc 1.105 If you meant to cross compile, use \`--host'.
1824     See \`config.log' for more details." >&5
1825 guppy 1.72 echo "$as_me: error: cannot run C compiled programs.
1826 wcc 1.105 If you meant to cross compile, use \`--host'.
1827     See \`config.log' for more details." >&2;}
1828 guppy 1.72 { (exit 1); exit 1; }; }
1829     fi
1830     fi
1831     fi
1832 wcc 1.83 echo "$as_me:$LINENO: result: yes" >&5
1833 guppy 1.72 echo "${ECHO_T}yes" >&6
1834    
1835 wcc 1.105 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1836 guppy 1.72 ac_clean_files=$ac_clean_files_save
1837     # Check the compiler produces executables we can run. If not, either
1838     # the compiler is broken, or we cross compile.
1839 wcc 1.83 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1840 guppy 1.72 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1841 wcc 1.83 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1842 guppy 1.72 echo "${ECHO_T}$cross_compiling" >&6
1843    
1844 wcc 1.83 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1845     echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1846     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1847 guppy 1.72 (eval $ac_link) 2>&5
1848     ac_status=$?
1849 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1850 guppy 1.72 (exit $ac_status); }; then
1851     # If both `conftest.exe' and `conftest' are `present' (well, observable)
1852     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1853     # work properly (i.e., refer to `conftest.exe'), while it won't with
1854     # `rm'.
1855 wcc 1.83 for ac_file in conftest.exe conftest conftest.*; do
1856     test -f "$ac_file" || continue
1857 guppy 1.72 case $ac_file in
1858 wcc 1.83 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1859 guppy 1.72 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1860 wcc 1.105 export ac_cv_exeext
1861     break;;
1862 guppy 1.72 * ) break;;
1863     esac
1864     done
1865     else
1866 wcc 1.105 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1867     See \`config.log' for more details." >&5
1868     echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1869     See \`config.log' for more details." >&2;}
1870 guppy 1.72 { (exit 1); exit 1; }; }
1871     fi
1872    
1873     rm -f conftest$ac_cv_exeext
1874 wcc 1.83 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1875 guppy 1.72 echo "${ECHO_T}$ac_cv_exeext" >&6
1876    
1877     rm -f conftest.$ac_ext
1878     EXEEXT=$ac_cv_exeext
1879     ac_exeext=$EXEEXT
1880 wcc 1.83 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1881     echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1882 guppy 1.72 if test "${ac_cv_objext+set}" = set; then
1883     echo $ECHO_N "(cached) $ECHO_C" >&6
1884     else
1885     cat >conftest.$ac_ext <<_ACEOF
1886 wcc 1.105 /* confdefs.h. */
1887     _ACEOF
1888     cat confdefs.h >>conftest.$ac_ext
1889     cat >>conftest.$ac_ext <<_ACEOF
1890     /* end confdefs.h. */
1891 guppy 1.72
1892     int
1893     main ()
1894     {
1895    
1896     ;
1897     return 0;
1898     }
1899     _ACEOF
1900     rm -f conftest.o conftest.obj
1901 wcc 1.83 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1902 guppy 1.72 (eval $ac_compile) 2>&5
1903     ac_status=$?
1904 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1905 guppy 1.72 (exit $ac_status); }; then
1906     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1907     case $ac_file in
1908 wcc 1.83 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1909 guppy 1.72 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1910     break;;
1911     esac
1912     done
1913 segfault 1.1 else
1914 guppy 1.72 echo "$as_me: failed program was:" >&5
1915 wcc 1.105 sed 's/^/| /' conftest.$ac_ext >&5
1916    
1917     { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1918     See \`config.log' for more details." >&5
1919     echo "$as_me: error: cannot compute suffix of object files: cannot compile
1920     See \`config.log' for more details." >&2;}
1921 guppy 1.72 { (exit 1); exit 1; }; }
1922     fi
1923    
1924     rm -f conftest.$ac_cv_objext conftest.$ac_ext
1925     fi
1926 wcc 1.83 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1927 guppy 1.72 echo "${ECHO_T}$ac_cv_objext" >&6
1928     OBJEXT=$ac_cv_objext
1929     ac_objext=$OBJEXT
1930 wcc 1.83 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1931 guppy 1.72 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1932     if test "${ac_cv_c_compiler_gnu+set}" = set; then
1933     echo $ECHO_N "(cached) $ECHO_C" >&6
1934     else
1935     cat >conftest.$ac_ext <<_ACEOF
1936 wcc 1.105 /* confdefs.h. */
1937     _ACEOF
1938     cat confdefs.h >>conftest.$ac_ext
1939     cat >>conftest.$ac_ext <<_ACEOF
1940     /* end confdefs.h. */
1941 guppy 1.72
1942     int
1943     main ()
1944     {
1945     #ifndef __GNUC__
1946     choke me
1947     #endif
1948    
1949     ;
1950     return 0;
1951     }
1952     _ACEOF
1953     rm -f conftest.$ac_objext
1954 wcc 1.83 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1955 wcc 1.105 (eval $ac_compile) 2>conftest.er1
1956 guppy 1.72 ac_status=$?
1957 wcc 1.105 grep -v '^ *+' conftest.er1 >conftest.err
1958     rm -f conftest.er1
1959     cat conftest.err >&5
1960 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1961 guppy 1.72 (exit $ac_status); } &&
1962 wcc 1.105 { ac_try='test -z "$ac_c_werror_flag"
1963     || test ! -s conftest.err'
1964     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1965     (eval $ac_try) 2>&5
1966     ac_status=$?
1967     echo "$as_me:$LINENO: \$? = $ac_status" >&5
1968     (exit $ac_status); }; } &&
1969     { ac_try='test -s conftest.$ac_objext'
1970 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1971 guppy 1.72 (eval $ac_try) 2>&5
1972     ac_status=$?
1973 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1974 guppy 1.72 (exit $ac_status); }; }; then
1975     ac_compiler_gnu=yes
1976     else
1977     echo "$as_me: failed program was:" >&5
1978 wcc 1.105 sed 's/^/| /' conftest.$ac_ext >&5
1979    
1980 guppy 1.72 ac_compiler_gnu=no
1981     fi
1982 wcc 1.105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1983 guppy 1.72 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1984    
1985     fi
1986 wcc 1.83 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1987 guppy 1.72 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1988     GCC=`test $ac_compiler_gnu = yes && echo yes`
1989     ac_test_CFLAGS=${CFLAGS+set}
1990     ac_save_CFLAGS=$CFLAGS
1991     CFLAGS="-g"
1992 wcc 1.83 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1993 guppy 1.72 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1994     if test "${ac_cv_prog_cc_g+set}" = set; then
1995     echo $ECHO_N "(cached) $ECHO_C" >&6
1996     else
1997     cat >conftest.$ac_ext <<_ACEOF
1998 wcc 1.105 /* confdefs.h. */
1999     _ACEOF
2000     cat confdefs.h >>conftest.$ac_ext
2001     cat >>conftest.$ac_ext <<_ACEOF
2002     /* end confdefs.h. */
2003 guppy 1.72
2004     int
2005     main ()
2006     {
2007    
2008     ;
2009     return 0;
2010     }
2011     _ACEOF
2012     rm -f conftest.$ac_objext
2013 wcc 1.83 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2014 wcc 1.105 (eval $ac_compile) 2>conftest.er1
2015 guppy 1.72 ac_status=$?
2016 wcc 1.105 grep -v '^ *+' conftest.er1 >conftest.err
2017     rm -f conftest.er1
2018     cat conftest.err >&5
2019 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 guppy 1.72 (exit $ac_status); } &&
2021 wcc 1.105 { ac_try='test -z "$ac_c_werror_flag"
2022     || test ! -s conftest.err'
2023     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2024     (eval $ac_try) 2>&5
2025     ac_status=$?
2026     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027     (exit $ac_status); }; } &&
2028     { ac_try='test -s conftest.$ac_objext'
2029 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2030 guppy 1.72 (eval $ac_try) 2>&5
2031     ac_status=$?
2032 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033 guppy 1.72 (exit $ac_status); }; }; then
2034 segfault 1.1 ac_cv_prog_cc_g=yes
2035     else
2036 guppy 1.72 echo "$as_me: failed program was:" >&5
2037 wcc 1.105 sed 's/^/| /' conftest.$ac_ext >&5
2038    
2039 guppy 1.72 ac_cv_prog_cc_g=no
2040 segfault 1.1 fi
2041 wcc 1.105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2042 segfault 1.1 fi
2043 wcc 1.83 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2044 guppy 1.72 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2045 segfault 1.1 if test "$ac_test_CFLAGS" = set; then
2046 guppy 1.72 CFLAGS=$ac_save_CFLAGS
2047 segfault 1.1 elif test $ac_cv_prog_cc_g = yes; then
2048     if test "$GCC" = yes; then
2049     CFLAGS="-g -O2"
2050     else
2051     CFLAGS="-g"
2052     fi
2053     else
2054     if test "$GCC" = yes; then
2055     CFLAGS="-O2"
2056     else
2057     CFLAGS=
2058     fi
2059     fi
2060 wcc 1.83 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2061     echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2062     if test "${ac_cv_prog_cc_stdc+set}" = set; then
2063     echo $ECHO_N "(cached) $ECHO_C" >&6
2064     else
2065     ac_cv_prog_cc_stdc=no
2066     ac_save_CC=$CC
2067     cat >conftest.$ac_ext <<_ACEOF
2068 wcc 1.105 /* confdefs.h. */
2069     _ACEOF
2070     cat confdefs.h >>conftest.$ac_ext
2071     cat >>conftest.$ac_ext <<_ACEOF
2072     /* end confdefs.h. */
2073 wcc 1.83 #include <stdarg.h>
2074     #include <stdio.h>
2075     #include <sys/types.h>
2076     #include <sys/stat.h>
2077     /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2078     struct buf { int x; };
2079     FILE * (*rcsopen) (struct buf *, struct stat *, int);
2080     static char *e (p, i)
2081     char **p;
2082     int i;
2083     {
2084     return p[i];
2085     }