Parent Directory
|
Revision Log
|
Revision Graph
Added few autoconf checks for ssl. Added tls to tcl_status()
1 | #! /bin/sh |
2 | # From configure.ac Revision: 1.5 . |
3 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated by GNU Autoconf 2.65 for Eggdrop 1.8.0. |
5 | # |
6 | # Report bugs to <bugs@eggheads.org>. |
7 | # |
8 | # |
9 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
10 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
11 | # Inc. |
12 | # |
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 | 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 | BASH_ENV=/dev/null |
223 | ENV=/dev/null |
224 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
225 | export CONFIG_SHELL |
226 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
227 | fi |
228 | |
229 | if test x$as_have_required = xno; then : |
230 | $as_echo "$0: This script requires a shell more modern than all" |
231 | $as_echo "$0: the shells that I found on your system." |
232 | if test x${ZSH_VERSION+set} = xset ; then |
233 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
234 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
235 | else |
236 | $as_echo "$0: Please tell bug-autoconf@gnu.org and bugs@eggheads.org |
237 | $0: about your system, including any error possibly output |
238 | $0: before this message. Then install a modern shell, or |
239 | $0: manually run the script under such a shell if you do |
240 | $0: have one." |
241 | fi |
242 | exit 1 |
243 | fi |
244 | fi |
245 | fi |
246 | SHELL=${CONFIG_SHELL-/bin/sh} |
247 | export SHELL |
248 | # Unset more variables known to interfere with behavior of common tools. |
249 | CLICOLOR_FORCE= GREP_OPTIONS= |
250 | unset CLICOLOR_FORCE GREP_OPTIONS |
251 | |
252 | ## --------------------- ## |
253 | ## M4sh Shell Functions. ## |
254 | ## --------------------- ## |
255 | # as_fn_unset VAR |
256 | # --------------- |
257 | # Portably unset VAR. |
258 | as_fn_unset () |
259 | { |
260 | { eval $1=; unset $1;} |
261 | } |
262 | as_unset=as_fn_unset |
263 | |
264 | # as_fn_set_status STATUS |
265 | # ----------------------- |
266 | # Set $? to STATUS, without forking. |
267 | as_fn_set_status () |
268 | { |
269 | return $1 |
270 | } # as_fn_set_status |
271 | |
272 | # as_fn_exit STATUS |
273 | # ----------------- |
274 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
275 | as_fn_exit () |
276 | { |
277 | set +e |
278 | as_fn_set_status $1 |
279 | exit $1 |
280 | } # as_fn_exit |
281 | |
282 | # as_fn_mkdir_p |
283 | # ------------- |
284 | # Create "$as_dir" as a directory, including parents if necessary. |
285 | as_fn_mkdir_p () |
286 | { |
287 | |
288 | case $as_dir in #( |
289 | -*) as_dir=./$as_dir;; |
290 | esac |
291 | test -d "$as_dir" || eval $as_mkdir_p || { |
292 | as_dirs= |
293 | while :; do |
294 | case $as_dir in #( |
295 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
296 | *) as_qdir=$as_dir;; |
297 | esac |
298 | as_dirs="'$as_qdir' $as_dirs" |
299 | as_dir=`$as_dirname -- "$as_dir" || |
300 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
301 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
302 | X"$as_dir" : 'X\(//\)$' \| \ |
303 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
304 | $as_echo X"$as_dir" | |
305 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
306 | s//\1/ |
307 | q |
308 | } |
309 | /^X\(\/\/\)[^/].*/{ |
310 | s//\1/ |
311 | q |
312 | } |
313 | /^X\(\/\/\)$/{ |
314 | s//\1/ |
315 | q |
316 | } |
317 | /^X\(\/\).*/{ |
318 | s//\1/ |
319 | q |
320 | } |
321 | s/.*/./; q'` |
322 | test -d "$as_dir" && break |
323 | done |
324 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
325 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
326 | |
327 | |
328 | } # as_fn_mkdir_p |
329 | # as_fn_append VAR VALUE |
330 | # ---------------------- |
331 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
332 | # advantage of any shell optimizations that allow amortized linear growth over |
333 | # repeated appends, instead of the typical quadratic growth present in naive |
334 | # implementations. |
335 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
336 | eval 'as_fn_append () |
337 | { |
338 | eval $1+=\$2 |
339 | }' |
340 | else |
341 | as_fn_append () |
342 | { |
343 | eval $1=\$$1\$2 |
344 | } |
345 | fi # as_fn_append |
346 | |
347 | # as_fn_arith ARG... |
348 | # ------------------ |
349 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
350 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
351 | # must be portable across $(()) and expr. |
352 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
353 | eval 'as_fn_arith () |
354 | { |
355 | as_val=$(( $* )) |
356 | }' |
357 | else |
358 | as_fn_arith () |
359 | { |
360 | as_val=`expr "$@" || test $? -eq 1` |
361 | } |
362 | fi # as_fn_arith |
363 | |
364 | |
365 | # as_fn_error ERROR [LINENO LOG_FD] |
366 | # --------------------------------- |
367 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
368 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
369 | # script with status $?, using 1 if that was 0. |
370 | as_fn_error () |
371 | { |
372 | as_status=$?; test $as_status -eq 0 && as_status=1 |
373 | if test "$3"; then |
374 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
375 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
376 | fi |
377 | $as_echo "$as_me: error: $1" >&2 |
378 | as_fn_exit $as_status |
379 | } # as_fn_error |
380 | |
381 | if expr a : '\(a\)' >/dev/null 2>&1 && |
382 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
383 | as_expr=expr |
384 | else |
385 | as_expr=false |
386 | fi |
387 | |
388 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
389 | as_basename=basename |
390 | else |
391 | as_basename=false |
392 | fi |
393 | |
394 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
395 | as_dirname=dirname |
396 | else |
397 | as_dirname=false |
398 | fi |
399 | |
400 | as_me=`$as_basename -- "$0" || |
401 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
402 | X"$0" : 'X\(//\)$' \| \ |
403 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
404 | $as_echo X/"$0" | |
405 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
406 | s//\1/ |
407 | q |
408 | } |
409 | /^X\/\(\/\/\)$/{ |
410 | s//\1/ |
411 | q |
412 | } |
413 | /^X\/\(\/\).*/{ |
414 | s//\1/ |
415 | q |
416 | } |
417 | s/.*/./; q'` |
418 | |
419 | # Avoid depending upon Character Ranges. |
420 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
421 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
422 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
423 | as_cr_digits='0123456789' |
424 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
425 | |
426 | |
427 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
428 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
429 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
430 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
431 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
432 | sed -n ' |
433 | p |
434 | /[$]LINENO/= |
435 | ' <$as_myself | |
436 | sed ' |
437 | s/[$]LINENO.*/&-/ |
438 | t lineno |
439 | b |
440 | :lineno |
441 | N |
442 | :loop |
443 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
444 | t loop |
445 | s/-\n.*// |
446 | ' >$as_me.lineno && |
447 | chmod +x "$as_me.lineno" || |
448 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
449 | |
450 | # Don't try to exec as it changes $[0], causing all sort of problems |
451 | # (the dirname of $[0] is not the place where we might find the |
452 | # original and so on. Autoconf is especially sensitive to this). |
453 | . "./$as_me.lineno" |
454 | # Exit status is that of the last command. |
455 | exit |
456 | } |
457 | |
458 | ECHO_C= ECHO_N= ECHO_T= |
459 | case `echo -n x` in #((((( |
460 | -n*) |
461 | case `echo 'xy\c'` in |
462 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
463 | xy) ECHO_C='\c';; |
464 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
465 | ECHO_T=' ';; |
466 | esac;; |
467 | *) |
468 | ECHO_N='-n';; |
469 | esac |
470 | |
471 | rm -f conf$$ conf$$.exe conf$$.file |
472 | if test -d conf$$.dir; then |
473 | rm -f conf$$.dir/conf$$.file |
474 | else |
475 | rm -f conf$$.dir |
476 | mkdir conf$$.dir 2>/dev/null |
477 | fi |
478 | if (echo >conf$$.file) 2>/dev/null; then |
479 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
480 | as_ln_s='ln -s' |
481 | # ... but there are two gotchas: |
482 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
483 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
484 | # In both cases, we have to default to `cp -p'. |
485 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
486 | as_ln_s='cp -p' |
487 | elif ln conf$$.file conf$$ 2>/dev/null; then |
488 | as_ln_s=ln |
489 | else |
490 | as_ln_s='cp -p' |
491 | fi |
492 | else |
493 | as_ln_s='cp -p' |
494 | fi |
495 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
496 | rmdir conf$$.dir 2>/dev/null |
497 | |
498 | if mkdir -p . 2>/dev/null; then |
499 | as_mkdir_p='mkdir -p "$as_dir"' |
500 | else |
501 | test -d ./-p && rmdir ./-p |
502 | as_mkdir_p=false |
503 | fi |
504 | |
505 | if test -x / >/dev/null 2>&1; then |
506 | as_test_x='test -x' |
507 | else |
508 | if ls -dL / >/dev/null 2>&1; then |
509 | as_ls_L_option=L |
510 | else |
511 | as_ls_L_option= |
512 | fi |
513 | as_test_x=' |
514 | eval sh -c '\'' |
515 | if test -d "$1"; then |
516 | test -d "$1/."; |
517 | else |
518 | case $1 in #( |
519 | -*)set "./$1";; |
520 | esac; |
521 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
522 | ???[sx]*):;;*)false;;esac;fi |
523 | '\'' sh |
524 | ' |
525 | fi |
526 | as_executable_p=$as_test_x |
527 | |
528 | # Sed expression to map a string onto a valid CPP name. |
529 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
530 | |
531 | # Sed expression to map a string onto a valid variable name. |
532 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
533 | |
534 | |
535 | test -n "$DJDIR" || exec 7<&0 </dev/null |
536 | exec 6>&1 |
537 | |
538 | # Name of the host. |
539 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
540 | # so uname gets run too. |
541 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
542 | |
543 | # |
544 | # Initializations. |
545 | # |
546 | ac_default_prefix=/usr/local |
547 | ac_clean_files= |
548 | ac_config_libobj_dir=. |
549 | LIBOBJS= |
550 | cross_compiling=no |
551 | subdirs= |
552 | MFLAGS= |
553 | MAKEFLAGS= |
554 | |
555 | # Identity of this package. |
556 | PACKAGE_NAME='Eggdrop' |
557 | PACKAGE_TARNAME='eggdrop' |
558 | PACKAGE_VERSION='1.8.0' |
559 | PACKAGE_STRING='Eggdrop 1.8.0' |
560 | PACKAGE_BUGREPORT='bugs@eggheads.org' |
561 | PACKAGE_URL='' |
562 | |
563 | ac_unique_file="src/eggdrop.h" |
564 | ac_default_prefix=\${HOME}/eggdrop |
565 | # Factoring default headers for most tests. |
566 | ac_includes_default="\ |
567 | #include <stdio.h> |
568 | #ifdef HAVE_SYS_TYPES_H |
569 | # include <sys/types.h> |
570 | #endif |
571 | #ifdef HAVE_SYS_STAT_H |
572 | # include <sys/stat.h> |
573 | #endif |
574 | #ifdef STDC_HEADERS |
575 | # include <stdlib.h> |
576 | # include <stddef.h> |
577 | #else |
578 | # ifdef HAVE_STDLIB_H |
579 | # include <stdlib.h> |
580 | # endif |
581 | #endif |
582 | #ifdef HAVE_STRING_H |
583 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
584 | # include <memory.h> |
585 | # endif |
586 | # include <string.h> |
587 | #endif |
588 | #ifdef HAVE_STRINGS_H |
589 | # include <strings.h> |
590 | #endif |
591 | #ifdef HAVE_INTTYPES_H |
592 | # include <inttypes.h> |
593 | #endif |
594 | #ifdef HAVE_STDINT_H |
595 | # include <stdint.h> |
596 | #endif |
597 | #ifdef HAVE_UNISTD_H |
598 | # include <unistd.h> |
599 | #endif" |
600 | |
601 | ac_header_list= |
602 | ac_subst_vars='LTLIBOBJS |
603 | LIBOBJS |
604 | MOD_UPDIR |
605 | DEST |
606 | EGGVERSION |
607 | SSL_LIBS |
608 | SSL_INCLUDES |
609 | DEBCFLGS |
610 | CFLGS |
611 | TCL_LIBS |
612 | TCL_REQS |
613 | TCLINCFN |
614 | TCLINC |
615 | TCLLIBFN |
616 | TCLLIB |
617 | SHLIB_STRIP |
618 | SHLIB_CC |
619 | SHLIB_LD |
620 | MOD_STRIP |
621 | MOD_CC |
622 | MOD_LD |
623 | MODULE_XLIBS |
624 | MOD_EXT |
625 | DEFAULT_MAKE |
626 | target_os |
627 | target_vendor |
628 | target_cpu |
629 | target |
630 | host_os |
631 | host_vendor |
632 | host_cpu |
633 | host |
634 | build_os |
635 | build_vendor |
636 | build_cpu |
637 | build |
638 | UNAME |
639 | BASENAME |
640 | AWK |
641 | STRIP |
642 | HEAD_1 |
643 | LN_S |
644 | RANLIB |
645 | SET_MAKE |
646 | INSTALL_DATA |
647 | INSTALL_SCRIPT |
648 | INSTALL_PROGRAM |
649 | EGGEXEC |
650 | EGREP |
651 | GREP |
652 | CPP |
653 | OBJEXT |
654 | EXEEXT |
655 | ac_ct_CC |
656 | CPPFLAGS |
657 | LDFLAGS |
658 | CFLAGS |
659 | CC |
660 | egg_ac_parameters |
661 | target_alias |
662 | host_alias |
663 | build_alias |
664 | LIBS |
665 | ECHO_T |
666 | ECHO_N |
667 | ECHO_C |
668 | DEFS |
669 | mandir |
670 | localedir |
671 | libdir |
672 | psdir |
673 | pdfdir |
674 | dvidir |
675 | htmldir |
676 | infodir |
677 | docdir |
678 | oldincludedir |
679 | includedir |
680 | localstatedir |
681 | sharedstatedir |
682 | sysconfdir |
683 | datadir |
684 | datarootdir |
685 | libexecdir |
686 | sbindir |
687 | bindir |
688 | program_transform_name |
689 | prefix |
690 | exec_prefix |
691 | PACKAGE_URL |
692 | PACKAGE_BUGREPORT |
693 | PACKAGE_STRING |
694 | PACKAGE_VERSION |
695 | PACKAGE_TARNAME |
696 | PACKAGE_NAME |
697 | PATH_SEPARATOR |
698 | SHELL' |
699 | ac_subst_files='' |
700 | ac_user_opts=' |
701 | enable_option_checking |
702 | enable_strip |
703 | with_tcllib |
704 | with_tclinc |
705 | enable_debug |
706 | enable_debug_assert |
707 | enable_debug_mem |
708 | enable_debug_dns |
709 | enable_debug_context |
710 | with_handlen |
711 | enable_ipv6 |
712 | enable_tls |
713 | with_sslinc |
714 | with_ssllib |
715 | ' |
716 | ac_precious_vars='build_alias |
717 | host_alias |
718 | target_alias |
719 | CC |
720 | CFLAGS |
721 | LDFLAGS |
722 | LIBS |
723 | CPPFLAGS |
724 | CPP' |
725 | |
726 | |
727 | # Initialize some variables set by options. |
728 | ac_init_help= |
729 | ac_init_version=false |
730 | ac_unrecognized_opts= |
731 | ac_unrecognized_sep= |
732 | # The variables have the same names as the options, with |
733 | # dashes changed to underlines. |
734 | cache_file=/dev/null |
735 | exec_prefix=NONE |
736 | no_create= |
737 | no_recursion= |
738 | prefix=NONE |
739 | program_prefix=NONE |
740 | program_suffix=NONE |
741 | program_transform_name=s,x,x, |
742 | silent= |
743 | site= |
744 | srcdir= |
745 | verbose= |
746 | x_includes=NONE |
747 | x_libraries=NONE |
748 | |
749 | # Installation directory options. |
750 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
751 | # and all the variables that are supposed to be based on exec_prefix |
752 | # by default will actually change. |
753 | # Use braces instead of parens because sh, perl, etc. also accept them. |
754 | # (The list follows the same order as the GNU Coding Standards.) |
755 | bindir='${exec_prefix}/bin' |
756 | sbindir='${exec_prefix}/sbin' |
757 | libexecdir='${exec_prefix}/libexec' |
758 | datarootdir='${prefix}/share' |
759 | datadir='${datarootdir}' |
760 | sysconfdir='${prefix}/etc' |
761 | sharedstatedir='${prefix}/com' |
762 | localstatedir='${prefix}/var' |
763 | includedir='${prefix}/include' |
764 | oldincludedir='/usr/include' |
765 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
766 | infodir='${datarootdir}/info' |
767 | htmldir='${docdir}' |
768 | dvidir='${docdir}' |
769 | pdfdir='${docdir}' |
770 | psdir='${docdir}' |
771 | libdir='${exec_prefix}/lib' |
772 | localedir='${datarootdir}/locale' |
773 | mandir='${datarootdir}/man' |
774 | |
775 | ac_prev= |
776 | ac_dashdash= |
777 | for ac_option |
778 | do |
779 | # If the previous option needs an argument, assign it. |
780 | if test -n "$ac_prev"; then |
781 | eval $ac_prev=\$ac_option |
782 | ac_prev= |
783 | continue |
784 | fi |
785 | |
786 | case $ac_option in |
787 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
788 | *) ac_optarg=yes ;; |
789 | esac |
790 | |
791 | # Accept the important Cygnus configure options, so we can diagnose typos. |
792 | |
793 | case $ac_dashdash$ac_option in |
794 | --) |
795 | ac_dashdash=yes ;; |
796 | |
797 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
798 | ac_prev=bindir ;; |
799 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
800 | bindir=$ac_optarg ;; |
801 | |
802 | -build | --build | --buil | --bui | --bu) |
803 | ac_prev=build_alias ;; |
804 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
805 | build_alias=$ac_optarg ;; |
806 | |
807 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
808 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
809 | ac_prev=cache_file ;; |
810 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
811 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
812 | cache_file=$ac_optarg ;; |
813 | |
814 | --config-cache | -C) |
815 | cache_file=config.cache ;; |
816 | |
817 | -datadir | --datadir | --datadi | --datad) |
818 | ac_prev=datadir ;; |
819 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
820 | datadir=$ac_optarg ;; |
821 | |
822 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
823 | | --dataroo | --dataro | --datar) |
824 | ac_prev=datarootdir ;; |
825 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
826 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
827 | datarootdir=$ac_optarg ;; |
828 | |
829 | -disable-* | --disable-*) |
830 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
831 | # Reject names that are not valid shell variable names. |
832 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
833 | as_fn_error "invalid feature name: $ac_useropt" |
834 | ac_useropt_orig=$ac_useropt |
835 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
836 | case $ac_user_opts in |
837 | *" |
838 | "enable_$ac_useropt" |
839 | "*) ;; |
840 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
841 | ac_unrecognized_sep=', ';; |
842 | esac |
843 | eval enable_$ac_useropt=no ;; |
844 | |
845 | -docdir | --docdir | --docdi | --doc | --do) |
846 | ac_prev=docdir ;; |
847 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
848 | docdir=$ac_optarg ;; |
849 | |
850 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
851 | ac_prev=dvidir ;; |
852 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
853 | dvidir=$ac_optarg ;; |
854 | |
855 | -enable-* | --enable-*) |
856 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
857 | # Reject names that are not valid shell variable names. |
858 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
859 | as_fn_error "invalid feature name: $ac_useropt" |
860 | ac_useropt_orig=$ac_useropt |
861 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
862 | case $ac_user_opts in |
863 | *" |
864 | "enable_$ac_useropt" |
865 | "*) ;; |
866 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
867 | ac_unrecognized_sep=', ';; |
868 | esac |
869 | eval enable_$ac_useropt=\$ac_optarg ;; |
870 | |
871 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
872 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
873 | | --exec | --exe | --ex) |
874 | ac_prev=exec_prefix ;; |
875 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
876 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
877 | | --exec=* | --exe=* | --ex=*) |
878 | exec_prefix=$ac_optarg ;; |
879 | |
880 | -gas | --gas | --ga | --g) |
881 | # Obsolete; use --with-gas. |
882 | with_gas=yes ;; |
883 | |
884 | -help | --help | --hel | --he | -h) |
885 | ac_init_help=long ;; |
886 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
887 | ac_init_help=recursive ;; |
888 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
889 | ac_init_help=short ;; |
890 | |
891 | -host | --host | --hos | --ho) |
892 | ac_prev=host_alias ;; |
893 | -host=* | --host=* | --hos=* | --ho=*) |
894 | host_alias=$ac_optarg ;; |
895 | |
896 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
897 | ac_prev=htmldir ;; |
898 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
899 | | --ht=*) |
900 | htmldir=$ac_optarg ;; |
901 | |
902 | -includedir | --includedir | --includedi | --included | --include \ |
903 | | --includ | --inclu | --incl | --inc) |
904 | ac_prev=includedir ;; |
905 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
906 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
907 | includedir=$ac_optarg ;; |
908 | |
909 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
910 | ac_prev=infodir ;; |
911 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
912 | infodir=$ac_optarg ;; |
913 | |
914 | -libdir | --libdir | --libdi | --libd) |
915 | ac_prev=libdir ;; |
916 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
917 | libdir=$ac_optarg ;; |
918 | |
919 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
920 | | --libexe | --libex | --libe) |
921 | ac_prev=libexecdir ;; |
922 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
923 | | --libexe=* | --libex=* | --libe=*) |
924 | libexecdir=$ac_optarg ;; |
925 | |
926 | -localedir | --localedir | --localedi | --localed | --locale) |
927 | ac_prev=localedir ;; |
928 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
929 | localedir=$ac_optarg ;; |
930 | |
931 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
932 | | --localstate | --localstat | --localsta | --localst | --locals) |
933 | ac_prev=localstatedir ;; |
934 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
935 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
936 | localstatedir=$ac_optarg ;; |
937 | |
938 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
939 | ac_prev=mandir ;; |
940 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
941 | mandir=$ac_optarg ;; |
942 | |
943 | -nfp | --nfp | --nf) |
944 | # Obsolete; use --without-fp. |
945 | with_fp=no ;; |
946 | |
947 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
948 | | --no-cr | --no-c | -n) |
949 | no_create=yes ;; |
950 | |
951 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
952 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
953 | no_recursion=yes ;; |
954 | |
955 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
956 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
957 | | --oldin | --oldi | --old | --ol | --o) |
958 | ac_prev=oldincludedir ;; |
959 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
960 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
961 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
962 | oldincludedir=$ac_optarg ;; |
963 | |
964 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
965 | ac_prev=prefix ;; |
966 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
967 | prefix=$ac_optarg ;; |
968 | |
969 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
970 | | --program-pre | --program-pr | --program-p) |
971 | ac_prev=program_prefix ;; |
972 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
973 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
974 | program_prefix=$ac_optarg ;; |
975 | |
976 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
977 | | --program-suf | --program-su | --program-s) |
978 | ac_prev=program_suffix ;; |
979 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
980 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
981 | program_suffix=$ac_optarg ;; |
982 | |
983 | -program-transform-name | --program-transform-name \ |
984 | | --program-transform-nam | --program-transform-na \ |
985 | | --program-transform-n | --program-transform- \ |
986 | | --program-transform | --program-transfor \ |
987 | | --program-transfo | --program-transf \ |
988 | | --program-trans | --program-tran \ |
989 | | --progr-tra | --program-tr | --program-t) |
990 | ac_prev=program_transform_name ;; |
991 | -program-transform-name=* | --program-transform-name=* \ |
992 | | --program-transform-nam=* | --program-transform-na=* \ |
993 | | --program-transform-n=* | --program-transform-=* \ |
994 | | --program-transform=* | --program-transfor=* \ |
995 | | --program-transfo=* | --program-transf=* \ |
996 | | --program-trans=* | --program-tran=* \ |
997 | | --progr-tra=* | --program-tr=* | --program-t=*) |
998 | program_transform_name=$ac_optarg ;; |
999 | |
1000 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1001 | ac_prev=pdfdir ;; |
1002 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
1003 | pdfdir=$ac_optarg ;; |
1004 | |
1005 | -psdir | --psdir | --psdi | --psd | --ps) |
1006 | ac_prev=psdir ;; |
1007 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
1008 | psdir=$ac_optarg ;; |
1009 | |
1010 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1011 | | -silent | --silent | --silen | --sile | --sil) |
1012 | silent=yes ;; |
1013 | |
1014 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1015 | ac_prev=sbindir ;; |
1016 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1017 | | --sbi=* | --sb=*) |
1018 | sbindir=$ac_optarg ;; |
1019 | |
1020 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
1021 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
1022 | | --sharedst | --shareds | --shared | --share | --shar \ |
1023 | | --sha | --sh) |
1024 | ac_prev=sharedstatedir ;; |
1025 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
1026 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
1027 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
1028 | | --sha=* | --sh=*) |
1029 | sharedstatedir=$ac_optarg ;; |
1030 | |
1031 | -site | --site | --sit) |
1032 | ac_prev=site ;; |
1033 | -site=* | --site=* | --sit=*) |
1034 | site=$ac_optarg ;; |
1035 | |
1036 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
1037 | ac_prev=srcdir ;; |
1038 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
1039 | srcdir=$ac_optarg ;; |
1040 | |
1041 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
1042 | | --syscon | --sysco | --sysc | --sys | --sy) |
1043 | ac_prev=sysconfdir ;; |
1044 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
1045 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
1046 | sysconfdir=$ac_optarg ;; |
1047 | |
1048 | -target | --target | --targe | --targ | --tar | --ta | --t) |
1049 | ac_prev=target_alias ;; |
1050 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
1051 | target_alias=$ac_optarg ;; |
1052 | |
1053 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
1054 | verbose=yes ;; |
1055 | |
1056 | -version | --version | --versio | --versi | --vers | -V) |
1057 | ac_init_version=: ;; |
1058 | |
1059 | -with-* | --with-*) |
1060 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1061 | # Reject names that are not valid shell variable names. |
1062 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1063 | as_fn_error "invalid package name: $ac_useropt" |
1064 | ac_useropt_orig=$ac_useropt |
1065 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1066 | case $ac_user_opts in |
1067 | *" |
1068 | "with_$ac_useropt" |
1069 | "*) ;; |
1070 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1071 | ac_unrecognized_sep=', ';; |
1072 | esac |
1073 | eval with_$ac_useropt=\$ac_optarg ;; |
1074 | |
1075 | -without-* | --without-*) |
1076 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1077 | # Reject names that are not valid shell variable names. |
1078 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1079 | as_fn_error "invalid package name: $ac_useropt" |
1080 | ac_useropt_orig=$ac_useropt |
1081 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1082 | case $ac_user_opts in |
1083 | *" |
1084 | "with_$ac_useropt" |
1085 | "*) ;; |
1086 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1087 | ac_unrecognized_sep=', ';; |
1088 | esac |
1089 | eval with_$ac_useropt=no ;; |
1090 | |
1091 | --x) |
1092 | # Obsolete; use --with-x. |
1093 | with_x=yes ;; |
1094 | |
1095 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
1096 | | --x-incl | --x-inc | --x-in | --x-i) |
1097 | ac_prev=x_includes ;; |
1098 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
1099 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
1100 | x_includes=$ac_optarg ;; |
1101 | |
1102 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
1103 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
1104 | ac_prev=x_libraries ;; |
1105 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1106 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1107 | x_libraries=$ac_optarg ;; |
1108 | |
1109 | -*) as_fn_error "unrecognized option: \`$ac_option' |
1110 | Try \`$0 --help' for more information." |
1111 | ;; |
1112 | |
1113 | *=*) |
1114 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1115 | # Reject names that are not valid shell variable names. |
1116 | case $ac_envvar in #( |
1117 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1118 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1119 | esac |
1120 | eval $ac_envvar=\$ac_optarg |
1121 | export $ac_envvar ;; |
1122 | |
1123 | *) |
1124 | # FIXME: should be removed in autoconf 3.0. |
1125 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1126 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1127 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1128 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1129 | ;; |
1130 | |
1131 | esac |
1132 | done |
1133 | |
1134 | if test -n "$ac_prev"; then |
1135 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1136 | as_fn_error "missing argument to $ac_option" |
1137 | fi |
1138 | |
1139 | if test -n "$ac_unrecognized_opts"; then |
1140 | case $enable_option_checking in |
1141 | no) ;; |
1142 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1143 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1144 | esac |
1145 | fi |
1146 | |
1147 | # Check all directory arguments for consistency. |
1148 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1149 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1150 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1151 | libdir localedir mandir |
1152 | do |
1153 | eval ac_val=\$$ac_var |
1154 | # Remove trailing slashes. |
1155 | case $ac_val in |
1156 | */ ) |
1157 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1158 | eval $ac_var=\$ac_val;; |
1159 | esac |
1160 | # Be sure to have absolute directory names. |
1161 | case $ac_val in |
1162 | [\\/$]* | ?:[\\/]* ) continue;; |
1163 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1164 | esac |
1165 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1166 | done |
1167 | |
1168 | # There might be people who depend on the old broken behavior: `$host' |
1169 | # used to hold the argument of --host etc. |
1170 | # FIXME: To remove some day. |
1171 | build=$build_alias |
1172 | host=$host_alias |
1173 | target=$target_alias |
1174 | |
1175 | # FIXME: To remove some day. |
1176 | if test "x$host_alias" != x; then |
1177 | if test "x$build_alias" = x; then |
1178 | cross_compiling=maybe |
1179 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1180 | If a cross compiler is detected then cross compile mode will be used." >&2 |
1181 | elif test "x$build_alias" != "x$host_alias"; then |
1182 | cross_compiling=yes |
1183 | fi |
1184 | fi |
1185 | |
1186 | ac_tool_prefix= |
1187 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1188 | |
1189 | test "$silent" = yes && exec 6>/dev/null |
1190 | |
1191 | |
1192 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1193 | ac_ls_di=`ls -di .` && |
1194 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1195 | as_fn_error "working directory cannot be determined" |
1196 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1197 | as_fn_error "pwd does not report name of working directory" |
1198 | |
1199 | |
1200 | # Find the source files, if location was not specified. |
1201 | if test -z "$srcdir"; then |
1202 | ac_srcdir_defaulted=yes |
1203 | # Try the directory containing this script, then the parent directory. |
1204 | ac_confdir=`$as_dirname -- "$as_myself" || |
1205 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1206 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1207 | X"$as_myself" : 'X\(//\)$' \| \ |
1208 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1209 | $as_echo X"$as_myself" | |
1210 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1211 | s//\1/ |
1212 | q |
1213 | } |
1214 | /^X\(\/\/\)[^/].*/{ |
1215 | s//\1/ |
1216 | q |
1217 | } |
1218 | /^X\(\/\/\)$/{ |
1219 | s//\1/ |
1220 | q |
1221 | } |
1222 | /^X\(\/\).*/{ |
1223 | s//\1/ |
1224 | q |
1225 | } |
1226 | s/.*/./; q'` |
1227 | srcdir=$ac_confdir |
1228 | if test ! -r "$srcdir/$ac_unique_file"; then |
1229 | srcdir=.. |
1230 | fi |
1231 | else |
1232 | ac_srcdir_defaulted=no |
1233 | fi |
1234 | if test ! -r "$srcdir/$ac_unique_file"; then |
1235 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1236 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1237 | fi |
1238 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1239 | ac_abs_confdir=`( |
1240 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1241 | pwd)` |
1242 | # When building in place, set srcdir=. |
1243 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1244 | srcdir=. |
1245 | fi |
1246 | # Remove unnecessary trailing slashes from srcdir. |
1247 | # Double slashes in file names in object file debugging info |
1248 | # mess up M-x gdb in Emacs. |
1249 | case $srcdir in |
1250 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1251 | esac |
1252 | for ac_var in $ac_precious_vars; do |
1253 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
1254 | eval ac_env_${ac_var}_value=\$${ac_var} |
1255 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
1256 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1257 | done |
1258 | |
1259 | # |
1260 | # Report the --help message. |
1261 | # |
1262 | if test "$ac_init_help" = "long"; then |
1263 | # Omit some internal or obsolete options to make the list less imposing. |
1264 | # This message is too long to be a string in the A/UX 3.1 sh. |
1265 | cat <<_ACEOF |
1266 | \`configure' configures Eggdrop 1.8.0 to adapt to many kinds of systems. |
1267 | |
1268 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1269 | |
1270 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1271 | VAR=VALUE. See below for descriptions of some of the useful variables. |
1272 | |
1273 | Defaults for the options are specified in brackets. |
1274 | |
1275 | Configuration: |
1276 | -h, --help display this help and exit |
1277 | --help=short display options specific to this package |
1278 | --help=recursive display the short help of all the included packages |
1279 | -V, --version display version information and exit |
1280 | -q, --quiet, --silent do not print \`checking...' messages |
1281 | --cache-file=FILE cache test results in FILE [disabled] |
1282 | -C, --config-cache alias for \`--cache-file=config.cache' |
1283 | -n, --no-create do not create output files |
1284 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1285 | |
1286 | Installation directories: |
1287 | --prefix=PREFIX install architecture-independent files in PREFIX |
1288 | [$ac_default_prefix] |
1289 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1290 | [PREFIX] |
1291 | |
1292 | By default, \`make install' will install all the files in |
1293 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1294 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1295 | for instance \`--prefix=\$HOME'. |
1296 | |
1297 | For better control, use the options below. |
1298 | |
1299 | Fine tuning of the installation directories: |
1300 | --bindir=DIR user executables [EPREFIX/bin] |
1301 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1302 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1303 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1304 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1305 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1306 | --libdir=DIR object code libraries [EPREFIX/lib] |
1307 | --includedir=DIR C header files [PREFIX/include] |
1308 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1309 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1310 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1311 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1312 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1313 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1314 | --docdir=DIR documentation root [DATAROOTDIR/doc/eggdrop] |
1315 | --htmldir=DIR html documentation [DOCDIR] |
1316 | --dvidir=DIR dvi documentation [DOCDIR] |
1317 | --pdfdir=DIR pdf documentation [DOCDIR] |
1318 | --psdir=DIR ps documentation [DOCDIR] |
1319 | _ACEOF |
1320 | |
1321 | cat <<\_ACEOF |
1322 | |
1323 | System types: |
1324 | --build=BUILD configure for building on BUILD [guessed] |
1325 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
1326 | --target=TARGET configure for building compilers for TARGET [HOST] |
1327 | _ACEOF |
1328 | fi |
1329 | |
1330 | if test -n "$ac_init_help"; then |
1331 | case $ac_init_help in |
1332 | short | recursive ) echo "Configuration of Eggdrop 1.8.0:";; |
1333 | esac |
1334 | cat <<\_ACEOF |
1335 | |
1336 | Optional Features and Packages: |
1337 | --disable-option-checking ignore unrecognized --enable/--with options |
1338 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1339 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1340 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1341 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1342 | --enable-strip enable stripping of binaries |
1343 | --with-tcllib=PATH full path to Tcl library |
1344 | --with-tclinc=PATH full path to Tcl header |
1345 | --enable-debug enable generic debug code (default for 'make debug') |
1346 | --disable-debug disable generic debug code |
1347 | --enable-debug-assert enable assert debug code (default for 'make debug') |
1348 | --disable-debug-assert disable assert debug code |
1349 | --enable-debug-mem enable memory debug code (default for 'make debug') |
1350 | --disable-debug-mem disable memory debug code |
1351 | --enable-debug-dns enable dns.mod debug messages (default for 'make debug') |
1352 | --disable-debug-dns disable dns.mod debug messages |
1353 | --enable-debug-context enable context debug code (default) |
1354 | --disable-debug-context disable context debug code |
1355 | --with-handlen=VALUE set the maximum length a handle on the bot can be |
1356 | --enable-ipv6 enable IPv6 support (autodetect) |
1357 | --disable-ipv6 disable IPv6 support |
1358 | --enable-tls enable TLS support (autodetect) |
1359 | --disable-tls disable TLS support |
1360 | --with-sslinc=PATH Path to OpenSSL headers |
1361 | --with-ssllib=PATH Path to OpenSSL libraries |
1362 | |
1363 | Some influential environment variables: |
1364 | CC C compiler command |
1365 | CFLAGS C compiler flags |
1366 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1367 | nonstandard directory <lib dir> |
1368 | LIBS libraries to pass to the linker, e.g. -l<library> |
1369 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1370 | you have headers in a nonstandard directory <include dir> |
1371 | CPP C preprocessor |
1372 | |
1373 | Use these variables to override the choices made by `configure' or to help |
1374 | it to find libraries and programs with nonstandard names/locations. |
1375 | |
1376 | Report bugs to <bugs@eggheads.org>. |
1377 | _ACEOF |
1378 | ac_status=$? |
1379 | fi |
1380 | |
1381 | if test "$ac_init_help" = "recursive"; then |
1382 | # If there are subdirs, report their specific --help. |
1383 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1384 | test -d "$ac_dir" || |
1385 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1386 | continue |
1387 | ac_builddir=. |
1388 | |
1389 | case "$ac_dir" in |
1390 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1391 | *) |
1392 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1393 | # A ".." for each directory in $ac_dir_suffix. |
1394 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1395 | case $ac_top_builddir_sub in |
1396 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1397 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1398 | esac ;; |
1399 | esac |
1400 | ac_abs_top_builddir=$ac_pwd |
1401 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
1402 | # for backward compatibility: |
1403 | ac_top_builddir=$ac_top_build_prefix |
1404 | |
1405 | case $srcdir in |
1406 | .) # We are building in place. |
1407 | ac_srcdir=. |
1408 | ac_top_srcdir=$ac_top_builddir_sub |
1409 | ac_abs_top_srcdir=$ac_pwd ;; |
1410 | [\\/]* | ?:[\\/]* ) # Absolute name. |
1411 | ac_srcdir=$srcdir$ac_dir_suffix; |
1412 | ac_top_srcdir=$srcdir |
1413 | ac_abs_top_srcdir=$srcdir ;; |
1414 | *) # Relative name. |
1415 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1416 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
1417 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1418 | esac |
1419 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1420 | |
1421 | cd "$ac_dir" || { ac_status=$?; continue; } |
1422 | # Check for guested configure. |
1423 | if test -f "$ac_srcdir/configure.gnu"; then |
1424 | echo && |
1425 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1426 | elif test -f "$ac_srcdir/configure"; then |
1427 | echo && |
1428 | $SHELL "$ac_srcdir/configure" --help=recursive |
1429 | else |
1430 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1431 | fi || ac_status=$? |
1432 | cd "$ac_pwd" || { ac_status=$?; break; } |
1433 | done |
1434 | fi |
1435 | |
1436 | test -n "$ac_init_help" && exit $ac_status |
1437 | if $ac_init_version; then |
1438 | cat <<\_ACEOF |
1439 | Eggdrop configure 1.8.0 |
1440 | generated by GNU Autoconf 2.65 |
1441 | |
1442 | Copyright (C) 2009 Free Software Foundation, Inc. |
1443 | This configure script is free software; the Free Software Foundation |
1444 | gives unlimited permission to copy, distribute and modify it. |
1445 | |
1446 | Copyright (C) 1999 - 2010 Eggheads Development Team |
1447 | _ACEOF |
1448 | exit |
1449 | fi |
1450 | |
1451 | ## ------------------------ ## |
1452 | ## Autoconf initialization. ## |
1453 | ## ------------------------ ## |
1454 | |
1455 | # ac_fn_c_try_compile LINENO |
1456 | # -------------------------- |
1457 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
1458 | ac_fn_c_try_compile () |
1459 | { |
1460 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1461 | rm -f conftest.$ac_objext |
1462 | if { { ac_try="$ac_compile" |
1463 | case "(($ac_try" in |
1464 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1465 | *) ac_try_echo=$ac_try;; |
1466 | esac |
1467 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1468 | $as_echo "$ac_try_echo"; } >&5 |
1469 | (eval "$ac_compile") 2>conftest.err |
1470 | ac_status=$? |
1471 | if test -s conftest.err; then |
1472 | grep -v '^ *+' conftest.err >conftest.er1 |
1473 | cat conftest.er1 >&5 |
1474 | mv -f conftest.er1 conftest.err |
1475 | fi |
1476 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1477 | test $ac_status = 0; } && { |
1478 | test -z "$ac_c_werror_flag" || |
1479 | test ! -s conftest.err |
1480 | } && test -s conftest.$ac_objext; then : |
1481 | ac_retval=0 |
1482 | else |
1483 | $as_echo "$as_me: failed program was:" >&5 |
1484 | sed 's/^/| /' conftest.$ac_ext >&5 |
1485 | |
1486 | ac_retval=1 |
1487 | fi |
1488 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1489 | as_fn_set_status $ac_retval |
1490 | |
1491 | } # ac_fn_c_try_compile |
1492 | |
1493 | # ac_fn_c_try_cpp LINENO |
1494 | # ---------------------- |
1495 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1496 | ac_fn_c_try_cpp () |
1497 | { |
1498 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1499 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
1500 | case "(($ac_try" in |
1501 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1502 | *) ac_try_echo=$ac_try;; |
1503 | esac |
1504 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1505 | $as_echo "$ac_try_echo"; } >&5 |
1506 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1507 | ac_status=$? |
1508 | if test -s conftest.err; then |
1509 | grep -v '^ *+' conftest.err >conftest.er1 |
1510 | cat conftest.er1 >&5 |
1511 | mv -f conftest.er1 conftest.err |
1512 | fi |
1513 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1514 | test $ac_status = 0; } >/dev/null && { |
1515 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1516 | test ! -s conftest.err |
1517 | }; then : |
1518 | ac_retval=0 |
1519 | else |
1520 | $as_echo "$as_me: failed program was:" >&5 |
1521 | sed 's/^/| /' conftest.$ac_ext >&5 |
1522 | |
1523 | ac_retval=1 |
1524 | fi |
1525 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1526 | as_fn_set_status $ac_retval |
1527 | |
1528 | } # ac_fn_c_try_cpp |
1529 | |
1530 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1531 | # ------------------------------------------------------- |
1532 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
1533 | # the include files in INCLUDES and setting the cache variable VAR |
1534 | # accordingly. |
1535 | ac_fn_c_check_header_mongrel () |
1536 | { |
1537 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1538 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1540 | $as_echo_n "checking for $2... " >&6; } |
1541 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1542 | $as_echo_n "(cached) " >&6 |
1543 | fi |
1544 | eval ac_res=\$$3 |
1545 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1546 | $as_echo "$ac_res" >&6; } |
1547 | else |
1548 | # Is the header compilable? |
1549 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
1550 | $as_echo_n "checking $2 usability... " >&6; } |
1551 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1552 | /* end confdefs.h. */ |
1553 | $4 |
1554 | #include <$2> |
1555 | _ACEOF |
1556 | if ac_fn_c_try_compile "$LINENO"; then : |
1557 | ac_header_compiler=yes |
1558 | else |
1559 | ac_header_compiler=no |
1560 | fi |
1561 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1562 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
1563 | $as_echo "$ac_header_compiler" >&6; } |
1564 | |
1565 | # Is the header present? |
1566 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
1567 | $as_echo_n "checking $2 presence... " >&6; } |
1568 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1569 | /* end confdefs.h. */ |
1570 | #include <$2> |
1571 | _ACEOF |
1572 | if ac_fn_c_try_cpp "$LINENO"; then : |
1573 | ac_header_preproc=yes |
1574 | else |
1575 | ac_header_preproc=no |
1576 | fi |
1577 | rm -f conftest.err conftest.$ac_ext |
1578 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1579 | $as_echo "$ac_header_preproc" >&6; } |
1580 | |
1581 | # So? What about this header? |
1582 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1583 | yes:no: ) |
1584 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
1585 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
1586 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1587 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1588 | ;; |
1589 | no:yes:* ) |
1590 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
1591 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
1592 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
1593 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
1594 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
1595 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1596 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1597 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&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 | ( cat <<\_ASBOX |
1601 | ## -------------------------------- ## |
1602 | ## Report this to bugs@eggheads.org ## |
1603 | ## -------------------------------- ## |
1604 | _ASBOX |
1605 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
1606 | ;; |
1607 | esac |
1608 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1609 | $as_echo_n "checking for $2... " >&6; } |
1610 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1611 | $as_echo_n "(cached) " >&6 |
1612 | else |
1613 | eval "$3=\$ac_header_compiler" |
1614 | fi |
1615 | eval ac_res=\$$3 |
1616 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1617 | $as_echo "$ac_res" >&6; } |
1618 | fi |
1619 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1620 | |
1621 | } # ac_fn_c_check_header_mongrel |
1622 | |
1623 | # ac_fn_c_try_run LINENO |
1624 | # ---------------------- |
1625 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1626 | # that executables *can* be run. |
1627 | ac_fn_c_try_run () |
1628 | { |
1629 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1630 | if { { ac_try="$ac_link" |
1631 | case "(($ac_try" in |
1632 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1633 | *) ac_try_echo=$ac_try;; |
1634 | esac |
1635 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1636 | $as_echo "$ac_try_echo"; } >&5 |
1637 | (eval "$ac_link") 2>&5 |
1638 | ac_status=$? |
1639 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1640 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
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_try") 2>&5 |
1648 | ac_status=$? |
1649 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1650 | test $ac_status = 0; }; }; then : |
1651 | ac_retval=0 |
1652 | else |
1653 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
1654 | $as_echo "$as_me: failed program was:" >&5 |
1655 | sed 's/^/| /' conftest.$ac_ext >&5 |
1656 | |
1657 | ac_retval=$ac_status |
1658 | fi |
1659 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1660 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1661 | as_fn_set_status $ac_retval |
1662 | |
1663 | } # ac_fn_c_try_run |
1664 | |
1665 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1666 | # ------------------------------------------------------- |
1667 | # Tests whether HEADER exists and can be compiled using the include files in |
1668 | # INCLUDES, setting the cache variable VAR accordingly. |
1669 | ac_fn_c_check_header_compile () |
1670 | { |
1671 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1672 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1673 | $as_echo_n "checking for $2... " >&6; } |
1674 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1675 | $as_echo_n "(cached) " >&6 |
1676 | else |
1677 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1678 | /* end confdefs.h. */ |
1679 | $4 |
1680 | #include <$2> |
1681 | _ACEOF |
1682 | if ac_fn_c_try_compile "$LINENO"; then : |
1683 | eval "$3=yes" |
1684 | else |
1685 | eval "$3=no" |
1686 | fi |
1687 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1688 | fi |
1689 | eval ac_res=\$$3 |
1690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1691 | $as_echo "$ac_res" >&6; } |
1692 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1693 | |
1694 | } # ac_fn_c_check_header_compile |
1695 | |
1696 | # ac_fn_c_try_link LINENO |
1697 | # ----------------------- |
1698 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1699 | ac_fn_c_try_link () |
1700 | { |
1701 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1702 | rm -f conftest.$ac_objext conftest$ac_exeext |
1703 | if { { ac_try="$ac_link" |
1704 | case "(($ac_try" in |
1705 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1706 | *) ac_try_echo=$ac_try;; |
1707 | esac |
1708 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1709 | $as_echo "$ac_try_echo"; } >&5 |
1710 | (eval "$ac_link") 2>conftest.err |
1711 | ac_status=$? |
1712 | if test -s conftest.err; then |
1713 | grep -v '^ *+' conftest.err >conftest.er1 |
1714 | cat conftest.er1 >&5 |
1715 | mv -f conftest.er1 conftest.err |
1716 | fi |
1717 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1718 | test $ac_status = 0; } && { |
1719 | test -z "$ac_c_werror_flag" || |
1720 | test ! -s conftest.err |
1721 | } && test -s conftest$ac_exeext && { |
1722 | test "$cross_compiling" = yes || |
1723 | $as_test_x conftest$ac_exeext |
1724 | }; then : |
1725 | ac_retval=0 |
1726 | else |
1727 | $as_echo "$as_me: failed program was:" >&5 |
1728 | sed 's/^/| /' conftest.$ac_ext >&5 |
1729 | |
1730 | ac_retval=1 |
1731 | fi |
1732 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1733 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1734 | # interfere with the next link command; also delete a directory that is |
1735 | # left behind by Apple's compiler. We do this before executing the actions. |
1736 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1737 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1738 | as_fn_set_status $ac_retval |
1739 | |
1740 | } # ac_fn_c_try_link |
1741 | |
1742 | # ac_fn_c_check_func LINENO FUNC VAR |
1743 | # ---------------------------------- |
1744 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
1745 | ac_fn_c_check_func () |
1746 | { |
1747 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1748 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1749 | $as_echo_n "checking for $2... " >&6; } |
1750 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1751 | $as_echo_n "(cached) " >&6 |
1752 | else |
1753 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1754 | /* end confdefs.h. */ |
1755 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1756 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
1757 | #define $2 innocuous_$2 |
1758 | |
1759 | /* System header to define __stub macros and hopefully few prototypes, |
1760 | which can conflict with char $2 (); below. |
1761 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
1762 | <limits.h> exists even on freestanding compilers. */ |
1763 | |
1764 | #ifdef __STDC__ |
1765 | # include <limits.h> |
1766 | #else |
1767 | # include <assert.h> |
1768 | #endif |
1769 | |
1770 | #undef $2 |
1771 | |
1772 | /* Override any GCC internal prototype to avoid an error. |
1773 | Use char because int might match the return type of a GCC |
1774 | builtin and then its argument prototype would still apply. */ |
1775 | #ifdef __cplusplus |
1776 | extern "C" |
1777 | #endif |
1778 | char $2 (); |
1779 | /* The GNU C library defines this for functions which it implements |
1780 | to always fail with ENOSYS. Some functions are actually named |
1781 | something starting with __ and the normal name is an alias. */ |
1782 | #if defined __stub_$2 || defined __stub___$2 |
1783 | choke me |
1784 | #endif |
1785 | |
1786 | int |
1787 | main () |
1788 | { |
1789 | return $2 (); |
1790 | ; |
1791 | return 0; |
1792 | } |
1793 | _ACEOF |
1794 | if ac_fn_c_try_link "$LINENO"; then : |
1795 | eval "$3=yes" |
1796 | else |
1797 | eval "$3=no" |
1798 | fi |
1799 | rm -f core conftest.err conftest.$ac_objext \ |
1800 | conftest$ac_exeext conftest.$ac_ext |
1801 | fi |
1802 | eval ac_res=\$$3 |
1803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1804 | $as_echo "$ac_res" >&6; } |
1805 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1806 | |
1807 | } # ac_fn_c_check_func |
1808 | |
1809 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
1810 | # ------------------------------------------- |
1811 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
1812 | # variable VAR accordingly. |
1813 | ac_fn_c_check_type () |
1814 | { |
1815 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1816 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1817 | $as_echo_n "checking for $2... " >&6; } |
1818 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1819 | $as_echo_n "(cached) " >&6 |
1820 | else |
1821 | eval "$3=no" |
1822 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1823 | /* end confdefs.h. */ |
1824 | $4 |
1825 | int |
1826 | main () |
1827 | { |
1828 | if (sizeof ($2)) |
1829 | return 0; |
1830 | ; |
1831 | return 0; |
1832 | } |
1833 | _ACEOF |
1834 | if ac_fn_c_try_compile "$LINENO"; then : |
1835 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1836 | /* end confdefs.h. */ |
1837 | $4 |
1838 | int |
1839 | main () |
1840 | { |
1841 | if (sizeof (($2))) |
1842 | return 0; |
1843 | ; |
1844 | return 0; |
1845 | } |
1846 | _ACEOF |
1847 | if ac_fn_c_try_compile "$LINENO"; then : |
1848 | |
1849 | else |
1850 | eval "$3=yes" |
1851 | fi |
1852 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1853 | fi |
1854 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1855 | fi |
1856 | eval ac_res=\$$3 |
1857 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1858 | $as_echo "$ac_res" >&6; } |
1859 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1860 | |
1861 | } # ac_fn_c_check_type |
1862 | |
1863 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
1864 | # ---------------------------------------------------- |
1865 | # Tries to find if the field MEMBER exists in type AGGR, after including |
1866 | # INCLUDES, setting cache variable VAR accordingly. |
1867 | ac_fn_c_check_member () |
1868 | { |
1869 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1870 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1871 | $as_echo_n "checking for $2.$3... " >&6; } |
1872 | if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
1873 | $as_echo_n "(cached) " >&6 |
1874 | else |
1875 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1876 | /* end confdefs.h. */ |
1877 | $5 |
1878 | int |
1879 | main () |
1880 | { |
1881 | static $2 ac_aggr; |
1882 | if (ac_aggr.$3) |
1883 | return 0; |
1884 | ; |
1885 | return 0; |
1886 | } |
1887 | _ACEOF |
1888 | if ac_fn_c_try_compile "$LINENO"; then : |
1889 | eval "$4=yes" |
1890 | else |
1891 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1892 | /* end confdefs.h. */ |
1893 | $5 |
1894 | int |
1895 | main () |
1896 | { |
1897 | static $2 ac_aggr; |
1898 | if (sizeof ac_aggr.$3) |
1899 | return 0; |
1900 | ; |
1901 | return 0; |
1902 | } |
1903 | _ACEOF |
1904 | if ac_fn_c_try_compile "$LINENO"; then : |
1905 | eval "$4=yes" |
1906 | else |
1907 | eval "$4=no" |
1908 | fi |
1909 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1910 | fi |
1911 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1912 | fi |
1913 | eval ac_res=\$$4 |
1914 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1915 | $as_echo "$ac_res" >&6; } |
1916 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1917 | |
1918 | } # ac_fn_c_check_member |
1919 | |
1920 | # ac_fn_c_check_decl LINENO SYMBOL VAR |
1921 | # ------------------------------------ |
1922 | # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
1923 | ac_fn_c_check_decl () |
1924 | { |
1925 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1926 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
1927 | $as_echo_n "checking whether $2 is declared... " >&6; } |
1928 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1929 | $as_echo_n "(cached) " >&6 |
1930 | else |
1931 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1932 | /* end confdefs.h. */ |
1933 | $4 |
1934 | int |
1935 | main () |
1936 | { |
1937 | #ifndef $2 |
1938 | (void) $2; |
1939 | #endif |
1940 | |
1941 | ; |
1942 | return 0; |
1943 | } |
1944 | _ACEOF |
1945 | if ac_fn_c_try_compile "$LINENO"; then : |
1946 | eval "$3=yes" |
1947 | else |
1948 | eval "$3=no" |
1949 | fi |
1950 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1951 | fi |
1952 | eval ac_res=\$$3 |
1953 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1954 | $as_echo "$ac_res" >&6; } |
1955 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1956 | |
1957 | } # ac_fn_c_check_decl |
1958 | |
1959 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
1960 | # -------------------------------------------- |
1961 | # Tries to find the compile-time value of EXPR in a program that includes |
1962 | # INCLUDES, setting VAR accordingly. Returns whether the value could be |
1963 | # computed |
1964 | ac_fn_c_compute_int () |
1965 | { |
1966 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1967 | if test "$cross_compiling" = yes; then |
1968 | # Depending upon the size, compute the lo and hi bounds. |
1969 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1970 | /* end confdefs.h. */ |
1971 | $4 |
1972 | int |
1973 | main () |
1974 | { |
1975 | static int test_array [1 - 2 * !(($2) >= 0)]; |
1976 | test_array [0] = 0 |
1977 | |
1978 | ; |
1979 | return 0; |
1980 | } |
1981 | _ACEOF |
1982 | if ac_fn_c_try_compile "$LINENO"; then : |
1983 | ac_lo=0 ac_mid=0 |
1984 | while :; do |
1985 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1986 | /* end confdefs.h. */ |
1987 | $4 |
1988 | int |
1989 | main () |
1990 | { |
1991 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
1992 | test_array [0] = 0 |
1993 | |
1994 | ; |
1995 | return 0; |
1996 | } |
1997 | _ACEOF |
1998 | if ac_fn_c_try_compile "$LINENO"; then : |
1999 | ac_hi=$ac_mid; break |
2000 | else |
2001 | as_fn_arith $ac_mid + 1 && ac_lo=$as_val |
2002 | if test $ac_lo -le $ac_mid; then |
2003 | ac_lo= ac_hi= |
2004 | break |
2005 | fi |
2006 | as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val |
2007 | fi |
2008 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2009 | done |
2010 | else |
2011 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2012 | /* end confdefs.h. */ |
2013 | $4 |
2014 | int |
2015 | main () |
2016 | { |
2017 | static int test_array [1 - 2 * !(($2) < 0)]; |
2018 | test_array [0] = 0 |
2019 | |
2020 | ; |
2021 | return 0; |
2022 | } |
2023 | _ACEOF |
2024 | if ac_fn_c_try_compile "$LINENO"; then : |
2025 | ac_hi=-1 ac_mid=-1 |
2026 | while :; do |
2027 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2028 | /* end confdefs.h. */ |
2029 | $4 |
2030 | int |
2031 | main () |
2032 | { |
2033 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; |
2034 | test_array [0] = 0 |
2035 | |
2036 | ; |
2037 | return 0; |
2038 | } |
2039 | _ACEOF |
2040 | if ac_fn_c_try_compile "$LINENO"; then : |
2041 | ac_lo=$ac_mid; break |
2042 | else |
2043 | as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val |
2044 | if test $ac_mid -le $ac_hi; then |
2045 | ac_lo= ac_hi= |
2046 | break |
2047 | fi |
2048 | as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val |
2049 | fi |
2050 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2051 | done |
2052 | else |
2053 | ac_lo= ac_hi= |
2054 | fi |
2055 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2056 | fi |
2057 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2058 | # Binary search between lo and hi bounds. |
2059 | while test "x$ac_lo" != "x$ac_hi"; do |
2060 | as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val |
2061 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2062 | /* end confdefs.h. */ |
2063 | $4 |
2064 | int |
2065 | main () |
2066 | { |
2067 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; |
2068 | test_array [0] = 0 |
2069 | |
2070 | ; |
2071 | return 0; |
2072 | } |
2073 | _ACEOF |
2074 | if ac_fn_c_try_compile "$LINENO"; then : |
2075 | ac_hi=$ac_mid |
2076 | else |
2077 | as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val |
2078 | fi |
2079 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2080 | done |
2081 | case $ac_lo in #(( |
2082 | ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; |
2083 | '') ac_retval=1 ;; |
2084 | esac |
2085 | else |
2086 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2087 | /* end confdefs.h. */ |
2088 | $4 |
2089 | static long int longval () { return $2; } |
2090 | static unsigned long int ulongval () { return $2; } |
2091 | #include <stdio.h> |
2092 | #include <stdlib.h> |
2093 | int |
2094 | main () |
2095 | { |
2096 | |
2097 | FILE *f = fopen ("conftest.val", "w"); |
2098 | if (! f) |
2099 | return 1; |
2100 | if (($2) < 0) |
2101 | { |
2102 | long int i = longval (); |
2103 | if (i != ($2)) |
2104 | return 1; |
2105 | fprintf (f, "%ld", i); |
2106 | } |
2107 | else |
2108 | { |
2109 | unsigned long int i = ulongval (); |
2110 | if (i != ($2)) |
2111 | return 1; |
2112 | fprintf (f, "%lu", i); |
2113 | } |
2114 | /* Do not output a trailing newline, as this causes \r\n confusion |
2115 | on some platforms. */ |
2116 | return ferror (f) || fclose (f) != 0; |
2117 | |
2118 | ; |
2119 | return 0; |
2120 | } |
2121 | _ACEOF |
2122 | if ac_fn_c_try_run "$LINENO"; then : |
2123 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0 |
2124 | else |
2125 | ac_retval=1 |
2126 | fi |
2127 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2128 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
2129 | rm -f conftest.val |
2130 | |
2131 | fi |
2132 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2133 | as_fn_set_status $ac_retval |
2134 | |
2135 | } # ac_fn_c_compute_int |
2136 | cat >config.log <<_ACEOF |
2137 | This file contains any messages produced by compilers while |
2138 | running configure, to aid debugging if configure makes a mistake. |
2139 | |
2140 | It was created by Eggdrop $as_me 1.8.0, which was |
2141 | generated by GNU Autoconf 2.65. Invocation command line was |
2142 | |
2143 | $ $0 $@ |
2144 | |
2145 | _ACEOF |
2146 | exec 5>>config.log |
2147 | { |
2148 | cat <<_ASUNAME |
2149 | ## --------- ## |
2150 | ## Platform. ## |
2151 | ## --------- ## |
2152 | |
2153 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
2154 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
2155 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
2156 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
2157 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
2158 | |
2159 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
2160 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
2161 | |
2162 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
2163 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
2164 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
2165 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
2166 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
2167 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
2168 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
2169 | |
2170 | _ASUNAME |
2171 | |
2172 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2173 | for as_dir in $PATH |
2174 | do |
2175 | IFS=$as_save_IFS |
2176 | test -z "$as_dir" && as_dir=. |
2177 | $as_echo "PATH: $as_dir" |
2178 | done |
2179 | IFS=$as_save_IFS |
2180 | |
2181 | } >&5 |
2182 | |
2183 | cat >&5 <<_ACEOF |
2184 | |
2185 | |
2186 | ## ----------- ## |
2187 | ## Core tests. ## |
2188 | ## ----------- ## |
2189 | |
2190 | _ACEOF |
2191 | |
2192 | |
2193 | # Keep a trace of the command line. |
2194 | # Strip out --no-create and --no-recursion so they do not pile up. |
2195 | # Strip out --silent because we don't want to record it for future runs. |
2196 | # Also quote any args containing shell meta-characters. |
2197 | # Make two passes to allow for proper duplicate-argument suppression. |
2198 | ac_configure_args= |
2199 | ac_configure_args0= |
2200 | ac_configure_args1= |
2201 | ac_must_keep_next=false |
2202 | for ac_pass in 1 2 |
2203 | do |
2204 | for ac_arg |
2205 | do |
2206 | case $ac_arg in |
2207 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
2208 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
2209 | | -silent | --silent | --silen | --sile | --sil) |
2210 | continue ;; |
2211 | *\'*) |
2212 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2213 | esac |
2214 | case $ac_pass in |
2215 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
2216 | 2) |
2217 | as_fn_append ac_configure_args1 " '$ac_arg'" |
2218 | if test $ac_must_keep_next = true; then |
2219 | ac_must_keep_next=false # Got value, back to normal. |
2220 | else |
2221 | case $ac_arg in |
2222 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
2223 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
2224 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
2225 | | -with-* | --with-* | -without-* | --without-* | --x) |
2226 | case "$ac_configure_args0 " in |
2227 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
2228 | esac |
2229 | ;; |
2230 | -* ) ac_must_keep_next=true ;; |
2231 | esac |
2232 | fi |
2233 | as_fn_append ac_configure_args " '$ac_arg'" |
2234 | ;; |
2235 | esac |
2236 | done |
2237 | done |
2238 | { ac_configure_args0=; unset ac_configure_args0;} |
2239 | { ac_configure_args1=; unset ac_configure_args1;} |
2240 | |
2241 | # When interrupted or exit'd, cleanup temporary files, and complete |
2242 | # config.log. We remove comments because anyway the quotes in there |
2243 | # would cause problems or look ugly. |
2244 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
2245 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
2246 | trap 'exit_status=$? |
2247 | # Save into config.log some information that might help in debugging. |
2248 | { |
2249 | echo |
2250 | |
2251 | cat <<\_ASBOX |
2252 | ## ---------------- ## |
2253 | ## Cache variables. ## |
2254 | ## ---------------- ## |
2255 | _ASBOX |
2256 | echo |
2257 | # The following way of writing the cache mishandles newlines in values, |
2258 | ( |
2259 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2260 | eval ac_val=\$$ac_var |
2261 | case $ac_val in #( |
2262 | *${as_nl}*) |
2263 | case $ac_var in #( |
2264 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2265 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2266 | esac |
2267 | case $ac_var in #( |
2268 | _ | IFS | as_nl) ;; #( |
2269 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2270 | *) { eval $ac_var=; unset $ac_var;} ;; |
2271 | esac ;; |
2272 | esac |
2273 | done |
2274 | (set) 2>&1 | |
2275 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2276 | *${as_nl}ac_space=\ *) |
2277 | sed -n \ |
2278 | "s/'\''/'\''\\\\'\'''\''/g; |
2279 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
2280 | ;; #( |
2281 | *) |
2282 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
2283 | ;; |
2284 | esac | |
2285 | sort |
2286 | ) |
2287 | echo |
2288 | |
2289 | cat <<\_ASBOX |
2290 | ## ----------------- ## |
2291 | ## Output variables. ## |
2292 | ## ----------------- ## |
2293 | _ASBOX |
2294 | echo |
2295 | for ac_var in $ac_subst_vars |
2296 | do |
2297 | eval ac_val=\$$ac_var |
2298 | case $ac_val in |
2299 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2300 | esac |
2301 | $as_echo "$ac_var='\''$ac_val'\''" |
2302 | done | sort |
2303 | echo |
2304 | |
2305 | if test -n "$ac_subst_files"; then |
2306 | cat <<\_ASBOX |
2307 | ## ------------------- ## |
2308 | ## File substitutions. ## |
2309 | ## ------------------- ## |
2310 | _ASBOX |
2311 | echo |
2312 | for ac_var in $ac_subst_files |
2313 | do |
2314 | eval ac_val=\$$ac_var |
2315 | case $ac_val in |
2316 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2317 | esac |
2318 | $as_echo "$ac_var='\''$ac_val'\''" |
2319 | done | sort |
2320 | echo |
2321 | fi |
2322 | |
2323 | if test -s confdefs.h; then |
2324 | cat <<\_ASBOX |
2325 | ## ----------- ## |
2326 | ## confdefs.h. ## |
2327 | ## ----------- ## |
2328 | _ASBOX |
2329 | echo |
2330 | cat confdefs.h |
2331 | echo |
2332 | fi |
2333 | test "$ac_signal" != 0 && |
2334 | $as_echo "$as_me: caught signal $ac_signal" |
2335 | $as_echo "$as_me: exit $exit_status" |
2336 | } >&5 |
2337 | rm -f core *.core core.conftest.* && |
2338 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2339 | exit $exit_status |
2340 | ' 0 |
2341 | for ac_signal in 1 2 13 15; do |
2342 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
2343 | done |
2344 | ac_signal=0 |
2345 | |
2346 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2347 | rm -f -r conftest* confdefs.h |
2348 | |
2349 | $as_echo "/* confdefs.h */" > confdefs.h |
2350 | |
2351 | # Predefined preprocessor variables. |
2352 | |
2353 | cat >>confdefs.h <<_ACEOF |
2354 | #define PACKAGE_NAME "$PACKAGE_NAME" |
2355 | _ACEOF |
2356 | |
2357 | cat >>confdefs.h <<_ACEOF |
2358 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2359 | _ACEOF |
2360 | |
2361 | cat >>confdefs.h <<_ACEOF |
2362 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2363 | _ACEOF |
2364 | |
2365 | cat >>confdefs.h <<_ACEOF |
2366 | #define PACKAGE_STRING "$PACKAGE_STRING" |
2367 | _ACEOF |
2368 | |
2369 | cat >>confdefs.h <<_ACEOF |
2370 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2371 | _ACEOF |
2372 | |
2373 | cat >>confdefs.h <<_ACEOF |
2374 | #define PACKAGE_URL "$PACKAGE_URL" |
2375 | _ACEOF |
2376 | |
2377 | |
2378 | # Let the site file select an alternate cache file if it wants to. |
2379 | # Prefer an explicitly selected file to automatically selected ones. |
2380 | ac_site_file1=NONE |
2381 | ac_site_file2=NONE |
2382 | if test -n "$CONFIG_SITE"; then |
2383 | ac_site_file1=$CONFIG_SITE |
2384 | elif test "x$prefix" != xNONE; then |
2385 | ac_site_file1=$prefix/share/config.site |
2386 | ac_site_file2=$prefix/etc/config.site |
2387 | else |
2388 | ac_site_file1=$ac_default_prefix/share/config.site |
2389 | ac_site_file2=$ac_default_prefix/etc/config.site |
2390 | fi |
2391 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2392 | do |
2393 | test "x$ac_site_file" = xNONE && continue |
2394 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2395 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2396 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2397 | sed 's/^/| /' "$ac_site_file" >&5 |
2398 | . "$ac_site_file" |
2399 | fi |
2400 | done |
2401 | |
2402 | if test -r "$cache_file"; then |
2403 | # Some versions of bash will fail to source /dev/null (special files |
2404 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2405 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2406 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2407 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
2408 | case $cache_file in |
2409 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2410 | *) . "./$cache_file";; |
2411 | esac |
2412 | fi |
2413 | else |
2414 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2415 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
2416 | >$cache_file |
2417 | fi |
2418 | |
2419 | as_fn_append ac_header_list " stdlib.h" |
2420 | as_fn_append ac_header_list " unistd.h" |
2421 | as_fn_append ac_header_list " sys/param.h" |
2422 | # Check that the precious variables saved in the cache have kept the same |
2423 | # value. |
2424 | ac_cache_corrupted=false |
2425 | for ac_var in $ac_precious_vars; do |
2426 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2427 | eval ac_new_set=\$ac_env_${ac_var}_set |
2428 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2429 | eval ac_new_val=\$ac_env_${ac_var}_value |
2430 | case $ac_old_set,$ac_new_set in |
2431 | set,) |
2432 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2433 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2434 | ac_cache_corrupted=: ;; |
2435 | ,set) |
2436 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2437 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2438 | ac_cache_corrupted=: ;; |
2439 | ,);; |
2440 | *) |
2441 | if test "x$ac_old_val" != "x$ac_new_val"; then |
2442 | # differences in whitespace do not lead to failure. |
2443 | ac_old_val_w=`echo x $ac_old_val` |
2444 | ac_new_val_w=`echo x $ac_new_val` |
2445 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2446 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2447 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2448 | ac_cache_corrupted=: |
2449 | else |
2450 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2451 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2452 | eval $ac_var=\$ac_old_val |
2453 | fi |
2454 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2455 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
2456 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
2457 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
2458 | fi;; |
2459 | esac |
2460 | # Pass precious variables to config.status. |
2461 | if test "$ac_new_set" = set; then |
2462 | case $ac_new_val in |
2463 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2464 | *) ac_arg=$ac_var=$ac_new_val ;; |
2465 | esac |
2466 | case " $ac_configure_args " in |
2467 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2468 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2469 | esac |
2470 | fi |
2471 | done |
2472 | if $ac_cache_corrupted; then |
2473 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2474 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2475 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2476 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2477 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2478 | fi |
2479 | ## -------------------- ## |
2480 | ## Main body of script. ## |
2481 | ## -------------------- ## |
2482 | |
2483 | ac_ext=c |
2484 | ac_cpp='$CPP $CPPFLAGS' |
2485 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2486 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2487 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2488 | |
2489 | |
2490 | |
2491 | |
2492 | |
2493 | ac_aux_dir= |
2494 | for ac_dir in misc "$srcdir"/misc; do |
2495 | for ac_t in install-sh install.sh shtool; do |
2496 | if test -f "$ac_dir/$ac_t"; then |
2497 | ac_aux_dir=$ac_dir |
2498 | ac_install_sh="$ac_aux_dir/$ac_t -c" |
2499 | break 2 |
2500 | fi |
2501 | done |
2502 | done |
2503 | if test -z "$ac_aux_dir"; then |
2504 | as_fn_error "cannot find install-sh, install.sh, or shtool in misc \"$srcdir\"/misc" "$LINENO" 5 |
2505 | fi |
2506 | |
2507 | # These three variables are undocumented and unsupported, |
2508 | # and are intended to be withdrawn in a future Autoconf release. |
2509 | # They can cause serious problems if a builder's source tree is in a directory |
2510 | # whose full name contains unusual characters. |
2511 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
2512 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
2513 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
2514 | |
2515 | |
2516 | ac_config_headers="$ac_config_headers config.h" |
2517 | |
2518 | |
2519 | |
2520 | |
2521 | |
2522 | |
2523 | |
2524 | |
2525 | |
2526 | # Print start message |
2527 | |
2528 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 |
2529 | $as_echo "" >&6; } |
2530 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: This is Eggdrop's GNU configure script." >&5 |
2531 | $as_echo "This is Eggdrop's GNU configure script." >&6; } |
2532 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: It's going to run a bunch of tests to hopefully make your compile" >&5 |
2533 | $as_echo "It's going to run a bunch of tests to hopefully make your compile" >&6; } |
2534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: work without much twiddling." >&5 |
2535 | $as_echo "work without much twiddling." >&6; } |
2536 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 |
2537 | $as_echo "" >&6; } |
2538 | |
2539 | |
2540 | egg_ac_parameters= |
2541 | ac_prev= |
2542 | for ac_arg in $ac_configure_args; do |
2543 | if test -n "$ac_prev"; then |
2544 | ac_prev= |
2545 | continue |
2546 | fi |
2547 | case $ac_arg in |
2548 | -cache-file | --cache-file | --cache-fil | --cache-fi | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
2549 | ac_prev=cache_file ;; |
2550 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
2551 | ;; |
2552 | --config-cache | -C) |
2553 | ;; |
2554 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
2555 | ac_prev=srcdir ;; |
2556 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
2557 | ;; |
2558 | *) egg_ac_parameters="$egg_ac_parameters $ac_arg" ;; |
2559 | esac |
2560 | done |
2561 | |
2562 | |
2563 | |
2564 | cat >>confdefs.h <<_ACEOF |
2565 | #define EGG_AC_ARGS "$egg_ac_parameters" |
2566 | _ACEOF |
2567 | |
2568 | |
2569 | |
2570 | |
2571 | # Check for a working C compiler |
2572 | ac_ext=c |
2573 | ac_cpp='$CPP $CPPFLAGS' |
2574 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2575 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2576 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2577 | if test -n "$ac_tool_prefix"; then |
2578 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2579 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2580 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2581 | $as_echo_n "checking for $ac_word... " >&6; } |
2582 | if test "${ac_cv_prog_CC+set}" = set; then : |
2583 | $as_echo_n "(cached) " >&6 |
2584 | else |
2585 | if test -n "$CC"; then |
2586 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2587 | else |
2588 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2589 | for as_dir in $PATH |
2590 | do |
2591 | IFS=$as_save_IFS |
2592 | test -z "$as_dir" && as_dir=. |
2593 | for ac_exec_ext in '' $ac_executable_extensions; do |
2594 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2595 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2596 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2597 | break 2 |
2598 | fi |
2599 | done |
2600 | done |
2601 | IFS=$as_save_IFS |
2602 | |
2603 | fi |
2604 | fi |
2605 | CC=$ac_cv_prog_CC |
2606 | if test -n "$CC"; then |
2607 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2608 | $as_echo "$CC" >&6; } |
2609 | else |
2610 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2611 | $as_echo "no" >&6; } |
2612 | fi |
2613 | |
2614 | |
2615 | fi |
2616 | if test -z "$ac_cv_prog_CC"; then |
2617 | ac_ct_CC=$CC |
2618 | # Extract the first word of "gcc", so it can be a program name with args. |
2619 | set dummy gcc; ac_word=$2 |
2620 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2621 | $as_echo_n "checking for $ac_word... " >&6; } |
2622 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2623 | $as_echo_n "(cached) " >&6 |
2624 | else |
2625 | if test -n "$ac_ct_CC"; then |
2626 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2627 | else |
2628 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2629 | for as_dir in $PATH |
2630 | do |
2631 | IFS=$as_save_IFS |
2632 | test -z "$as_dir" && as_dir=. |
2633 | for ac_exec_ext in '' $ac_executable_extensions; do |
2634 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2635 | ac_cv_prog_ac_ct_CC="gcc" |
2636 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2637 | break 2 |
2638 | fi |
2639 | done |
2640 | done |
2641 | IFS=$as_save_IFS |
2642 | |
2643 | fi |
2644 | fi |
2645 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2646 | if test -n "$ac_ct_CC"; then |
2647 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2648 | $as_echo "$ac_ct_CC" >&6; } |
2649 | else |
2650 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2651 | $as_echo "no" >&6; } |
2652 | fi |
2653 | |
2654 | if test "x$ac_ct_CC" = x; then |
2655 | CC="" |
2656 | else |
2657 | case $cross_compiling:$ac_tool_warned in |
2658 | yes:) |
2659 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2660 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2661 | ac_tool_warned=yes ;; |
2662 | esac |
2663 | CC=$ac_ct_CC |
2664 | fi |
2665 | else |
2666 | CC="$ac_cv_prog_CC" |
2667 | fi |
2668 | |
2669 | if test -z "$CC"; then |
2670 | if test -n "$ac_tool_prefix"; then |
2671 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2672 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2673 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2674 | $as_echo_n "checking for $ac_word... " >&6; } |
2675 | if test "${ac_cv_prog_CC+set}" = set; then : |
2676 | $as_echo_n "(cached) " >&6 |
2677 | else |
2678 | if test -n "$CC"; then |
2679 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2680 | else |
2681 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2682 | for as_dir in $PATH |
2683 | do |
2684 | IFS=$as_save_IFS |
2685 | test -z "$as_dir" && as_dir=. |
2686 | for ac_exec_ext in '' $ac_executable_extensions; do |
2687 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2688 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2689 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2690 | break 2 |
2691 | fi |
2692 | done |
2693 |