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

Annotation of /eggdrop1.8/configure

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


Revision 1.13.2.6 - (hide annotations) (download)
Wed Jul 20 10:46:28 2011 UTC (7 years, 10 months ago) by thommey
Branch: gettext
Changes since 1.13.2.5: +240 -188 lines
Ran autotools.

1 simple 1.1 #! /bin/sh
2     # Guess values for system-dependent variables and create Makefiles.
3 thommey 1.13.2.6 # Generated by GNU Autoconf 2.68 for Eggdrop 1.8.0.
4 simple 1.1 #
5     # Report bugs to <bugs@eggheads.org>.
6     #
7     #
8     # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 thommey 1.13.2.4 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10     # Foundation, Inc.
11 simple 1.1 #
12     #
13     # This configure script is free software; the Free Software Foundation
14     # gives unlimited permission to copy, distribute and modify it.
15     #
16     # Copyright (C) 1999 - 2010 Eggheads Development Team
17     ## -------------------- ##
18     ## M4sh Initialization. ##
19     ## -------------------- ##
20    
21     # Be more Bourne compatible
22     DUALCASE=1; export DUALCASE # for MKS sh
23     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24     emulate sh
25     NULLCMD=:
26     # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27     # is contrary to our usage. Disable this feature.
28     alias -g '${1+"$@"}'='"$@"'
29     setopt NO_GLOB_SUBST
30     else
31     case `(set -o) 2>/dev/null` in #(
32     *posix*) :
33     set -o posix ;; #(
34     *) :
35     ;;
36     esac
37     fi
38    
39    
40     as_nl='
41     '
42     export as_nl
43     # Printing a long string crashes Solaris 7 /usr/bin/printf.
44     as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45     as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46     as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47     # Prefer a ksh shell builtin over an external printf program on Solaris,
48     # but without wasting forks for bash or zsh.
49     if test -z "$BASH_VERSION$ZSH_VERSION" \
50     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51     as_echo='print -r --'
52     as_echo_n='print -rn --'
53     elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54     as_echo='printf %s\n'
55     as_echo_n='printf %s'
56     else
57     if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
58     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59     as_echo_n='/usr/ucb/echo -n'
60     else
61     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62     as_echo_n_body='eval
63     arg=$1;
64     case $arg in #(
65     *"$as_nl"*)
66     expr "X$arg" : "X\\(.*\\)$as_nl";
67     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68     esac;
69     expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70     '
71     export as_echo_n_body
72     as_echo_n='sh -c $as_echo_n_body as_echo'
73     fi
74     export as_echo_body
75     as_echo='sh -c $as_echo_body as_echo'
76     fi
77    
78     # The user is always right.
79     if test "${PATH_SEPARATOR+set}" != set; then
80     PATH_SEPARATOR=:
81     (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83     PATH_SEPARATOR=';'
84     }
85     fi
86    
87    
88     # IFS
89     # We need space, tab and new line, in precisely that order. Quoting is
90     # there to prevent editors from complaining about space-tab.
91     # (If _AS_PATH_WALK were called with IFS unset, it would disable word
92     # splitting by setting IFS to empty value.)
93     IFS=" "" $as_nl"
94    
95     # Find who we are. Look in the path if we contain no directory separator.
96 thommey 1.13.2.6 as_myself=
97 simple 1.1 case $0 in #((
98     *[\\/]* ) as_myself=$0 ;;
99     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100     for as_dir in $PATH
101     do
102     IFS=$as_save_IFS
103     test -z "$as_dir" && as_dir=.
104     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105     done
106     IFS=$as_save_IFS
107    
108     ;;
109     esac
110     # We did not find ourselves, most probably we were run as `sh COMMAND'
111     # in which case we are not to be found in the path.
112     if test "x$as_myself" = x; then
113     as_myself=$0
114     fi
115     if test ! -f "$as_myself"; then
116     $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117     exit 1
118     fi
119    
120     # Unset variables that we do not need and which cause bugs (e.g. in
121     # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
122     # suppresses any "Segmentation fault" message there. '((' could
123     # trigger a bug in pdksh 5.2.14.
124     for as_var in BASH_ENV ENV MAIL MAILPATH
125     do eval test x\${$as_var+set} = xset \
126     && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
127     done
128     PS1='$ '
129     PS2='> '
130     PS4='+ '
131    
132     # NLS nuisances.
133     LC_ALL=C
134     export LC_ALL
135     LANGUAGE=C
136     export LANGUAGE
137    
138     # CDPATH.
139     (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140    
141     if test "x$CONFIG_SHELL" = x; then
142     as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143     emulate sh
144     NULLCMD=:
145     # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
146     # is contrary to our usage. Disable this feature.
147     alias -g '\${1+\"\$@\"}'='\"\$@\"'
148     setopt NO_GLOB_SUBST
149     else
150     case \`(set -o) 2>/dev/null\` in #(
151     *posix*) :
152     set -o posix ;; #(
153     *) :
154     ;;
155     esac
156     fi
157     "
158     as_required="as_fn_return () { (exit \$1); }
159     as_fn_success () { as_fn_return 0; }
160     as_fn_failure () { as_fn_return 1; }
161     as_fn_ret_success () { return 0; }
162     as_fn_ret_failure () { return 1; }
163    
164     exitcode=0
165     as_fn_success || { exitcode=1; echo as_fn_success failed.; }
166     as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
167     as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
168     as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
169     if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170    
171     else
172     exitcode=1; echo positional parameters were not saved.
173     fi
174     test x\$exitcode = x0 || exit 1"
175     as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
176     as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
177     eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
178     test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
179     test \$(( 1 + 1 )) = 2 || exit 1"
180     if (eval "$as_required") 2>/dev/null; then :
181     as_have_required=yes
182     else
183     as_have_required=no
184     fi
185     if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186    
187     else
188     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
189     as_found=false
190     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191     do
192     IFS=$as_save_IFS
193     test -z "$as_dir" && as_dir=.
194     as_found=:
195     case $as_dir in #(
196     /*)
197     for as_base in sh bash ksh sh5; do
198     # Try only shells that exist, to save several forks.
199     as_shell=$as_dir/$as_base
200     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
201     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
202     CONFIG_SHELL=$as_shell as_have_required=yes
203     if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204     break 2
205     fi
206     fi
207     done;;
208     esac
209     as_found=false
210     done
211     $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
212     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
213     CONFIG_SHELL=$SHELL as_have_required=yes
214     fi; }
215     IFS=$as_save_IFS
216    
217    
218     if test "x$CONFIG_SHELL" != x; then :
219     # We cannot yet assume a decent shell, so we have to provide a
220     # neutralization value for shells without unset; and this also
221     # works around shells that cannot unset nonexistent variables.
222 thommey 1.13.2.6 # Preserve -v and -x to the replacement shell.
223 simple 1.1 BASH_ENV=/dev/null
224     ENV=/dev/null
225     (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226     export CONFIG_SHELL
227 thommey 1.13.2.6 case $- in # ((((
228     *v*x* | *x*v* ) as_opts=-vx ;;
229     *v* ) as_opts=-v ;;
230     *x* ) as_opts=-x ;;
231     * ) as_opts= ;;
232     esac
233     exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 simple 1.1 fi
235    
236     if test x$as_have_required = xno; then :
237     $as_echo "$0: This script requires a shell more modern than all"
238     $as_echo "$0: the shells that I found on your system."
239     if test x${ZSH_VERSION+set} = xset ; then
240     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
241     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
242     else
243     $as_echo "$0: Please tell bug-autoconf@gnu.org and bugs@eggheads.org
244     $0: about your system, including any error possibly output
245     $0: before this message. Then install a modern shell, or
246     $0: manually run the script under such a shell if you do
247     $0: have one."
248     fi
249     exit 1
250     fi
251     fi
252     fi
253     SHELL=${CONFIG_SHELL-/bin/sh}
254     export SHELL
255     # Unset more variables known to interfere with behavior of common tools.
256     CLICOLOR_FORCE= GREP_OPTIONS=
257     unset CLICOLOR_FORCE GREP_OPTIONS
258    
259     ## --------------------- ##
260     ## M4sh Shell Functions. ##
261     ## --------------------- ##
262     # as_fn_unset VAR
263     # ---------------
264     # Portably unset VAR.
265     as_fn_unset ()
266     {
267     { eval $1=; unset $1;}
268     }
269     as_unset=as_fn_unset
270    
271     # as_fn_set_status STATUS
272     # -----------------------
273     # Set $? to STATUS, without forking.
274     as_fn_set_status ()
275     {
276     return $1
277     } # as_fn_set_status
278    
279     # as_fn_exit STATUS
280     # -----------------
281     # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282     as_fn_exit ()
283     {
284     set +e
285     as_fn_set_status $1
286     exit $1
287     } # as_fn_exit
288    
289     # as_fn_mkdir_p
290     # -------------
291     # Create "$as_dir" as a directory, including parents if necessary.
292     as_fn_mkdir_p ()
293     {
294    
295     case $as_dir in #(
296     -*) as_dir=./$as_dir;;
297     esac
298     test -d "$as_dir" || eval $as_mkdir_p || {
299     as_dirs=
300     while :; do
301     case $as_dir in #(
302     *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303     *) as_qdir=$as_dir;;
304     esac
305     as_dirs="'$as_qdir' $as_dirs"
306     as_dir=`$as_dirname -- "$as_dir" ||
307     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
308     X"$as_dir" : 'X\(//\)[^/]' \| \
309     X"$as_dir" : 'X\(//\)$' \| \
310     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
311     $as_echo X"$as_dir" |
312     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
313     s//\1/
314     q
315     }
316     /^X\(\/\/\)[^/].*/{
317     s//\1/
318     q
319     }
320     /^X\(\/\/\)$/{
321     s//\1/
322     q
323     }
324     /^X\(\/\).*/{
325     s//\1/
326     q
327     }
328     s/.*/./; q'`
329     test -d "$as_dir" && break
330     done
331     test -z "$as_dirs" || eval "mkdir $as_dirs"
332 thommey 1.13.2.4 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
333 simple 1.1
334    
335     } # as_fn_mkdir_p
336     # as_fn_append VAR VALUE
337     # ----------------------
338     # Append the text in VALUE to the end of the definition contained in VAR. Take
339     # advantage of any shell optimizations that allow amortized linear growth over
340     # repeated appends, instead of the typical quadratic growth present in naive
341     # implementations.
342     if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
343     eval 'as_fn_append ()
344     {
345     eval $1+=\$2
346     }'
347     else
348     as_fn_append ()
349     {
350     eval $1=\$$1\$2
351     }
352     fi # as_fn_append
353    
354     # as_fn_arith ARG...
355     # ------------------
356     # Perform arithmetic evaluation on the ARGs, and store the result in the
357     # global $as_val. Take advantage of shells that can avoid forks. The arguments
358     # must be portable across $(()) and expr.
359     if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
360     eval 'as_fn_arith ()
361     {
362     as_val=$(( $* ))
363     }'
364     else
365     as_fn_arith ()
366     {
367     as_val=`expr "$@" || test $? -eq 1`
368     }
369     fi # as_fn_arith
370    
371    
372 thommey 1.13.2.4 # as_fn_error STATUS ERROR [LINENO LOG_FD]
373     # ----------------------------------------
374 simple 1.1 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
375     # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
376 thommey 1.13.2.4 # script with STATUS, using 1 if that was 0.
377 simple 1.1 as_fn_error ()
378     {
379 thommey 1.13.2.4 as_status=$1; test $as_status -eq 0 && as_status=1
380     if test "$4"; then
381     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
382     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
383 simple 1.1 fi
384 thommey 1.13.2.4 $as_echo "$as_me: error: $2" >&2
385 simple 1.1 as_fn_exit $as_status
386     } # as_fn_error
387    
388     if expr a : '\(a\)' >/dev/null 2>&1 &&
389     test "X`expr 00001 : '.*\(...\)'`" = X001; then
390     as_expr=expr
391     else
392     as_expr=false
393     fi
394    
395     if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396     as_basename=basename
397     else
398     as_basename=false
399     fi
400    
401     if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
402     as_dirname=dirname
403     else
404     as_dirname=false
405     fi
406    
407     as_me=`$as_basename -- "$0" ||
408     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
409     X"$0" : 'X\(//\)$' \| \
410     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
411     $as_echo X/"$0" |
412     sed '/^.*\/\([^/][^/]*\)\/*$/{
413     s//\1/
414     q
415     }
416     /^X\/\(\/\/\)$/{
417     s//\1/
418     q
419     }
420     /^X\/\(\/\).*/{
421     s//\1/
422     q
423     }
424     s/.*/./; q'`
425    
426     # Avoid depending upon Character Ranges.
427     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
428     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
429     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
430     as_cr_digits='0123456789'
431     as_cr_alnum=$as_cr_Letters$as_cr_digits
432    
433    
434     as_lineno_1=$LINENO as_lineno_1a=$LINENO
435     as_lineno_2=$LINENO as_lineno_2a=$LINENO
436     eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
437     test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
438     # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
439     sed -n '
440     p
441     /[$]LINENO/=
442     ' <$as_myself |
443     sed '
444     s/[$]LINENO.*/&-/
445     t lineno
446     b
447     :lineno
448     N
449     :loop
450     s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
451     t loop
452     s/-\n.*//
453     ' >$as_me.lineno &&
454     chmod +x "$as_me.lineno" ||
455     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
456    
457     # Don't try to exec as it changes $[0], causing all sort of problems
458     # (the dirname of $[0] is not the place where we might find the
459     # original and so on. Autoconf is especially sensitive to this).
460     . "./$as_me.lineno"
461     # Exit status is that of the last command.
462     exit
463     }
464    
465     ECHO_C= ECHO_N= ECHO_T=
466     case `echo -n x` in #(((((
467     -n*)
468     case `echo 'xy\c'` in
469     *c*) ECHO_T=' ';; # ECHO_T is single tab character.
470     xy) ECHO_C='\c';;
471     *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
472     ECHO_T=' ';;
473     esac;;
474     *)
475     ECHO_N='-n';;
476     esac
477    
478     rm -f conf$$ conf$$.exe conf$$.file
479     if test -d conf$$.dir; then
480     rm -f conf$$.dir/conf$$.file
481     else
482     rm -f conf$$.dir
483     mkdir conf$$.dir 2>/dev/null
484     fi
485     if (echo >conf$$.file) 2>/dev/null; then
486     if ln -s conf$$.file conf$$ 2>/dev/null; then
487     as_ln_s='ln -s'
488     # ... but there are two gotchas:
489     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
490     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
491     # In both cases, we have to default to `cp -p'.
492     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
493     as_ln_s='cp -p'
494     elif ln conf$$.file conf$$ 2>/dev/null; then
495     as_ln_s=ln
496     else
497     as_ln_s='cp -p'
498     fi
499     else
500     as_ln_s='cp -p'
501     fi
502     rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
503     rmdir conf$$.dir 2>/dev/null
504    
505     if mkdir -p . 2>/dev/null; then
506     as_mkdir_p='mkdir -p "$as_dir"'
507     else
508     test -d ./-p && rmdir ./-p
509     as_mkdir_p=false
510     fi
511    
512     if test -x / >/dev/null 2>&1; then
513     as_test_x='test -x'
514     else
515     if ls -dL / >/dev/null 2>&1; then
516     as_ls_L_option=L
517     else
518     as_ls_L_option=
519     fi
520     as_test_x='
521     eval sh -c '\''
522     if test -d "$1"; then
523     test -d "$1/.";
524     else
525     case $1 in #(
526     -*)set "./$1";;
527     esac;
528     case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
529     ???[sx]*):;;*)false;;esac;fi
530     '\'' sh
531     '
532     fi
533     as_executable_p=$as_test_x
534    
535     # Sed expression to map a string onto a valid CPP name.
536     as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
537    
538     # Sed expression to map a string onto a valid variable name.
539     as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540    
541    
542     test -n "$DJDIR" || exec 7<&0 </dev/null
543     exec 6>&1
544    
545     # Name of the host.
546 thommey 1.13.2.4 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
547 simple 1.1 # so uname gets run too.
548     ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549    
550     #
551     # Initializations.
552     #
553     ac_default_prefix=/usr/local
554     ac_clean_files=
555     ac_config_libobj_dir=.
556     LIBOBJS=
557     cross_compiling=no
558     subdirs=
559     MFLAGS=
560     MAKEFLAGS=
561    
562     # Identity of this package.
563     PACKAGE_NAME='Eggdrop'
564     PACKAGE_TARNAME='eggdrop'
565 pseudo 1.2 PACKAGE_VERSION='1.8.0'
566     PACKAGE_STRING='Eggdrop 1.8.0'
567 simple 1.1 PACKAGE_BUGREPORT='bugs@eggheads.org'
568 pseudo 1.13.2.3 PACKAGE_URL='http://www.eggheads.org/'
569 simple 1.1
570     ac_default_prefix=\${HOME}/eggdrop
571     # Factoring default headers for most tests.
572     ac_includes_default="\
573     #include <stdio.h>
574     #ifdef HAVE_SYS_TYPES_H
575     # include <sys/types.h>
576     #endif
577     #ifdef HAVE_SYS_STAT_H
578     # include <sys/stat.h>
579     #endif
580     #ifdef STDC_HEADERS
581     # include <stdlib.h>
582     # include <stddef.h>
583     #else
584     # ifdef HAVE_STDLIB_H
585     # include <stdlib.h>
586     # endif
587     #endif
588     #ifdef HAVE_STRING_H
589     # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590     # include <memory.h>
591     # endif
592     # include <string.h>
593     #endif
594     #ifdef HAVE_STRINGS_H
595     # include <strings.h>
596     #endif
597     #ifdef HAVE_INTTYPES_H
598     # include <inttypes.h>
599     #endif
600     #ifdef HAVE_STDINT_H
601     # include <stdint.h>
602     #endif
603     #ifdef HAVE_UNISTD_H
604     # include <unistd.h>
605     #endif"
606    
607     ac_header_list=
608     ac_subst_vars='LTLIBOBJS
609     LIBOBJS
610     MOD_UPDIR
611     DEST
612     EGGVERSION
613 pseudo 1.9 SSL_LIBS
614     SSL_INCLUDES
615 simple 1.1 DEBCFLGS
616     CFLGS
617     TCL_LIBS
618     TCL_REQS
619     TCLINCFN
620     TCLINC
621     TCLLIBFN
622     TCLLIB
623     SHLIB_STRIP
624     SHLIB_CC
625     SHLIB_LD
626     MOD_STRIP
627     MOD_CC
628     MOD_LD
629     MODULE_XLIBS
630     MOD_EXT
631     DEFAULT_MAKE
632     target_os
633     target_vendor
634     target_cpu
635     target
636     host_os
637     host_vendor
638     host_cpu
639     host
640     build_os
641     build_vendor
642     build_cpu
643     build
644 pseudo 1.13.2.3 STRIP
645 simple 1.1 UNAME
646     BASENAME
647     AWK
648     HEAD_1
649     LN_S
650     RANLIB
651     SET_MAKE
652     INSTALL_DATA
653     INSTALL_SCRIPT
654     INSTALL_PROGRAM
655     EGGEXEC
656     EGREP
657     GREP
658     CPP
659     OBJEXT
660     EXEEXT
661     ac_ct_CC
662     CPPFLAGS
663     LDFLAGS
664     CFLAGS
665     CC
666     egg_ac_parameters
667     target_alias
668     host_alias
669     build_alias
670     LIBS
671     ECHO_T
672     ECHO_N
673     ECHO_C
674     DEFS
675     mandir
676     localedir
677     libdir
678     psdir
679     pdfdir
680     dvidir
681     htmldir
682     infodir
683     docdir
684     oldincludedir
685     includedir
686     localstatedir
687     sharedstatedir
688     sysconfdir
689     datadir
690     datarootdir
691     libexecdir
692     sbindir
693     bindir
694     program_transform_name
695     prefix
696     exec_prefix
697     PACKAGE_URL
698     PACKAGE_BUGREPORT
699     PACKAGE_STRING
700     PACKAGE_VERSION
701     PACKAGE_TARNAME
702     PACKAGE_NAME
703     PATH_SEPARATOR
704     SHELL'
705     ac_subst_files=''
706     ac_user_opts='
707     enable_option_checking
708     enable_strip
709     with_tcllib
710     with_tclinc
711     enable_debug
712     enable_debug_assert
713     enable_debug_mem
714     enable_debug_dns
715     enable_debug_context
716     with_handlen
717 pseudo 1.4 enable_ipv6
718 pseudo 1.9 enable_tls
719     with_sslinc
720     with_ssllib
721 simple 1.1 '
722     ac_precious_vars='build_alias
723     host_alias
724     target_alias
725     CC
726     CFLAGS
727     LDFLAGS
728     LIBS
729     CPPFLAGS
730     CPP'
731    
732    
733     # Initialize some variables set by options.
734     ac_init_help=
735     ac_init_version=false
736     ac_unrecognized_opts=
737     ac_unrecognized_sep=
738     # The variables have the same names as the options, with
739     # dashes changed to underlines.
740     cache_file=/dev/null
741     exec_prefix=NONE
742     no_create=
743     no_recursion=
744     prefix=NONE
745     program_prefix=NONE
746     program_suffix=NONE
747     program_transform_name=s,x,x,
748     silent=
749     site=
750     srcdir=
751     verbose=
752     x_includes=NONE
753     x_libraries=NONE
754    
755     # Installation directory options.
756     # These are left unexpanded so users can "make install exec_prefix=/foo"
757     # and all the variables that are supposed to be based on exec_prefix
758     # by default will actually change.
759     # Use braces instead of parens because sh, perl, etc. also accept them.
760     # (The list follows the same order as the GNU Coding Standards.)
761     bindir='${exec_prefix}/bin'
762     sbindir='${exec_prefix}/sbin'
763     libexecdir='${exec_prefix}/libexec'
764     datarootdir='${prefix}/share'
765     datadir='${datarootdir}'
766     sysconfdir='${prefix}/etc'
767     sharedstatedir='${prefix}/com'
768     localstatedir='${prefix}/var'
769     includedir='${prefix}/include'
770     oldincludedir='/usr/include'
771     docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
772     infodir='${datarootdir}/info'
773     htmldir='${docdir}'
774     dvidir='${docdir}'
775     pdfdir='${docdir}'
776     psdir='${docdir}'
777     libdir='${exec_prefix}/lib'
778     localedir='${datarootdir}/locale'
779     mandir='${datarootdir}/man'
780    
781     ac_prev=
782     ac_dashdash=
783     for ac_option
784     do
785     # If the previous option needs an argument, assign it.
786     if test -n "$ac_prev"; then
787     eval $ac_prev=\$ac_option
788     ac_prev=
789     continue
790     fi
791    
792     case $ac_option in
793 thommey 1.13.2.4 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
794     *=) ac_optarg= ;;
795     *) ac_optarg=yes ;;
796 simple 1.1 esac
797    
798     # Accept the important Cygnus configure options, so we can diagnose typos.
799    
800     case $ac_dashdash$ac_option in
801     --)
802     ac_dashdash=yes ;;
803    
804     -bindir | --bindir | --bindi | --bind | --bin | --bi)
805     ac_prev=bindir ;;
806     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
807     bindir=$ac_optarg ;;
808    
809     -build | --build | --buil | --bui | --bu)
810     ac_prev=build_alias ;;
811     -build=* | --build=* | --buil=* | --bui=* | --bu=*)
812     build_alias=$ac_optarg ;;
813    
814     -cache-file | --cache-file | --cache-fil | --cache-fi \
815     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
816     ac_prev=cache_file ;;
817     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
818     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
819     cache_file=$ac_optarg ;;
820    
821     --config-cache | -C)
822     cache_file=config.cache ;;
823    
824     -datadir | --datadir | --datadi | --datad)
825     ac_prev=datadir ;;
826     -datadir=* | --datadir=* | --datadi=* | --datad=*)
827     datadir=$ac_optarg ;;
828    
829     -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
830     | --dataroo | --dataro | --datar)
831     ac_prev=datarootdir ;;
832     -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
833     | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
834     datarootdir=$ac_optarg ;;
835    
836     -disable-* | --disable-*)
837     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
838     # Reject names that are not valid shell variable names.
839     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
840 thommey 1.13.2.4 as_fn_error $? "invalid feature name: $ac_useropt"
841 simple 1.1 ac_useropt_orig=$ac_useropt
842     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843     case $ac_user_opts in
844     *"
845     "enable_$ac_useropt"
846     "*) ;;
847     *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
848     ac_unrecognized_sep=', ';;
849     esac
850     eval enable_$ac_useropt=no ;;
851    
852     -docdir | --docdir | --docdi | --doc | --do)
853     ac_prev=docdir ;;
854     -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
855     docdir=$ac_optarg ;;
856    
857     -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
858     ac_prev=dvidir ;;
859     -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
860     dvidir=$ac_optarg ;;
861    
862     -enable-* | --enable-*)
863     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
864     # Reject names that are not valid shell variable names.
865     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
866 thommey 1.13.2.4 as_fn_error $? "invalid feature name: $ac_useropt"
867 simple 1.1 ac_useropt_orig=$ac_useropt
868     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
869     case $ac_user_opts in
870     *"
871     "enable_$ac_useropt"
872     "*) ;;
873     *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
874     ac_unrecognized_sep=', ';;
875     esac
876     eval enable_$ac_useropt=\$ac_optarg ;;
877    
878     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
879     | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
880     | --exec | --exe | --ex)
881     ac_prev=exec_prefix ;;
882     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
883     | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
884     | --exec=* | --exe=* | --ex=*)
885     exec_prefix=$ac_optarg ;;
886    
887     -gas | --gas | --ga | --g)
888     # Obsolete; use --with-gas.
889     with_gas=yes ;;
890    
891     -help | --help | --hel | --he | -h)
892     ac_init_help=long ;;
893     -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
894     ac_init_help=recursive ;;
895     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
896     ac_init_help=short ;;
897    
898     -host | --host | --hos | --ho)
899     ac_prev=host_alias ;;
900     -host=* | --host=* | --hos=* | --ho=*)
901     host_alias=$ac_optarg ;;
902    
903     -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
904     ac_prev=htmldir ;;
905     -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
906     | --ht=*)
907     htmldir=$ac_optarg ;;
908    
909     -includedir | --includedir | --includedi | --included | --include \
910     | --includ | --inclu | --incl | --inc)
911     ac_prev=includedir ;;
912     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
913     | --includ=* | --inclu=* | --incl=* | --inc=*)
914     includedir=$ac_optarg ;;
915    
916     -infodir | --infodir | --infodi | --infod | --info | --inf)
917     ac_prev=infodir ;;
918     -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
919     infodir=$ac_optarg ;;
920    
921     -libdir | --libdir | --libdi | --libd)
922     ac_prev=libdir ;;
923     -libdir=* | --libdir=* | --libdi=* | --libd=*)
924     libdir=$ac_optarg ;;
925    
926     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
927     | --libexe | --libex | --libe)
928     ac_prev=libexecdir ;;
929     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
930     | --libexe=* | --libex=* | --libe=*)
931     libexecdir=$ac_optarg ;;
932    
933     -localedir | --localedir | --localedi | --localed | --locale)
934     ac_prev=localedir ;;
935     -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
936     localedir=$ac_optarg ;;
937    
938     -localstatedir | --localstatedir | --localstatedi | --localstated \
939     | --localstate | --localstat | --localsta | --localst | --locals)
940     ac_prev=localstatedir ;;
941     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
942     | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
943     localstatedir=$ac_optarg ;;
944    
945     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
946     ac_prev=mandir ;;
947     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
948     mandir=$ac_optarg ;;
949    
950     -nfp | --nfp | --nf)
951     # Obsolete; use --without-fp.
952     with_fp=no ;;
953    
954     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
955     | --no-cr | --no-c | -n)
956     no_create=yes ;;
957    
958     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
959     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
960     no_recursion=yes ;;
961    
962     -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
963     | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
964     | --oldin | --oldi | --old | --ol | --o)
965     ac_prev=oldincludedir ;;
966     -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
967     | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
968     | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
969     oldincludedir=$ac_optarg ;;
970    
971     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
972     ac_prev=prefix ;;
973     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
974     prefix=$ac_optarg ;;
975    
976     -program-prefix | --program-prefix | --program-prefi | --program-pref \
977     | --program-pre | --program-pr | --program-p)
978     ac_prev=program_prefix ;;
979     -program-prefix=* | --program-prefix=* | --program-prefi=* \
980     | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
981     program_prefix=$ac_optarg ;;
982    
983     -program-suffix | --program-suffix | --program-suffi | --program-suff \
984     | --program-suf | --program-su | --program-s)
985     ac_prev=program_suffix ;;
986     -program-suffix=* | --program-suffix=* | --program-suffi=* \
987     | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
988     program_suffix=$ac_optarg ;;
989    
990     -program-transform-name | --program-transform-name \
991     | --program-transform-nam | --program-transform-na \
992     | --program-transform-n | --program-transform- \
993     | --program-transform | --program-transfor \
994     | --program-transfo | --program-transf \
995     | --program-trans | --program-tran \
996     | --progr-tra | --program-tr | --program-t)
997     ac_prev=program_transform_name ;;
998     -program-transform-name=* | --program-transform-name=* \
999     | --program-transform-nam=* | --program-transform-na=* \
1000     | --program-transform-n=* | --program-transform-=* \
1001     | --program-transform=* | --program-transfor=* \
1002     | --program-transfo=* | --program-transf=* \
1003     | --program-trans=* | --program-tran=* \
1004     | --progr-tra=* | --program-tr=* | --program-t=*)
1005     program_transform_name=$ac_optarg ;;
1006    
1007     -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1008     ac_prev=pdfdir ;;
1009     -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1010     pdfdir=$ac_optarg ;;
1011    
1012     -psdir | --psdir | --psdi | --psd | --ps)
1013     ac_prev=psdir ;;
1014     -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1015     psdir=$ac_optarg ;;
1016    
1017     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1018     | -silent | --silent | --silen | --sile | --sil)
1019     silent=yes ;;
1020    
1021     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1022     ac_prev=sbindir ;;
1023     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1024     | --sbi=* | --sb=*)
1025     sbindir=$ac_optarg ;;
1026    
1027     -sharedstatedir | --sharedstatedir | --sharedstatedi \
1028     | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1029     | --sharedst | --shareds | --shared | --share | --shar \
1030     | --sha | --sh)
1031     ac_prev=sharedstatedir ;;
1032     -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1033     | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1034     | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1035     | --sha=* | --sh=*)
1036     sharedstatedir=$ac_optarg ;;
1037    
1038     -site | --site | --sit)
1039     ac_prev=site ;;
1040     -site=* | --site=* | --sit=*)
1041     site=$ac_optarg ;;
1042    
1043     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1044     ac_prev=srcdir ;;
1045     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1046     srcdir=$ac_optarg ;;
1047    
1048     -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1049     | --syscon | --sysco | --sysc | --sys | --sy)
1050     ac_prev=sysconfdir ;;
1051     -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1052     | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1053     sysconfdir=$ac_optarg ;;
1054    
1055     -target | --target | --targe | --targ | --tar | --ta | --t)
1056     ac_prev=target_alias ;;
1057     -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1058     target_alias=$ac_optarg ;;
1059    
1060     -v | -verbose | --verbose | --verbos | --verbo | --verb)
1061     verbose=yes ;;
1062    
1063     -version | --version | --versio | --versi | --vers | -V)
1064     ac_init_version=: ;;
1065    
1066     -with-* | --with-*)
1067     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1068     # Reject names that are not valid shell variable names.
1069     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1070 thommey 1.13.2.4 as_fn_error $? "invalid package name: $ac_useropt"
1071 simple 1.1 ac_useropt_orig=$ac_useropt
1072     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073     case $ac_user_opts in
1074     *"
1075     "with_$ac_useropt"
1076     "*) ;;
1077     *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1078     ac_unrecognized_sep=', ';;
1079     esac
1080     eval with_$ac_useropt=\$ac_optarg ;;
1081    
1082     -without-* | --without-*)
1083     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1084     # Reject names that are not valid shell variable names.
1085     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1086 thommey 1.13.2.4 as_fn_error $? "invalid package name: $ac_useropt"
1087 simple 1.1 ac_useropt_orig=$ac_useropt
1088     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1089     case $ac_user_opts in
1090     *"
1091     "with_$ac_useropt"
1092     "*) ;;
1093     *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1094     ac_unrecognized_sep=', ';;
1095     esac
1096     eval with_$ac_useropt=no ;;
1097    
1098     --x)
1099     # Obsolete; use --with-x.
1100     with_x=yes ;;
1101    
1102     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1103     | --x-incl | --x-inc | --x-in | --x-i)
1104     ac_prev=x_includes ;;
1105     -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1106     | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1107     x_includes=$ac_optarg ;;
1108    
1109     -x-libraries | --x-libraries | --x-librarie | --x-librari \
1110     | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1111     ac_prev=x_libraries ;;
1112     -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1113     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1114     x_libraries=$ac_optarg ;;
1115    
1116 thommey 1.13.2.4 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1117     Try \`$0 --help' for more information"
1118 simple 1.1 ;;
1119    
1120     *=*)
1121     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1122     # Reject names that are not valid shell variable names.
1123     case $ac_envvar in #(
1124     '' | [0-9]* | *[!_$as_cr_alnum]* )
1125 thommey 1.13.2.4 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1126 simple 1.1 esac
1127     eval $ac_envvar=\$ac_optarg
1128     export $ac_envvar ;;
1129    
1130     *)
1131     # FIXME: should be removed in autoconf 3.0.
1132     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1133     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1134     $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1135 thommey 1.13.2.6 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1136 simple 1.1 ;;
1137    
1138     esac
1139     done
1140    
1141     if test -n "$ac_prev"; then
1142     ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1143 thommey 1.13.2.4 as_fn_error $? "missing argument to $ac_option"
1144 simple 1.1 fi
1145    
1146     if test -n "$ac_unrecognized_opts"; then
1147     case $enable_option_checking in
1148     no) ;;
1149 thommey 1.13.2.4 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1150 simple 1.1 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1151     esac
1152     fi
1153    
1154     # Check all directory arguments for consistency.
1155     for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1156     datadir sysconfdir sharedstatedir localstatedir includedir \
1157     oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1158     libdir localedir mandir
1159     do
1160     eval ac_val=\$$ac_var
1161     # Remove trailing slashes.
1162     case $ac_val in
1163     */ )
1164     ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1165     eval $ac_var=\$ac_val;;
1166     esac
1167     # Be sure to have absolute directory names.
1168     case $ac_val in
1169     [\\/$]* | ?:[\\/]* ) continue;;
1170     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1171     esac
1172 thommey 1.13.2.4 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1173 simple 1.1 done
1174    
1175     # There might be people who depend on the old broken behavior: `$host'
1176     # used to hold the argument of --host etc.
1177     # FIXME: To remove some day.
1178     build=$build_alias
1179     host=$host_alias
1180     target=$target_alias
1181    
1182     # FIXME: To remove some day.
1183     if test "x$host_alias" != x; then
1184     if test "x$build_alias" = x; then
1185     cross_compiling=maybe
1186 thommey 1.13.2.4 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1187     If a cross compiler is detected then cross compile mode will be used" >&2
1188 simple 1.1 elif test "x$build_alias" != "x$host_alias"; then
1189     cross_compiling=yes
1190     fi
1191     fi
1192    
1193     ac_tool_prefix=
1194     test -n "$host_alias" && ac_tool_prefix=$host_alias-
1195    
1196     test "$silent" = yes && exec 6>/dev/null
1197    
1198    
1199     ac_pwd=`pwd` && test -n "$ac_pwd" &&
1200     ac_ls_di=`ls -di .` &&
1201     ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1202 thommey 1.13.2.4 as_fn_error $? "working directory cannot be determined"
1203 simple 1.1 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1204 thommey 1.13.2.4 as_fn_error $? "pwd does not report name of working directory"
1205 simple 1.1
1206    
1207     # Find the source files, if location was not specified.
1208     if test -z "$srcdir"; then
1209     ac_srcdir_defaulted=yes
1210     # Try the directory containing this script, then the parent directory.
1211     ac_confdir=`$as_dirname -- "$as_myself" ||
1212     $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1213     X"$as_myself" : 'X\(//\)[^/]' \| \
1214     X"$as_myself" : 'X\(//\)$' \| \
1215     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1216     $as_echo X"$as_myself" |
1217     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1218     s//\1/
1219     q
1220     }
1221     /^X\(\/\/\)[^/].*/{
1222     s//\1/
1223     q
1224     }
1225     /^X\(\/\/\)$/{
1226     s//\1/
1227     q
1228     }
1229     /^X\(\/\).*/{
1230     s//\1/
1231     q
1232     }
1233     s/.*/./; q'`
1234     srcdir=$ac_confdir
1235     if test ! -r "$srcdir/$ac_unique_file"; then
1236     srcdir=..
1237     fi
1238     else
1239     ac_srcdir_defaulted=no
1240     fi
1241     if test ! -r "$srcdir/$ac_unique_file"; then
1242     test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1243 thommey 1.13.2.4 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1244 simple 1.1 fi
1245     ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1246     ac_abs_confdir=`(
1247 thommey 1.13.2.4 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1248 simple 1.1 pwd)`
1249     # When building in place, set srcdir=.
1250     if test "$ac_abs_confdir" = "$ac_pwd"; then
1251     srcdir=.
1252     fi
1253     # Remove unnecessary trailing slashes from srcdir.
1254     # Double slashes in file names in object file debugging info
1255     # mess up M-x gdb in Emacs.
1256     case $srcdir in
1257     */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1258     esac
1259     for ac_var in $ac_precious_vars; do
1260     eval ac_env_${ac_var}_set=\${${ac_var}+set}
1261     eval ac_env_${ac_var}_value=\$${ac_var}
1262     eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1263     eval ac_cv_env_${ac_var}_value=\$${ac_var}
1264     done
1265    
1266     #
1267     # Report the --help message.
1268     #
1269     if test "$ac_init_help" = "long"; then
1270     # Omit some internal or obsolete options to make the list less imposing.
1271     # This message is too long to be a string in the A/UX 3.1 sh.
1272     cat <<_ACEOF
1273 pseudo 1.2 \`configure' configures Eggdrop 1.8.0 to adapt to many kinds of systems.
1274 simple 1.1
1275     Usage: $0 [OPTION]... [VAR=VALUE]...
1276    
1277     To assign environment variables (e.g., CC, CFLAGS...), specify them as
1278     VAR=VALUE. See below for descriptions of some of the useful variables.
1279    
1280     Defaults for the options are specified in brackets.
1281    
1282     Configuration:
1283     -h, --help display this help and exit
1284     --help=short display options specific to this package
1285     --help=recursive display the short help of all the included packages
1286     -V, --version display version information and exit
1287 thommey 1.13.2.4 -q, --quiet, --silent do not print \`checking ...' messages
1288 simple 1.1 --cache-file=FILE cache test results in FILE [disabled]
1289     -C, --config-cache alias for \`--cache-file=config.cache'
1290     -n, --no-create do not create output files
1291     --srcdir=DIR find the sources in DIR [configure dir or \`..']
1292    
1293     Installation directories:
1294     --prefix=PREFIX install architecture-independent files in PREFIX
1295     [$ac_default_prefix]
1296     --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1297     [PREFIX]
1298    
1299     By default, \`make install' will install all the files in
1300     \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1301     an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1302     for instance \`--prefix=\$HOME'.
1303    
1304     For better control, use the options below.
1305    
1306     Fine tuning of the installation directories:
1307     --bindir=DIR user executables [EPREFIX/bin]
1308     --sbindir=DIR system admin executables [EPREFIX/sbin]
1309     --libexecdir=DIR program executables [EPREFIX/libexec]
1310     --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1311     --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1312     --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1313     --libdir=DIR object code libraries [EPREFIX/lib]
1314     --includedir=DIR C header files [PREFIX/include]
1315     --oldincludedir=DIR C header files for non-gcc [/usr/include]
1316     --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1317     --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1318     --infodir=DIR info documentation [DATAROOTDIR/info]
1319     --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1320     --mandir=DIR man documentation [DATAROOTDIR/man]
1321     --docdir=DIR documentation root [DATAROOTDIR/doc/eggdrop]
1322     --htmldir=DIR html documentation [DOCDIR]
1323     --dvidir=DIR dvi documentation [DOCDIR]
1324     --pdfdir=DIR pdf documentation [DOCDIR]
1325     --psdir=DIR ps documentation [DOCDIR]
1326     _ACEOF
1327    
1328     cat <<\_ACEOF
1329    
1330     System types:
1331     --build=BUILD configure for building on BUILD [guessed]
1332     --host=HOST cross-compile to build programs to run on HOST [BUILD]
1333     --target=TARGET configure for building compilers for TARGET [HOST]
1334     _ACEOF
1335     fi
1336    
1337     if test -n "$ac_init_help"; then
1338     case $ac_init_help in
1339 pseudo 1.2 short | recursive ) echo "Configuration of Eggdrop 1.8.0:";;
1340 simple 1.1 esac
1341     cat <<\_ACEOF
1342    
1343 pseudo 1.13.2.3 Optional Features:
1344 simple 1.1 --disable-option-checking ignore unrecognized --enable/--with options
1345     --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1346     --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1347     --enable-strip enable stripping of binaries
1348     --enable-debug enable generic debug code (default for 'make debug')
1349     --disable-debug disable generic debug code
1350     --enable-debug-assert enable assert debug code (default for 'make debug')
1351     --disable-debug-assert disable assert debug code
1352     --enable-debug-mem enable memory debug code (default for 'make debug')
1353     --disable-debug-mem disable memory debug code
1354 pseudo 1.13.2.3 --enable-debug-dns enable dns.mod debug messages (default for 'make
1355     debug')
1356 simple 1.1 --disable-debug-dns disable dns.mod debug messages
1357     --enable-debug-context enable context debug code (default)
1358     --disable-debug-context disable context debug code
1359 pseudo 1.4 --enable-ipv6 enable IPv6 support (autodetect)
1360     --disable-ipv6 disable IPv6 support
1361 pseudo 1.9 --enable-tls enable TLS support (autodetect)
1362     --disable-tls disable TLS support
1363 pseudo 1.13.2.3
1364     Optional Packages:
1365     --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1366     --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1367 thommey 1.13.2.4 --with-tcllib=PATH full path to Tcl library (e.g.
1368     /usr/lib/libtcl8.5.so)
1369     --with-tclinc=PATH full path to Tcl header (e.g. /usr/include/tcl.h)
1370 pseudo 1.13.2.3 --with-handlen=VALUE set the maximum length a handle on the bot can be
1371 pseudo 1.9 --with-sslinc=PATH Path to OpenSSL headers
1372     --with-ssllib=PATH Path to OpenSSL libraries
1373 simple 1.1
1374     Some influential environment variables:
1375     CC C compiler command
1376     CFLAGS C compiler flags
1377     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1378     nonstandard directory <lib dir>
1379     LIBS libraries to pass to the linker, e.g. -l<library>
1380     CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1381     you have headers in a nonstandard directory <include dir>
1382     CPP C preprocessor
1383    
1384     Use these variables to override the choices made by `configure' or to help
1385     it to find libraries and programs with nonstandard names/locations.
1386    
1387     Report bugs to <bugs@eggheads.org>.
1388 pseudo 1.13.2.3 Eggdrop home page: <http://www.eggheads.org/>.
1389 simple 1.1 _ACEOF
1390     ac_status=$?
1391     fi
1392    
1393     if test "$ac_init_help" = "recursive"; then
1394     # If there are subdirs, report their specific --help.
1395     for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1396     test -d "$ac_dir" ||
1397     { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1398     continue
1399     ac_builddir=.
1400    
1401     case "$ac_dir" in
1402     .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403     *)
1404     ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1405     # A ".." for each directory in $ac_dir_suffix.
1406     ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1407     case $ac_top_builddir_sub in
1408     "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409     *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1410     esac ;;
1411     esac
1412     ac_abs_top_builddir=$ac_pwd
1413     ac_abs_builddir=$ac_pwd$ac_dir_suffix
1414     # for backward compatibility:
1415     ac_top_builddir=$ac_top_build_prefix
1416    
1417     case $srcdir in
1418     .) # We are building in place.
1419     ac_srcdir=.
1420     ac_top_srcdir=$ac_top_builddir_sub
1421     ac_abs_top_srcdir=$ac_pwd ;;
1422     [\\/]* | ?:[\\/]* ) # Absolute name.
1423     ac_srcdir=$srcdir$ac_dir_suffix;
1424     ac_top_srcdir=$srcdir
1425     ac_abs_top_srcdir=$srcdir ;;
1426     *) # Relative name.
1427     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1428     ac_top_srcdir=$ac_top_build_prefix$srcdir
1429     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1430     esac
1431     ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1432    
1433     cd "$ac_dir" || { ac_status=$?; continue; }
1434     # Check for guested configure.
1435     if test -f "$ac_srcdir/configure.gnu"; then
1436     echo &&
1437     $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1438     elif test -f "$ac_srcdir/configure"; then
1439     echo &&
1440     $SHELL "$ac_srcdir/configure" --help=recursive
1441     else
1442     $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1443     fi || ac_status=$?
1444     cd "$ac_pwd" || { ac_status=$?; break; }
1445     done
1446     fi
1447    
1448     test -n "$ac_init_help" && exit $ac_status
1449     if $ac_init_version; then
1450     cat <<\_ACEOF
1451 pseudo 1.2 Eggdrop configure 1.8.0
1452 thommey 1.13.2.6 generated by GNU Autoconf 2.68
1453 simple 1.1
1454 thommey 1.13.2.4 Copyright (C) 2010 Free Software Foundation, Inc.
1455 simple 1.1 This configure script is free software; the Free Software Foundation
1456     gives unlimited permission to copy, distribute and modify it.
1457    
1458     Copyright (C) 1999 - 2010 Eggheads Development Team
1459     _ACEOF
1460     exit
1461     fi
1462    
1463     ## ------------------------ ##
1464     ## Autoconf initialization. ##
1465     ## ------------------------ ##
1466    
1467     # ac_fn_c_try_compile LINENO
1468     # --------------------------
1469     # Try to compile conftest.$ac_ext, and return whether this succeeded.
1470     ac_fn_c_try_compile ()
1471     {
1472     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1473     rm -f conftest.$ac_objext
1474     if { { ac_try="$ac_compile"
1475     case "(($ac_try" in
1476     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1477     *) ac_try_echo=$ac_try;;
1478     esac
1479     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1480     $as_echo "$ac_try_echo"; } >&5
1481     (eval "$ac_compile") 2>conftest.err
1482     ac_status=$?
1483     if test -s conftest.err; then
1484     grep -v '^ *+' conftest.err >conftest.er1
1485     cat conftest.er1 >&5
1486     mv -f conftest.er1 conftest.err
1487     fi
1488     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489     test $ac_status = 0; } && {
1490     test -z "$ac_c_werror_flag" ||
1491     test ! -s conftest.err
1492     } && test -s conftest.$ac_objext; then :
1493     ac_retval=0
1494     else
1495     $as_echo "$as_me: failed program was:" >&5
1496     sed 's/^/| /' conftest.$ac_ext >&5
1497    
1498     ac_retval=1
1499     fi
1500 thommey 1.13.2.6 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1501 simple 1.1 as_fn_set_status $ac_retval
1502    
1503     } # ac_fn_c_try_compile
1504    
1505     # ac_fn_c_try_cpp LINENO
1506     # ----------------------
1507     # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1508     ac_fn_c_try_cpp ()
1509     {
1510     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1511     if { { ac_try="$ac_cpp conftest.$ac_ext"
1512     case "(($ac_try" in
1513     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1514     *) ac_try_echo=$ac_try;;
1515     esac
1516     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517     $as_echo "$ac_try_echo"; } >&5
1518     (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1519     ac_status=$?
1520     if test -s conftest.err; then
1521     grep -v '^ *+' conftest.err >conftest.er1
1522     cat conftest.er1 >&5
1523     mv -f conftest.er1 conftest.err
1524     fi
1525     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 thommey 1.13.2.4 test $ac_status = 0; } > conftest.i && {
1527 simple 1.1 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1528     test ! -s conftest.err
1529     }; then :
1530     ac_retval=0
1531     else
1532     $as_echo "$as_me: failed program was:" >&5
1533     sed 's/^/| /' conftest.$ac_ext >&5
1534    
1535     ac_retval=1
1536     fi
1537 thommey 1.13.2.6 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1538 simple 1.1 as_fn_set_status $ac_retval
1539    
1540     } # ac_fn_c_try_cpp
1541    
1542     # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1543     # -------------------------------------------------------
1544     # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1545     # the include files in INCLUDES and setting the cache variable VAR
1546     # accordingly.
1547     ac_fn_c_check_header_mongrel ()
1548     {
1549     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 thommey 1.13.2.6 if eval \${$3+:} false; then :
1551 simple 1.1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1552     $as_echo_n "checking for $2... " >&6; }
1553 thommey 1.13.2.6 if eval \${$3+:} false; then :
1554 simple 1.1 $as_echo_n "(cached) " >&6
1555     fi
1556     eval ac_res=\$$3
1557     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1558     $as_echo "$ac_res" >&6; }
1559     else
1560     # Is the header compilable?
1561     { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1562     $as_echo_n "checking $2 usability... " >&6; }
1563     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1564     /* end confdefs.h. */
1565     $4
1566     #include <$2>
1567     _ACEOF
1568     if ac_fn_c_try_compile "$LINENO"; then :
1569     ac_header_compiler=yes
1570     else
1571     ac_header_compiler=no
1572     fi
1573     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1574     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1575     $as_echo "$ac_header_compiler" >&6; }
1576    
1577     # Is the header present?
1578     { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1579     $as_echo_n "checking $2 presence... " >&6; }
1580     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1581     /* end confdefs.h. */
1582     #include <$2>
1583     _ACEOF
1584     if ac_fn_c_try_cpp "$LINENO"; then :
1585     ac_header_preproc=yes
1586     else
1587     ac_header_preproc=no
1588     fi
1589 thommey 1.13.2.4 rm -f conftest.err conftest.i conftest.$ac_ext
1590 simple 1.1 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1591     $as_echo "$ac_header_preproc" >&6; }
1592    
1593     # So? What about this header?
1594     case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1595     yes:no: )
1596     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1597     $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1598     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1599     $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1600     ;;
1601     no:yes:* )
1602     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1603     $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1604     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1605     $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1606     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1607     $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1608     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1609     $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1610     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1611     $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1612 thommey 1.13.2.4 ( $as_echo "## -------------------------------- ##
1613 simple 1.1 ## Report this to bugs@eggheads.org ##
1614 thommey 1.13.2.4 ## -------------------------------- ##"
1615 simple 1.1 ) | sed "s/^/$as_me: WARNING: /" >&2
1616     ;;
1617     esac
1618     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619     $as_echo_n "checking for $2... " >&6; }
1620 thommey 1.13.2.6 if eval \${$3+:} false; then :
1621 simple 1.1 $as_echo_n "(cached) " >&6
1622     else
1623     eval "$3=\$ac_header_compiler"
1624     fi
1625     eval ac_res=\$$3
1626     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1627     $as_echo "$ac_res" >&6; }
1628     fi
1629 thommey 1.13.2.6 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1630 simple 1.1
1631     } # ac_fn_c_check_header_mongrel
1632    
1633     # ac_fn_c_try_run LINENO
1634     # ----------------------
1635     # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1636     # that executables *can* be run.
1637     ac_fn_c_try_run ()
1638     {
1639     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1640     if { { ac_try="$ac_link"
1641     case "(($ac_try" in
1642     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643     *) ac_try_echo=$ac_try;;
1644     esac
1645     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646     $as_echo "$ac_try_echo"; } >&5
1647     (eval "$ac_link") 2>&5
1648     ac_status=$?
1649     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650     test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1651     { { case "(($ac_try" in
1652     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653     *) ac_try_echo=$ac_try;;
1654     esac
1655     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656     $as_echo "$ac_try_echo"; } >&5
1657     (eval "$ac_try") 2>&5
1658     ac_status=$?
1659     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660     test $ac_status = 0; }; }; then :
1661     ac_retval=0
1662     else
1663     $as_echo "$as_me: program exited with status $ac_status" >&5
1664     $as_echo "$as_me: failed program was:" >&5
1665     sed 's/^/| /' conftest.$ac_ext >&5
1666    
1667     ac_retval=$ac_status
1668     fi
1669     rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1670 thommey 1.13.2.6 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671 simple 1.1 as_fn_set_status $ac_retval
1672    
1673     } # ac_fn_c_try_run
1674    
1675     # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1676     # -------------------------------------------------------
1677     # Tests whether HEADER exists and can be compiled using the include files in
1678     # INCLUDES, setting the cache variable VAR accordingly.
1679     ac_fn_c_check_header_compile ()
1680     {
1681     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683     $as_echo_n "checking for $2... " >&6; }
1684 thommey 1.13.2.6 if eval \${$3+:} false; then :
1685 simple 1.1 $as_echo_n "(cached) " >&6
1686     else
1687     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688     /* end confdefs.h. */
1689     $4
1690     #include <$2>
1691     _ACEOF
1692     if ac_fn_c_try_compile "$LINENO"; then :
1693     eval "$3=yes"
1694     else
1695     eval "$3=no"
1696     fi
1697     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698     fi
1699     eval ac_res=\$$3
1700     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1701     $as_echo "$ac_res" >&6; }
1702 thommey 1.13.2.6 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703 simple 1.1
1704     } # ac_fn_c_check_header_compile
1705    
1706     # ac_fn_c_try_link LINENO
1707     # -----------------------
1708     # Try to link conftest.$ac_ext, and return whether this succeeded.
1709     ac_fn_c_try_link ()
1710     {
1711     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712     rm -f conftest.$ac_objext conftest$ac_exeext
1713     if { { ac_try="$ac_link"
1714     case "(($ac_try" in
1715     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716     *) ac_try_echo=$ac_try;;
1717     esac
1718     eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719     $as_echo "$ac_try_echo"; } >&5
1720     (eval "$ac_link") 2>conftest.err
1721     ac_status=$?
1722     if test -s conftest.err; then
1723     grep -v '^ *+' conftest.err >conftest.er1
1724     cat conftest.er1 >&5
1725     mv -f conftest.er1 conftest.err
1726     fi
1727     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728     test $ac_status = 0; } && {
1729     test -z "$ac_c_werror_flag" ||
1730     test ! -s conftest.err
1731     } && test -s conftest$ac_exeext && {
1732     test "$cross_compiling" = yes ||
1733     $as_test_x conftest$ac_exeext
1734     }; then :
1735     ac_retval=0
1736     else
1737     $as_echo "$as_me: failed program was:" >&5
1738     sed 's/^/| /' conftest.$ac_ext >&5
1739    
1740     ac_retval=1
1741     fi
1742     # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1743     # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1744     # interfere with the next link command; also delete a directory that is
1745     # left behind by Apple's compiler. We do this before executing the actions.
1746     rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747 thommey 1.13.2.6 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748 simple 1.1 as_fn_set_status $ac_retval
1749    
1750     } # ac_fn_c_try_link
1751    
1752     # ac_fn_c_check_func LINENO FUNC VAR
1753     # ----------------------------------
1754     # Tests whether FUNC exists, setting the cache variable VAR accordingly
1755     ac_fn_c_check_func ()
1756     {
1757     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759     $as_echo_n "checking for $2... " >&6; }
1760 thommey 1.13.2.6 if eval \${$3+:} false; then :
1761 simple 1.1 $as_echo_n "(cached) " >&6
1762     else
1763     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764     /* end confdefs.h. */
1765     /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1766     For example, HP-UX 11i <limits.h> declares gettimeofday. */
1767     #define $2 innocuous_$2
1768    
1769     /* System header to define __stub macros and hopefully few prototypes,
1770     which can conflict with char $2 (); below.
1771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1772     <limits.h> exists even on freestanding compilers. */
1773    
1774     #ifdef __STDC__
1775     # include <limits.h>
1776     #else
1777     # include <assert.h>
1778     #endif
1779    
1780     #undef $2
1781    
1782     /* Override any GCC internal prototype to avoid an error.
1783     Use char because int might match the return type of a GCC
1784     builtin and then its argument prototype would still apply. */
1785     #ifdef __cplusplus
1786     extern "C"
1787     #endif
1788     char $2 ();
1789     /* The GNU C library defines this for functions which it implements
1790     to always fail with ENOSYS. Some functions are actually named
1791     something starting with __ and the normal name is an alias. */
1792     #if defined __stub_$2 || defined __stub___$2
1793     choke me
1794     #endif
1795    
1796     int
1797     main ()
1798     {
1799     return $2 ();
1800     ;
1801     return 0;
1802     }
1803     _ACEOF
1804     if ac_fn_c_try_link "$LINENO"; then :
1805     eval "$3=yes"
1806     else
1807     eval "$3=no"
1808     fi
1809     rm -f core conftest.err conftest.$ac_objext \
1810     conftest$ac_exeext conftest.$ac_ext
1811     fi
1812     eval ac_res=\$$3
1813     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814     $as_echo "$ac_res" >&6; }
1815 thommey 1.13.2.6 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 simple 1.1
1817     } # ac_fn_c_check_func
1818    
1819     # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1820     # -------------------------------------------
1821     # Tests whether TYPE exists after having included INCLUDES, setting cache
1822     # variable VAR accordingly.
1823     ac_fn_c_check_type ()
1824     {
1825     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1827     $as_echo_n "checking for $2... " >&6; }
1828 thommey 1.13.2.6 if eval \${$3+:} false; then :
1829 simple 1.1 $as_echo_n "(cached) " >&6
1830     else
1831     eval "$3=no"
1832     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1833     /* end confdefs.h. */
1834     $4
1835     int
1836     main ()
1837     {
1838     if (sizeof ($2))
1839     return 0;
1840     ;
1841     return 0;
1842     }
1843     _ACEOF
1844     if ac_fn_c_try_compile "$LINENO"; then :
1845     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846     /* end confdefs.h. */
1847     $4
1848     int
1849     main ()
1850     {
1851     if (sizeof (($2)))
1852     return 0;
1853     ;
1854     return 0;
1855     }
1856     _ACEOF
1857     if ac_fn_c_try_compile "$LINENO"; then :
1858    
1859     else
1860     eval "$3=yes"
1861     fi
1862     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1863     fi
1864     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1865     fi
1866     eval ac_res=\$$3
1867     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1868     $as_echo "$ac_res" >&6; }
1869 thommey 1.13.2.6 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 simple 1.1
1871     } # ac_fn_c_check_type
1872    
1873     # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1874     # --------------------------------------------
1875     # Tries to find the compile-time value of EXPR in a program that includes
1876     # INCLUDES, setting VAR accordingly. Returns whether the value could be
1877     # computed
1878     ac_fn_c_compute_int ()
1879     {
1880     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881     if test "$cross_compiling" = yes; then
1882     # Depending upon the size, compute the lo and hi bounds.
1883     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884     /* end confdefs.h. */
1885     $4
1886     int
1887     main ()
1888     {
1889     static int test_array [1 - 2 * !(($2) >= 0)];
1890     test_array [0] = 0
1891    
1892     ;
1893     return 0;
1894     }
1895     _ACEOF
1896     if ac_fn_c_try_compile "$LINENO"; then :
1897     ac_lo=0 ac_mid=0
1898     while :; do
1899     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900     /* end confdefs.h. */
1901     $4
1902     int
1903     main ()
1904     {
1905     static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1906     test_array [0] = 0
1907    
1908     ;
1909     return 0;
1910     }
1911     _ACEOF
1912     if ac_fn_c_try_compile "$LINENO"; then :
1913     ac_hi=$ac_mid; break
1914     else
1915     as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1916     if test $ac_lo -le $ac_mid; then
1917     ac_lo= ac_hi=
1918     break
1919     fi
1920     as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1921     fi
1922     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1923     done
1924     else
1925     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926     /* end confdefs.h. */
1927     $4
1928     int
1929     main ()
1930     {
1931     static int test_array [1 - 2 * !(($2) < 0)];
1932     test_array [0] = 0
1933    
1934     ;
1935     return 0;
1936     }
1937     _ACEOF
1938     if ac_fn_c_try_compile "$LINENO"; then :
1939     ac_hi=-1 ac_mid=-1
1940     while :; do
1941     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942     /* end confdefs.h. */
1943     $4
1944     int
1945     main ()
1946     {
1947     static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1948     test_array [0] = 0
1949    
1950     ;
1951     return 0;
1952     }
1953     _ACEOF
1954     if ac_fn_c_try_compile "$LINENO"; then :
1955     ac_lo=$ac_mid; break
1956     else
1957     as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1958     if test $ac_mid -le $ac_hi; then
1959     ac_lo= ac_hi=
1960     break
1961     fi
1962     as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1963     fi
1964     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1965     done
1966     else
1967     ac_lo= ac_hi=
1968     fi
1969     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1970     fi
1971     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1972     # Binary search between lo and hi bounds.
1973     while test "x$ac_lo" != "x$ac_hi"; do
1974     as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1975     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976     /* end confdefs.h. */
1977     $4
1978     int
1979     main ()
1980     {
1981     static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1982     test_array [0] = 0
1983    
1984     ;
1985     return 0;
1986     }
1987     _ACEOF
1988     if ac_fn_c_try_compile "$LINENO"; then :
1989     ac_hi=$ac_mid
1990     else
1991     as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1992     fi
1993     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1994     done
1995     case $ac_lo in #((
1996     ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1997     '') ac_retval=1 ;;
1998     esac
1999     else
2000     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001     /* end confdefs.h. */
2002     $4
2003     static long int longval () { return $2; }
2004     static unsigned long int ulongval () { return $2; }
2005     #include <stdio.h>
2006     #include <stdlib.h>
2007     int
2008     main ()
2009     {
2010    
2011     FILE *f = fopen ("conftest.val", "w");
2012     if (! f)
2013     return 1;
2014     if (($2) < 0)
2015     {
2016     long int i = longval ();
2017     if (i != ($2))
2018     return 1;
2019     fprintf (f, "%ld", i);
2020     }
2021     else
2022     {
2023     unsigned long int i = ulongval ();
2024     if (i != ($2))
2025     return 1;
2026     fprintf (f, "%lu", i);
2027     }
2028     /* Do not output a trailing newline, as this causes \r\n confusion
2029     on some platforms. */
2030     return ferror (f) || fclose (f) != 0;
2031    
2032     ;
2033     return 0;
2034     }
2035     _ACEOF
2036     if ac_fn_c_try_run "$LINENO"; then :
2037     echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2038     else
2039     ac_retval=1
2040     fi
2041     rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2042     conftest.$ac_objext conftest.beam conftest.$ac_ext
2043     rm -f conftest.val
2044    
2045     fi
2046 thommey 1.13.2.6 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2047 simple 1.1 as_fn_set_status $ac_retval
2048    
2049     } # ac_fn_c_compute_int
2050 pseudo 1.13.2.3
2051     # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2052     # ----------------------------------------------------
2053     # Tries to find if the field MEMBER exists in type AGGR, after including
2054     # INCLUDES, setting cache variable VAR accordingly.
2055     ac_fn_c_check_member ()
2056     {
2057     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2058     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2059     $as_echo_n "checking for $2.$3... " >&6; }
2060 thommey 1.13.2.6 if eval \${$4+:} false; then :
2061 pseudo 1.13.2.3 $as_echo_n "(cached) " >&6
2062     else
2063     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064     /* end confdefs.h. */
2065     $5
2066     int
2067     main ()
2068     {
2069     static $2 ac_aggr;
2070     if (ac_aggr.$3)
2071     return 0;
2072     ;
2073     return 0;
2074     }
2075     _ACEOF
2076     if ac_fn_c_try_compile "$LINENO"; then :
2077     eval "$4=yes"
2078     else
2079     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080     /* end confdefs.h. */
2081     $5
2082     int
2083     main ()
2084     {
2085     static $2 ac_aggr;
2086     if (sizeof ac_aggr.$3)
2087     return 0;
2088     ;
2089     return 0;
2090     }
2091     _ACEOF
2092     if ac_fn_c_try_compile "$LINENO"; then :
2093     eval "$4=yes"
2094     else
2095     eval "$4=no"
2096     fi
2097     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098     fi
2099     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100     fi
2101     eval ac_res=\$$4
2102     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103     $as_echo "$ac_res" >&6; }
2104 thommey 1.13.2.6 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105 pseudo 1.13.2.3
2106     } # ac_fn_c_check_member
2107 simple 1.1 cat >config.log <<_ACEOF
2108     This file contains any messages produced by compilers while
2109     running configure, to aid debugging if configure makes a mistake.
2110    
2111 pseudo 1.2 It was created by Eggdrop $as_me 1.8.0, which was
2112 thommey 1.13.2.6 generated by GNU Autoconf 2.68. Invocation command line was
2113 simple 1.1
2114     $ $0 $@
2115    
2116     _ACEOF
2117     exec 5>>config.log
2118     {
2119     cat <<_ASUNAME
2120     ## --------- ##
2121     ## Platform. ##
2122     ## --------- ##
2123    
2124     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2125     uname -m = `(uname -m) 2>/dev/null || echo unknown`
2126     uname -r = `(uname -r) 2>/dev/null || echo unknown`
2127     uname -s = `(uname -s) 2>/dev/null || echo unknown`
2128     uname -v = `(uname -v) 2>/dev/null || echo unknown`
2129    
2130     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2131     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2132    
2133     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2134     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2135     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2136     /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2137     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2138     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2139     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2140    
2141     _ASUNAME
2142    
2143     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144     for as_dir in $PATH
2145     do
2146     IFS=$as_save_IFS
2147     test -z "$as_dir" && as_dir=.
2148     $as_echo "PATH: $as_dir"
2149     done
2150     IFS=$as_save_IFS
2151    
2152     } >&5
2153    
2154     cat >&5 <<_ACEOF
2155    
2156    
2157     ## ----------- ##
2158     ## Core tests. ##
2159     ## ----------- ##
2160    
2161     _ACEOF
2162    
2163    
2164     # Keep a trace of the command line.
2165     # Strip out --no-create and --no-recursion so they do not pile up.
2166     # Strip out --silent because we don't want to record it for future runs.
2167     # Also quote any args containing shell meta-characters.
2168     # Make two passes to allow for proper duplicate-argument suppression.
2169     ac_configure_args=
2170     ac_configure_args0=
2171     ac_configure_args1=
2172     ac_must_keep_next=false
2173     for ac_pass in 1 2
2174     do
2175     for ac_arg
2176     do
2177     case $ac_arg in
2178     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2179     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2180     | -silent | --silent | --silen | --sile | --sil)
2181     continue ;;
2182     *\'*)
2183     ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2184     esac
2185     case $ac_pass in
2186     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2187     2)
2188     as_fn_append ac_configure_args1 " '$ac_arg'"
2189     if test $ac_must_keep_next = true; then
2190     ac_must_keep_next=false # Got value, back to normal.
2191     else
2192     case $ac_arg in
2193     *=* | --config-cache | -C | -disable-* | --disable-* \
2194     | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2195     | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2196