/[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.137 - (hide annotations) (download)
Thu Feb 3 18:18:41 2005 UTC (15 years ago) by tothwolf
Branch: MAIN
Changes since 1.136: +1 -1 lines
* Odd...

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