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