/[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.98 - (hide annotations) (download)
Tue Jun 10 19:05:37 2003 UTC (18 years, 4 months ago) by wcc
Branch: MAIN
CVS Tags: r1, blah, test
Changes since 1.97: +288 -863 lines
* Autoconf 2.57 has problems on FreeBSD; reverting to autoconf 2.54.

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