/[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.15 - (hide annotations) (download)
Wed Jul 20 10:32:25 2011 UTC (7 years, 10 months ago) by thommey
Branch: MAIN
Changes since 1.14: +257 -205 lines
Ran autotools.

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