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