/[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.109 - (hide annotations) (download)
Fri Jan 9 02:01:44 2004 UTC (16 years, 1 month ago) by wcc
Branch: MAIN
Changes since 1.108: +2 -5 lines
* configure.in -> configure.ac

1 segfault 1.1 #! /bin/sh
2 wcc 1.109 # From configure.ac Revision: 1.60 .
3 segfault 1.1 # Guess values for system-dependent variables and create Makefiles.
4 wcc 1.106 # Generated by GNU Autoconf 2.59 for Eggdrop 1.6.16.
5     #
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     # Copyright (C) 1999, 2000, 2001, 2002, 2003 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     PACKAGE_VERSION='1.6.16'
276     PACKAGE_STRING='Eggdrop 1.6.16'
277     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.106 \`configure' configures Eggdrop 1.6.16 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     short | recursive ) echo "Configuration of Eggdrop 1.6.16:";;
845     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.106 Eggdrop configure 1.6.16
969     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     Copyright (C) 1999, 2000, 2001, 2002, 2003 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.106 It was created by Eggdrop $as_me 1.6.16, 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.107 echo "$as_me:$LINENO: result: " >&5
1353     echo "${ECHO_T}" >&6
1354     echo "$as_me:$LINENO: result: This is Eggdrop's GNU configure script." >&5
1355     echo "${ECHO_T}This is Eggdrop's GNU configure script." >&6
1356 wcc 1.108 echo "$as_me:$LINENO: result: It's going to run a bunch of tests to hopefully make your compile" >&5
1357     echo "${ECHO_T}It's going to run a bunch of tests to hopefully make your compile" >&6
1358     echo "$as_me:$LINENO: result: work without much twiddling." >&5
1359     echo "${ECHO_T}work without much twiddling." >&6
1360     echo "$as_me:$LINENO: result: " >&5
1361     echo "${ECHO_T}" >&6
1362 wcc 1.107
1363     egg_ac_parameters=
1364     ac_prev=
1365     for ac_arg in $ac_configure_args; do
1366 wcc 1.108 if test -n "$ac_prev"; then
1367 wcc 1.106 ac_prev=
1368     continue
1369     fi
1370     case $ac_arg in
1371 wcc 1.108 -cache-file | --cache-file | --cache-fil | --cache-fi | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1372 wcc 1.106 ac_prev=cache_file ;;
1373     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1374     ;;
1375     --config-cache | -C)
1376     ;;
1377     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1378     ac_prev=srcdir ;;
1379     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1380     ;;
1381     *) egg_ac_parameters="$egg_ac_parameters $ac_arg" ;;
1382     esac
1383     done
1384 fabian 1.27
1385 wcc 1.83
1386    
1387 guppy 1.72 # Setup build environment
1388     ac_ext=c
1389     ac_cpp='$CPP $CPPFLAGS'
1390     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1391     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1392     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1393     if test -n "$ac_tool_prefix"; then
1394     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1395     set dummy ${ac_tool_prefix}gcc; ac_word=$2
1396 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1397 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1398     if test "${ac_cv_prog_CC+set}" = set; then
1399     echo $ECHO_N "(cached) $ECHO_C" >&6
1400     else
1401     if test -n "$CC"; then
1402     ac_cv_prog_CC="$CC" # Let the user override the test.
1403     else
1404 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1405     for as_dir in $PATH
1406     do
1407     IFS=$as_save_IFS
1408     test -z "$as_dir" && as_dir=.
1409     for ac_exec_ext in '' $ac_executable_extensions; do
1410     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1411     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1412     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1413     break 2
1414     fi
1415     done
1416 guppy 1.72 done
1417 fabian 1.14
1418 guppy 1.72 fi
1419     fi
1420     CC=$ac_cv_prog_CC
1421     if test -n "$CC"; then
1422 wcc 1.83 echo "$as_me:$LINENO: result: $CC" >&5
1423 guppy 1.72 echo "${ECHO_T}$CC" >&6
1424     else
1425 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1426 guppy 1.72 echo "${ECHO_T}no" >&6
1427     fi
1428 segfault 1.1
1429 guppy 1.72 fi
1430     if test -z "$ac_cv_prog_CC"; then
1431     ac_ct_CC=$CC
1432     # Extract the first word of "gcc", so it can be a program name with args.
1433     set dummy gcc; ac_word=$2
1434 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1435 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1436     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1437     echo $ECHO_N "(cached) $ECHO_C" >&6
1438     else
1439     if test -n "$ac_ct_CC"; then
1440     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1441     else
1442 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1443     for as_dir in $PATH
1444     do
1445     IFS=$as_save_IFS
1446     test -z "$as_dir" && as_dir=.
1447     for ac_exec_ext in '' $ac_executable_extensions; do
1448     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1449     ac_cv_prog_ac_ct_CC="gcc"
1450     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1451     break 2
1452     fi
1453     done
1454 guppy 1.72 done
1455 segfault 1.1
1456 guppy 1.72 fi
1457     fi
1458     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1459     if test -n "$ac_ct_CC"; then
1460 wcc 1.83 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1461 guppy 1.72 echo "${ECHO_T}$ac_ct_CC" >&6
1462     else
1463 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1464 guppy 1.72 echo "${ECHO_T}no" >&6
1465     fi
1466 fabian 1.3
1467 guppy 1.72 CC=$ac_ct_CC
1468     else
1469     CC="$ac_cv_prog_CC"
1470     fi
1471 fabian 1.14
1472 guppy 1.72 if test -z "$CC"; then
1473     if test -n "$ac_tool_prefix"; then
1474     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1475     set dummy ${ac_tool_prefix}cc; ac_word=$2
1476 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1477 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1478     if test "${ac_cv_prog_CC+set}" = set; then
1479     echo $ECHO_N "(cached) $ECHO_C" >&6
1480 segfault 1.1 else
1481     if test -n "$CC"; then
1482     ac_cv_prog_CC="$CC" # Let the user override the test.
1483     else
1484 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1485     for as_dir in $PATH
1486     do
1487     IFS=$as_save_IFS
1488     test -z "$as_dir" && as_dir=.
1489     for ac_exec_ext in '' $ac_executable_extensions; do
1490     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1491     ac_cv_prog_CC="${ac_tool_prefix}cc"
1492     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1493     break 2
1494     fi
1495     done
1496 guppy 1.72 done
1497    
1498 segfault 1.1 fi
1499     fi
1500 guppy 1.72 CC=$ac_cv_prog_CC
1501 segfault 1.1 if test -n "$CC"; then
1502 wcc 1.83 echo "$as_me:$LINENO: result: $CC" >&5
1503 guppy 1.72 echo "${ECHO_T}$CC" >&6
1504     else
1505 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1506 guppy 1.72 echo "${ECHO_T}no" >&6
1507     fi
1508    
1509     fi
1510     if test -z "$ac_cv_prog_CC"; then
1511     ac_ct_CC=$CC
1512     # Extract the first word of "cc", so it can be a program name with args.
1513     set dummy cc; ac_word=$2
1514 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1515 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1516     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1517     echo $ECHO_N "(cached) $ECHO_C" >&6
1518     else
1519     if test -n "$ac_ct_CC"; then
1520     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1521     else
1522 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1523     for as_dir in $PATH
1524     do
1525     IFS=$as_save_IFS
1526     test -z "$as_dir" && as_dir=.
1527     for ac_exec_ext in '' $ac_executable_extensions; do
1528     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1529     ac_cv_prog_ac_ct_CC="cc"
1530     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1531     break 2
1532     fi
1533     done
1534 guppy 1.72 done
1535    
1536     fi
1537     fi
1538     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1539     if test -n "$ac_ct_CC"; then
1540 wcc 1.83 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1541 guppy 1.72 echo "${ECHO_T}$ac_ct_CC" >&6
1542     else
1543 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1544 guppy 1.72 echo "${ECHO_T}no" >&6
1545     fi
1546    
1547     CC=$ac_ct_CC
1548 segfault 1.1 else
1549 guppy 1.72 CC="$ac_cv_prog_CC"
1550 segfault 1.1 fi
1551    
1552 guppy 1.72 fi
1553 segfault 1.1 if test -z "$CC"; then
1554     # Extract the first word of "cc", so it can be a program name with args.
1555     set dummy cc; ac_word=$2
1556 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558     if test "${ac_cv_prog_CC+set}" = set; then
1559     echo $ECHO_N "(cached) $ECHO_C" >&6
1560 segfault 1.1 else
1561     if test -n "$CC"; then
1562     ac_cv_prog_CC="$CC" # Let the user override the test.
1563     else
1564     ac_prog_rejected=no
1565 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1566     for as_dir in $PATH
1567     do
1568     IFS=$as_save_IFS
1569     test -z "$as_dir" && as_dir=.
1570     for ac_exec_ext in '' $ac_executable_extensions; do
1571     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1572     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1573     ac_prog_rejected=yes
1574     continue
1575     fi
1576     ac_cv_prog_CC="cc"
1577     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1578     break 2
1579     fi
1580     done
1581 guppy 1.72 done
1582    
1583 segfault 1.1 if test $ac_prog_rejected = yes; then
1584     # We found a bogon in the path, so make sure we never use it.
1585     set dummy $ac_cv_prog_CC
1586     shift
1587 guppy 1.72 if test $# != 0; then
1588 segfault 1.1 # We chose a different compiler from the bogus one.
1589     # However, it has the same basename, so the bogon will be chosen
1590     # first if we set CC to just the basename; use the full file name.
1591     shift
1592 wcc 1.83 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1593 segfault 1.1 fi
1594     fi
1595     fi
1596     fi
1597 guppy 1.72 CC=$ac_cv_prog_CC
1598 segfault 1.1 if test -n "$CC"; then
1599 wcc 1.83 echo "$as_me:$LINENO: result: $CC" >&5
1600 guppy 1.72 echo "${ECHO_T}$CC" >&6
1601 segfault 1.1 else
1602 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1603 guppy 1.72 echo "${ECHO_T}no" >&6
1604 segfault 1.1 fi
1605    
1606 guppy 1.72 fi
1607     if test -z "$CC"; then
1608     if test -n "$ac_tool_prefix"; then
1609     for ac_prog in cl
1610     do
1611     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1612     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1613 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1614 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1615     if test "${ac_cv_prog_CC+set}" = set; then
1616     echo $ECHO_N "(cached) $ECHO_C" >&6
1617 segfault 1.1 else
1618     if test -n "$CC"; then
1619     ac_cv_prog_CC="$CC" # Let the user override the test.
1620     else
1621 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622     for as_dir in $PATH
1623     do
1624     IFS=$as_save_IFS
1625     test -z "$as_dir" && as_dir=.
1626     for ac_exec_ext in '' $ac_executable_extensions; do
1627     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1628     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1629     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630     break 2
1631     fi
1632     done
1633 guppy 1.72 done
1634    
1635 segfault 1.1 fi
1636     fi
1637 guppy 1.72 CC=$ac_cv_prog_CC
1638 segfault 1.1 if test -n "$CC"; then
1639 wcc 1.83 echo "$as_me:$LINENO: result: $CC" >&5
1640 guppy 1.72 echo "${ECHO_T}$CC" >&6
1641 segfault 1.1 else
1642 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1643 guppy 1.72 echo "${ECHO_T}no" >&6
1644 segfault 1.1 fi
1645 guppy 1.72
1646     test -n "$CC" && break
1647     done
1648 segfault 1.1 fi
1649 guppy 1.72 if test -z "$CC"; then
1650     ac_ct_CC=$CC
1651     for ac_prog in cl
1652     do
1653     # Extract the first word of "$ac_prog", so it can be a program name with args.
1654     set dummy $ac_prog; ac_word=$2
1655 wcc 1.83 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 guppy 1.72 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1658     echo $ECHO_N "(cached) $ECHO_C" >&6
1659     else
1660     if test -n "$ac_ct_CC"; then
1661     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1662     else
1663 wcc 1.83 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1664     for as_dir in $PATH
1665     do
1666     IFS=$as_save_IFS
1667     test -z "$as_dir" && as_dir=.
1668     for ac_exec_ext in '' $ac_executable_extensions; do
1669     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670     ac_cv_prog_ac_ct_CC="$ac_prog"
1671     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1672     break 2
1673     fi
1674     done
1675 guppy 1.72 done
1676 segfault 1.1
1677     fi
1678 guppy 1.72 fi
1679     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1680     if test -n "$ac_ct_CC"; then
1681 wcc 1.83 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1682 guppy 1.72 echo "${ECHO_T}$ac_ct_CC" >&6
1683 segfault 1.1 else
1684 wcc 1.83 echo "$as_me:$LINENO: result: no" >&5
1685 guppy 1.72 echo "${ECHO_T}no" >&6
1686 segfault 1.1 fi
1687    
1688 guppy 1.72 test -n "$ac_ct_CC" && break
1689     done
1690 segfault 1.1
1691 guppy 1.72 CC=$ac_ct_CC
1692 segfault 1.1 fi
1693    
1694 guppy 1.72 fi
1695    
1696 wcc 1.83
1697 wcc 1.105 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1698     See \`config.log' for more details." >&5
1699     echo "$as_me: error: no acceptable C compiler found in \$PATH
1700     See \`config.log' for more details." >&2;}
1701 guppy 1.72 { (exit 1); exit 1; }; }
1702    
1703     # Provide some information about the compiler.
1704 wcc 1.83 echo "$as_me:$LINENO:" \
1705 guppy 1.72 "checking for C compiler version" >&5
1706     ac_compiler=`set X $ac_compile; echo $2`
1707 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1708 guppy 1.72 (eval $ac_compiler --version </dev/null >&5) 2>&5
1709     ac_status=$?
1710 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1711 guppy 1.72 (exit $ac_status); }
1712 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1713 guppy 1.72 (eval $ac_compiler -v </dev/null >&5) 2>&5
1714     ac_status=$?
1715 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1716 guppy 1.72 (exit $ac_status); }
1717 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1718 guppy 1.72 (eval $ac_compiler -V </dev/null >&5) 2>&5
1719     ac_status=$?
1720 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1721 guppy 1.72 (exit $ac_status); }
1722    
1723     cat >conftest.$ac_ext <<_ACEOF
1724 wcc 1.105 /* confdefs.h. */
1725     _ACEOF
1726     cat confdefs.h >>conftest.$ac_ext
1727     cat >>conftest.$ac_ext <<_ACEOF
1728     /* end confdefs.h. */
1729 guppy 1.72
1730     int
1731     main ()
1732     {
1733    
1734     ;
1735     return 0;
1736     }
1737     _ACEOF
1738     ac_clean_files_save=$ac_clean_files
1739 wcc 1.105 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1740 guppy 1.72 # Try to create an executable without -o first, disregard a.out.
1741     # It will help us diagnose broken compilers, and finding out an intuition
1742     # of exeext.
1743 wcc 1.105 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1744     echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1745 guppy 1.72 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1746 wcc 1.83 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1747 guppy 1.72 (eval $ac_link_default) 2>&5
1748     ac_status=$?
1749 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1750 guppy 1.72 (exit $ac_status); }; then
1751     # Find the output, starting from the most likely. This scheme is
1752     # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1753     # resort.
1754 wcc 1.83
1755     # Be careful to initialize this variable, since it used to be cached.
1756     # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1757     ac_cv_exeext=
1758 wcc 1.105 # b.out is created by i960 compilers.
1759     for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1760     do
1761 wcc 1.83 test -f "$ac_file" || continue
1762 guppy 1.72 case $ac_file in
1763 wcc 1.105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1764     ;;
1765     conftest.$ac_ext )
1766     # This is the source file.
1767     ;;
1768     [ab].out )
1769     # We found the default executable, but exeext='' is most
1770     # certainly right.
1771     break;;
1772     *.* )
1773     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1774     # FIXME: I believe we export ac_cv_exeext for Libtool,
1775     # but it would be cool to find out if it's true. Does anybody
1776     # maintain Libtool? --akim.
1777     export ac_cv_exeext
1778     break;;
1779     * )
1780     break;;
1781 guppy 1.72 esac
1782     done
1783     else
1784     echo "$as_me: failed program was:" >&5
1785 wcc 1.105 sed 's/^/| /' conftest.$ac_ext >&5
1786    
1787 wcc 1.83 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1788 wcc 1.105 See \`config.log' for more details." >&5
1789 wcc 1.83 echo "$as_me: error: C compiler cannot create executables
1790 wcc 1.105 See \`config.log' for more details." >&2;}
1791 guppy 1.72 { (exit 77); exit 77; }; }
1792     fi
1793    
1794     ac_exeext=$ac_cv_exeext
1795 wcc 1.83 echo "$as_me:$LINENO: result: $ac_file" >&5
1796 guppy 1.72 echo "${ECHO_T}$ac_file" >&6
1797    
1798     # Check the compiler produces executables we can run. If not, either
1799     # the compiler is broken, or we cross compile.
1800 wcc 1.83 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1801 guppy 1.72 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1802     # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1803     # If not cross compiling, check that we can run a simple program.
1804     if test "$cross_compiling" != yes; then
1805     if { ac_try='./$ac_file'
1806 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1807 guppy 1.72 (eval $ac_try) 2>&5
1808     ac_status=$?
1809 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1810 guppy 1.72 (exit $ac_status); }; }; then
1811     cross_compiling=no
1812     else
1813     if test "$cross_compiling" = maybe; then
1814     cross_compiling=yes
1815     else
1816 wcc 1.83 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1817 wcc 1.105 If you meant to cross compile, use \`--host'.
1818     See \`config.log' for more details." >&5
1819 guppy 1.72 echo "$as_me: error: cannot run C compiled programs.
1820 wcc 1.105 If you meant to cross compile, use \`--host'.
1821     See \`config.log' for more details." >&2;}
1822 guppy 1.72 { (exit 1); exit 1; }; }
1823     fi
1824     fi
1825     fi
1826 wcc 1.83 echo "$as_me:$LINENO: result: yes" >&5
1827 guppy 1.72 echo "${ECHO_T}yes" >&6
1828    
1829 wcc 1.105 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1830 guppy 1.72 ac_clean_files=$ac_clean_files_save
1831     # Check the compiler produces executables we can run. If not, either
1832     # the compiler is broken, or we cross compile.
1833 wcc 1.83 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1834 guppy 1.72 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1835 wcc 1.83 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1836 guppy 1.72 echo "${ECHO_T}$cross_compiling" >&6
1837    
1838 wcc 1.83 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1839     echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1840     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1841 guppy 1.72 (eval $ac_link) 2>&5
1842     ac_status=$?
1843 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1844 guppy 1.72 (exit $ac_status); }; then
1845     # If both `conftest.exe' and `conftest' are `present' (well, observable)
1846     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1847     # work properly (i.e., refer to `conftest.exe'), while it won't with
1848     # `rm'.
1849 wcc 1.83 for ac_file in conftest.exe conftest conftest.*; do
1850     test -f "$ac_file" || continue
1851 guppy 1.72 case $ac_file in
1852 wcc 1.83 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1853 guppy 1.72 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1854 wcc 1.105 export ac_cv_exeext
1855     break;;
1856 guppy 1.72 * ) break;;
1857     esac
1858     done
1859     else
1860 wcc 1.105 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1861     See \`config.log' for more details." >&5
1862     echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1863     See \`config.log' for more details." >&2;}
1864 guppy 1.72 { (exit 1); exit 1; }; }
1865     fi
1866    
1867     rm -f conftest$ac_cv_exeext
1868 wcc 1.83 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1869 guppy 1.72 echo "${ECHO_T}$ac_cv_exeext" >&6
1870    
1871     rm -f conftest.$ac_ext
1872     EXEEXT=$ac_cv_exeext
1873     ac_exeext=$EXEEXT
1874 wcc 1.83 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1875     echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1876 guppy 1.72 if test "${ac_cv_objext+set}" = set; then
1877     echo $ECHO_N "(cached) $ECHO_C" >&6
1878     else
1879     cat >conftest.$ac_ext <<_ACEOF
1880 wcc 1.105 /* confdefs.h. */
1881     _ACEOF
1882     cat confdefs.h >>conftest.$ac_ext
1883     cat >>conftest.$ac_ext <<_ACEOF
1884     /* end confdefs.h. */
1885 guppy 1.72
1886     int
1887     main ()
1888     {
1889    
1890     ;
1891     return 0;
1892     }
1893     _ACEOF
1894     rm -f conftest.o conftest.obj
1895 wcc 1.83 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1896 guppy 1.72 (eval $ac_compile) 2>&5
1897     ac_status=$?
1898 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899 guppy 1.72 (exit $ac_status); }; then
1900     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1901     case $ac_file in
1902 wcc 1.83 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1903 guppy 1.72 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1904     break;;
1905     esac
1906     done
1907 segfault 1.1 else
1908 guppy 1.72 echo "$as_me: failed program was:" >&5
1909 wcc 1.105 sed 's/^/| /' conftest.$ac_ext >&5
1910    
1911     { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1912     See \`config.log' for more details." >&5
1913     echo "$as_me: error: cannot compute suffix of object files: cannot compile
1914     See \`config.log' for more details." >&2;}
1915 guppy 1.72 { (exit 1); exit 1; }; }
1916     fi
1917    
1918     rm -f conftest.$ac_cv_objext conftest.$ac_ext
1919     fi
1920 wcc 1.83 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1921 guppy 1.72 echo "${ECHO_T}$ac_cv_objext" >&6
1922     OBJEXT=$ac_cv_objext
1923     ac_objext=$OBJEXT
1924 wcc 1.83 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1925 guppy 1.72 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1926     if test "${ac_cv_c_compiler_gnu+set}" = set; then
1927     echo $ECHO_N "(cached) $ECHO_C" >&6
1928     else
1929     cat >conftest.$ac_ext <<_ACEOF
1930 wcc 1.105 /* confdefs.h. */
1931     _ACEOF
1932     cat confdefs.h >>conftest.$ac_ext
1933     cat >>conftest.$ac_ext <<_ACEOF
1934     /* end confdefs.h. */
1935 guppy 1.72
1936     int
1937     main ()
1938     {
1939     #ifndef __GNUC__
1940     choke me
1941     #endif
1942    
1943     ;
1944     return 0;
1945     }
1946     _ACEOF
1947     rm -f conftest.$ac_objext
1948 wcc 1.83 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1949 wcc 1.105 (eval $ac_compile) 2>conftest.er1
1950 guppy 1.72 ac_status=$?
1951 wcc 1.105 grep -v '^ *+' conftest.er1 >conftest.err
1952     rm -f conftest.er1
1953     cat conftest.err >&5
1954 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1955 guppy 1.72 (exit $ac_status); } &&
1956 wcc 1.105 { ac_try='test -z "$ac_c_werror_flag"
1957     || test ! -s conftest.err'
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); }; } &&
1963     { ac_try='test -s conftest.$ac_objext'
1964 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1965 guppy 1.72 (eval $ac_try) 2>&5
1966     ac_status=$?
1967 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1968 guppy 1.72 (exit $ac_status); }; }; then
1969     ac_compiler_gnu=yes
1970     else
1971     echo "$as_me: failed program was:" >&5
1972 wcc 1.105 sed 's/^/| /' conftest.$ac_ext >&5
1973    
1974 guppy 1.72 ac_compiler_gnu=no
1975     fi
1976 wcc 1.105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1977 guppy 1.72 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1978    
1979     fi
1980 wcc 1.83 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1981 guppy 1.72 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1982     GCC=`test $ac_compiler_gnu = yes && echo yes`
1983     ac_test_CFLAGS=${CFLAGS+set}
1984     ac_save_CFLAGS=$CFLAGS
1985     CFLAGS="-g"
1986 wcc 1.83 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1987 guppy 1.72 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1988     if test "${ac_cv_prog_cc_g+set}" = set; then
1989     echo $ECHO_N "(cached) $ECHO_C" >&6
1990     else
1991     cat >conftest.$ac_ext <<_ACEOF
1992 wcc 1.105 /* confdefs.h. */
1993     _ACEOF
1994     cat confdefs.h >>conftest.$ac_ext
1995     cat >>conftest.$ac_ext <<_ACEOF
1996     /* end confdefs.h. */
1997 guppy 1.72
1998     int
1999     main ()
2000     {
2001    
2002     ;
2003     return 0;
2004     }
2005     _ACEOF
2006     rm -f conftest.$ac_objext
2007 wcc 1.83 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2008 wcc 1.105 (eval $ac_compile) 2>conftest.er1
2009 guppy 1.72 ac_status=$?
2010 wcc 1.105 grep -v '^ *+' conftest.er1 >conftest.err
2011     rm -f conftest.er1
2012     cat conftest.err >&5
2013 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014 guppy 1.72 (exit $ac_status); } &&
2015 wcc 1.105 { ac_try='test -z "$ac_c_werror_flag"
2016     || test ! -s conftest.err'
2017     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2018     (eval $ac_try) 2>&5
2019     ac_status=$?
2020     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021     (exit $ac_status); }; } &&
2022     { ac_try='test -s conftest.$ac_objext'
2023 wcc 1.83 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2024 guppy 1.72 (eval $ac_try) 2>&5
2025     ac_status=$?
2026 wcc 1.83 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027 guppy 1.72 (exit $ac_status); }; }; then
2028 segfault 1.1 ac_cv_prog_cc_g=yes
2029     else
2030 guppy 1.72 echo "$as_me: failed program was:" >&5
2031 wcc 1.105 sed 's/^/| /' conftest.$ac_ext >&5
2032    
2033 guppy 1.72 ac_cv_prog_cc_g=no
2034 segfault 1.1 fi
2035 wcc 1.105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2036 segfault 1.1 fi
2037 wcc 1.83 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2038 guppy 1.72 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2039 segfault 1.1 if test "$ac_test_CFLAGS" = set; then
2040 guppy 1.72 CFLAGS=$ac_save_CFLAGS
2041 segfault 1.1 elif test $ac_cv_prog_cc_g = yes; then
2042     if test "$GCC" = yes; then
2043     CFLAGS="-g -O2"
2044     else
2045     CFLAGS="-g"
2046     fi
2047     else
2048     if test "$GCC" = yes; then
2049     CFLAGS="-O2"
2050     else
2051     CFLAGS=
2052     fi
2053     fi
2054 wcc 1.83 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2055     echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2056     if test "${ac_cv_prog_cc_stdc+set}" = set; then
2057     echo $ECHO_N "(cached) $ECHO_C" >&6
2058     else
2059     ac_cv_prog_cc_stdc=no
2060     ac_save_CC=$CC
2061     cat >conftest.$ac_ext <<_ACEOF
2062 wcc 1.105 /* confdefs.h. */
2063     _ACEOF
2064     cat confdefs.h >>conftest.$ac_ext
2065     cat >>conftest.$ac_ext <<_ACEOF
2066     /* end confdefs.h. */
2067 wcc 1.83 #include <stdarg.h>
2068     #include <stdio.h>
2069     #include <sys/types.h>
2070     #include <sys/stat.h>
2071     /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2072     struct buf { int x; };
2073     FILE * (*rcsopen) (struct buf *, struct stat *, int);
2074     static char *e (p, i)
2075     char **p;
2076     int i;
2077     {
2078     return p[i];
2079     }
2080     static char *f (char * (*g) (char **, int), char **p, ...)
2081     {
2082     char *s;
2083     va_list v;
2084     va_start (v,p);
2085     s = g