Debian Codegraph @

modules/rawsock/configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.72 for rawsock 1.0.
4 #
5 # Report bugs to <clisp-list>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else case e in #(
29 e) case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34 esac ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; 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 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed 'exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else case e in #(
152 e) case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
156 ;;
157 esac ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else case e in #(
176 e) exitcode=1; echo positional parameters were not saved. ;;
177 esac
178 fi
179 test x\$exitcode = x0 || exit 1
180 blah=\$(echo \$(echo blah))
181 test x\"\$blah\" = xblah || exit 1
182 test -x / || exit 1"
183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
185 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
186 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else case e in #(
191 e) as_have_required=no ;;
192 esac
193 fi
194 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
195 then :
196
197 else case e in #(
198 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
199 as_found=false
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 do
202 IFS=$as_save_IFS
203 case $as_dir in #(((
204 '') as_dir=./ ;;
205 */) ;;
206 *) as_dir=$as_dir/ ;;
207 esac
208 as_found=:
209 case $as_dir in #(
210 /*)
211 for as_base in sh bash ksh sh5; do
212 # Try only shells that exist, to save several forks.
213 as_shell=$as_dir$as_base
214 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
215 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
216 then :
217 CONFIG_SHELL=$as_shell as_have_required=yes
218 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
219 then :
220 break 2
221 fi
222 fi
223 done;;
224 esac
225 as_found=false
226 done
227 IFS=$as_save_IFS
228 if $as_found
229 then :
230
231 else case e in #(
232 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
234 then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi ;;
237 esac
238 fi
239
240
241 if test "x$CONFIG_SHELL" != x
242 then :
243 export CONFIG_SHELL
244 # We cannot yet assume a decent shell, so we have to provide a
245 # neutralization value for shells without unset; and this also
246 # works around shells that cannot unset nonexistent variables.
247 # Preserve -v and -x to the replacement shell.
248 BASH_ENV=/dev/null
249 ENV=/dev/null
250 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
251 case $- in # ((((
252 *v*x* | *x*v* ) as_opts=-vx ;;
253 *v* ) as_opts=-v ;;
254 *x* ) as_opts=-x ;;
255 * ) as_opts= ;;
256 esac
257 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
258 # Admittedly, this is quite paranoid, since all the known shells bail
259 # out after a failed 'exec'.
260 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
261 exit 255
262 fi
263
264 if test x$as_have_required = xno
265 then :
266 printf "%s\n" "$0: This script requires a shell more modern than all"
267 printf "%s\n" "$0: the shells that I found on your system."
268 if test ${ZSH_VERSION+y} ; then
269 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
270 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
271 else
272 printf "%s\n" "$0: Please tell [email protected] and clisp-list about
273 $0: your system, including any error possibly output before
274 $0: this message. Then install a modern shell, or manually
275 $0: run the script under such a shell if you do have one."
276 fi
277 exit 1
278 fi ;;
279 esac
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
301 # as_fn_set_status STATUS
302 # -----------------------
303 # Set $? to STATUS, without forking.
304 as_fn_set_status ()
305 {
306 return $1
307 } # as_fn_set_status
308
309 # as_fn_exit STATUS
310 # -----------------
311 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
312 as_fn_exit ()
313 {
314 set +e
315 as_fn_set_status $1
316 exit $1
317 } # as_fn_exit
318
319 # as_fn_mkdir_p
320 # -------------
321 # Create "$as_dir" as a directory, including parents if necessary.
322 as_fn_mkdir_p ()
323 {
324
325 case $as_dir in #(
326 -*) as_dir=./$as_dir;;
327 esac
328 test -d "$as_dir" || eval $as_mkdir_p || {
329 as_dirs=
330 while :; do
331 case $as_dir in #(
332 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
333 *) as_qdir=$as_dir;;
334 esac
335 as_dirs="'$as_qdir' $as_dirs"
336 as_dir=`$as_dirname -- "$as_dir" ||
337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
338 X"$as_dir" : 'X\(//\)[^/]' \| \
339 X"$as_dir" : 'X\(//\)$' \| \
340 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
341 printf "%s\n" X"$as_dir" |
342 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)[^/].*/{
347 s//\1/
348 q
349 }
350 /^X\(\/\/\)$/{
351 s//\1/
352 q
353 }
354 /^X\(\/\).*/{
355 s//\1/
356 q
357 }
358 s/.*/./; q'`
359 test -d "$as_dir" && break
360 done
361 test -z "$as_dirs" || eval "mkdir $as_dirs"
362 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363
364
365 } # as_fn_mkdir_p
366
367 # as_fn_executable_p FILE
368 # -----------------------
369 # Test if FILE is an executable regular file.
370 as_fn_executable_p ()
371 {
372 test -f "$1" && test -x "$1"
373 } # as_fn_executable_p
374 # as_fn_append VAR VALUE
375 # ----------------------
376 # Append the text in VALUE to the end of the definition contained in VAR. Take
377 # advantage of any shell optimizations that allow amortized linear growth over
378 # repeated appends, instead of the typical quadratic growth present in naive
379 # implementations.
380 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
381 then :
382 eval 'as_fn_append ()
383 {
384 eval $1+=\$2
385 }'
386 else case e in #(
387 e) as_fn_append ()
388 {
389 eval $1=\$$1\$2
390 } ;;
391 esac
392 fi # as_fn_append
393
394 # as_fn_arith ARG...
395 # ------------------
396 # Perform arithmetic evaluation on the ARGs, and store the result in the
397 # global $as_val. Take advantage of shells that can avoid forks. The arguments
398 # must be portable across $(()) and expr.
399 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
400 then :
401 eval 'as_fn_arith ()
402 {
403 as_val=$(( $* ))
404 }'
405 else case e in #(
406 e) as_fn_arith ()
407 {
408 as_val=`expr "$@" || test $? -eq 1`
409 } ;;
410 esac
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421 as_status=$1; test $as_status -eq 0 && as_status=1
422 if test "$4"; then
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425 fi
426 printf "%s\n" "$as_me: error: $2" >&2
427 as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
432 as_expr=expr
433 else
434 as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438 as_basename=basename
439 else
440 as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444 as_dirname=dirname
445 else
446 as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 printf "%s\n" X/"$0" |
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
455 s//\1/
456 q
457 }
458 /^X\/\(\/\/\)$/{
459 s//\1/
460 q
461 }
462 /^X\/\(\/\).*/{
463 s//\1/
464 q
465 }
466 s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 sed -n '
482 p
483 /[$]LINENO/=
484 ' <$as_myself |
485 sed '
486 t clear
487 :clear
488 s/[$]LINENO.*/&-/
489 t lineno
490 b
491 :lineno
492 N
493 :loop
494 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
495 t loop
496 s/-\n.*//
497 ' >$as_me.lineno &&
498 chmod +x "$as_me.lineno" ||
499 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500
501 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502 # already done that, so ensure we don't try to do so again and fall
503 # in an infinite loop. This has already happened in practice.
504 _as_can_reexec=no; export _as_can_reexec
505 # Don't try to exec as it changes $[0], causing all sort of problems
506 # (the dirname of $[0] is not the place where we might find the
507 # original and so on. Autoconf is especially sensitive to this).
508 . "./$as_me.lineno"
509 # Exit status is that of the last command.
510 exit
511 }
512
513
514 # Determine whether it's possible to make 'echo' print without a newline.
515 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
516 # for compatibility with existing Makefiles.
517 ECHO_C= ECHO_N= ECHO_T=
518 case `echo -n x` in #(((((
519 -n*)
520 case `echo 'xy\c'` in
521 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
522 xy) ECHO_C='\c';;
523 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 ECHO_T=' ';;
525 esac;;
526 *)
527 ECHO_N='-n';;
528 esac
529
530 # For backward compatibility with old third-party macros, we provide
531 # the shell variables $as_echo and $as_echo_n. New code should use
532 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
533 as_echo='printf %s\n'
534 as_echo_n='printf %s'
535
536 rm -f conf$$ conf$$.exe conf$$.file
537 if test -d conf$$.dir; then
538 rm -f conf$$.dir/conf$$.file
539 else
540 rm -f conf$$.dir
541 mkdir conf$$.dir 2>/dev/null
542 fi
543 if (echo >conf$$.file) 2>/dev/null; then
544 if ln -s conf$$.file conf$$ 2>/dev/null; then
545 as_ln_s='ln -s'
546 # ... but there are two gotchas:
547 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
548 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
549 # In both cases, we have to default to 'cp -pR'.
550 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
551 as_ln_s='cp -pR'
552 elif ln conf$$.file conf$$ 2>/dev/null; then
553 as_ln_s=ln
554 else
555 as_ln_s='cp -pR'
556 fi
557 else
558 as_ln_s='cp -pR'
559 fi
560 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
561 rmdir conf$$.dir 2>/dev/null
562
563 if mkdir -p . 2>/dev/null; then
564 as_mkdir_p='mkdir -p "$as_dir"'
565 else
566 test -d ./-p && rmdir ./-p
567 as_mkdir_p=false
568 fi
569
570 as_test_x='test -x'
571 as_executable_p=as_fn_executable_p
572
573 # Sed expression to map a string onto a valid CPP name.
574 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
575 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
576
577 # Sed expression to map a string onto a valid variable name.
578 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
579 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
580
581
582 test -n "$DJDIR" || exec 7<&0 </dev/null
583 exec 6>&1
584
585 # Name of the host.
586 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
587 # so uname gets run too.
588 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
589
590 #
591 # Initializations.
592 #
593 ac_default_prefix=/usr/local
594 ac_clean_files=
595 ac_config_libobj_dir=.
596 LIBOBJS=
597 cross_compiling=no
598 subdirs=
599 MFLAGS=
600 MAKEFLAGS=
601
602 # Identity of this package.
603 PACKAGE_NAME='rawsock'
604 PACKAGE_TARNAME='rawsock'
605 PACKAGE_VERSION='1.0'
606 PACKAGE_STRING='rawsock 1.0'
607 PACKAGE_BUGREPORT='clisp-list'
608 PACKAGE_URL=''
609
610 ac_unique_file="sock.lisp"
611 # Factoring default headers for most tests.
612 ac_includes_default="\
613 #include <stddef.h>
614 #ifdef HAVE_STDIO_H
615 # include <stdio.h>
616 #endif
617 #ifdef HAVE_STDLIB_H
618 # include <stdlib.h>
619 #endif
620 #ifdef HAVE_STRING_H
621 # include <string.h>
622 #endif
623 #ifdef HAVE_INTTYPES_H
624 # include <inttypes.h>
625 #endif
626 #ifdef HAVE_STDINT_H
627 # include <stdint.h>
628 #endif
629 #ifdef HAVE_STRINGS_H
630 # include <strings.h>
631 #endif
632 #ifdef HAVE_SYS_TYPES_H
633 # include <sys/types.h>
634 #endif
635 #ifdef HAVE_SYS_STAT_H
636 # include <sys/stat.h>
637 #endif
638 #ifdef HAVE_UNISTD_H
639 # include <unistd.h>
640 #endif"
641
642 ac_header_c_list=
643 ac_subst_vars='LTLIBOBJS
644 LIBOBJS
645 host_os
646 host_vendor
647 host_cpu
648 host
649 build_os
650 build_vendor
651 build_cpu
652 build
653 LIBSOCKET
654 HAVE_WINSOCK2_H
655 REPLACE_IOCTL
656 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
657 SYS_IOCTL_H_HAVE_WINSOCK2_H
658 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS
659 UNISTD_H_HAVE_WINSOCK2_H
660 UNISTD_H_HAVE_SYS_RANDOM_H
661 REPLACE_WRITE
662 REPLACE_USLEEP
663 REPLACE_UNLINKAT
664 REPLACE_UNLINK
665 REPLACE_TTYNAME_R
666 REPLACE_TRUNCATE
667 REPLACE_SYMLINKAT
668 REPLACE_SYMLINK
669 REPLACE_SLEEP
670 REPLACE_SETHOSTNAME
671 REPLACE_RMDIR
672 REPLACE_READLINKAT
673 REPLACE_READLINK
674 REPLACE_READ
675 REPLACE_PWRITE
676 REPLACE_PREAD
677 REPLACE_PIPE2
678 REPLACE_LSEEK
679 REPLACE_LINKAT
680 REPLACE_LINK
681 REPLACE_LCHOWN
682 REPLACE_ISATTY
683 REPLACE_GETUSERSHELL
684 REPLACE_GETPASS_FOR_GETPASS_GNU
685 REPLACE_GETPASS
686 REPLACE_GETPAGESIZE
687 REPLACE_GETGROUPS
688 REPLACE_GETLOGIN_R
689 REPLACE_GETENTROPY
690 REPLACE_GETDTABLESIZE
691 REPLACE_GETDOMAINNAME
692 REPLACE_GETCWD
693 REPLACE_FTRUNCATE
694 REPLACE_FDATASYNC
695 REPLACE_FCHOWNAT
696 REPLACE_FCHDIR
697 REPLACE_FACCESSAT
698 REPLACE_EXECVPE
699 REPLACE_EXECVP
700 REPLACE_EXECVE
701 REPLACE_EXECV
702 REPLACE_EXECLP
703 REPLACE_EXECLE
704 REPLACE_EXECL
705 REPLACE_DUP3
706 REPLACE_DUP2
707 REPLACE_DUP
708 REPLACE_COPY_FILE_RANGE
709 REPLACE_CLOSE
710 REPLACE_CHOWN
711 REPLACE_ACCESS
712 HAVE_SYS_PARAM_H
713 HAVE_OS_H
714 HAVE_DECL_TTYNAME_R
715 HAVE_DECL_TRUNCATE
716 HAVE_DECL_SETHOSTNAME
717 HAVE_DECL_GETUSERSHELL
718 HAVE_DECL_GETPAGESIZE
719 HAVE_DECL_GETLOGIN_R
720 HAVE_DECL_GETLOGIN
721 HAVE_DECL_GETDOMAINNAME
722 HAVE_DECL_FDATASYNC
723 HAVE_DECL_FCHDIR
724 HAVE_DECL_EXECVPE
725 HAVE_DECL_ENVIRON
726 HAVE_USLEEP
727 HAVE_UNLINKAT
728 HAVE_SYMLINKAT
729 HAVE_SYMLINK
730 HAVE_SLEEP
731 HAVE_SETHOSTNAME
732 HAVE_READLINKAT
733 HAVE_READLINK
734 HAVE_PWRITE
735 HAVE_PREAD
736 HAVE_PIPE2
737 HAVE_PIPE
738 HAVE_LINKAT
739 HAVE_LINK
740 HAVE_LCHOWN
741 HAVE_GROUP_MEMBER
742 HAVE_GETPASS
743 HAVE_GETPAGESIZE
744 HAVE_GETLOGIN
745 HAVE_GETHOSTNAME
746 HAVE_GETGROUPS
747 HAVE_GETENTROPY
748 HAVE_GETDTABLESIZE
749 HAVE_FTRUNCATE
750 HAVE_FSYNC
751 HAVE_FDATASYNC
752 HAVE_FCHOWNAT
753 HAVE_FCHDIR
754 HAVE_FACCESSAT
755 HAVE_EXECVPE
756 HAVE_EUIDACCESS
757 HAVE_DUP3
758 HAVE_COPY_FILE_RANGE
759 HAVE_CHOWN
760 LN_S
761 LN
762 CPP
763 OBJEXT
764 EXEEXT
765 ac_ct_CC
766 CPPFLAGS
767 LDFLAGS
768 CFLAGS
769 CC
770 CLISP_CPPFLAGS
771 CLISP_CFLAGS
772 CLISP_LIBS
773 CLISP_FILES
774 CLISP_LINKKIT
775 CLISP_LIBDIR
776 CLISP
777 cl_cv_clisp
778 CLISP_DECOLONIZE
779 target_alias
780 host_alias
781 build_alias
782 LIBS
783 ECHO_T
784 ECHO_N
785 ECHO_C
786 DEFS
787 mandir
788 localedir
789 libdir
790 psdir
791 pdfdir
792 dvidir
793 htmldir
794 infodir
795 docdir
796 oldincludedir
797 includedir
798 runstatedir
799 localstatedir
800 sharedstatedir
801 sysconfdir
802 datadir
803 datarootdir
804 libexecdir
805 sbindir
806 bindir
807 program_transform_name
808 prefix
809 exec_prefix
810 PACKAGE_URL
811 PACKAGE_BUGREPORT
812 PACKAGE_STRING
813 PACKAGE_VERSION
814 PACKAGE_TARNAME
815 PACKAGE_NAME
816 PATH_SEPARATOR
817 SHELL
818 am__quote'
819 ac_subst_files=''
820 ac_user_opts='
821 enable_option_checking
822 with_clisp
823 '
824 ac_precious_vars='build_alias
825 host_alias
826 target_alias
827 CC
828 CFLAGS
829 LDFLAGS
830 LIBS
831 CPPFLAGS
832 CPP'
833
834
835 # Initialize some variables set by options.
836 ac_init_help=
837 ac_init_version=false
838 ac_unrecognized_opts=
839 ac_unrecognized_sep=
840 # The variables have the same names as the options, with
841 # dashes changed to underlines.
842 cache_file=/dev/null
843 exec_prefix=NONE
844 no_create=
845 no_recursion=
846 prefix=NONE
847 program_prefix=NONE
848 program_suffix=NONE
849 program_transform_name=s,x,x,
850 silent=
851 site=
852 srcdir=
853 verbose=
854 x_includes=NONE
855 x_libraries=NONE
856
857 # Installation directory options.
858 # These are left unexpanded so users can "make install exec_prefix=/foo"
859 # and all the variables that are supposed to be based on exec_prefix
860 # by default will actually change.
861 # Use braces instead of parens because sh, perl, etc. also accept them.
862 # (The list follows the same order as the GNU Coding Standards.)
863 bindir='${exec_prefix}/bin'
864 sbindir='${exec_prefix}/sbin'
865 libexecdir='${exec_prefix}/libexec'
866 datarootdir='${prefix}/share'
867 datadir='${datarootdir}'
868 sysconfdir='${prefix}/etc'
869 sharedstatedir='${prefix}/com'
870 localstatedir='${prefix}/var'
871 runstatedir='${localstatedir}/run'
872 includedir='${prefix}/include'
873 oldincludedir='/usr/include'
874 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
875 infodir='${datarootdir}/info'
876 htmldir='${docdir}'
877 dvidir='${docdir}'
878 pdfdir='${docdir}'
879 psdir='${docdir}'
880 libdir='${exec_prefix}/lib'
881 localedir='${datarootdir}/locale'
882 mandir='${datarootdir}/man'
883
884 ac_prev=
885 ac_dashdash=
886 for ac_option
887 do
888 # If the previous option needs an argument, assign it.
889 if test -n "$ac_prev"; then
890 eval $ac_prev=\$ac_option
891 ac_prev=
892 continue
893 fi
894
895 case $ac_option in
896 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 *=) ac_optarg= ;;
898 *) ac_optarg=yes ;;
899 esac
900
901 case $ac_dashdash$ac_option in
902 --)
903 ac_dashdash=yes ;;
904
905 -bindir | --bindir | --bindi | --bind | --bin | --bi)
906 ac_prev=bindir ;;
907 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
908 bindir=$ac_optarg ;;
909
910 -build | --build | --buil | --bui | --bu)
911 ac_prev=build_alias ;;
912 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
913 build_alias=$ac_optarg ;;
914
915 -cache-file | --cache-file | --cache-fil | --cache-fi \
916 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
917 ac_prev=cache_file ;;
918 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
919 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
920 cache_file=$ac_optarg ;;
921
922 --config-cache | -C)
923 cache_file=config.cache ;;
924
925 -datadir | --datadir | --datadi | --datad)
926 ac_prev=datadir ;;
927 -datadir=* | --datadir=* | --datadi=* | --datad=*)
928 datadir=$ac_optarg ;;
929
930 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
931 | --dataroo | --dataro | --datar)
932 ac_prev=datarootdir ;;
933 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
934 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
935 datarootdir=$ac_optarg ;;
936
937 -disable-* | --disable-*)
938 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
939 # Reject names that are not valid shell variable names.
940 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
941 as_fn_error $? "invalid feature name: '$ac_useropt'"
942 ac_useropt_orig=$ac_useropt
943 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
944 case $ac_user_opts in
945 *"
946 "enable_$ac_useropt"
947 "*) ;;
948 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
949 ac_unrecognized_sep=', ';;
950 esac
951 eval enable_$ac_useropt=no ;;
952
953 -docdir | --docdir | --docdi | --doc | --do)
954 ac_prev=docdir ;;
955 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
956 docdir=$ac_optarg ;;
957
958 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
959 ac_prev=dvidir ;;
960 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
961 dvidir=$ac_optarg ;;
962
963 -enable-* | --enable-*)
964 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
967 as_fn_error $? "invalid feature name: '$ac_useropt'"
968 ac_useropt_orig=$ac_useropt
969 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
970 case $ac_user_opts in
971 *"
972 "enable_$ac_useropt"
973 "*) ;;
974 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
975 ac_unrecognized_sep=', ';;
976 esac
977 eval enable_$ac_useropt=\$ac_optarg ;;
978
979 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
980 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
981 | --exec | --exe | --ex)
982 ac_prev=exec_prefix ;;
983 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
984 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
985 | --exec=* | --exe=* | --ex=*)
986 exec_prefix=$ac_optarg ;;
987
988 -gas | --gas | --ga | --g)
989 # Obsolete; use --with-gas.
990 with_gas=yes ;;
991
992 -help | --help | --hel | --he | -h)
993 ac_init_help=long ;;
994 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
995 ac_init_help=recursive ;;
996 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
997 ac_init_help=short ;;
998
999 -host | --host | --hos | --ho)
1000 ac_prev=host_alias ;;
1001 -host=* | --host=* | --hos=* | --ho=*)
1002 host_alias=$ac_optarg ;;
1003
1004 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1005 ac_prev=htmldir ;;
1006 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1007 | --ht=*)
1008 htmldir=$ac_optarg ;;
1009
1010 -includedir | --includedir | --includedi | --included | --include \
1011 | --includ | --inclu | --incl | --inc)
1012 ac_prev=includedir ;;
1013 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1014 | --includ=* | --inclu=* | --incl=* | --inc=*)
1015 includedir=$ac_optarg ;;
1016
1017 -infodir | --infodir | --infodi | --infod | --info | --inf)
1018 ac_prev=infodir ;;
1019 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1020 infodir=$ac_optarg ;;
1021
1022 -libdir | --libdir | --libdi | --libd)
1023 ac_prev=libdir ;;
1024 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1025 libdir=$ac_optarg ;;
1026
1027 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1028 | --libexe | --libex | --libe)
1029 ac_prev=libexecdir ;;
1030 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1031 | --libexe=* | --libex=* | --libe=*)
1032 libexecdir=$ac_optarg ;;
1033
1034 -localedir | --localedir | --localedi | --localed | --locale)
1035 ac_prev=localedir ;;
1036 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1037 localedir=$ac_optarg ;;
1038
1039 -localstatedir | --localstatedir | --localstatedi | --localstated \
1040 | --localstate | --localstat | --localsta | --localst | --locals)
1041 ac_prev=localstatedir ;;
1042 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1043 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1044 localstatedir=$ac_optarg ;;
1045
1046 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1047 ac_prev=mandir ;;
1048 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1049 mandir=$ac_optarg ;;
1050
1051 -nfp | --nfp | --nf)
1052 # Obsolete; use --without-fp.
1053 with_fp=no ;;
1054
1055 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1056 | --no-cr | --no-c | -n)
1057 no_create=yes ;;
1058
1059 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1060 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1061 no_recursion=yes ;;
1062
1063 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1064 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1065 | --oldin | --oldi | --old | --ol | --o)
1066 ac_prev=oldincludedir ;;
1067 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1068 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1069 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1070 oldincludedir=$ac_optarg ;;
1071
1072 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1073 ac_prev=prefix ;;
1074 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1075 prefix=$ac_optarg ;;
1076
1077 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1078 | --program-pre | --program-pr | --program-p)
1079 ac_prev=program_prefix ;;
1080 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1081 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1082 program_prefix=$ac_optarg ;;
1083
1084 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1085 | --program-suf | --program-su | --program-s)
1086 ac_prev=program_suffix ;;
1087 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1088 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1089 program_suffix=$ac_optarg ;;
1090
1091 -program-transform-name | --program-transform-name \
1092 | --program-transform-nam | --program-transform-na \
1093 | --program-transform-n | --program-transform- \
1094 | --program-transform | --program-transfor \
1095 | --program-transfo | --program-transf \
1096 | --program-trans | --program-tran \
1097 | --progr-tra | --program-tr | --program-t)
1098 ac_prev=program_transform_name ;;
1099 -program-transform-name=* | --program-transform-name=* \
1100 | --program-transform-nam=* | --program-transform-na=* \
1101 | --program-transform-n=* | --program-transform-=* \
1102 | --program-transform=* | --program-transfor=* \
1103 | --program-transfo=* | --program-transf=* \
1104 | --program-trans=* | --program-tran=* \
1105 | --progr-tra=* | --program-tr=* | --program-t=*)
1106 program_transform_name=$ac_optarg ;;
1107
1108 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1109 ac_prev=pdfdir ;;
1110 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1111 pdfdir=$ac_optarg ;;
1112
1113 -psdir | --psdir | --psdi | --psd | --ps)
1114 ac_prev=psdir ;;
1115 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1116 psdir=$ac_optarg ;;
1117
1118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1119 | -silent | --silent | --silen | --sile | --sil)
1120 silent=yes ;;
1121
1122 -runstatedir | --runstatedir | --runstatedi | --runstated \
1123 | --runstate | --runstat | --runsta | --runst | --runs \
1124 | --run | --ru | --r)
1125 ac_prev=runstatedir ;;
1126 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1127 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1128 | --run=* | --ru=* | --r=*)
1129 runstatedir=$ac_optarg ;;
1130
1131 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1132 ac_prev=sbindir ;;
1133 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1134 | --sbi=* | --sb=*)
1135 sbindir=$ac_optarg ;;
1136
1137 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1138 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1139 | --sharedst | --shareds | --shared | --share | --shar \
1140 | --sha | --sh)
1141 ac_prev=sharedstatedir ;;
1142 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1143 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1144 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1145 | --sha=* | --sh=*)
1146 sharedstatedir=$ac_optarg ;;
1147
1148 -site | --site | --sit)
1149 ac_prev=site ;;
1150 -site=* | --site=* | --sit=*)
1151 site=$ac_optarg ;;
1152
1153 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1154 ac_prev=srcdir ;;
1155 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1156 srcdir=$ac_optarg ;;
1157
1158 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1159 | --syscon | --sysco | --sysc | --sys | --sy)
1160 ac_prev=sysconfdir ;;
1161 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1162 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1163 sysconfdir=$ac_optarg ;;
1164
1165 -target | --target | --targe | --targ | --tar | --ta | --t)
1166 ac_prev=target_alias ;;
1167 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1168 target_alias=$ac_optarg ;;
1169
1170 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1171 verbose=yes ;;
1172
1173 -version | --version | --versio | --versi | --vers | -V)
1174 ac_init_version=: ;;
1175
1176 -with-* | --with-*)
1177 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180 as_fn_error $? "invalid package name: '$ac_useropt'"
1181 ac_useropt_orig=$ac_useropt
1182 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1184 *"
1185 "with_$ac_useropt"
1186 "*) ;;
1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep=', ';;
1189 esac
1190 eval with_$ac_useropt=\$ac_optarg ;;
1191
1192 -without-* | --without-*)
1193 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1196 as_fn_error $? "invalid package name: '$ac_useropt'"
1197 ac_useropt_orig=$ac_useropt
1198 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1200 *"
1201 "with_$ac_useropt"
1202 "*) ;;
1203 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep=', ';;
1205 esac
1206 eval with_$ac_useropt=no ;;
1207
1208 --x)
1209 # Obsolete; use --with-x.
1210 with_x=yes ;;
1211
1212 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1213 | --x-incl | --x-inc | --x-in | --x-i)
1214 ac_prev=x_includes ;;
1215 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1216 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1217 x_includes=$ac_optarg ;;
1218
1219 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1220 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1221 ac_prev=x_libraries ;;
1222 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1223 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1224 x_libraries=$ac_optarg ;;
1225
1226 -*) as_fn_error $? "unrecognized option: '$ac_option'
1227 Try '$0 --help' for more information"
1228 ;;
1229
1230 *=*)
1231 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' | [0-9]* | *[!_$as_cr_alnum]* )
1235 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1236 esac
1237 eval $ac_envvar=\$ac_optarg
1238 export $ac_envvar ;;
1239
1240 *)
1241 # FIXME: should be removed in autoconf 3.0.
1242 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1246 ;;
1247
1248 esac
1249 done
1250
1251 if test -n "$ac_prev"; then
1252 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error $? "missing argument to $ac_option"
1254 fi
1255
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1258 no) ;;
1259 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1260 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1261 esac
1262 fi
1263
1264 # Check all directory arguments for consistency.
1265 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir runstatedir
1269 do
1270 eval ac_val=\$$ac_var
1271 # Remove trailing slashes.
1272 case $ac_val in
1273 */ )
1274 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\$ac_val;;
1276 esac
1277 # Be sure to have absolute directory names.
1278 case $ac_val in
1279 [\\/$]* | ?:[\\/]* ) continue;;
1280 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1281 esac
1282 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1283 done
1284
1285 # There might be people who depend on the old broken behavior: '$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1288 build=$build_alias
1289 host=$host_alias
1290 target=$target_alias
1291
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x; then
1294 if test "x$build_alias" = x; then
1295 cross_compiling=maybe
1296 elif test "x$build_alias" != "x$host_alias"; then
1297 cross_compiling=yes
1298 fi
1299 fi
1300
1301 ac_tool_prefix=
1302 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1303
1304 test "$silent" = yes && exec 6>/dev/null
1305
1306
1307 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di=`ls -di .` &&
1309 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error $? "working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error $? "pwd does not report name of working directory"
1313
1314
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 printf "%s\n" X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1326 s//\1/
1327 q
1328 }
1329 /^X\(\/\/\)[^/].*/{
1330 s//\1/
1331 q
1332 }
1333 /^X\(\/\/\)$/{
1334 s//\1/
1335 q
1336 }
1337 /^X\(\/\).*/{
1338 s//\1/
1339 q
1340 }
1341 s/.*/./; q'`
1342 srcdir=$ac_confdir
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 srcdir=..
1345 fi
1346 else
1347 ac_srcdir_defaulted=no
1348 fi
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1351 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1352 fi
1353 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1354 ac_abs_confdir=`(
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356 pwd)`
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 srcdir=.
1360 fi
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1364 case $srcdir in
1365 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 esac
1367 for ac_var in $ac_precious_vars; do
1368 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_${ac_var}_value=\$${ac_var}
1370 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1372 done
1373
1374 #
1375 # Report the --help message.
1376 #
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1380 cat <<_ACEOF
1381 'configure' configures rawsock 1.0 to adapt to many kinds of systems.
1382
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1384
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1387
1388 Defaults for the options are specified in brackets.
1389
1390 Configuration:
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print 'checking ...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for '--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or '..']
1400
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 [PREFIX]
1406
1407 By default, 'make install' will install all the files in
1408 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than '$ac_default_prefix' using '--prefix',
1410 for instance '--prefix=\$HOME'.
1411
1412 For better control, use the options below.
1413
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root [DATAROOTDIR/doc/rawsock]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1435 _ACEOF
1436
1437 cat <<\_ACEOF
1438
1439 System types:
1440 --build=BUILD configure for building on BUILD [guessed]
1441 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1442 _ACEOF
1443 fi
1444
1445 if test -n "$ac_init_help"; then
1446 case $ac_init_help in
1447 short | recursive ) echo "Configuration of rawsock 1.0:";;
1448 esac
1449 cat <<\_ACEOF
1450
1451 Optional Packages:
1452 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1453 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1454 --with-clisp use a specific CLISP installation
1455
1456 Some influential environment variables:
1457 CC C compiler command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1460 nonstandard directory <lib dir>
1461 LIBS libraries to pass to the linker, e.g. -l<library>
1462 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1463 you have headers in a nonstandard directory <include dir>
1464 CPP C preprocessor
1465
1466 Use these variables to override the choices made by 'configure' or to help
1467 it to find libraries and programs with nonstandard names/locations.
1468
1469 Report bugs to <clisp-list>.
1470 _ACEOF
1471 ac_status=$?
1472 fi
1473
1474 if test "$ac_init_help" = "recursive"; then
1475 # If there are subdirs, report their specific --help.
1476 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1477 test -d "$ac_dir" ||
1478 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1479 continue
1480 ac_builddir=.
1481
1482 case "$ac_dir" in
1483 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1484 *)
1485 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1486 # A ".." for each directory in $ac_dir_suffix.
1487 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1488 case $ac_top_builddir_sub in
1489 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1491 esac ;;
1492 esac
1493 ac_abs_top_builddir=$ac_pwd
1494 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1495 # for backward compatibility:
1496 ac_top_builddir=$ac_top_build_prefix
1497
1498 case $srcdir in
1499 .) # We are building in place.
1500 ac_srcdir=.
1501 ac_top_srcdir=$ac_top_builddir_sub
1502 ac_abs_top_srcdir=$ac_pwd ;;
1503 [\\/]* | ?:[\\/]* ) # Absolute name.
1504 ac_srcdir=$srcdir$ac_dir_suffix;
1505 ac_top_srcdir=$srcdir
1506 ac_abs_top_srcdir=$srcdir ;;
1507 *) # Relative name.
1508 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1509 ac_top_srcdir=$ac_top_build_prefix$srcdir
1510 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1511 esac
1512 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1513
1514 cd "$ac_dir" || { ac_status=$?; continue; }
1515 # Check for configure.gnu first; this name is used for a wrapper for
1516 # Metaconfig's "Configure" on case-insensitive file systems.
1517 if test -f "$ac_srcdir/configure.gnu"; then
1518 echo &&
1519 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1520 elif test -f "$ac_srcdir/configure"; then
1521 echo &&
1522 $SHELL "$ac_srcdir/configure" --help=recursive
1523 else
1524 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1525 fi || ac_status=$?
1526 cd "$ac_pwd" || { ac_status=$?; break; }
1527 done
1528 fi
1529
1530 test -n "$ac_init_help" && exit $ac_status
1531 if $ac_init_version; then
1532 cat <<\_ACEOF
1533 rawsock configure 1.0
1534 generated by GNU Autoconf 2.72
1535
1536 Copyright (C) 2023 Free Software Foundation, Inc.
1537 This configure script is free software; the Free Software Foundation
1538 gives unlimited permission to copy, distribute and modify it.
1539 _ACEOF
1540 exit
1541 fi
1542
1543 ## ------------------------ ##
1544 ## Autoconf initialization. ##
1545 ## ------------------------ ##
1546
1547 # ac_fn_c_try_compile LINENO
1548 # --------------------------
1549 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1550 ac_fn_c_try_compile ()
1551 {
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 rm -f conftest.$ac_objext conftest.beam
1554 if { { ac_try="$ac_compile"
1555 case "(($ac_try" in
1556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1557 *) ac_try_echo=$ac_try;;
1558 esac
1559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1560 printf "%s\n" "$ac_try_echo"; } >&5
1561 (eval "$ac_compile") 2>conftest.err
1562 ac_status=$?
1563 if test -s conftest.err; then
1564 grep -v '^ *+' conftest.err >conftest.er1
1565 cat conftest.er1 >&5
1566 mv -f conftest.er1 conftest.err
1567 fi
1568 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; } && {
1570 test -z "$ac_c_werror_flag" ||
1571 test ! -s conftest.err
1572 } && test -s conftest.$ac_objext
1573 then :
1574 ac_retval=0
1575 else case e in #(
1576 e) printf "%s\n" "$as_me: failed program was:" >&5
1577 sed 's/^/| /' conftest.$ac_ext >&5
1578
1579 ac_retval=1 ;;
1580 esac
1581 fi
1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1583 as_fn_set_status $ac_retval
1584
1585 } # ac_fn_c_try_compile
1586
1587 # ac_fn_c_try_cpp LINENO
1588 # ----------------------
1589 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_c_try_cpp ()
1591 {
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 if { { ac_try="$ac_cpp conftest.$ac_ext"
1594 case "(($ac_try" in
1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1596 *) ac_try_echo=$ac_try;;
1597 esac
1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599 printf "%s\n" "$ac_try_echo"; } >&5
1600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1601 ac_status=$?
1602 if test -s conftest.err; then
1603 grep -v '^ *+' conftest.err >conftest.er1
1604 cat conftest.er1 >&5
1605 mv -f conftest.er1 conftest.err
1606 fi
1607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608 test $ac_status = 0; } > conftest.i && {
1609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1610 test ! -s conftest.err
1611 }
1612 then :
1613 ac_retval=0
1614 else case e in #(
1615 e) printf "%s\n" "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1617
1618 ac_retval=1 ;;
1619 esac
1620 fi
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 as_fn_set_status $ac_retval
1623
1624 } # ac_fn_c_try_cpp
1625
1626 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1627 # -------------------------------------------------------
1628 # Tests whether HEADER exists and can be compiled using the include files in
1629 # INCLUDES, setting the cache variable VAR accordingly.
1630 ac_fn_c_check_header_compile ()
1631 {
1632 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1634 printf %s "checking for $2... " >&6; }
1635 if eval test \${$3+y}
1636 then :
1637 printf %s "(cached) " >&6
1638 else case e in #(
1639 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1640 /* end confdefs.h. */
1641 $4
1642 #include <$2>
1643 _ACEOF
1644 if ac_fn_c_try_compile "$LINENO"
1645 then :
1646 eval "$3=yes"
1647 else case e in #(
1648 e) eval "$3=no" ;;
1649 esac
1650 fi
1651 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1652 esac
1653 fi
1654 eval ac_res=\$$3
1655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1656 printf "%s\n" "$ac_res" >&6; }
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658
1659 } # ac_fn_c_check_header_compile
1660
1661 # ac_fn_c_try_link LINENO
1662 # -----------------------
1663 # Try to link conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_link ()
1665 {
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1668 if { { ac_try="$ac_link"
1669 case "(($ac_try" in
1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1672 esac
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 printf "%s\n" "$ac_try_echo"; } >&5
1675 (eval "$ac_link") 2>conftest.err
1676 ac_status=$?
1677 if test -s conftest.err; then
1678 grep -v '^ *+' conftest.err >conftest.er1
1679 cat conftest.er1 >&5
1680 mv -f conftest.er1 conftest.err
1681 fi
1682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_c_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest$ac_exeext && {
1687 test "$cross_compiling" = yes ||
1688 test -x conftest$ac_exeext
1689 }
1690 then :
1691 ac_retval=0
1692 else case e in #(
1693 e) printf "%s\n" "$as_me: failed program was:" >&5
1694 sed 's/^/| /' conftest.$ac_ext >&5
1695
1696 ac_retval=1 ;;
1697 esac
1698 fi
1699 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1700 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1701 # interfere with the next link command; also delete a directory that is
1702 # left behind by Apple's compiler. We do this before executing the actions.
1703 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 as_fn_set_status $ac_retval
1706
1707 } # ac_fn_c_try_link
1708
1709 # ac_fn_c_check_func LINENO FUNC VAR
1710 # ----------------------------------
1711 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1712 ac_fn_c_check_func ()
1713 {
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1716 printf %s "checking for $2... " >&6; }
1717 if eval test \${$3+y}
1718 then :
1719 printf %s "(cached) " >&6
1720 else case e in #(
1721 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722 /* end confdefs.h. */
1723 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1725 #define $2 innocuous_$2
1726
1727 /* System header to define __stub macros and hopefully few prototypes,
1728 which can conflict with char $2 (void); below. */
1729
1730 #include <limits.h>
1731 #undef $2
1732
1733 /* Override any GCC internal prototype to avoid an error.
1734 Use char because int might match the return type of a GCC
1735 builtin and then its argument prototype would still apply. */
1736 #ifdef __cplusplus
1737 extern "C"
1738 #endif
1739 char $2 (void);
1740 /* The GNU C library defines this for functions which it implements
1741 to always fail with ENOSYS. Some functions are actually named
1742 something starting with __ and the normal name is an alias. */
1743 #if defined __stub_$2 || defined __stub___$2
1744 choke me
1745 #endif
1746
1747 int
1748 main (void)
1749 {
1750 return $2 ();
1751 ;
1752 return 0;
1753 }
1754 _ACEOF
1755 if ac_fn_c_try_link "$LINENO"
1756 then :
1757 eval "$3=yes"
1758 else case e in #(
1759 e) eval "$3=no" ;;
1760 esac
1761 fi
1762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1763 conftest$ac_exeext conftest.$ac_ext ;;
1764 esac
1765 fi
1766 eval ac_res=\$$3
1767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 printf "%s\n" "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1770
1771 } # ac_fn_c_check_func
1772
1773 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1774 # ----------------------------------------------------
1775 # Tries to find if the field MEMBER exists in type AGGR, after including
1776 # INCLUDES, setting cache variable VAR accordingly.
1777 ac_fn_c_check_member ()
1778 {
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1781 printf %s "checking for $2.$3... " >&6; }
1782 if eval test \${$4+y}
1783 then :
1784 printf %s "(cached) " >&6
1785 else case e in #(
1786 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1787 /* end confdefs.h. */
1788 $5
1789 int
1790 main (void)
1791 {
1792 static $2 ac_aggr;
1793 if (ac_aggr.$3)
1794 return 0;
1795 ;
1796 return 0;
1797 }
1798 _ACEOF
1799 if ac_fn_c_try_compile "$LINENO"
1800 then :
1801 eval "$4=yes"
1802 else case e in #(
1803 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h. */
1805 $5
1806 int
1807 main (void)
1808 {
1809 static $2 ac_aggr;
1810 if (sizeof ac_aggr.$3)
1811 return 0;
1812 ;
1813 return 0;
1814 }
1815 _ACEOF
1816 if ac_fn_c_try_compile "$LINENO"
1817 then :
1818 eval "$4=yes"
1819 else case e in #(
1820 e) eval "$4=no" ;;
1821 esac
1822 fi
1823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1824 esac
1825 fi
1826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1827 esac
1828 fi
1829 eval ac_res=\$$4
1830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1831 printf "%s\n" "$ac_res" >&6; }
1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833
1834 } # ac_fn_c_check_member
1835
1836 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1837 # -------------------------------------------
1838 # Tests whether TYPE exists after having included INCLUDES, setting cache
1839 # variable VAR accordingly.
1840 ac_fn_c_check_type ()
1841 {
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844 printf %s "checking for $2... " >&6; }
1845 if eval test \${$3+y}
1846 then :
1847 printf %s "(cached) " >&6
1848 else case e in #(
1849 e) eval "$3=no"
1850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1851 /* end confdefs.h. */
1852 $4
1853 int
1854 main (void)
1855 {
1856 if (sizeof ($2))
1857 return 0;
1858 ;
1859 return 0;
1860 }
1861 _ACEOF
1862 if ac_fn_c_try_compile "$LINENO"
1863 then :
1864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1865 /* end confdefs.h. */
1866 $4
1867 int
1868 main (void)
1869 {
1870 if (sizeof (($2)))
1871 return 0;
1872 ;
1873 return 0;
1874 }
1875 _ACEOF
1876 if ac_fn_c_try_compile "$LINENO"
1877 then :
1878
1879 else case e in #(
1880 e) eval "$3=yes" ;;
1881 esac
1882 fi
1883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1884 fi
1885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1886 esac
1887 fi
1888 eval ac_res=\$$3
1889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1890 printf "%s\n" "$ac_res" >&6; }
1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892
1893 } # ac_fn_c_check_type
1894 ac_configure_args_raw=
1895 for ac_arg
1896 do
1897 case $ac_arg in
1898 *\'*)
1899 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1900 esac
1901 as_fn_append ac_configure_args_raw " '$ac_arg'"
1902 done
1903
1904 case $ac_configure_args_raw in
1905 *$as_nl*)
1906 ac_safe_unquote= ;;
1907 *)
1908 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1909 ac_unsafe_a="$ac_unsafe_z#~"
1910 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1911 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1912 esac
1913
1914 cat >config.log <<_ACEOF
1915 This file contains any messages produced by compilers while
1916 running configure, to aid debugging if configure makes a mistake.
1917
1918 It was created by rawsock $as_me 1.0, which was
1919 generated by GNU Autoconf 2.72. Invocation command line was
1920
1921 $ $0$ac_configure_args_raw
1922
1923 _ACEOF
1924 exec 5>>config.log
1925 {
1926 cat <<_ASUNAME
1927 ## --------- ##
1928 ## Platform. ##
1929 ## --------- ##
1930
1931 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1932 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1933 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1934 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1935 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1936
1937 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1938 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1939
1940 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1941 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1942 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1943 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1944 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1945 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1946 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1947
1948 _ASUNAME
1949
1950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1951 for as_dir in $PATH
1952 do
1953 IFS=$as_save_IFS
1954 case $as_dir in #(((
1955 '') as_dir=./ ;;
1956 */) ;;
1957 *) as_dir=$as_dir/ ;;
1958 esac
1959 printf "%s\n" "PATH: $as_dir"
1960 done
1961 IFS=$as_save_IFS
1962
1963 } >&5
1964
1965 cat >&5 <<_ACEOF
1966
1967
1968 ## ----------- ##
1969 ## Core tests. ##
1970 ## ----------- ##
1971
1972 _ACEOF
1973
1974
1975 # Keep a trace of the command line.
1976 # Strip out --no-create and --no-recursion so they do not pile up.
1977 # Strip out --silent because we don't want to record it for future runs.
1978 # Also quote any args containing shell meta-characters.
1979 # Make two passes to allow for proper duplicate-argument suppression.
1980 ac_configure_args=
1981 ac_configure_args0=
1982 ac_configure_args1=
1983 ac_must_keep_next=false
1984 for ac_pass in 1 2
1985 do
1986 for ac_arg
1987 do
1988 case $ac_arg in
1989 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1991 | -silent | --silent | --silen | --sile | --sil)
1992 continue ;;
1993 *\'*)
1994 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1995 esac
1996 case $ac_pass in
1997 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1998 2)
1999 as_fn_append ac_configure_args1 " '$ac_arg'"
2000 if test $ac_must_keep_next = true; then
2001 ac_must_keep_next=false # Got value, back to normal.
2002 else
2003 case $ac_arg in
2004 *=* | --config-cache | -C | -disable-* | --disable-* \
2005 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2006 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2007 | -with-* | --with-* | -without-* | --without-* | --x)
2008 case "$ac_configure_args0 " in
2009 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2010 esac
2011 ;;
2012 -* ) ac_must_keep_next=true ;;
2013 esac
2014 fi
2015 as_fn_append ac_configure_args " '$ac_arg'"
2016 ;;
2017 esac
2018 done
2019 done
2020 { ac_configure_args0=; unset ac_configure_args0;}
2021 { ac_configure_args1=; unset ac_configure_args1;}
2022
2023 # When interrupted or exit'd, cleanup temporary files, and complete
2024 # config.log. We remove comments because anyway the quotes in there
2025 # would cause problems or look ugly.
2026 # WARNING: Use '\'' to represent an apostrophe within the trap.
2027 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2028 trap 'exit_status=$?
2029 # Sanitize IFS.
2030 IFS=" "" $as_nl"
2031 # Save into config.log some information that might help in debugging.
2032 {
2033 echo
2034
2035 printf "%s\n" "## ---------------- ##
2036 ## Cache variables. ##
2037 ## ---------------- ##"
2038 echo
2039 # The following way of writing the cache mishandles newlines in values,
2040 (
2041 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2042 eval ac_val=\$$ac_var
2043 case $ac_val in #(
2044 *${as_nl}*)
2045 case $ac_var in #(
2046 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2047 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2048 esac
2049 case $ac_var in #(
2050 _ | IFS | as_nl) ;; #(
2051 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2052 *) { eval $ac_var=; unset $ac_var;} ;;
2053 esac ;;
2054 esac
2055 done
2056 (set) 2>&1 |
2057 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2058 *${as_nl}ac_space=\ *)
2059 sed -n \
2060 "s/'\''/'\''\\\\'\'''\''/g;
2061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2062 ;; #(
2063 *)
2064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2065 ;;
2066 esac |
2067 sort
2068 )
2069 echo
2070
2071 printf "%s\n" "## ----------------- ##
2072 ## Output variables. ##
2073 ## ----------------- ##"
2074 echo
2075 for ac_var in $ac_subst_vars
2076 do
2077 eval ac_val=\$$ac_var
2078 case $ac_val in
2079 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2080 esac
2081 printf "%s\n" "$ac_var='\''$ac_val'\''"
2082 done | sort
2083 echo
2084
2085 if test -n "$ac_subst_files"; then
2086 printf "%s\n" "## ------------------- ##
2087 ## File substitutions. ##
2088 ## ------------------- ##"
2089 echo
2090 for ac_var in $ac_subst_files
2091 do
2092 eval ac_val=\$$ac_var
2093 case $ac_val in
2094 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2095 esac
2096 printf "%s\n" "$ac_var='\''$ac_val'\''"
2097 done | sort
2098 echo
2099 fi
2100
2101 if test -s confdefs.h; then
2102 printf "%s\n" "## ----------- ##
2103 ## confdefs.h. ##
2104 ## ----------- ##"
2105 echo
2106 cat confdefs.h
2107 echo
2108 fi
2109 test "$ac_signal" != 0 &&
2110 printf "%s\n" "$as_me: caught signal $ac_signal"
2111 printf "%s\n" "$as_me: exit $exit_status"
2112 } >&5
2113 rm -f core *.core core.conftest.* &&
2114 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2115 exit $exit_status
2116 ' 0
2117 for ac_signal in 1 2 13 15; do
2118 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2119 done
2120 ac_signal=0
2121
2122 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2123 rm -f -r conftest* confdefs.h
2124
2125 printf "%s\n" "/* confdefs.h */" > confdefs.h
2126
2127 # Predefined preprocessor variables.
2128
2129 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2130
2131 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2132
2133 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2134
2135 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2136
2137 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2138
2139 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2140
2141
2142 # Let the site file select an alternate cache file if it wants to.
2143 # Prefer an explicitly selected file to automatically selected ones.
2144 if test -n "$CONFIG_SITE"; then
2145 ac_site_files="$CONFIG_SITE"
2146 elif test "x$prefix" != xNONE; then
2147 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2148 else
2149 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2150 fi
2151
2152 for ac_site_file in $ac_site_files
2153 do
2154 case $ac_site_file in #(
2155 */*) :
2156 ;; #(
2157 *) :
2158 ac_site_file=./$ac_site_file ;;
2159 esac
2160 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2162 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2163 sed 's/^/| /' "$ac_site_file" >&5
2164 . "$ac_site_file" \
2165 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2166 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2167 as_fn_error $? "failed to load site script $ac_site_file
2168 See 'config.log' for more details" "$LINENO" 5; }
2169 fi
2170 done
2171
2172 if test -r "$cache_file"; then
2173 # Some versions of bash will fail to source /dev/null (special files
2174 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2175 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2177 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2178 case $cache_file in
2179 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2180 *) . "./$cache_file";;
2181 esac
2182 fi
2183 else
2184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2185 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2186 >$cache_file
2187 fi
2188
2189
2190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to remove colons from paths" >&5
2191 printf %s "checking how to remove colons from paths... " >&6; }
2192 if test ${cl_cv_decolonize+y}
2193 then :
2194 printf %s "(cached) " >&6
2195 else case e in #(
2196 e) case `uname -s` in
2197 CYGWIN*)
2198 cl_cv_decolonize='cygpath --unix $x'
2199 ;;
2200 Windows* | MINGW* | MSYS*)
2201 if (type cygpath) > /dev/null 2>&1; then
2202 cl_cv_decolonize='cygpath --unix $x'
2203 else
2204 cl_cv_decolonize="echo \$x | sed -e 's,\\\\,/,g' -e 's,^\\(.\\):,/\1,'"
2205 fi
2206 ;;
2207 *)
2208 cl_cv_decolonize='echo $x'
2209 ;;
2210 esac
2211 ;;
2212 esac
2213 fi
2214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_decolonize" >&5
2215 printf "%s\n" "$cl_cv_decolonize" >&6; }
2216 CLISP_DECOLONIZE=$cl_cv_decolonize
2217
2218
2219
2220
2221 # Check whether --with-clisp was given.
2222 if test ${with_clisp+y}
2223 then :
2224 withval=$with_clisp; cl_use_clisp="$withval"
2225 else case e in #(
2226 e) cl_use_clisp=default ;;
2227 esac
2228 fi
2229
2230 cl_have_clisp=no
2231 if test "$cl_use_clisp" != "no"; then
2232 if test "$cl_use_clisp" = default -o "$cl_use_clisp" = yes; then
2233 # Extract the first word of "clisp", so it can be a program name with args.
2234 set dummy clisp; ac_word=$2
2235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2236 printf %s "checking for $ac_word... " >&6; }
2237 if test ${ac_cv_path_cl_cv_clisp+y}
2238 then :
2239 printf %s "(cached) " >&6
2240 else case e in #(
2241 e) case $cl_cv_clisp in
2242 [\\/]* | ?:[\\/]*)
2243 ac_cv_path_cl_cv_clisp="$cl_cv_clisp" # Let the user override the test with a path.
2244 ;;
2245 *)
2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2247 for as_dir in $PATH
2248 do
2249 IFS=$as_save_IFS
2250 case $as_dir in #(((
2251 '') as_dir=./ ;;
2252 */) ;;
2253 *) as_dir=$as_dir/ ;;
2254 esac
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2257 ac_cv_path_cl_cv_clisp="$as_dir$ac_word$ac_exec_ext"
2258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2259 break 2
2260 fi
2261 done
2262 done
2263 IFS=$as_save_IFS
2264
2265 ;;
2266 esac ;;
2267 esac
2268 fi
2269 cl_cv_clisp=$ac_cv_path_cl_cv_clisp
2270 if test -n "$cl_cv_clisp"; then
2271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp" >&5
2272 printf "%s\n" "$cl_cv_clisp" >&6; }
2273 else
2274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2275 printf "%s\n" "no" >&6; }
2276 fi
2277
2278
2279 else
2280 cl_cv_clisp="$cl_use_clisp"
2281 fi
2282 if test -n "$cl_cv_clisp"; then
2283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP version" >&5
2284 printf %s "checking for CLISP version... " >&6; }
2285 if test ${cl_cv_clisp_version+y}
2286 then :
2287 printf %s "(cached) " >&6
2288 else case e in #(
2289 e) if $cl_cv_clisp --version 2>/dev/null | head -n 1 | grep "GNU CLISP" >/dev/null 2>&1; then
2290 cl_cv_clisp_version=`$cl_cv_clisp -q -norc -x '(lisp-implementation-version)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
2291 else
2292 as_fn_error $? "'$cl_cv_clisp' is not a CLISP" "$LINENO" 5
2293 fi
2294 ;;
2295 esac
2296 fi
2297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_version" >&5
2298 printf "%s\n" "$cl_cv_clisp_version" >&6; }
2299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP libdir" >&5
2300 printf %s "checking for CLISP libdir... " >&6; }
2301 if test ${cl_cv_clisp_libdir+y}
2302 then :
2303 printf %s "(cached) " >&6
2304 else case e in #(
2305 e) cl_cv_clisp_libdir=`$cl_cv_clisp -q -norc -x '(namestring *lib-directory*)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
2306 x=$cl_cv_clisp_libdir
2307 cl_cv_clisp_libdir=`eval $cl_cv_decolonize`
2308 # cf src/clisp-link.in:linkkitdir
2309 missing=''
2310 for f in modules.c clisp.h; do
2311 test -r "${cl_cv_clisp_libdir}linkkit/$f" || missing=${missing}' '$f
2312 done
2313 test -n "${missing}" \
2314 && as_fn_error $? "missing ${missing} in '${cl_cv_clisp_libdir}linkkit'" "$LINENO" 5
2315 ;;
2316 esac
2317 fi
2318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_libdir" >&5
2319 printf "%s\n" "$cl_cv_clisp_libdir" >&6; }
2320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP linking set" >&5
2321 printf %s "checking for CLISP linking set... " >&6; }
2322 if test ${cl_cv_clisp_linkset+y}
2323 then :
2324 printf %s "(cached) " >&6
2325 else case e in #(
2326 e) cl_cv_clisp_linkset=`$cl_cv_clisp -q -norc -x '(sys::program-name)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
2327 cl_cv_clisp_linkset=`dirname ${cl_cv_clisp_linkset}`
2328 missing=''
2329 # cf. src/clisp-link.in:check_linkset (we do not need to check for
2330 # lisp.run because cl_cv_clisp_linkset comes from SYS::PROGRAM-NAME)
2331 for f in lisp.a lispinit.mem modules.h modules.o makevars; do
2332 test -r "${cl_cv_clisp_linkset}/$f" || missing=${missing}' '$f
2333 done
2334 test -n "${missing}" \
2335 && as_fn_error $? "missing ${missing} in '${cl_cv_clisp_linkset}'" "$LINENO" 5
2336 ;;
2337 esac
2338 fi
2339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_linkset" >&5
2340 printf "%s\n" "$cl_cv_clisp_linkset" >&6; }
2341 CLISP=$cl_cv_clisp
2342
2343 CLISP_LIBDIR="${cl_cv_clisp_libdir}"
2344
2345 CLISP_LINKKIT="${cl_cv_clisp_libdir}linkkit"
2346
2347 sed 's/^/CLISP_/' ${cl_cv_clisp_linkset}/makevars > conftestvars
2348 . ./conftestvars
2349 rm -f conftestvars
2350
2351
2352
2353
2354 test -d "$cl_cv_clisp_libdir" -a -d "$cl_cv_clisp_linkset" && cl_have_clisp=yes
2355 fi
2356 fi
2357
2358 # Test code for whether the C compiler supports C89 (global declarations)
2359 ac_c_conftest_c89_globals='
2360 /* Does the compiler advertise C89 conformance?
2361 Do not test the value of __STDC__, because some compilers set it to 0
2362 while being otherwise adequately conformant. */
2363 #if !defined __STDC__
2364 # error "Compiler does not advertise C89 conformance"
2365 #endif
2366
2367 #include <stddef.h>
2368 #include <stdarg.h>
2369 struct stat;
2370 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2371 struct buf { int x; };
2372 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2373 static char *e (char **p, int i)
2374 {
2375 return p[i];
2376 }
2377 static char *f (char * (*g) (char **, int), char **p, ...)
2378 {
2379 char *s;
2380 va_list v;
2381 va_start (v,p);
2382 s = g (p, va_arg (v,int));
2383 va_end (v);
2384 return s;
2385 }
2386
2387 /* C89 style stringification. */
2388 #define noexpand_stringify(a) #a
2389 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2390
2391 /* C89 style token pasting. Exercises some of the corner cases that
2392 e.g. old MSVC gets wrong, but not very hard. */
2393 #define noexpand_concat(a,b) a##b
2394 #define expand_concat(a,b) noexpand_concat(a,b)
2395 extern int vA;
2396 extern int vbee;
2397 #define aye A
2398 #define bee B
2399 int *pvA = &expand_concat(v,aye);
2400 int *pvbee = &noexpand_concat(v,bee);
2401
2402 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2403 function prototypes and stuff, but not \xHH hex character constants.
2404 These do not provoke an error unfortunately, instead are silently treated
2405 as an "x". The following induces an error, until -std is added to get
2406 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2407 array size at least. It is necessary to write \x00 == 0 to get something
2408 that is true only with -std. */
2409 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2410
2411 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2412 inside strings and character constants. */
2413 #define FOO(x) '\''x'\''
2414 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2415
2416 int test (int i, double x);
2417 struct s1 {int (*f) (int a);};
2418 struct s2 {int (*f) (double a);};
2419 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2420 int, int);'
2421
2422 # Test code for whether the C compiler supports C89 (body of main).
2423 ac_c_conftest_c89_main='
2424 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2425 '
2426
2427 # Test code for whether the C compiler supports C99 (global declarations)
2428 ac_c_conftest_c99_globals='
2429 /* Does the compiler advertise C99 conformance? */
2430 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2431 # error "Compiler does not advertise C99 conformance"
2432 #endif
2433
2434 // See if C++-style comments work.
2435
2436 #include <stdbool.h>
2437 extern int puts (const char *);
2438 extern int printf (const char *, ...);
2439 extern int dprintf (int, const char *, ...);
2440 extern void *malloc (size_t);
2441 extern void free (void *);
2442
2443 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2444 // dprintf is used instead of fprintf to avoid needing to declare
2445 // FILE and stderr.
2446 #define debug(...) dprintf (2, __VA_ARGS__)
2447 #define showlist(...) puts (#__VA_ARGS__)
2448 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2449 static void
2450 test_varargs_macros (void)
2451 {
2452 int x = 1234;
2453 int y = 5678;
2454 debug ("Flag");
2455 debug ("X = %d\n", x);
2456 showlist (The first, second, and third items.);
2457 report (x>y, "x is %d but y is %d", x, y);
2458 }
2459
2460 // Check long long types.
2461 #define BIG64 18446744073709551615ull
2462 #define BIG32 4294967295ul
2463 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2464 #if !BIG_OK
2465 #error "your preprocessor is broken"
2466 #endif
2467 #if BIG_OK
2468 #else
2469 #error "your preprocessor is broken"
2470 #endif
2471 static long long int bignum = -9223372036854775807LL;
2472 static unsigned long long int ubignum = BIG64;
2473
2474 struct incomplete_array
2475 {
2476 int datasize;
2477 double data[];
2478 };
2479
2480 struct named_init {
2481 int number;
2482 const wchar_t *name;
2483 double average;
2484 };
2485
2486 typedef const char *ccp;
2487
2488 static inline int
2489 test_restrict (ccp restrict text)
2490 {
2491 // Iterate through items via the restricted pointer.
2492 // Also check for declarations in for loops.
2493 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2494 continue;
2495 return 0;
2496 }
2497
2498 // Check varargs and va_copy.
2499 static bool
2500 test_varargs (const char *format, ...)
2501 {
2502 va_list args;
2503 va_start (args, format);
2504 va_list args_copy;
2505 va_copy (args_copy, args);
2506
2507 const char *str = "";
2508 int number = 0;
2509 float fnumber = 0;
2510
2511 while (*format)
2512 {
2513 switch (*format++)
2514 {
2515 case '\''s'\'': // string
2516 str = va_arg (args_copy, const char *);
2517 break;
2518 case '\''d'\'': // int
2519 number = va_arg (args_copy, int);
2520 break;
2521 case '\''f'\'': // float
2522 fnumber = va_arg (args_copy, double);
2523 break;
2524 default:
2525 break;
2526 }
2527 }
2528 va_end (args_copy);
2529 va_end (args);
2530
2531 return *str && number && fnumber;
2532 }
2533 '
2534
2535 # Test code for whether the C compiler supports C99 (body of main).
2536 ac_c_conftest_c99_main='
2537 // Check bool.
2538 _Bool success = false;
2539 success |= (argc != 0);
2540
2541 // Check restrict.
2542 if (test_restrict ("String literal") == 0)
2543 success = true;
2544 char *restrict newvar = "Another string";
2545
2546 // Check varargs.
2547 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2548 test_varargs_macros ();
2549
2550 // Check flexible array members.
2551 struct incomplete_array *ia =
2552 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2553 ia->datasize = 10;
2554 for (int i = 0; i < ia->datasize; ++i)
2555 ia->data[i] = i * 1.234;
2556 // Work around memory leak warnings.
2557 free (ia);
2558
2559 // Check named initializers.
2560 struct named_init ni = {
2561 .number = 34,
2562 .name = L"Test wide string",
2563 .average = 543.34343,
2564 };
2565
2566 ni.number = 58;
2567
2568 int dynamic_array[ni.number];
2569 dynamic_array[0] = argv[0][0];
2570 dynamic_array[ni.number - 1] = 543;
2571
2572 // work around unused variable warnings
2573 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2574 || dynamic_array[ni.number - 1] != 543);
2575 '
2576
2577 # Test code for whether the C compiler supports C11 (global declarations)
2578 ac_c_conftest_c11_globals='
2579 /* Does the compiler advertise C11 conformance? */
2580 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2581 # error "Compiler does not advertise C11 conformance"
2582 #endif
2583
2584 // Check _Alignas.
2585 char _Alignas (double) aligned_as_double;
2586 char _Alignas (0) no_special_alignment;
2587 extern char aligned_as_int;
2588 char _Alignas (0) _Alignas (int) aligned_as_int;
2589
2590 // Check _Alignof.
2591 enum
2592 {
2593 int_alignment = _Alignof (int),
2594 int_array_alignment = _Alignof (int[100]),
2595 char_alignment = _Alignof (char)
2596 };
2597 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2598
2599 // Check _Noreturn.
2600 int _Noreturn does_not_return (void) { for (;;) continue; }
2601
2602 // Check _Static_assert.
2603 struct test_static_assert
2604 {
2605 int x;
2606 _Static_assert (sizeof (int) <= sizeof (long int),
2607 "_Static_assert does not work in struct");
2608 long int y;
2609 };
2610
2611 // Check UTF-8 literals.
2612 #define u8 syntax error!
2613 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2614
2615 // Check duplicate typedefs.
2616 typedef long *long_ptr;
2617 typedef long int *long_ptr;
2618 typedef long_ptr long_ptr;
2619
2620 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2621 struct anonymous
2622 {
2623 union {
2624 struct { int i; int j; };
2625 struct { int k; long int l; } w;
2626 };
2627 int m;
2628 } v1;
2629 '
2630
2631 # Test code for whether the C compiler supports C11 (body of main).
2632 ac_c_conftest_c11_main='
2633 _Static_assert ((offsetof (struct anonymous, i)
2634 == offsetof (struct anonymous, w.k)),
2635 "Anonymous union alignment botch");
2636 v1.i = 2;
2637 v1.w.k = 5;
2638 ok |= v1.i != 5;
2639 '
2640
2641 # Test code for whether the C compiler supports C11 (complete).
2642 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2643 ${ac_c_conftest_c99_globals}
2644 ${ac_c_conftest_c11_globals}
2645
2646 int
2647 main (int argc, char **argv)
2648 {
2649 int ok = 0;
2650 ${ac_c_conftest_c89_main}
2651 ${ac_c_conftest_c99_main}
2652 ${ac_c_conftest_c11_main}
2653 return ok;
2654 }
2655 "
2656
2657 # Test code for whether the C compiler supports C99 (complete).
2658 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2659 ${ac_c_conftest_c99_globals}
2660
2661 int
2662 main (int argc, char **argv)
2663 {
2664 int ok = 0;
2665 ${ac_c_conftest_c89_main}
2666 ${ac_c_conftest_c99_main}
2667 return ok;
2668 }
2669 "
2670
2671 # Test code for whether the C compiler supports C89 (complete).
2672 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2673
2674 int
2675 main (int argc, char **argv)
2676 {
2677 int ok = 0;
2678 ${ac_c_conftest_c89_main}
2679 return ok;
2680 }
2681 "
2682
2683 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2684 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2685 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2686 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2687 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2688 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2689 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2690 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2691 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2692 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2693 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2694 as_fn_append ac_header_c_list " sys/socket.h sys_socket_h HAVE_SYS_SOCKET_H"
2695
2696 # Auxiliary files required by this configure script.
2697 ac_aux_files="config.guess config.sub compile"
2698
2699 # Locations in which to look for auxiliary files.
2700 ac_aux_dir_candidates="$cl_cv_clisp_libdir/build-aux"
2701
2702 # Search for a directory containing all of the required auxiliary files,
2703 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2704 # If we don't find one directory that contains all the files we need,
2705 # we report the set of missing files from the *first* directory in
2706 # $ac_aux_dir_candidates and give up.
2707 ac_missing_aux_files=""
2708 ac_first_candidate=:
2709 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 as_found=false
2712 for as_dir in $ac_aux_dir_candidates
2713 do
2714 IFS=$as_save_IFS
2715 case $as_dir in #(((
2716 '') as_dir=./ ;;
2717 */) ;;
2718 *) as_dir=$as_dir/ ;;
2719 esac
2720 as_found=:
2721
2722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2723 ac_aux_dir_found=yes
2724 ac_install_sh=
2725 for ac_aux in $ac_aux_files
2726 do
2727 # As a special case, if "install-sh" is required, that requirement
2728 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2729 # and $ac_install_sh is set appropriately for whichever one is found.
2730 if test x"$ac_aux" = x"install-sh"
2731 then
2732 if test -f "${as_dir}install-sh"; then
2733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2734 ac_install_sh="${as_dir}install-sh -c"
2735 elif test -f "${as_dir}install.sh"; then
2736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2737 ac_install_sh="${as_dir}install.sh -c"
2738 elif test -f "${as_dir}shtool"; then
2739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2740 ac_install_sh="${as_dir}shtool install -c"
2741 else
2742 ac_aux_dir_found=no
2743 if $ac_first_candidate; then
2744 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2745 else
2746 break
2747 fi
2748 fi
2749 else
2750 if test -f "${as_dir}${ac_aux}"; then
2751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2752 else
2753 ac_aux_dir_found=no
2754 if $ac_first_candidate; then
2755 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2756 else
2757 break
2758 fi
2759 fi
2760 fi
2761 done
2762 if test "$ac_aux_dir_found" = yes; then
2763 ac_aux_dir="$as_dir"
2764 break
2765 fi
2766 ac_first_candidate=false
2767
2768 as_found=false
2769 done
2770 IFS=$as_save_IFS
2771 if $as_found
2772 then :
2773
2774 else case e in #(
2775 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2776 esac
2777 fi
2778
2779
2780 # These three variables are undocumented and unsupported,
2781 # and are intended to be withdrawn in a future Autoconf release.
2782 # They can cause serious problems if a builder's source tree is in a directory
2783 # whose full name contains unusual characters.
2784 if test -f "${ac_aux_dir}config.guess"; then
2785 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2786 fi
2787 if test -f "${ac_aux_dir}config.sub"; then
2788 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2789 fi
2790 if test -f "$ac_aux_dir/configure"; then
2791 ac_configure="$SHELL ${ac_aux_dir}configure"
2792 fi
2793
2794 # Check that the precious variables saved in the cache have kept the same
2795 # value.
2796 ac_cache_corrupted=false
2797 for ac_var in $ac_precious_vars; do
2798 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2799 eval ac_new_set=\$ac_env_${ac_var}_set
2800 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2801 eval ac_new_val=\$ac_env_${ac_var}_value
2802 case $ac_old_set,$ac_new_set in
2803 set,)
2804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2805 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2806 ac_cache_corrupted=: ;;
2807 ,set)
2808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2809 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2810 ac_cache_corrupted=: ;;
2811 ,);;
2812 *)
2813 if test "x$ac_old_val" != "x$ac_new_val"; then
2814 # differences in whitespace do not lead to failure.
2815 ac_old_val_w=`echo x $ac_old_val`
2816 ac_new_val_w=`echo x $ac_new_val`
2817 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2819 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2820 ac_cache_corrupted=:
2821 else
2822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2823 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2824 eval $ac_var=\$ac_old_val
2825 fi
2826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2827 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2829 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2830 fi;;
2831 esac
2832 # Pass precious variables to config.status.
2833 if test "$ac_new_set" = set; then
2834 case $ac_new_val in
2835 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2836 *) ac_arg=$ac_var=$ac_new_val ;;
2837 esac
2838 case " $ac_configure_args " in
2839 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2840 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2841 esac
2842 fi
2843 done
2844 if $ac_cache_corrupted; then
2845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2846 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2848 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2849 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2850 and start over" "$LINENO" 5
2851 fi
2852 ## -------------------- ##
2853 ## Main body of script. ##
2854 ## -------------------- ##
2855
2856 ac_ext=c
2857 ac_cpp='$CPP $CPPFLAGS'
2858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2861
2862
2863
2864 ac_config_headers="$ac_config_headers config.h"
2865
2866
2867
2868
2869 case $TERM in
2870 # for the most important terminal types we directly know the sequences
2871 xterm*|vt220*|vt100*)
2872 term_bold=`${AWK:-awk} 'BEGIN { printf("%c%c%c%c", 27, 91, 49, 109); }' </dev/null 2>/dev/null`
2873 term_norm=`${AWK:-awk} 'BEGIN { printf("%c%c%c", 27, 91, 109); }' </dev/null 2>/dev/null`
2874 ;;
2875 # for all others, we try to use a possibly existing `tput' or `tcout' utility
2876 *)
2877 paths=`echo "$PATH" | sed -e 's/:/ /g'`
2878 for tool in tput tcout; do
2879 for dir in $paths; do
2880 if test -r "$dir/$tool"; then
2881 for seq in bold md smso; do # 'smso' is last
2882 bold="`$dir/$tool $seq 2>/dev/null`"
2883 if test -n "$bold"; then
2884 term_bold="$bold"
2885 break
2886 fi
2887 done
2888 if test -n "$term_bold"; then
2889 for seq in sgr0 me rmso reset; do # 'reset' is last
2890 norm="`$dir/$tool $seq 2>/dev/null`"
2891 if test -n "$norm"; then
2892 term_norm="$norm"
2893 break
2894 fi
2895 done
2896 fi
2897 break
2898 fi
2899 done
2900 if test -n "$term_bold" && test -n "$term_norm"; then
2901 break
2902 fi
2903 done
2904 ;;
2905 esac
2906
2907
2908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Rawsock (Common)${term_norm}" >&5
2909 printf "%s\n" "$as_me: ${term_bold}** Rawsock (Common)${term_norm}" >&6;}
2910
2911
2912
2913
2914
2915
2916
2917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP" >&5
2918 printf %s "checking for CLISP... " >&6; }
2919 if test ${cl_cv_have_clisp+y}
2920 then :
2921 printf %s "(cached) " >&6
2922 else case e in #(
2923 e) cl_cv_have_clisp=$cl_have_clisp ;;
2924 esac
2925 fi
2926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_have_clisp" >&5
2927 printf "%s\n" "$cl_cv_have_clisp" >&6; }
2928 required=true
2929 ${required} && test $cl_cv_have_clisp = no && as_fn_error $? "CLISP not found" "$LINENO" 5
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944 # Expand $ac_aux_dir to an absolute path.
2945 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2946
2947 ac_ext=c
2948 ac_cpp='$CPP $CPPFLAGS'
2949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2952 if test -n "$ac_tool_prefix"; then
2953 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2954 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2956 printf %s "checking for $ac_word... " >&6; }
2957 if test ${ac_cv_prog_CC+y}
2958 then :
2959 printf %s "(cached) " >&6
2960 else case e in #(
2961 e) if test -n "$CC"; then
2962 ac_cv_prog_CC="$CC" # Let the user override the test.
2963 else
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 for as_dir in $PATH
2966 do
2967 IFS=$as_save_IFS
2968 case $as_dir in #(((
2969 '') as_dir=./ ;;
2970 */) ;;
2971 *) as_dir=$as_dir/ ;;
2972 esac
2973 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2975 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2977 break 2
2978 fi
2979 done
2980 done
2981 IFS=$as_save_IFS
2982
2983 fi ;;
2984 esac
2985 fi
2986 CC=$ac_cv_prog_CC
2987 if test -n "$CC"; then
2988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2989 printf "%s\n" "$CC" >&6; }
2990 else
2991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2992 printf "%s\n" "no" >&6; }
2993 fi
2994
2995
2996 fi
2997 if test -z "$ac_cv_prog_CC"; then
2998 ac_ct_CC=$CC
2999 # Extract the first word of "gcc", so it can be a program name with args.
3000 set dummy gcc; ac_word=$2
3001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3002 printf %s "checking for $ac_word... " >&6; }
3003 if test ${ac_cv_prog_ac_ct_CC+y}
3004 then :
3005 printf %s "(cached) " >&6
3006 else case e in #(
3007 e) if test -n "$ac_ct_CC"; then
3008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3009 else
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3011 for as_dir in $PATH
3012 do
3013 IFS=$as_save_IFS
3014 case $as_dir in #(((
3015 '') as_dir=./ ;;
3016 */) ;;
3017 *) as_dir=$as_dir/ ;;
3018 esac
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3021 ac_cv_prog_ac_ct_CC="gcc"
3022 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3023 break 2
3024 fi
3025 done
3026 done
3027 IFS=$as_save_IFS
3028
3029 fi ;;
3030 esac
3031 fi
3032 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3033 if test -n "$ac_ct_CC"; then
3034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3035 printf "%s\n" "$ac_ct_CC" >&6; }
3036 else
3037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038 printf "%s\n" "no" >&6; }
3039 fi
3040
3041 if test "x$ac_ct_CC" = x; then
3042 CC=""
3043 else
3044 case $cross_compiling:$ac_tool_warned in
3045 yes:)
3046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3047 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3048 ac_tool_warned=yes ;;
3049 esac
3050 CC=$ac_ct_CC
3051 fi
3052 else
3053 CC="$ac_cv_prog_CC"
3054 fi
3055
3056 if test -z "$CC"; then
3057 if test -n "$ac_tool_prefix"; then
3058 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3059 set dummy ${ac_tool_prefix}cc; ac_word=$2
3060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3061 printf %s "checking for $ac_word... " >&6; }
3062 if test ${ac_cv_prog_CC+y}
3063 then :
3064 printf %s "(cached) " >&6
3065 else case e in #(
3066 e) if test -n "$CC"; then
3067 ac_cv_prog_CC="$CC" # Let the user override the test.
3068 else
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 for as_dir in $PATH
3071 do
3072 IFS=$as_save_IFS
3073 case $as_dir in #(((
3074 '') as_dir=./ ;;
3075 */) ;;
3076 *) as_dir=$as_dir/ ;;
3077 esac
3078 for ac_exec_ext in '' $ac_executable_extensions; do
3079 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3080 ac_cv_prog_CC="${ac_tool_prefix}cc"
3081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3082 break 2
3083 fi
3084 done
3085 done
3086 IFS=$as_save_IFS
3087
3088 fi ;;
3089 esac
3090 fi
3091 CC=$ac_cv_prog_CC
3092 if test -n "$CC"; then
3093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3094 printf "%s\n" "$CC" >&6; }
3095 else
3096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 printf "%s\n" "no" >&6; }
3098 fi
3099
3100
3101 fi
3102 fi
3103 if test -z "$CC"; then
3104 # Extract the first word of "cc", so it can be a program name with args.
3105 set dummy cc; ac_word=$2
3106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3107 printf %s "checking for $ac_word... " >&6; }
3108 if test ${ac_cv_prog_CC+y}
3109 then :
3110 printf %s "(cached) " >&6
3111 else case e in #(
3112 e) if test -n "$CC"; then
3113 ac_cv_prog_CC="$CC" # Let the user override the test.
3114 else
3115 ac_prog_rejected=no
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117 for as_dir in $PATH
3118 do
3119 IFS=$as_save_IFS
3120 case $as_dir in #(((
3121 '') as_dir=./ ;;
3122 */) ;;
3123 *) as_dir=$as_dir/ ;;
3124 esac
3125 for ac_exec_ext in '' $ac_executable_extensions; do
3126 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3127 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3128 ac_prog_rejected=yes
3129 continue
3130 fi
3131 ac_cv_prog_CC="cc"
3132 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3133 break 2
3134 fi
3135 done
3136 done
3137 IFS=$as_save_IFS
3138
3139 if test $ac_prog_rejected = yes; then
3140 # We found a bogon in the path, so make sure we never use it.
3141 set dummy $ac_cv_prog_CC
3142 shift
3143 if test $# != 0; then
3144 # We chose a different compiler from the bogus one.
3145 # However, it has the same basename, so the bogon will be chosen
3146 # first if we set CC to just the basename; use the full file name.
3147 shift
3148 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3149 fi
3150 fi
3151 fi ;;
3152 esac
3153 fi
3154 CC=$ac_cv_prog_CC
3155 if test -n "$CC"; then
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3157 printf "%s\n" "$CC" >&6; }
3158 else
3159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 printf "%s\n" "no" >&6; }
3161 fi
3162
3163
3164 fi
3165 if test -z "$CC"; then
3166 if test -n "$ac_tool_prefix"; then
3167 for ac_prog in cl.exe
3168 do
3169 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3170 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172 printf %s "checking for $ac_word... " >&6; }
3173 if test ${ac_cv_prog_CC+y}
3174 then :
3175 printf %s "(cached) " >&6
3176 else case e in #(
3177 e) if test -n "$CC"; then
3178 ac_cv_prog_CC="$CC" # Let the user override the test.
3179 else
3180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3181 for as_dir in $PATH
3182 do
3183 IFS=$as_save_IFS
3184 case $as_dir in #(((
3185 '') as_dir=./ ;;
3186 */) ;;
3187 *) as_dir=$as_dir/ ;;
3188 esac
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3191 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3193 break 2
3194 fi
3195 done
3196 done
3197 IFS=$as_save_IFS
3198
3199 fi ;;
3200 esac
3201 fi
3202 CC=$ac_cv_prog_CC
3203 if test -n "$CC"; then
3204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3205 printf "%s\n" "$CC" >&6; }
3206 else
3207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 printf "%s\n" "no" >&6; }
3209 fi
3210
3211
3212 test -n "$CC" && break
3213 done
3214 fi
3215 if test -z "$CC"; then
3216 ac_ct_CC=$CC
3217 for ac_prog in cl.exe
3218 do
3219 # Extract the first word of "$ac_prog", so it can be a program name with args.
3220 set dummy $ac_prog; ac_word=$2
3221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 printf %s "checking for $ac_word... " >&6; }
3223 if test ${ac_cv_prog_ac_ct_CC+y}
3224 then :
3225 printf %s "(cached) " >&6
3226 else case e in #(
3227 e) if test -n "$ac_ct_CC"; then
3228 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3229 else
3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3231 for as_dir in $PATH
3232 do
3233 IFS=$as_save_IFS
3234 case $as_dir in #(((
3235 '') as_dir=./ ;;
3236 */) ;;
3237 *) as_dir=$as_dir/ ;;
3238 esac
3239 for ac_exec_ext in '' $ac_executable_extensions; do
3240 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3241 ac_cv_prog_ac_ct_CC="$ac_prog"
3242 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3243 break 2
3244 fi
3245 done
3246 done
3247 IFS=$as_save_IFS
3248
3249 fi ;;
3250 esac
3251 fi
3252 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3253 if test -n "$ac_ct_CC"; then
3254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3255 printf "%s\n" "$ac_ct_CC" >&6; }
3256 else
3257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3258 printf "%s\n" "no" >&6; }
3259 fi
3260
3261
3262 test -n "$ac_ct_CC" && break
3263 done
3264
3265 if test "x$ac_ct_CC" = x; then
3266 CC=""
3267 else
3268 case $cross_compiling:$ac_tool_warned in
3269 yes:)
3270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3271 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3272 ac_tool_warned=yes ;;
3273 esac
3274 CC=$ac_ct_CC
3275 fi
3276 fi
3277
3278 fi
3279 if test -z "$CC"; then
3280 if test -n "$ac_tool_prefix"; then
3281 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3282 set dummy ${ac_tool_prefix}clang; ac_word=$2
3283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 printf %s "checking for $ac_word... " >&6; }
3285 if test ${ac_cv_prog_CC+y}
3286 then :
3287 printf %s "(cached) " >&6
3288 else case e in #(
3289 e) if test -n "$CC"; then
3290 ac_cv_prog_CC="$CC" # Let the user override the test.
3291 else
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 for as_dir in $PATH
3294 do
3295 IFS=$as_save_IFS
3296 case $as_dir in #(((
3297 '') as_dir=./ ;;
3298 */) ;;
3299 *) as_dir=$as_dir/ ;;
3300 esac
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3303 ac_cv_prog_CC="${ac_tool_prefix}clang"
3304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3305 break 2
3306 fi
3307 done
3308 done
3309 IFS=$as_save_IFS
3310
3311 fi ;;
3312 esac
3313 fi
3314 CC=$ac_cv_prog_CC
3315 if test -n "$CC"; then
3316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3317 printf "%s\n" "$CC" >&6; }
3318 else
3319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3320 printf "%s\n" "no" >&6; }
3321 fi
3322
3323
3324 fi
3325 if test -z "$ac_cv_prog_CC"; then
3326 ac_ct_CC=$CC
3327 # Extract the first word of "clang", so it can be a program name with args.
3328 set dummy clang; ac_word=$2
3329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3330 printf %s "checking for $ac_word... " >&6; }
3331 if test ${ac_cv_prog_ac_ct_CC+y}
3332 then :
3333 printf %s "(cached) " >&6
3334 else case e in #(
3335 e) if test -n "$ac_ct_CC"; then
3336 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3337 else
3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 for as_dir in $PATH
3340 do
3341 IFS=$as_save_IFS
3342 case $as_dir in #(((
3343 '') as_dir=./ ;;
3344 */) ;;
3345 *) as_dir=$as_dir/ ;;
3346 esac
3347 for ac_exec_ext in '' $ac_executable_extensions; do
3348 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3349 ac_cv_prog_ac_ct_CC="clang"
3350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3351 break 2
3352 fi
3353 done
3354 done
3355 IFS=$as_save_IFS
3356
3357 fi ;;
3358 esac
3359 fi
3360 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3361 if test -n "$ac_ct_CC"; then
3362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3363 printf "%s\n" "$ac_ct_CC" >&6; }
3364 else
3365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3366 printf "%s\n" "no" >&6; }
3367 fi
3368
3369 if test "x$ac_ct_CC" = x; then
3370 CC=""
3371 else
3372 case $cross_compiling:$ac_tool_warned in
3373 yes:)
3374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3375 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3376 ac_tool_warned=yes ;;
3377 esac
3378 CC=$ac_ct_CC
3379 fi
3380 else
3381 CC="$ac_cv_prog_CC"
3382 fi
3383
3384 fi
3385
3386
3387 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3388 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3389 as_fn_error $? "no acceptable C compiler found in \$PATH
3390 See 'config.log' for more details" "$LINENO" 5; }
3391
3392 # Provide some information about the compiler.
3393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3394 set X $ac_compile
3395 ac_compiler=$2
3396 for ac_option in --version -v -V -qversion -version; do
3397 { { ac_try="$ac_compiler $ac_option >&5"
3398 case "(($ac_try" in
3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3401 esac
3402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3403 printf "%s\n" "$ac_try_echo"; } >&5
3404 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3405 ac_status=$?
3406 if test -s conftest.err; then
3407 sed '10a\
3408 ... rest of stderr output deleted ...
3409 10q' conftest.err >conftest.er1
3410 cat conftest.er1 >&5
3411 fi
3412 rm -f conftest.er1 conftest.err
3413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3414 test $ac_status = 0; }
3415 done
3416
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3419
3420 int
3421 main (void)
3422 {
3423
3424 ;
3425 return 0;
3426 }
3427 _ACEOF
3428 ac_clean_files_save=$ac_clean_files
3429 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3430 # Try to create an executable without -o first, disregard a.out.
3431 # It will help us diagnose broken compilers, and finding out an intuition
3432 # of exeext.
3433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3434 printf %s "checking whether the C compiler works... " >&6; }
3435 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3436
3437 # The possible output files:
3438 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3439
3440 ac_rmfiles=
3441 for ac_file in $ac_files
3442 do
3443 case $ac_file in
3444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3445 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3446 esac
3447 done
3448 rm -f $ac_rmfiles
3449
3450 if { { ac_try="$ac_link_default"
3451 case "(($ac_try" in
3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453 *) ac_try_echo=$ac_try;;
3454 esac
3455 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3456 printf "%s\n" "$ac_try_echo"; } >&5
3457 (eval "$ac_link_default") 2>&5
3458 ac_status=$?
3459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3460 test $ac_status = 0; }
3461 then :
3462 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
3463 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
3464 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3465 # so that the user can short-circuit this test for compilers unknown to
3466 # Autoconf.
3467 for ac_file in $ac_files ''
3468 do
3469 test -f "$ac_file" || continue
3470 case $ac_file in
3471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3472 ;;
3473 [ab].out )
3474 # We found the default executable, but exeext='' is most
3475 # certainly right.
3476 break;;
3477 *.* )
3478 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3479 then :; else
3480 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3481 fi
3482 # We set ac_cv_exeext here because the later test for it is not
3483 # safe: cross compilers may not add the suffix if given an '-o'
3484 # argument, so we may need to know it at that point already.
3485 # Even if this section looks crufty: it has the advantage of
3486 # actually working.
3487 break;;
3488 * )
3489 break;;
3490 esac
3491 done
3492 test "$ac_cv_exeext" = no && ac_cv_exeext=
3493
3494 else case e in #(
3495 e) ac_file='' ;;
3496 esac
3497 fi
3498 if test -z "$ac_file"
3499 then :
3500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3501 printf "%s\n" "no" >&6; }
3502 printf "%s\n" "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3504
3505 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3506 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3507 as_fn_error 77 "C compiler cannot create executables
3508 See 'config.log' for more details" "$LINENO" 5; }
3509 else case e in #(
3510 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3511 printf "%s\n" "yes" >&6; } ;;
3512 esac
3513 fi
3514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3515 printf %s "checking for C compiler default output file name... " >&6; }
3516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3517 printf "%s\n" "$ac_file" >&6; }
3518 ac_exeext=$ac_cv_exeext
3519
3520 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3521 ac_clean_files=$ac_clean_files_save
3522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3523 printf %s "checking for suffix of executables... " >&6; }
3524 if { { ac_try="$ac_link"
3525 case "(($ac_try" in
3526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527 *) ac_try_echo=$ac_try;;
3528 esac
3529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530 printf "%s\n" "$ac_try_echo"; } >&5
3531 (eval "$ac_link") 2>&5
3532 ac_status=$?
3533 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3534 test $ac_status = 0; }
3535 then :
3536 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
3537 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
3538 # work properly (i.e., refer to 'conftest.exe'), while it won't with
3539 # 'rm'.
3540 for ac_file in conftest.exe conftest conftest.*; do
3541 test -f "$ac_file" || continue
3542 case $ac_file in
3543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3544 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3545 break;;
3546 * ) break;;
3547 esac
3548 done
3549 else case e in #(
3550 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3551 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3552 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3553 See 'config.log' for more details" "$LINENO" 5; } ;;
3554 esac
3555 fi
3556 rm -f conftest conftest$ac_cv_exeext
3557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3558 printf "%s\n" "$ac_cv_exeext" >&6; }
3559
3560 rm -f conftest.$ac_ext
3561 EXEEXT=$ac_cv_exeext
3562 ac_exeext=$EXEEXT
3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3565 #include <stdio.h>
3566 int
3567 main (void)
3568 {
3569 FILE *f = fopen ("conftest.out", "w");
3570 if (!f)
3571 return 1;
3572 return ferror (f) || fclose (f) != 0;
3573
3574 ;
3575 return 0;
3576 }
3577 _ACEOF
3578 ac_clean_files="$ac_clean_files conftest.out"
3579 # Check that the compiler produces executables we can run. If not, either
3580 # the compiler is broken, or we cross compile.
3581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3582 printf %s "checking whether we are cross compiling... " >&6; }
3583 if test "$cross_compiling" != yes; then
3584 { { ac_try="$ac_link"
3585 case "(($ac_try" in
3586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3588 esac
3589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3590 printf "%s\n" "$ac_try_echo"; } >&5
3591 (eval "$ac_link") 2>&5
3592 ac_status=$?
3593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3594 test $ac_status = 0; }
3595 if { ac_try='./conftest$ac_cv_exeext'
3596 { { case "(($ac_try" in
3597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598 *) ac_try_echo=$ac_try;;
3599 esac
3600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 printf "%s\n" "$ac_try_echo"; } >&5
3602 (eval "$ac_try") 2>&5
3603 ac_status=$?
3604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605 test $ac_status = 0; }; }; then
3606 cross_compiling=no
3607 else
3608 if test "$cross_compiling" = maybe; then
3609 cross_compiling=yes
3610 else
3611 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3612 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3613 as_fn_error 77 "cannot run C compiled programs.
3614 If you meant to cross compile, use '--host'.
3615 See 'config.log' for more details" "$LINENO" 5; }
3616 fi
3617 fi
3618 fi
3619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3620 printf "%s\n" "$cross_compiling" >&6; }
3621
3622 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
3623 conftest.o conftest.obj conftest.out
3624 ac_clean_files=$ac_clean_files_save
3625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3626 printf %s "checking for suffix of object files... " >&6; }
3627 if test ${ac_cv_objext+y}
3628 then :
3629 printf %s "(cached) " >&6
3630 else case e in #(
3631 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3633
3634 int
3635 main (void)
3636 {
3637
3638 ;
3639 return 0;
3640 }
3641 _ACEOF
3642 rm -f conftest.o conftest.obj
3643 if { { ac_try="$ac_compile"
3644 case "(($ac_try" in
3645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3646 *) ac_try_echo=$ac_try;;
3647 esac
3648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3649 printf "%s\n" "$ac_try_echo"; } >&5
3650 (eval "$ac_compile") 2>&5
3651 ac_status=$?
3652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3653 test $ac_status = 0; }
3654 then :
3655 for ac_file in conftest.o conftest.obj conftest.*; do
3656 test -f "$ac_file" || continue;
3657 case $ac_file in
3658 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3659 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3660 break;;
3661 esac
3662 done
3663 else case e in #(
3664 e) printf "%s\n" "$as_me: failed program was:" >&5
3665 sed 's/^/| /' conftest.$ac_ext >&5
3666
3667 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3668 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3669 as_fn_error $? "cannot compute suffix of object files: cannot compile
3670 See 'config.log' for more details" "$LINENO" 5; } ;;
3671 esac
3672 fi
3673 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
3674 esac
3675 fi
3676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3677 printf "%s\n" "$ac_cv_objext" >&6; }
3678 OBJEXT=$ac_cv_objext
3679 ac_objext=$OBJEXT
3680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3681 printf %s "checking whether the compiler supports GNU C... " >&6; }
3682 if test ${ac_cv_c_compiler_gnu+y}
3683 then :
3684 printf %s "(cached) " >&6
3685 else case e in #(
3686 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3688
3689 int
3690 main (void)
3691 {
3692 #ifndef __GNUC__
3693 choke me
3694 #endif
3695
3696 ;
3697 return 0;
3698 }
3699 _ACEOF
3700 if ac_fn_c_try_compile "$LINENO"
3701 then :
3702 ac_compiler_gnu=yes
3703 else case e in #(
3704 e) ac_compiler_gnu=no ;;
3705 esac
3706 fi
3707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3708 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3709 ;;
3710 esac
3711 fi
3712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3713 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715
3716 if test $ac_compiler_gnu = yes; then
3717 GCC=yes
3718 else
3719 GCC=
3720 fi
3721 ac_test_CFLAGS=${CFLAGS+y}
3722 ac_save_CFLAGS=$CFLAGS
3723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3724 printf %s "checking whether $CC accepts -g... " >&6; }
3725 if test ${ac_cv_prog_cc_g+y}
3726 then :
3727 printf %s "(cached) " >&6
3728 else case e in #(
3729 e) ac_save_c_werror_flag=$ac_c_werror_flag
3730 ac_c_werror_flag=yes
3731 ac_cv_prog_cc_g=no
3732 CFLAGS="-g"
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3735
3736 int
3737 main (void)
3738 {
3739
3740 ;
3741 return 0;
3742 }
3743 _ACEOF
3744 if ac_fn_c_try_compile "$LINENO"
3745 then :
3746 ac_cv_prog_cc_g=yes
3747 else case e in #(
3748 e) CFLAGS=""
3749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3751
3752 int
3753 main (void)
3754 {
3755
3756 ;
3757 return 0;
3758 }
3759 _ACEOF
3760 if ac_fn_c_try_compile "$LINENO"
3761 then :
3762
3763 else case e in #(
3764 e) ac_c_werror_flag=$ac_save_c_werror_flag
3765 CFLAGS="-g"
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3768
3769 int
3770 main (void)
3771 {
3772
3773 ;
3774 return 0;
3775 }
3776 _ACEOF
3777 if ac_fn_c_try_compile "$LINENO"
3778 then :
3779 ac_cv_prog_cc_g=yes
3780 fi
3781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
3782 esac
3783 fi
3784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
3785 esac
3786 fi
3787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3788 ac_c_werror_flag=$ac_save_c_werror_flag ;;
3789 esac
3790 fi
3791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3792 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3793 if test $ac_test_CFLAGS; then
3794 CFLAGS=$ac_save_CFLAGS
3795 elif test $ac_cv_prog_cc_g = yes; then
3796 if test "$GCC" = yes; then
3797 CFLAGS="-g -O2"
3798 else
3799 CFLAGS="-g"
3800 fi
3801 else
3802 if test "$GCC" = yes; then
3803 CFLAGS="-O2"
3804 else
3805 CFLAGS=
3806 fi
3807 fi
3808 ac_prog_cc_stdc=no
3809 if test x$ac_prog_cc_stdc = xno
3810 then :
3811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3812 printf %s "checking for $CC option to enable C11 features... " >&6; }
3813 if test ${ac_cv_prog_cc_c11+y}
3814 then :
3815 printf %s "(cached) " >&6
3816 else case e in #(
3817 e) ac_cv_prog_cc_c11=no
3818 ac_save_CC=$CC
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3821 $ac_c_conftest_c11_program
3822 _ACEOF
3823 for ac_arg in '' -std=gnu11
3824 do
3825 CC="$ac_save_CC $ac_arg"
3826 if ac_fn_c_try_compile "$LINENO"
3827 then :
3828 ac_cv_prog_cc_c11=$ac_arg
3829 fi
3830 rm -f core conftest.err conftest.$ac_objext conftest.beam
3831 test "x$ac_cv_prog_cc_c11" != "xno" && break
3832 done
3833 rm -f conftest.$ac_ext
3834 CC=$ac_save_CC ;;
3835 esac
3836 fi
3837
3838 if test "x$ac_cv_prog_cc_c11" = xno
3839 then :
3840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3841 printf "%s\n" "unsupported" >&6; }
3842 else case e in #(
3843 e) if test "x$ac_cv_prog_cc_c11" = x
3844 then :
3845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3846 printf "%s\n" "none needed" >&6; }
3847 else case e in #(
3848 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3849 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3850 CC="$CC $ac_cv_prog_cc_c11" ;;
3851 esac
3852 fi
3853 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3854 ac_prog_cc_stdc=c11 ;;
3855 esac
3856 fi
3857 fi
3858 if test x$ac_prog_cc_stdc = xno
3859 then :
3860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3861 printf %s "checking for $CC option to enable C99 features... " >&6; }
3862 if test ${ac_cv_prog_cc_c99+y}
3863 then :
3864 printf %s "(cached) " >&6
3865 else case e in #(
3866 e) ac_cv_prog_cc_c99=no
3867 ac_save_CC=$CC
3868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3870 $ac_c_conftest_c99_program
3871 _ACEOF
3872 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3873 do
3874 CC="$ac_save_CC $ac_arg"
3875 if ac_fn_c_try_compile "$LINENO"
3876 then :
3877 ac_cv_prog_cc_c99=$ac_arg
3878 fi
3879 rm -f core conftest.err conftest.$ac_objext conftest.beam
3880 test "x$ac_cv_prog_cc_c99" != "xno" && break
3881 done
3882 rm -f conftest.$ac_ext
3883 CC=$ac_save_CC ;;
3884 esac
3885 fi
3886
3887 if test "x$ac_cv_prog_cc_c99" = xno
3888 then :
3889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3890 printf "%s\n" "unsupported" >&6; }
3891 else case e in #(
3892 e) if test "x$ac_cv_prog_cc_c99" = x
3893 then :
3894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3895 printf "%s\n" "none needed" >&6; }
3896 else case e in #(
3897 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3898 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3899 CC="$CC $ac_cv_prog_cc_c99" ;;
3900 esac
3901 fi
3902 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3903 ac_prog_cc_stdc=c99 ;;
3904 esac
3905 fi
3906 fi
3907 if test x$ac_prog_cc_stdc = xno
3908 then :
3909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3910 printf %s "checking for $CC option to enable C89 features... " >&6; }
3911 if test ${ac_cv_prog_cc_c89+y}
3912 then :
3913 printf %s "(cached) " >&6
3914 else case e in #(
3915 e) ac_cv_prog_cc_c89=no
3916 ac_save_CC=$CC
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3919 $ac_c_conftest_c89_program
3920 _ACEOF
3921 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3922 do
3923 CC="$ac_save_CC $ac_arg"
3924 if ac_fn_c_try_compile "$LINENO"
3925 then :
3926 ac_cv_prog_cc_c89=$ac_arg
3927 fi
3928 rm -f core conftest.err conftest.$ac_objext conftest.beam
3929 test "x$ac_cv_prog_cc_c89" != "xno" && break
3930 done
3931 rm -f conftest.$ac_ext
3932 CC=$ac_save_CC ;;
3933 esac
3934 fi
3935
3936 if test "x$ac_cv_prog_cc_c89" = xno
3937 then :
3938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3939 printf "%s\n" "unsupported" >&6; }
3940 else case e in #(
3941 e) if test "x$ac_cv_prog_cc_c89" = x
3942 then :
3943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3944 printf "%s\n" "none needed" >&6; }
3945 else case e in #(
3946 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3947 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3948 CC="$CC $ac_cv_prog_cc_c89" ;;
3949 esac
3950 fi
3951 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3952 ac_prog_cc_stdc=c89 ;;
3953 esac
3954 fi
3955 fi
3956
3957 ac_ext=c
3958 ac_cpp='$CPP $CPPFLAGS'
3959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3962
3963
3964 ac_ext=c
3965 ac_cpp='$CPP $CPPFLAGS'
3966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3970 printf %s "checking whether $CC understands -c and -o together... " >&6; }
3971 if test ${am_cv_prog_cc_c_o+y}
3972 then :
3973 printf %s "(cached) " >&6
3974 else case e in #(
3975 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3977
3978 int
3979 main (void)
3980 {
3981
3982 ;
3983 return 0;
3984 }
3985 _ACEOF
3986 # Make sure it works both with $CC and with simple cc.
3987 # Following AC_PROG_CC_C_O, we do the test twice because some
3988 # compilers refuse to overwrite an existing .o file with -o,
3989 # though they will create one.
3990 am_cv_prog_cc_c_o=yes
3991 for am_i in 1 2; do
3992 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3993 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3994 ac_status=$?
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); } \
3997 && test -f conftest2.$ac_objext; then
3998 : OK
3999 else
4000 am_cv_prog_cc_c_o=no
4001 break
4002 fi
4003 done
4004 rm -f core conftest*
4005 unset am_i ;;
4006 esac
4007 fi
4008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4009 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4010 if test "$am_cv_prog_cc_c_o" != yes; then
4011 # Losing compiler, so override with the script.
4012 # FIXME: It is wrong to rewrite CC.
4013 # But if we don't then we get into trouble of one sort or another.
4014 # A longer-term fix would be to have automake use am__CC in this case,
4015 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4016 CC="$am_aux_dir/compile $CC"
4017 fi
4018 ac_ext=c
4019 ac_cpp='$CPP $CPPFLAGS'
4020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4023
4024
4025
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler is clang" >&5
4027 printf %s "checking whether the compiler is clang... " >&6; }
4028 if test ${gl_cv_compiler_clang+y}
4029 then :
4030 printf %s "(cached) " >&6
4031 else case e in #(
4032 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4034
4035 #ifdef __clang__
4036 barfbarf
4037 #endif
4038
4039 int
4040 main (void)
4041 {
4042
4043 ;
4044 return 0;
4045 }
4046
4047 _ACEOF
4048 if ac_fn_c_try_compile "$LINENO"
4049 then :
4050 gl_cv_compiler_clang=no
4051 else case e in #(
4052 e) gl_cv_compiler_clang=yes ;;
4053 esac
4054 fi
4055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4056 ;;
4057 esac
4058 fi
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compiler_clang" >&5
4060 printf "%s\n" "$gl_cv_compiler_clang" >&6; }
4061
4062
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler option needed when checking for declarations" >&5
4064 printf %s "checking for compiler option needed when checking for declarations... " >&6; }
4065 if test ${gl_cv_compiler_check_decl_option+y}
4066 then :
4067 printf %s "(cached) " >&6
4068 else case e in #(
4069 e) if test $gl_cv_compiler_clang = yes; then
4070 saved_ac_compile="$ac_compile"
4071 ac_compile="$ac_compile -Werror=implicit-function-declaration"
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4074
4075 int
4076 main (void)
4077 {
4078
4079 ;
4080 return 0;
4081 }
4082 _ACEOF
4083 if ac_fn_c_try_compile "$LINENO"
4084 then :
4085 gl_cv_compiler_check_decl_option='-Werror=implicit-function-declaration'
4086 else case e in #(
4087 e) gl_cv_compiler_check_decl_option=none ;;
4088 esac
4089 fi
4090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4091 ac_compile="$saved_ac_compile"
4092 else
4093 gl_cv_compiler_check_decl_option=none
4094 fi
4095 ;;
4096 esac
4097 fi
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compiler_check_decl_option" >&5
4099 printf "%s\n" "$gl_cv_compiler_check_decl_option" >&6; }
4100 if test "x$gl_cv_compiler_check_decl_option" != xnone; then
4101 ac_compile_for_check_decl="$ac_compile $gl_cv_compiler_check_decl_option"
4102 else
4103 ac_compile_for_check_decl="$ac_compile"
4104 fi
4105
4106
4107 ac_ext=c
4108 ac_cpp='$CPP $CPPFLAGS'
4109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4113 printf %s "checking how to run the C preprocessor... " >&6; }
4114 # On Suns, sometimes $CPP names a directory.
4115 if test -n "$CPP" && test -d "$CPP"; then
4116 CPP=
4117 fi
4118 if test -z "$CPP"; then
4119 if test ${ac_cv_prog_CPP+y}
4120 then :
4121 printf %s "(cached) " >&6
4122 else case e in #(
4123 e) # Double quotes because $CC needs to be expanded
4124 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
4125 do
4126 ac_preproc_ok=false
4127 for ac_c_preproc_warn_flag in '' yes
4128 do
4129 # Use a header file that comes with gcc, so configuring glibc
4130 # with a fresh cross-compiler works.
4131 # On the NeXT, cc -E runs the code through the compiler's parser,
4132 # not just through cpp. "Syntax error" is here to catch this case.
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4135 #include <limits.h>
4136 Syntax error
4137 _ACEOF
4138 if ac_fn_c_try_cpp "$LINENO"
4139 then :
4140
4141 else case e in #(
4142 e) # Broken: fails on valid input.
4143 continue ;;
4144 esac
4145 fi
4146 rm -f conftest.err conftest.i conftest.$ac_ext
4147
4148 # OK, works on sane cases. Now check whether nonexistent headers
4149 # can be detected and how.
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4152 #include <ac_nonexistent.h>
4153 _ACEOF
4154 if ac_fn_c_try_cpp "$LINENO"
4155 then :
4156 # Broken: success on invalid input.
4157 continue
4158 else case e in #(
4159 e) # Passes both tests.
4160 ac_preproc_ok=:
4161 break ;;
4162 esac
4163 fi
4164 rm -f conftest.err conftest.i conftest.$ac_ext
4165
4166 done
4167 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4168 rm -f conftest.i conftest.err conftest.$ac_ext
4169 if $ac_preproc_ok
4170 then :
4171 break
4172 fi
4173
4174 done
4175 ac_cv_prog_CPP=$CPP
4176 ;;
4177 esac
4178 fi
4179 CPP=$ac_cv_prog_CPP
4180 else
4181 ac_cv_prog_CPP=$CPP
4182 fi
4183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4184 printf "%s\n" "$CPP" >&6; }
4185 ac_preproc_ok=false
4186 for ac_c_preproc_warn_flag in '' yes
4187 do
4188 # Use a header file that comes with gcc, so configuring glibc
4189 # with a fresh cross-compiler works.
4190 # On the NeXT, cc -E runs the code through the compiler's parser,
4191 # not just through cpp. "Syntax error" is here to catch this case.
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4194 #include <limits.h>
4195 Syntax error
4196 _ACEOF
4197 if ac_fn_c_try_cpp "$LINENO"
4198 then :
4199
4200 else case e in #(
4201 e) # Broken: fails on valid input.
4202 continue ;;
4203 esac
4204 fi
4205 rm -f conftest.err conftest.i conftest.$ac_ext
4206
4207 # OK, works on sane cases. Now check whether nonexistent headers
4208 # can be detected and how.
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4211 #include <ac_nonexistent.h>
4212 _ACEOF
4213 if ac_fn_c_try_cpp "$LINENO"
4214 then :
4215 # Broken: success on invalid input.
4216 continue
4217 else case e in #(
4218 e) # Passes both tests.
4219 ac_preproc_ok=:
4220 break ;;
4221 esac
4222 fi
4223 rm -f conftest.err conftest.i conftest.$ac_ext
4224
4225 done
4226 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4227 rm -f conftest.i conftest.err conftest.$ac_ext
4228 if $ac_preproc_ok
4229 then :
4230
4231 else case e in #(
4232 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4233 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4234 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4235 See 'config.log' for more details" "$LINENO" 5; } ;;
4236 esac
4237 fi
4238
4239 ac_ext=c
4240 ac_cpp='$CPP $CPPFLAGS'
4241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4244
4245
4246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to make hard links" >&5
4247 printf %s "checking how to make hard links... " >&6; }
4248 if test ${cl_cv_prog_LN+y}
4249 then :
4250 printf %s "(cached) " >&6
4251 else case e in #(
4252 e) rm -f conftestdata conftestfile
4253 echo data > conftestfile
4254 if ln conftestfile conftestdata 2>/dev/null; then
4255 cl_cv_prog_LN=ln
4256 else
4257 cl_cv_prog_LN="cp -p"
4258 fi
4259 rm -f conftestdata conftestfile
4260 ;;
4261 esac
4262 fi
4263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN" >&5
4264 printf "%s\n" "$cl_cv_prog_LN" >&6; }
4265 LN="$cl_cv_prog_LN"
4266
4267
4268
4269
4270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4271 printf %s "checking whether ln -s works... " >&6; }
4272 if test ${cl_cv_prog_LN_S_works+y}
4273 then :
4274 printf %s "(cached) " >&6
4275 else case e in #(
4276 e) rm -f conftestdata
4277 if ln -s X conftestdata 2>/dev/null; then
4278 cl_cv_prog_LN_S_works=yes
4279 else
4280 cl_cv_prog_LN_S_works=no
4281 fi
4282 rm -f conftestdata
4283 ;;
4284 esac
4285 fi
4286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN_S_works" >&5
4287 printf "%s\n" "$cl_cv_prog_LN_S_works" >&6; }
4288 if test $cl_cv_prog_LN_S_works = yes; then
4289 LN_S="ln -s"
4290 else
4291 LN_S="$cl_cv_prog_LN"
4292 fi
4293
4294
4295
4296 ac_header= ac_cache=
4297 for ac_item in $ac_header_c_list
4298 do
4299 if test $ac_cache; then
4300 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4301 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4302 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4303 fi
4304 ac_header= ac_cache=
4305 elif test $ac_header; then
4306 ac_cache=$ac_item
4307 else
4308 ac_header=$ac_item
4309 fi
4310 done
4311
4312
4313
4314
4315
4316
4317
4318
4319 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4320 then :
4321
4322 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4323
4324 fi
4325
4326
4327
4328
4329
4330
4331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4332 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4333 if test ${ac_cv_safe_to_define___extensions__+y}
4334 then :
4335 printf %s "(cached) " >&6
4336 else case e in #(
4337 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4339
4340 # define __EXTENSIONS__ 1
4341 $ac_includes_default
4342 int
4343 main (void)
4344 {
4345
4346 ;
4347 return 0;
4348 }
4349 _ACEOF
4350 if ac_fn_c_try_compile "$LINENO"
4351 then :
4352 ac_cv_safe_to_define___extensions__=yes
4353 else case e in #(
4354 e) ac_cv_safe_to_define___extensions__=no ;;
4355 esac
4356 fi
4357 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4358 esac
4359 fi
4360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4361 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4362
4363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4364 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4365 if test ${ac_cv_should_define__xopen_source+y}
4366 then :
4367 printf %s "(cached) " >&6
4368 else case e in #(
4369 e) ac_cv_should_define__xopen_source=no
4370 if test $ac_cv_header_wchar_h = yes
4371 then :
4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4373 /* end confdefs.h. */
4374
4375 #include <wchar.h>
4376 mbstate_t x;
4377 int
4378 main (void)
4379 {
4380
4381 ;
4382 return 0;
4383 }
4384 _ACEOF
4385 if ac_fn_c_try_compile "$LINENO"
4386 then :
4387
4388 else case e in #(
4389 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390 /* end confdefs.h. */
4391
4392 #define _XOPEN_SOURCE 500
4393 #include <wchar.h>
4394 mbstate_t x;
4395 int
4396 main (void)
4397 {
4398
4399 ;
4400 return 0;
4401 }
4402 _ACEOF
4403 if ac_fn_c_try_compile "$LINENO"
4404 then :
4405 ac_cv_should_define__xopen_source=yes
4406 fi
4407 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4408 esac
4409 fi
4410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4411 fi ;;
4412 esac
4413 fi
4414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4415 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4416
4417 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4418
4419 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4420
4421 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4422
4423 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4424
4425 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4426
4427 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4428
4429 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4430
4431 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4432
4433 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4434
4435 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4436
4437 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
4438
4439 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4440
4441 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4442
4443 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4444
4445 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4446
4447 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
4448
4449 if test $ac_cv_header_minix_config_h = yes
4450 then :
4451 MINIX=yes
4452 printf "%s\n" "#define _MINIX 1" >>confdefs.h
4453
4454 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
4455
4456 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
4457
4458 else case e in #(
4459 e) MINIX= ;;
4460 esac
4461 fi
4462 if test $ac_cv_safe_to_define___extensions__ = yes
4463 then :
4464 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
4465
4466 fi
4467 if test $ac_cv_should_define__xopen_source = yes
4468 then :
4469 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
4470
4471 fi
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Rawsock (Headers)${term_norm}" >&5
4484 printf "%s\n" "$as_me: ${term_bold}** Rawsock (Headers)${term_norm}" >&6;}
4485
4486
4487 HAVE_CHOWN=1;
4488 HAVE_COPY_FILE_RANGE=1;
4489 HAVE_DUP3=1;
4490 HAVE_EUIDACCESS=1;
4491 HAVE_EXECVPE=1;
4492 HAVE_FACCESSAT=1;
4493 HAVE_FCHDIR=1;
4494 HAVE_FCHOWNAT=1;
4495 HAVE_FDATASYNC=1;
4496 HAVE_FSYNC=1;
4497 HAVE_FTRUNCATE=1;
4498 HAVE_GETDTABLESIZE=1;
4499 HAVE_GETENTROPY=1;
4500 HAVE_GETGROUPS=1;
4501 HAVE_GETHOSTNAME=1;
4502 HAVE_GETLOGIN=1;
4503 HAVE_GETPAGESIZE=1;
4504 HAVE_GETPASS=1;
4505 HAVE_GROUP_MEMBER=1;
4506 HAVE_LCHOWN=1;
4507 HAVE_LINK=1;
4508 HAVE_LINKAT=1;
4509 HAVE_PIPE=1;
4510 HAVE_PIPE2=1;
4511 HAVE_PREAD=1;
4512 HAVE_PWRITE=1;
4513 HAVE_READLINK=1;
4514 HAVE_READLINKAT=1;
4515 HAVE_SETHOSTNAME=1;
4516 HAVE_SLEEP=1;
4517 HAVE_SYMLINK=1;
4518 HAVE_SYMLINKAT=1;
4519 HAVE_UNLINKAT=1;
4520 HAVE_USLEEP=1;
4521 HAVE_DECL_ENVIRON=1;
4522 HAVE_DECL_EXECVPE=1;
4523 HAVE_DECL_FCHDIR=1;
4524 HAVE_DECL_FDATASYNC=1;
4525 HAVE_DECL_GETDOMAINNAME=1;
4526 HAVE_DECL_GETLOGIN=1;
4527 HAVE_DECL_GETLOGIN_R=1;
4528 HAVE_DECL_GETPAGESIZE=1;
4529 HAVE_DECL_GETUSERSHELL=1;
4530 HAVE_DECL_SETHOSTNAME=1;
4531 HAVE_DECL_TRUNCATE=1;
4532 HAVE_DECL_TTYNAME_R=1;
4533 HAVE_OS_H=0;
4534 HAVE_SYS_PARAM_H=0;
4535 REPLACE_ACCESS=0;
4536 REPLACE_CHOWN=0;
4537 REPLACE_CLOSE=0;
4538 REPLACE_COPY_FILE_RANGE=0;
4539 REPLACE_DUP=0;
4540 REPLACE_DUP2=0;
4541 REPLACE_DUP3=0;
4542 REPLACE_EXECL=0;
4543 REPLACE_EXECLE=0;
4544 REPLACE_EXECLP=0;
4545 REPLACE_EXECV=0;
4546 REPLACE_EXECVE=0;
4547 REPLACE_EXECVP=0;
4548 REPLACE_EXECVPE=0;
4549 REPLACE_FACCESSAT=0;
4550 REPLACE_FCHDIR=0;
4551 REPLACE_FCHOWNAT=0;
4552 REPLACE_FDATASYNC=0;
4553 REPLACE_FTRUNCATE=0;
4554 REPLACE_GETCWD=0;
4555 REPLACE_GETDOMAINNAME=0;
4556 REPLACE_GETDTABLESIZE=0;
4557 REPLACE_GETENTROPY=0;
4558 REPLACE_GETLOGIN_R=0;
4559 REPLACE_GETGROUPS=0;
4560 REPLACE_GETPAGESIZE=0;
4561 REPLACE_GETPASS=0;
4562 REPLACE_GETPASS_FOR_GETPASS_GNU=0;
4563 REPLACE_GETUSERSHELL=0;
4564 REPLACE_ISATTY=0;
4565 REPLACE_LCHOWN=0;
4566 REPLACE_LINK=0;
4567 REPLACE_LINKAT=0;
4568 REPLACE_LSEEK=0;
4569 REPLACE_PIPE2=0;
4570 REPLACE_PREAD=0;
4571 REPLACE_PWRITE=0;
4572 REPLACE_READ=0;
4573 REPLACE_READLINK=0;
4574 REPLACE_READLINKAT=0;
4575 REPLACE_RMDIR=0;
4576 REPLACE_SETHOSTNAME=0;
4577 REPLACE_SLEEP=0;
4578 REPLACE_SYMLINK=0;
4579 REPLACE_SYMLINKAT=0;
4580 REPLACE_TRUNCATE=0;
4581 REPLACE_TTYNAME_R=0;
4582 REPLACE_UNLINK=0;
4583 REPLACE_UNLINKAT=0;
4584 REPLACE_USLEEP=0;
4585 REPLACE_WRITE=0;
4586 UNISTD_H_HAVE_SYS_RANDOM_H=0;
4587 UNISTD_H_HAVE_WINSOCK2_H=0;
4588 UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
4589
4590
4591
4592 SYS_IOCTL_H_HAVE_WINSOCK2_H=0;
4593 SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0;
4594
4595 REPLACE_IOCTL=0;
4596
4597
4598
4599
4600
4601
4602
4603 if test $ac_cv_header_sys_socket_h != yes; then
4604 ac_fn_c_check_header_compile "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
4605 if test "x$ac_cv_header_winsock2_h" = xyes
4606 then :
4607 printf "%s\n" "#define HAVE_WINSOCK2_H 1" >>confdefs.h
4608
4609 fi
4610
4611 fi
4612 if test "$ac_cv_header_winsock2_h" = yes; then
4613 HAVE_WINSOCK2_H=1
4614 UNISTD_H_HAVE_WINSOCK2_H=1
4615 SYS_IOCTL_H_HAVE_WINSOCK2_H=1
4616 else
4617 HAVE_WINSOCK2_H=0
4618 fi
4619
4620 LIBSOCKET=
4621 if test $HAVE_WINSOCK2_H = 1; then
4622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for WSAStartup" >&5
4623 printf %s "checking for WSAStartup... " >&6; }
4624 if test ${gl_cv_func_wsastartup+y}
4625 then :
4626 printf %s "(cached) " >&6
4627 else case e in #(
4628 e)
4629 gl_saved_LIBS="$LIBS"
4630 LIBS="$LIBS -lws2_32"
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4633
4634 #ifdef HAVE_WINSOCK2_H
4635 # include <winsock2.h>
4636 #endif
4637 int
4638 main (void)
4639 {
4640
4641 WORD wVersionRequested = MAKEWORD(1, 1);
4642 WSADATA wsaData;
4643 int err = WSAStartup(wVersionRequested, &wsaData);
4644 WSACleanup ();
4645
4646 ;
4647 return 0;
4648 }
4649
4650 _ACEOF
4651 if ac_fn_c_try_link "$LINENO"
4652 then :
4653 gl_cv_func_wsastartup=yes
4654 else case e in #(
4655 e) gl_cv_func_wsastartup=no ;;
4656 esac
4657 fi
4658 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4659 conftest$ac_exeext conftest.$ac_ext
4660 LIBS="$gl_saved_LIBS"
4661 ;;
4662 esac
4663 fi
4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5
4665 printf "%s\n" "$gl_cv_func_wsastartup" >&6; }
4666 if test "$gl_cv_func_wsastartup" = "yes"; then
4667
4668 printf "%s\n" "#define WINDOWS_SOCKETS 1" >>confdefs.h
4669
4670 LIBSOCKET='-lws2_32'
4671 fi
4672 else
4673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
4674 printf %s "checking for library containing setsockopt... " >&6; }
4675 if test ${gl_cv_lib_socket+y}
4676 then :
4677 printf %s "(cached) " >&6
4678 else case e in #(
4679 e)
4680 gl_cv_lib_socket=
4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4683 extern
4684 #ifdef __cplusplus
4685 "C"
4686 #endif
4687 char setsockopt();
4688 int
4689 main (void)
4690 {
4691 setsockopt();
4692 ;
4693 return 0;
4694 }
4695 _ACEOF
4696 if ac_fn_c_try_link "$LINENO"
4697 then :
4698
4699 else case e in #(
4700 e) gl_saved_LIBS="$LIBS"
4701 LIBS="$gl_saved_LIBS -lsocket"
4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4704 extern
4705 #ifdef __cplusplus
4706 "C"
4707 #endif
4708 char setsockopt();
4709 int
4710 main (void)
4711 {
4712 setsockopt();
4713 ;
4714 return 0;
4715 }
4716 _ACEOF
4717 if ac_fn_c_try_link "$LINENO"
4718 then :
4719 gl_cv_lib_socket="-lsocket"
4720 fi
4721 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4722 conftest$ac_exeext conftest.$ac_ext
4723 if test -z "$gl_cv_lib_socket"; then
4724 LIBS="$gl_saved_LIBS -lnetwork"
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4727 extern
4728 #ifdef __cplusplus
4729 "C"
4730 #endif
4731 char setsockopt();
4732 int
4733 main (void)
4734 {
4735 setsockopt();
4736 ;
4737 return 0;
4738 }
4739 _ACEOF
4740 if ac_fn_c_try_link "$LINENO"
4741 then :
4742 gl_cv_lib_socket="-lnetwork"
4743 fi
4744 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4745 conftest$ac_exeext conftest.$ac_ext
4746 if test -z "$gl_cv_lib_socket"; then
4747 LIBS="$gl_saved_LIBS -lnet"
4748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4749 /* end confdefs.h. */
4750 extern
4751 #ifdef __cplusplus
4752 "C"
4753 #endif
4754 char setsockopt();
4755 int
4756 main (void)
4757 {
4758 setsockopt();
4759 ;
4760 return 0;
4761 }
4762 _ACEOF
4763 if ac_fn_c_try_link "$LINENO"
4764 then :
4765 gl_cv_lib_socket="-lnet"
4766 fi
4767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4768 conftest$ac_exeext conftest.$ac_ext
4769 fi
4770 fi
4771 LIBS="$gl_saved_LIBS"
4772 ;;
4773 esac
4774 fi
4775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4776 conftest$ac_exeext conftest.$ac_ext
4777 if test -z "$gl_cv_lib_socket"; then
4778 gl_cv_lib_socket="none needed"
4779 fi
4780 ;;
4781 esac
4782 fi
4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5
4784 printf "%s\n" "$gl_cv_lib_socket" >&6; }
4785 if test "$gl_cv_lib_socket" != "none needed"; then
4786 LIBSOCKET="$gl_cv_lib_socket"
4787 fi
4788 fi
4789
4790
4791
4792
4793 # Make sure we can run config.sub.
4794 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4795 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4796
4797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4798 printf %s "checking build system type... " >&6; }
4799 if test ${ac_cv_build+y}
4800 then :
4801 printf %s "(cached) " >&6
4802 else case e in #(
4803 e) ac_build_alias=$build_alias
4804 test "x$ac_build_alias" = x &&
4805 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4806 test "x$ac_build_alias" = x &&
4807 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4808 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4809 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4810 ;;
4811 esac
4812 fi
4813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4814 printf "%s\n" "$ac_cv_build" >&6; }
4815 case $ac_cv_build in
4816 *-*-*) ;;
4817 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4818 esac
4819 build=$ac_cv_build
4820 ac_save_IFS=$IFS; IFS='-'
4821 set x $ac_cv_build
4822 shift
4823 build_cpu=$1
4824 build_vendor=$2
4825 shift; shift
4826 # Remember, the first character of IFS is used to create $*,
4827 # except with old shells:
4828 build_os=$*
4829 IFS=$ac_save_IFS
4830 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4831
4832
4833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4834 printf %s "checking host system type... " >&6; }
4835 if test ${ac_cv_host+y}
4836 then :
4837 printf %s "(cached) " >&6
4838 else case e in #(
4839 e) if test "x$host_alias" = x; then
4840 ac_cv_host=$ac_cv_build
4841 else
4842 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4843 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4844 fi
4845 ;;
4846 esac
4847 fi
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4849 printf "%s\n" "$ac_cv_host" >&6; }
4850 case $ac_cv_host in
4851 *-*-*) ;;
4852 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4853 esac
4854 host=$ac_cv_host
4855 ac_save_IFS=$IFS; IFS='-'
4856 set x $ac_cv_host
4857 shift
4858 host_cpu=$1
4859 host_vendor=$2
4860 shift; shift
4861 # Remember, the first character of IFS is used to create $*,
4862 # except with old shells:
4863 host_os=$*
4864 IFS=$ac_save_IFS
4865 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4866
4867
4868
4869
4870
4871
4872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5
4873 printf %s "checking for IPv4 sockets... " >&6; }
4874 if test ${cl_cv_socket_ipv4+y}
4875 then :
4876 printf %s "(cached) " >&6
4877 else case e in #(
4878 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4880 #include <sys/types.h>
4881 #include <sys/socket.h>
4882 #include <netinet/in.h>
4883 int
4884 main (void)
4885 {
4886 int x = AF_INET; struct in_addr y; struct sockaddr_in z;
4887 ;
4888 return 0;
4889 }
4890 _ACEOF
4891 if ac_fn_c_try_compile "$LINENO"
4892 then :
4893 cl_cv_socket_ipv4=yes
4894 else case e in #(
4895 e) cl_cv_socket_ipv4=no ;;
4896 esac
4897 fi
4898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4899 esac
4900 fi
4901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_socket_ipv4" >&5
4902 printf "%s\n" "$cl_cv_socket_ipv4" >&6; }
4903 if test $cl_cv_socket_ipv4 = yes
4904 then :
4905
4906 printf "%s\n" "#define HAVE_IPV4 /**/" >>confdefs.h
4907
4908 fi
4909
4910
4911
4912
4913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5
4914 printf %s "checking for IPv6 sockets... " >&6; }
4915 if test ${cl_cv_socket_ipv6+y}
4916 then :
4917 printf %s "(cached) " >&6
4918 else case e in #(
4919 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4920 /* end confdefs.h. */
4921 #include <sys/types.h>
4922 #include <sys/socket.h>
4923 #include <netinet/in.h>
4924 int
4925 main (void)
4926 {
4927 int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z;
4928 ;
4929 return 0;
4930 }
4931 _ACEOF
4932 if ac_fn_c_try_compile "$LINENO"
4933 then :
4934 cl_cv_socket_ipv6=yes
4935 else case e in #(
4936 e) cl_cv_socket_ipv6=no ;;
4937 esac
4938 fi
4939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4940 esac
4941 fi
4942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_socket_ipv6" >&5
4943 printf "%s\n" "$cl_cv_socket_ipv6" >&6; }
4944 if test $cl_cv_socket_ipv6 = yes
4945 then :
4946
4947 printf "%s\n" "#define HAVE_IPV6 /**/" >>confdefs.h
4948
4949 fi
4950
4951
4952 if test $cl_cv_socket_ipv6 = no; then
4953
4954
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets in linux/in6.h" >&5
4956 printf %s "checking for IPv6 sockets in linux/in6.h... " >&6; }
4957 if test ${cl_cv_socket_ipv6_linux+y}
4958 then :
4959 printf %s "(cached) " >&6
4960 else case e in #(
4961 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4963 #include <sys/types.h>
4964 #include <sys/socket.h>
4965 #include <netinet/in.h>
4966 #include <linux/in6.h>
4967 int
4968 main (void)
4969 {
4970 int x = AF_INET6; struct in6_addr y; struct sockaddr_in6 z;
4971 ;
4972 return 0;
4973 }
4974 _ACEOF
4975 if ac_fn_c_try_compile "$LINENO"
4976 then :
4977 cl_cv_socket_ipv6_linux=yes
4978 else case e in #(
4979 e) cl_cv_socket_ipv6_linux=no ;;
4980 esac
4981 fi
4982 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4983 esac
4984 fi
4985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_socket_ipv6_linux" >&5
4986 printf "%s\n" "$cl_cv_socket_ipv6_linux" >&6; }
4987 if test $cl_cv_socket_ipv6_linux = yes
4988 then :
4989
4990 printf "%s\n" "#define IPV6_NEED_LINUX_IN6_H /**/" >>confdefs.h
4991
4992 printf "%s\n" "#define HAVE_IPV6 1" >>confdefs.h
4993
4994
4995 fi
4996
4997
4998 fi
4999 cl_save_LIBS="$LIBS"
5000 LIBS="$LIBS $LIBSOCKET"
5001 ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
5002 if test "x$ac_cv_func_setsockopt" = xyes
5003 then :
5004 printf "%s\n" "#define HAVE_SETSOCKOPT 1" >>confdefs.h
5005
5006 fi
5007 ac_fn_c_check_func "$LINENO" "getsockopt" "ac_cv_func_getsockopt"
5008 if test "x$ac_cv_func_getsockopt" = xyes
5009 then :
5010 printf "%s\n" "#define HAVE_GETSOCKOPT 1" >>confdefs.h
5011
5012 fi
5013
5014 LIBS="$cl_save_LIBS"
5015 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" " #if HAVE_NETINET_IN_H
5016 #include <netinet/in.h>
5017 #endif
5018
5019 "
5020 if test "x$ac_cv_header_netinet_tcp_h" = xyes
5021 then :
5022 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
5023
5024 fi
5025
5026 case "$host_os" in
5027 mingw*) ;;
5028 *)
5029 if test $ac_cv_func_setsockopt = yes; then
5030
5031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for setsockopt declaration" >&5
5032 printf %s "checking for setsockopt declaration... " >&6; }
5033 if test ${cl_cv_proto_setsockopt+y}
5034 then :
5035 printf %s "(cached) " >&6
5036 else case e in #(
5037 e) for z in 'unsigned int' 'int' 'unsigned long' 'long' 'size_t' 'socklen_t'; do
5038 for y in 'char*' 'void*'; do
5039 for x in '' 'const' '__const'; do
5040 if test -z "$have_setsockopt_decl"; then
5041
5042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5043 /* end confdefs.h. */
5044
5045 #include <sys/types.h>
5046 #include <sys/socket.h>
5047
5048 extern
5049 #ifdef __cplusplus
5050 "C"
5051 #endif
5052
5053 int setsockopt (int, int, int, $x $y, $z);
5054
5055 int
5056 main (void)
5057 {
5058
5059 ;
5060 return 0;
5061 }
5062 _ACEOF
5063 if ac_fn_c_try_compile "$LINENO"
5064 then :
5065 cl_cv_proto_setsockopt_const="$x"
5066 cl_cv_proto_setsockopt_arg_t="$y"
5067 cl_cv_proto_setsockopt_optlen_t="$z"
5068 have_setsockopt_decl=1
5069
5070 fi
5071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5072
5073 fi
5074 done
5075 done
5076 done
5077 if test -z "$have_setsockopt_decl"; then
5078
5079 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5080 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
5081 as_fn_error $? "please report the setsockopt() declaration on your platform to $PACKAGE_NAME developers at $PACKAGE_BUGREPORT
5082 See 'config.log' for more details" "$LINENO" 5; }
5083
5084 fi
5085
5086 cl_cv_proto_setsockopt="extern int setsockopt (int, int, int, $cl_cv_proto_setsockopt_const $cl_cv_proto_setsockopt_arg_t, $cl_cv_proto_setsockopt_optlen_t);"
5087 ;;
5088 esac
5089 fi
5090
5091 cl_cv_proto_setsockopt=`echo "$cl_cv_proto_setsockopt" | tr -s ' ' | sed -e 's/( /(/'`
5092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_proto_setsockopt" >&5
5093 printf "%s\n" "$cl_cv_proto_setsockopt" >&6; }
5094
5095
5096 printf "%s\n" "#define SETSOCKOPT_CONST $cl_cv_proto_setsockopt_const" >>confdefs.h
5097
5098
5099 printf "%s\n" "#define SETSOCKOPT_ARG_T $cl_cv_proto_setsockopt_arg_t" >>confdefs.h
5100
5101
5102 printf "%s\n" "#define SETSOCKOPT_OPTLEN_T $cl_cv_proto_setsockopt_optlen_t" >>confdefs.h
5103
5104 fi
5105 ;;
5106 esac
5107
5108 ac_fn_c_check_header_compile "$LINENO" "linux/if_packet.h" "ac_cv_header_linux_if_packet_h" "$ac_includes_default"
5109 if test "x$ac_cv_header_linux_if_packet_h" = xyes
5110 then :
5111 printf "%s\n" "#define HAVE_LINUX_IF_PACKET_H 1" >>confdefs.h
5112
5113 fi
5114 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
5115 if test "x$ac_cv_header_netdb_h" = xyes
5116 then :
5117 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
5118
5119 fi
5120 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
5121 if test "x$ac_cv_header_asm_types_h" = xyes
5122 then :
5123 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
5124
5125 fi
5126 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
5127 if test "x$ac_cv_header_sys_ioctl_h" = xyes
5128 then :
5129 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
5130
5131 fi
5132 ac_fn_c_check_header_compile "$LINENO" "stropts.h" "ac_cv_header_stropts_h" "$ac_includes_default"
5133 if test "x$ac_cv_header_stropts_h" = xyes
5134 then :
5135 printf "%s\n" "#define HAVE_STROPTS_H 1" >>confdefs.h
5136
5137 fi
5138 ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
5139 if test "x$ac_cv_header_poll_h" = xyes
5140 then :
5141 printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h
5142
5143 fi
5144 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "$ac_includes_default"
5145 if test "x$ac_cv_header_sys_un_h" = xyes
5146 then :
5147 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
5148
5149 fi
5150 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
5151 if test "x$ac_cv_header_ifaddrs_h" = xyes
5152 then :
5153 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
5154
5155 fi
5156
5157 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
5158 #include <sys/types.h> /* for u_long on *BSD */
5159 #include <sys/socket.h>
5160
5161 "
5162 if test "x$ac_cv_header_net_if_h" = xyes
5163 then :
5164 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
5165
5166 fi
5167
5168 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "
5169 #include <sys/types.h> /* for u_long on *BSD */
5170 #include <sys/socket.h>
5171 #if HAVE_NET_IF_H
5172 # include <net/if.h>
5173 #endif
5174
5175 "
5176 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
5177 then :
5178 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
5179
5180 fi
5181
5182 ac_fn_c_check_header_compile "$LINENO" "linux/netlink.h" "ac_cv_header_linux_netlink_h" "
5183 #if defined(HAVE_ASM_TYPES_H)
5184 # include <asm/types.h>
5185 #endif
5186
5187 "
5188 if test "x$ac_cv_header_linux_netlink_h" = xyes
5189 then :
5190 printf "%s\n" "#define HAVE_LINUX_NETLINK_H 1" >>confdefs.h
5191
5192 fi
5193
5194 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_flags" "ac_cv_member_struct_msghdr_msg_flags" "#include <sys/socket.h>
5195 "
5196 if test "x$ac_cv_member_struct_msghdr_msg_flags" = xyes
5197 then :
5198
5199 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_FLAGS 1" >>confdefs.h
5200
5201
5202 fi
5203 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "#include <sys/socket.h>
5204 "
5205 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
5206 then :
5207
5208 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_CONTROL 1" >>confdefs.h
5209
5210
5211 fi
5212
5213 ac_fn_c_check_type "$LINENO" "struct if_nameindex" "ac_cv_type_struct_if_nameindex" "
5214 #if HAVE_NET_IF_H
5215 # include <net/if.h>
5216 #endif
5217
5218 "
5219 if test "x$ac_cv_type_struct_if_nameindex" = xyes
5220 then :
5221
5222 printf "%s\n" "#define HAVE_STRUCT_IF_NAMEINDEX 1" >>confdefs.h
5223
5224
5225 fi
5226
5227
5228
5229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Rawsock (Functions)${term_norm}" >&5
5230 printf "%s\n" "$as_me: ${term_bold}** Rawsock (Functions)${term_norm}" >&6;}
5231
5232 cl_save_LIBS=$LIBS
5233 LIBS="$LIBS $LIBSOCKET"
5234 ac_fn_c_check_func "$LINENO" "socketpair" "ac_cv_func_socketpair"
5235 if test "x$ac_cv_func_socketpair" = xyes
5236 then :
5237 printf "%s\n" "#define HAVE_SOCKETPAIR 1" >>confdefs.h
5238
5239 fi
5240 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
5241 if test "x$ac_cv_func_sockatmark" = xyes
5242 then :
5243 printf "%s\n" "#define HAVE_SOCKATMARK 1" >>confdefs.h
5244
5245 fi
5246 ac_fn_c_check_func "$LINENO" "recvmsg" "ac_cv_func_recvmsg"
5247 if test "x$ac_cv_func_recvmsg" = xyes
5248 then :
5249 printf "%s\n" "#define HAVE_RECVMSG 1" >>confdefs.h
5250
5251 fi
5252 ac_fn_c_check_func "$LINENO" "sendmsg" "ac_cv_func_sendmsg"
5253 if test "x$ac_cv_func_sendmsg" = xyes
5254 then :
5255 printf "%s\n" "#define HAVE_SENDMSG 1" >>confdefs.h
5256
5257 fi
5258 ac_fn_c_check_func "$LINENO" "htonl" "ac_cv_func_htonl"
5259 if test "x$ac_cv_func_htonl" = xyes
5260 then :
5261 printf "%s\n" "#define HAVE_HTONL 1" >>confdefs.h
5262
5263 fi
5264 ac_fn_c_check_func "$LINENO" "htons" "ac_cv_func_htons"
5265 if test "x$ac_cv_func_htons" = xyes
5266 then :
5267 printf "%s\n" "#define HAVE_HTONS 1" >>confdefs.h
5268
5269 fi
5270 ac_fn_c_check_func "$LINENO" "ntohl" "ac_cv_func_ntohl"
5271 if test "x$ac_cv_func_ntohl" = xyes
5272 then :
5273 printf "%s\n" "#define HAVE_NTOHL 1" >>confdefs.h
5274
5275 fi
5276 ac_fn_c_check_func "$LINENO" "ntohs" "ac_cv_func_ntohs"
5277 if test "x$ac_cv_func_ntohs" = xyes
5278 then :
5279 printf "%s\n" "#define HAVE_NTOHS 1" >>confdefs.h
5280
5281 fi
5282 ac_fn_c_check_func "$LINENO" "readv" "ac_cv_func_readv"
5283 if test "x$ac_cv_func_readv" = xyes
5284 then :
5285 printf "%s\n" "#define HAVE_READV 1" >>confdefs.h
5286
5287 fi
5288 ac_fn_c_check_func "$LINENO" "writev" "ac_cv_func_writev"
5289 if test "x$ac_cv_func_writev" = xyes
5290 then :
5291 printf "%s\n" "#define HAVE_WRITEV 1" >>confdefs.h
5292
5293 fi
5294 ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
5295 if test "x$ac_cv_func_getnameinfo" = xyes
5296 then :
5297 printf "%s\n" "#define HAVE_GETNAMEINFO 1" >>confdefs.h
5298
5299 fi
5300 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
5301 if test "x$ac_cv_func_getaddrinfo" = xyes
5302 then :
5303 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
5304
5305 fi
5306 ac_fn_c_check_func "$LINENO" "freeaddrinfo" "ac_cv_func_freeaddrinfo"
5307 if test "x$ac_cv_func_freeaddrinfo" = xyes
5308 then :
5309 printf "%s\n" "#define HAVE_FREEADDRINFO 1" >>confdefs.h
5310
5311 fi
5312 ac_fn_c_check_func "$LINENO" "gai_strerror" "ac_cv_func_gai_strerror"
5313 if test "x$ac_cv_func_gai_strerror" = xyes
5314 then :
5315 printf "%s\n" "#define HAVE_GAI_STRERROR 1" >>confdefs.h
5316
5317 fi
5318 ac_fn_c_check_func "$LINENO" "endprotoent" "ac_cv_func_endprotoent"
5319 if test "x$ac_cv_func_endprotoent" = xyes
5320 then :
5321 printf "%s\n" "#define HAVE_ENDPROTOENT 1" >>confdefs.h
5322
5323 fi
5324 ac_fn_c_check_func "$LINENO" "getprotobyname" "ac_cv_func_getprotobyname"
5325 if test "x$ac_cv_func_getprotobyname" = xyes
5326 then :
5327 printf "%s\n" "#define HAVE_GETPROTOBYNAME 1" >>confdefs.h
5328
5329 fi
5330 ac_fn_c_check_func "$LINENO" "getprotobynumber" "ac_cv_func_getprotobynumber"
5331 if test "x$ac_cv_func_getprotobynumber" = xyes
5332 then :
5333 printf "%s\n" "#define HAVE_GETPROTOBYNUMBER 1" >>confdefs.h
5334
5335 fi
5336 ac_fn_c_check_func "$LINENO" "getprotoent" "ac_cv_func_getprotoent"
5337 if test "x$ac_cv_func_getprotoent" = xyes
5338 then :
5339 printf "%s\n" "#define HAVE_GETPROTOENT 1" >>confdefs.h
5340
5341 fi
5342 ac_fn_c_check_func "$LINENO" "setprotoent" "ac_cv_func_setprotoent"
5343 if test "x$ac_cv_func_setprotoent" = xyes
5344 then :
5345 printf "%s\n" "#define HAVE_SETPROTOENT 1" >>confdefs.h
5346
5347 fi
5348 ac_fn_c_check_func "$LINENO" "if_nametoindex" "ac_cv_func_if_nametoindex"
5349 if test "x$ac_cv_func_if_nametoindex" = xyes
5350 then :
5351 printf "%s\n" "#define HAVE_IF_NAMETOINDEX 1" >>confdefs.h
5352
5353 fi
5354 ac_fn_c_check_func "$LINENO" "if_indextoname" "ac_cv_func_if_indextoname"
5355 if test "x$ac_cv_func_if_indextoname" = xyes
5356 then :
5357 printf "%s\n" "#define HAVE_IF_INDEXTONAME 1" >>confdefs.h
5358
5359 fi
5360 ac_fn_c_check_func "$LINENO" "if_nameindex" "ac_cv_func_if_nameindex"
5361 if test "x$ac_cv_func_if_nameindex" = xyes
5362 then :
5363 printf "%s\n" "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
5364
5365 fi
5366 ac_fn_c_check_func "$LINENO" "if_freenameindex" "ac_cv_func_if_freenameindex"
5367 if test "x$ac_cv_func_if_freenameindex" = xyes
5368 then :
5369 printf "%s\n" "#define HAVE_IF_FREENAMEINDEX 1" >>confdefs.h
5370
5371 fi
5372 ac_fn_c_check_func "$LINENO" "endnetent" "ac_cv_func_endnetent"
5373 if test "x$ac_cv_func_endnetent" = xyes
5374 then :
5375 printf "%s\n" "#define HAVE_ENDNETENT 1" >>confdefs.h
5376
5377 fi
5378 ac_fn_c_check_func "$LINENO" "getnetbyaddr" "ac_cv_func_getnetbyaddr"
5379 if test "x$ac_cv_func_getnetbyaddr" = xyes
5380 then :
5381 printf "%s\n" "#define HAVE_GETNETBYADDR 1" >>confdefs.h
5382
5383 fi
5384 ac_fn_c_check_func "$LINENO" "getnetbyname" "ac_cv_func_getnetbyname"
5385 if test "x$ac_cv_func_getnetbyname" = xyes
5386 then :
5387 printf "%s\n" "#define HAVE_GETNETBYNAME 1" >>confdefs.h
5388
5389 fi
5390 ac_fn_c_check_func "$LINENO" "getnetent" "ac_cv_func_getnetent"
5391 if test "x$ac_cv_func_getnetent" = xyes
5392 then :
5393 printf "%s\n" "#define HAVE_GETNETENT 1" >>confdefs.h
5394
5395 fi
5396 ac_fn_c_check_func "$LINENO" "setnetent" "ac_cv_func_setnetent"
5397 if test "x$ac_cv_func_setnetent" = xyes
5398 then :
5399 printf "%s\n" "#define HAVE_SETNETENT 1" >>confdefs.h
5400
5401 fi
5402 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
5403 if test "x$ac_cv_func_getifaddrs" = xyes
5404 then :
5405 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
5406
5407 fi
5408 ac_fn_c_check_func "$LINENO" "freeifaddrs" "ac_cv_func_freeifaddrs"
5409 if test "x$ac_cv_func_freeifaddrs" = xyes
5410 then :
5411 printf "%s\n" "#define HAVE_FREEIFADDRS 1" >>confdefs.h
5412
5413 fi
5414
5415 LIBS=$cl_save_LIBS
5416
5417
5418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Rawsock (Output)${term_norm}" >&5
5419 printf "%s\n" "$as_me: ${term_bold}** Rawsock (Output)${term_norm}" >&6;}
5420
5421 ac_config_files="$ac_config_files Makefile link.sh"
5422
5423 cat >confcache <<\_ACEOF
5424 # This file is a shell script that caches the results of configure
5425 # tests run on this system so they can be shared between configure
5426 # scripts and configure runs, see configure's option --config-cache.
5427 # It is not useful on other systems. If it contains results you don't
5428 # want to keep, you may remove or edit it.
5429 #
5430 # config.status only pays attention to the cache file if you give it
5431 # the --recheck option to rerun configure.
5432 #
5433 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
5434 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
5435 # following values.
5436
5437 _ACEOF
5438
5439 # The following way of writing the cache mishandles newlines in values,
5440 # but we know of no workaround that is simple, portable, and efficient.
5441 # So, we kill variables containing newlines.
5442 # Ultrix sh set writes to stderr and can't be redirected directly,
5443 # and sets the high bit in the cache file unless we assign to the vars.
5444 (
5445 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5446 eval ac_val=\$$ac_var
5447 case $ac_val in #(
5448 *${as_nl}*)
5449 case $ac_var in #(
5450 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5451 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5452 esac
5453 case $ac_var in #(
5454 _ | IFS | as_nl) ;; #(
5455 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5456 *) { eval $ac_var=; unset $ac_var;} ;;
5457 esac ;;
5458 esac
5459 done
5460
5461 (set) 2>&1 |
5462 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5463 *${as_nl}ac_space=\ *)
5464 # 'set' does not quote correctly, so add quotes: double-quote
5465 # substitution turns \\\\ into \\, and sed turns \\ into \.
5466 sed -n \
5467 "s/'/'\\\\''/g;
5468 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5469 ;; #(
5470 *)
5471 # 'set' quotes correctly as required by POSIX, so do not add quotes.
5472 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5473 ;;
5474 esac |
5475 sort
5476 ) |
5477 sed '
5478 /^ac_cv_env_/b end
5479 t clear
5480 :clear
5481 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
5482 t end
5483 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5484 :end' >>confcache
5485 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5486 if test -w "$cache_file"; then
5487 if test "x$cache_file" != "x/dev/null"; then
5488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5489 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
5490 if test ! -f "$cache_file" || test -h "$cache_file"; then
5491 cat confcache >"$cache_file"
5492 else
5493 case $cache_file in #(
5494 */* | ?:*)
5495 mv -f confcache "$cache_file"$$ &&
5496 mv -f "$cache_file"$$ "$cache_file" ;; #(
5497 *)
5498 mv -f confcache "$cache_file" ;;
5499 esac
5500 fi
5501 fi
5502 else
5503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5504 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
5505 fi
5506 fi
5507 rm -f confcache
5508
5509 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5510 # Let make expand exec_prefix.
5511 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5512
5513 DEFS=-DHAVE_CONFIG_H
5514
5515 ac_libobjs=
5516 ac_ltlibobjs=
5517 U=
5518 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5519 # 1. Remove the extension, and $U if already installed.
5520 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5521 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
5522 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5523 # will be set to the directory where LIBOBJS objects are built.
5524 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5525 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5526 done
5527 LIBOBJS=$ac_libobjs
5528
5529 LTLIBOBJS=$ac_ltlibobjs
5530
5531
5532
5533 : "${CONFIG_STATUS=./config.status}"
5534 ac_write_fail=0
5535 ac_clean_files_save=$ac_clean_files
5536 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5538 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
5539 as_write_fail=0
5540 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5541 #! $SHELL
5542 # Generated by $as_me.
5543 # Run this file to recreate the current configuration.
5544 # Compiler output produced by configure, useful for debugging
5545 # configure, is in config.log if it exists.
5546
5547 debug=false
5548 ac_cs_recheck=false
5549 ac_cs_silent=false
5550
5551 SHELL=\${CONFIG_SHELL-$SHELL}
5552 export SHELL
5553 _ASEOF
5554 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5555 ## -------------------- ##
5556 ## M4sh Initialization. ##
5557 ## -------------------- ##
5558
5559 # Be more Bourne compatible
5560 DUALCASE=1; export DUALCASE # for MKS sh
5561 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
5562 then :
5563 emulate sh
5564 NULLCMD=:
5565 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5566 # is contrary to our usage. Disable this feature.
5567 alias -g '${1+"$@"}'='"$@"'
5568 setopt NO_GLOB_SUBST
5569 else case e in #(
5570 e) case `(set -o) 2>/dev/null` in #(
5571 *posix*) :
5572 set -o posix ;; #(
5573 *) :
5574 ;;
5575 esac ;;
5576 esac
5577 fi
5578
5579
5580
5581 # Reset variables that may have inherited troublesome values from
5582 # the environment.
5583
5584 # IFS needs to be set, to space, tab, and newline, in precisely that order.
5585 # (If _AS_PATH_WALK were called with IFS unset, it would have the
5586 # side effect of setting IFS to empty, thus disabling word splitting.)
5587 # Quoting is to prevent editors from complaining about space-tab.
5588 as_nl='
5589 '
5590 export as_nl
5591 IFS=" "" $as_nl"
5592
5593 PS1='$ '
5594 PS2='> '
5595 PS4='+ '
5596
5597 # Ensure predictable behavior from utilities with locale-dependent output.
5598 LC_ALL=C
5599 export LC_ALL
5600 LANGUAGE=C
5601 export LANGUAGE
5602
5603 # We cannot yet rely on "unset" to work, but we need these variables
5604 # to be unset--not just set to an empty or harmless value--now, to
5605 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
5606 # also avoids known problems related to "unset" and subshell syntax
5607 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
5608 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
5609 do eval test \${$as_var+y} \
5610 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5611 done
5612
5613 # Ensure that fds 0, 1, and 2 are open.
5614 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
5615 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
5616 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
5617
5618 # The user is always right.
5619 if ${PATH_SEPARATOR+false} :; then
5620 PATH_SEPARATOR=:
5621 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5622 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5623 PATH_SEPARATOR=';'
5624 }
5625 fi
5626
5627
5628 # Find who we are. Look in the path if we contain no directory separator.
5629 as_myself=
5630 case $0 in #((
5631 *[\\/]* ) as_myself=$0 ;;
5632 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5634 do
5635 IFS=$as_save_IFS
5636 case $as_dir in #(((
5637 '') as_dir=./ ;;
5638 */) ;;
5639 *) as_dir=$as_dir/ ;;
5640 esac
5641 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5642 done
5643 IFS=$as_save_IFS
5644
5645 ;;
5646 esac
5647 # We did not find ourselves, most probably we were run as 'sh COMMAND'
5648 # in which case we are not to be found in the path.
5649 if test "x$as_myself" = x; then
5650 as_myself=$0
5651 fi
5652 if test ! -f "$as_myself"; then
5653 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5654 exit 1
5655 fi
5656
5657
5658
5659 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5660 # ----------------------------------------
5661 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5662 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5663 # script with STATUS, using 1 if that was 0.
5664 as_fn_error ()
5665 {
5666 as_status=$1; test $as_status -eq 0 && as_status=1
5667 if test "$4"; then
5668 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5670 fi
5671 printf "%s\n" "$as_me: error: $2" >&2
5672 as_fn_exit $as_status
5673 } # as_fn_error
5674
5675
5676 # as_fn_set_status STATUS
5677 # -----------------------
5678 # Set $? to STATUS, without forking.
5679 as_fn_set_status ()
5680 {
5681 return $1
5682 } # as_fn_set_status
5683
5684 # as_fn_exit STATUS
5685 # -----------------
5686 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5687 as_fn_exit ()
5688 {
5689 set +e
5690 as_fn_set_status $1
5691 exit $1
5692 } # as_fn_exit
5693
5694 # as_fn_unset VAR
5695 # ---------------
5696 # Portably unset VAR.
5697 as_fn_unset ()
5698 {
5699 { eval $1=; unset $1;}
5700 }
5701 as_unset=as_fn_unset
5702
5703 # as_fn_append VAR VALUE
5704 # ----------------------
5705 # Append the text in VALUE to the end of the definition contained in VAR. Take
5706 # advantage of any shell optimizations that allow amortized linear growth over
5707 # repeated appends, instead of the typical quadratic growth present in naive
5708 # implementations.
5709 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5710 then :
5711 eval 'as_fn_append ()
5712 {
5713 eval $1+=\$2
5714 }'
5715 else case e in #(
5716 e) as_fn_append ()
5717 {
5718 eval $1=\$$1\$2
5719 } ;;
5720 esac
5721 fi # as_fn_append
5722
5723 # as_fn_arith ARG...
5724 # ------------------
5725 # Perform arithmetic evaluation on the ARGs, and store the result in the
5726 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5727 # must be portable across $(()) and expr.
5728 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5729 then :
5730 eval 'as_fn_arith ()
5731 {
5732 as_val=$(( $* ))
5733 }'
5734 else case e in #(
5735 e) as_fn_arith ()
5736 {
5737 as_val=`expr "$@" || test $? -eq 1`
5738 } ;;
5739 esac
5740 fi # as_fn_arith
5741
5742
5743 if expr a : '\(a\)' >/dev/null 2>&1 &&
5744 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5745 as_expr=expr
5746 else
5747 as_expr=false
5748 fi
5749
5750 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5751 as_basename=basename
5752 else
5753 as_basename=false
5754 fi
5755
5756 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5757 as_dirname=dirname
5758 else
5759 as_dirname=false
5760 fi
5761
5762 as_me=`$as_basename -- "$0" ||
5763 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5764 X"$0" : 'X\(//\)$' \| \
5765 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5766 printf "%s\n" X/"$0" |
5767 sed '/^.*\/\([^/][^/]*\)\/*$/{
5768 s//\1/
5769 q
5770 }
5771 /^X\/\(\/\/\)$/{
5772 s//\1/
5773 q
5774 }
5775 /^X\/\(\/\).*/{
5776 s//\1/
5777 q
5778 }
5779 s/.*/./; q'`
5780
5781 # Avoid depending upon Character Ranges.
5782 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5783 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5784 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5785 as_cr_digits='0123456789'
5786 as_cr_alnum=$as_cr_Letters$as_cr_digits
5787
5788
5789 # Determine whether it's possible to make 'echo' print without a newline.
5790 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5791 # for compatibility with existing Makefiles.
5792 ECHO_C= ECHO_N= ECHO_T=
5793 case `echo -n x` in #(((((
5794 -n*)
5795 case `echo 'xy\c'` in
5796 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5797 xy) ECHO_C='\c';;
5798 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5799 ECHO_T=' ';;
5800 esac;;
5801 *)
5802 ECHO_N='-n';;
5803 esac
5804
5805 # For backward compatibility with old third-party macros, we provide
5806 # the shell variables $as_echo and $as_echo_n. New code should use
5807 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5808 as_echo='printf %s\n'
5809 as_echo_n='printf %s'
5810
5811 rm -f conf$$ conf$$.exe conf$$.file
5812 if test -d conf$$.dir; then
5813 rm -f conf$$.dir/conf$$.file
5814 else
5815 rm -f conf$$.dir
5816 mkdir conf$$.dir 2>/dev/null
5817 fi
5818 if (echo >conf$$.file) 2>/dev/null; then
5819 if ln -s conf$$.file conf$$ 2>/dev/null; then
5820 as_ln_s='ln -s'
5821 # ... but there are two gotchas:
5822 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
5823 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
5824 # In both cases, we have to default to 'cp -pR'.
5825 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5826 as_ln_s='cp -pR'
5827 elif ln conf$$.file conf$$ 2>/dev/null; then
5828 as_ln_s=ln
5829 else
5830 as_ln_s='cp -pR'
5831 fi
5832 else
5833 as_ln_s='cp -pR'
5834 fi
5835 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5836 rmdir conf$$.dir 2>/dev/null
5837
5838
5839 # as_fn_mkdir_p
5840 # -------------
5841 # Create "$as_dir" as a directory, including parents if necessary.
5842 as_fn_mkdir_p ()
5843 {
5844
5845 case $as_dir in #(
5846 -*) as_dir=./$as_dir;;
5847 esac
5848 test -d "$as_dir" || eval $as_mkdir_p || {
5849 as_dirs=
5850 while :; do
5851 case $as_dir in #(
5852 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5853 *) as_qdir=$as_dir;;
5854 esac
5855 as_dirs="'$as_qdir' $as_dirs"
5856 as_dir=`$as_dirname -- "$as_dir" ||
5857 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5858 X"$as_dir" : 'X\(//\)[^/]' \| \
5859 X"$as_dir" : 'X\(//\)$' \| \
5860 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5861 printf "%s\n" X"$as_dir" |
5862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5863 s//\1/
5864 q
5865 }
5866 /^X\(\/\/\)[^/].*/{
5867 s//\1/
5868 q
5869 }
5870 /^X\(\/\/\)$/{
5871 s//\1/
5872 q
5873 }
5874 /^X\(\/\).*/{
5875 s//\1/
5876 q
5877 }
5878 s/.*/./; q'`
5879 test -d "$as_dir" && break
5880 done
5881 test -z "$as_dirs" || eval "mkdir $as_dirs"
5882 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5883
5884
5885 } # as_fn_mkdir_p
5886 if mkdir -p . 2>/dev/null; then
5887 as_mkdir_p='mkdir -p "$as_dir"'
5888 else
5889 test -d ./-p && rmdir ./-p
5890 as_mkdir_p=false
5891 fi
5892
5893
5894 # as_fn_executable_p FILE
5895 # -----------------------
5896 # Test if FILE is an executable regular file.
5897 as_fn_executable_p ()
5898 {
5899 test -f "$1" && test -x "$1"
5900 } # as_fn_executable_p
5901 as_test_x='test -x'
5902 as_executable_p=as_fn_executable_p
5903
5904 # Sed expression to map a string onto a valid CPP name.
5905 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5906 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
5907
5908 # Sed expression to map a string onto a valid variable name.
5909 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5910 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
5911
5912
5913 exec 6>&1
5914 ## ----------------------------------- ##
5915 ## Main body of $CONFIG_STATUS script. ##
5916 ## ----------------------------------- ##
5917 _ASEOF
5918 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5919
5920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5921 # Save the log message, to keep $0 and so on meaningful, and to
5922 # report actual input values of CONFIG_FILES etc. instead of their
5923 # values after options handling.
5924 ac_log="
5925 This file was extended by rawsock $as_me 1.0, which was
5926 generated by GNU Autoconf 2.72. Invocation command line was
5927
5928 CONFIG_FILES = $CONFIG_FILES
5929 CONFIG_HEADERS = $CONFIG_HEADERS
5930 CONFIG_LINKS = $CONFIG_LINKS
5931 CONFIG_COMMANDS = $CONFIG_COMMANDS
5932 $ $0 $@
5933
5934 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5935 "
5936
5937 _ACEOF
5938
5939 case $ac_config_files in *"
5940 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5941 esac
5942
5943 case $ac_config_headers in *"
5944 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5945 esac
5946
5947
5948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5949 # Files that config.status was made for.
5950 config_files="$ac_config_files"
5951 config_headers="$ac_config_headers"
5952
5953 _ACEOF
5954
5955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5956 ac_cs_usage="\
5957 '$as_me' instantiates files and other configuration actions
5958 from templates according to the current configuration. Unless the files
5959 and actions are specified as TAGs, all are instantiated by default.
5960
5961 Usage: $0 [OPTION]... [TAG]...
5962
5963 -h, --help print this help, then exit
5964 -V, --version print version number and configuration settings, then exit
5965 --config print configuration, then exit
5966 -q, --quiet, --silent
5967 do not print progress messages
5968 -d, --debug don't remove temporary files
5969 --recheck update $as_me by reconfiguring in the same conditions
5970 --file=FILE[:TEMPLATE]
5971 instantiate the configuration file FILE
5972 --header=FILE[:TEMPLATE]
5973 instantiate the configuration header FILE
5974
5975 Configuration files:
5976 $config_files
5977
5978 Configuration headers:
5979 $config_headers
5980
5981 Report bugs to <clisp-list>."
5982
5983 _ACEOF
5984 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5985 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5987 ac_cs_config='$ac_cs_config_escaped'
5988 ac_cs_version="\\
5989 rawsock config.status 1.0
5990 configured by $0, generated by GNU Autoconf 2.72,
5991 with options \\"\$ac_cs_config\\"
5992
5993 Copyright (C) 2023 Free Software Foundation, Inc.
5994 This config.status script is free software; the Free Software Foundation
5995 gives unlimited permission to copy, distribute and modify it."
5996
5997 ac_pwd='$ac_pwd'
5998 srcdir='$srcdir'
5999 test -n "\$AWK" || AWK=awk
6000 _ACEOF
6001
6002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6003 # The default lists apply if the user does not specify any file.
6004 ac_need_defaults=:
6005 while test $# != 0
6006 do
6007 case $1 in
6008 --*=?*)
6009 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6010 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6011 ac_shift=:
6012 ;;
6013 --*=)
6014 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6015 ac_optarg=
6016 ac_shift=:
6017 ;;
6018 *)
6019 ac_option=$1
6020 ac_optarg=$2
6021 ac_shift=shift
6022 ;;
6023 esac
6024
6025 case $ac_option in
6026 # Handling of the options.
6027 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6028 ac_cs_recheck=: ;;
6029 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6030 printf "%s\n" "$ac_cs_version"; exit ;;
6031 --config | --confi | --conf | --con | --co | --c )
6032 printf "%s\n" "$ac_cs_config"; exit ;;
6033 --debug | --debu | --deb | --de | --d | -d )
6034 debug=: ;;
6035 --file | --fil | --fi | --f )
6036 $ac_shift
6037 case $ac_optarg in
6038 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6039 '') as_fn_error $? "missing file argument" ;;
6040 esac
6041 as_fn_append CONFIG_FILES " '$ac_optarg'"
6042 ac_need_defaults=false;;
6043 --header | --heade | --head | --hea )
6044 $ac_shift
6045 case $ac_optarg in
6046 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6047 esac
6048 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6049 ac_need_defaults=false;;
6050 --he | --h)
6051 # Conflict between --help and --header
6052 as_fn_error $? "ambiguous option: '$1'
6053 Try '$0 --help' for more information.";;
6054 --help | --hel | -h )
6055 printf "%s\n" "$ac_cs_usage"; exit ;;
6056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6057 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6058 ac_cs_silent=: ;;
6059
6060 # This is an error.
6061 -*) as_fn_error $? "unrecognized option: '$1'
6062 Try '$0 --help' for more information." ;;
6063
6064 *) as_fn_append ac_config_targets " $1"
6065 ac_need_defaults=false ;;
6066
6067 esac
6068 shift
6069 done
6070
6071 ac_configure_extra_args=
6072
6073 if $ac_cs_silent; then
6074 exec 6>/dev/null
6075 ac_configure_extra_args="$ac_configure_extra_args --silent"
6076 fi
6077
6078 _ACEOF
6079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6080 if \$ac_cs_recheck; then
6081 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6082 shift
6083 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
6084 CONFIG_SHELL='$SHELL'
6085 export CONFIG_SHELL
6086 exec "\$@"
6087 fi
6088
6089 _ACEOF
6090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6091 exec 5>>config.log
6092 {
6093 echo
6094 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6095 ## Running $as_me. ##
6096 _ASBOX
6097 printf "%s\n" "$ac_log"
6098 } >&5
6099
6100 _ACEOF
6101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6102 _ACEOF
6103
6104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6105
6106 # Handling of arguments.
6107 for ac_config_target in $ac_config_targets
6108 do
6109 case $ac_config_target in
6110 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6111 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6112 "link.sh") CONFIG_FILES="$CONFIG_FILES link.sh" ;;
6113
6114 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
6115 esac
6116 done
6117
6118
6119 # If the user did not use the arguments to specify the items to instantiate,
6120 # then the envvar interface is used. Set only those that are not.
6121 # We use the long form for the default assignment because of an extremely
6122 # bizarre bug on SunOS 4.1.3.
6123 if $ac_need_defaults; then
6124 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
6125 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
6126 fi
6127
6128 # Have a temporary directory for convenience. Make it in the build tree
6129 # simply because there is no reason against having it here, and in addition,
6130 # creating and moving files from /tmp can sometimes cause problems.
6131 # Hook for its removal unless debugging.
6132 # Note that there is a small window in which the directory will not be cleaned:
6133 # after its creation but before its name has been assigned to '$tmp'.
6134 $debug ||
6135 {
6136 tmp= ac_tmp=
6137 trap 'exit_status=$?
6138 : "${ac_tmp:=$tmp}"
6139 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6140 ' 0
6141 trap 'as_fn_exit 1' 1 2 13 15
6142 }
6143 # Create a (secure) tmp directory for tmp files.
6144
6145 {
6146 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6147 test -d "$tmp"
6148 } ||
6149 {
6150 tmp=./conf$$-$RANDOM
6151 (umask 077 && mkdir "$tmp")
6152 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6153 ac_tmp=$tmp
6154
6155 # Set up the scripts for CONFIG_FILES section.
6156 # No need to generate them if there are no CONFIG_FILES.
6157 # This happens for instance with './config.status config.h'.
6158 if test -n "$CONFIG_FILES"; then
6159
6160
6161 ac_cr=`echo X | tr X '\015'`
6162 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6163 # But we know of no other shell where ac_cr would be empty at this
6164 # point, so we can use a bashism as a fallback.
6165 if test "x$ac_cr" = x; then
6166 eval ac_cr=\$\'\\r\'
6167 fi
6168 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6169 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6170 ac_cs_awk_cr='\\r'
6171 else
6172 ac_cs_awk_cr=$ac_cr
6173 fi
6174
6175 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6176 _ACEOF
6177
6178
6179 {
6180 echo "cat >conf$$subs.awk <<_ACEOF" &&
6181 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6182 echo "_ACEOF"
6183 } >conf$$subs.sh ||
6184 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6185 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6186 ac_delim='%!_!# '
6187 for ac_last_try in false false false false false :; do
6188 . ./conf$$subs.sh ||
6189 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6190
6191 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6192 if test $ac_delim_n = $ac_delim_num; then
6193 break
6194 elif $ac_last_try; then
6195 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6196 else
6197 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6198 fi
6199 done
6200 rm -f conf$$subs.sh
6201
6202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6203 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6204 _ACEOF
6205 sed -n '
6206 h
6207 s/^/S["/; s/!.*/"]=/
6208 p
6209 g
6210 s/^[^!]*!//
6211 :repl
6212 t repl
6213 s/'"$ac_delim"'$//
6214 t delim
6215 :nl
6216 h
6217 s/\(.\{148\}\)..*/\1/
6218 t more1
6219 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6220 p
6221 n
6222 b repl
6223 :more1
6224 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6225 p
6226 g
6227 s/.\{148\}//
6228 t nl
6229 :delim
6230 h
6231 s/\(.\{148\}\)..*/\1/
6232 t more2
6233 s/["\\]/\\&/g; s/^/"/; s/$/"/
6234 p
6235 b
6236 :more2
6237 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6238 p
6239 g
6240 s/.\{148\}//
6241 t delim
6242 ' <conf$$subs.awk | sed '
6243 /^[^""]/{
6244 N
6245 s/\n//
6246 }
6247 ' >>$CONFIG_STATUS || ac_write_fail=1
6248 rm -f conf$$subs.awk
6249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6250 _ACAWK
6251 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6252 for (key in S) S_is_set[key] = 1
6253 FS = ""
6254
6255 }
6256 {
6257 line = $ 0
6258 nfields = split(line, field, "@")
6259 substed = 0
6260 len = length(field[1])
6261 for (i = 2; i < nfields; i++) {
6262 key = field[i]
6263 keylen = length(key)
6264 if (S_is_set[key]) {
6265 value = S[key]
6266 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6267 len += length(value) + length(field[++i])
6268 substed = 1
6269 } else
6270 len += 1 + keylen
6271 }
6272
6273 print line
6274 }
6275
6276 _ACAWK
6277 _ACEOF
6278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6279 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6280 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6281 else
6282 cat
6283 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6284 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6285 _ACEOF
6286
6287 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6288 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6289 # trailing colons and then remove the whole line if VPATH becomes empty
6290 # (actually we leave an empty line to preserve line numbers).
6291 if test "x$srcdir" = x.; then
6292 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6293 h
6294 s///
6295 s/^/:/
6296 s/[ ]*$/:/
6297 s/:\$(srcdir):/:/g
6298 s/:\${srcdir}:/:/g
6299 s/:@srcdir@:/:/g
6300 s/^:*//
6301 s/:*$//
6302 x
6303 s/\(=[ ]*\).*/\1/
6304 G
6305 s/\n//
6306 s/^[^=]*=[ ]*$//
6307 }'
6308 fi
6309
6310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6311 fi # test -n "$CONFIG_FILES"
6312
6313 # Set up the scripts for CONFIG_HEADERS section.
6314 # No need to generate them if there are no CONFIG_HEADERS.
6315 # This happens for instance with './config.status Makefile'.
6316 if test -n "$CONFIG_HEADERS"; then
6317 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6318 BEGIN {
6319 _ACEOF
6320
6321 # Transform confdefs.h into an awk script 'defines.awk', embedded as
6322 # here-document in config.status, that substitutes the proper values into
6323 # config.h.in to produce config.h.
6324
6325 # Create a delimiter string that does not exist in confdefs.h, to ease
6326 # handling of long lines.
6327 ac_delim='%!_!# '
6328 for ac_last_try in false false :; do
6329 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6330 if test -z "$ac_tt"; then
6331 break
6332 elif $ac_last_try; then
6333 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6334 else
6335 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6336 fi
6337 done
6338
6339 # For the awk script, D is an array of macro values keyed by name,
6340 # likewise P contains macro parameters if any. Preserve backslash
6341 # newline sequences.
6342
6343 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6344 sed -n '
6345 s/.\{148\}/&'"$ac_delim"'/g
6346 t rset
6347 :rset
6348 s/^[ ]*#[ ]*define[ ][ ]*/ /
6349 t def
6350 d
6351 :def
6352 s/\\$//
6353 t bsnl
6354 s/["\\]/\\&/g
6355 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6356 D["\1"]=" \3"/p
6357 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6358 d
6359 :bsnl
6360 s/["\\]/\\&/g
6361 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6362 D["\1"]=" \3\\\\\\n"\\/p
6363 t cont
6364 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6365 t cont
6366 d
6367 :cont
6368 n
6369 s/.\{148\}/&'"$ac_delim"'/g
6370 t clear
6371 :clear
6372 s/\\$//
6373 t bsnlc
6374 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6375 d
6376 :bsnlc
6377 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6378 b cont
6379 ' <confdefs.h | sed '
6380 s/'"$ac_delim"'/"\\\
6381 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6382
6383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6384 for (key in D) D_is_set[key] = 1
6385 FS = ""
6386 }
6387 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6388 line = \$ 0
6389 split(line, arg, " ")
6390 if (arg[1] == "#") {
6391 defundef = arg[2]
6392 mac1 = arg[3]
6393 } else {
6394 defundef = substr(arg[1], 2)
6395 mac1 = arg[2]
6396 }
6397 split(mac1, mac2, "(") #)
6398 macro = mac2[1]
6399 prefix = substr(line, 1, index(line, defundef) - 1)
6400 if (D_is_set[macro]) {
6401 # Preserve the white space surrounding the "#".
6402 print prefix "define", macro P[macro] D[macro]
6403 next
6404 } else {
6405 # Replace #undef with comments. This is necessary, for example,
6406 # in the case of _POSIX_SOURCE, which is predefined and required
6407 # on some systems where configure will not decide to define it.
6408 if (defundef == "undef") {
6409 print "/*", prefix defundef, macro, "*/"
6410 next
6411 }
6412 }
6413 }
6414 { print }
6415 _ACAWK
6416 _ACEOF
6417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6418 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6419 fi # test -n "$CONFIG_HEADERS"
6420
6421
6422 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
6423 shift
6424 for ac_tag
6425 do
6426 case $ac_tag in
6427 :[FHLC]) ac_mode=$ac_tag; continue;;
6428 esac
6429 case $ac_mode$ac_tag in
6430 :[FHL]*:*);;
6431 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
6432 :[FH]-) ac_tag=-:-;;
6433 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6434 esac
6435 ac_save_IFS=$IFS
6436 IFS=:
6437 set x $ac_tag
6438 IFS=$ac_save_IFS
6439 shift
6440 ac_file=$1
6441 shift
6442
6443 case $ac_mode in
6444 :L) ac_source=$1;;
6445 :[FH])
6446 ac_file_inputs=
6447 for ac_f
6448 do
6449 case $ac_f in
6450 -) ac_f="$ac_tmp/stdin";;
6451 *) # Look for the file first in the build tree, then in the source tree
6452 # (if the path is not absolute). The absolute path cannot be DOS-style,
6453 # because $ac_f cannot contain ':'.
6454 test -f "$ac_f" ||
6455 case $ac_f in
6456 [\\/$]*) false;;
6457 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6458 esac ||
6459 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
6460 esac
6461 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6462 as_fn_append ac_file_inputs " '$ac_f'"
6463 done
6464
6465 # Let's still pretend it is 'configure' which instantiates (i.e., don't
6466 # use $as_me), people would be surprised to read:
6467 # /* config.h. Generated by config.status. */
6468 configure_input='Generated from '`
6469 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6470 `' by configure.'
6471 if test x"$ac_file" != x-; then
6472 configure_input="$ac_file. $configure_input"
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6474 printf "%s\n" "$as_me: creating $ac_file" >&6;}
6475 fi
6476 # Neutralize special characters interpreted by sed in replacement strings.
6477 case $configure_input in #(
6478 *\&* | *\|* | *\\* )
6479 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
6480 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6481 *) ac_sed_conf_input=$configure_input;;
6482 esac
6483
6484 case $ac_tag in
6485 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6486 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6487 esac
6488 ;;
6489 esac
6490
6491 ac_dir=`$as_dirname -- "$ac_file" ||
6492 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6493 X"$ac_file" : 'X\(//\)[^/]' \| \
6494 X"$ac_file" : 'X\(//\)$' \| \
6495 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6496 printf "%s\n" X"$ac_file" |
6497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6498 s//\1/
6499 q
6500 }
6501 /^X\(\/\/\)[^/].*/{
6502 s//\1/
6503 q
6504 }
6505 /^X\(\/\/\)$/{
6506 s//\1/
6507 q
6508 }
6509 /^X\(\/\).*/{
6510 s//\1/
6511 q
6512 }
6513 s/.*/./; q'`
6514 as_dir="$ac_dir"; as_fn_mkdir_p
6515 ac_builddir=.
6516
6517 case "$ac_dir" in
6518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6519 *)
6520 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
6521 # A ".." for each directory in $ac_dir_suffix.
6522 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6523 case $ac_top_builddir_sub in
6524 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6525 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6526 esac ;;
6527 esac
6528 ac_abs_top_builddir=$ac_pwd
6529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6530 # for backward compatibility:
6531 ac_top_builddir=$ac_top_build_prefix
6532
6533 case $srcdir in
6534 .) # We are building in place.
6535 ac_srcdir=.
6536 ac_top_srcdir=$ac_top_builddir_sub
6537 ac_abs_top_srcdir=$ac_pwd ;;
6538 [\\/]* | ?:[\\/]* ) # Absolute name.
6539 ac_srcdir=$srcdir$ac_dir_suffix;
6540 ac_top_srcdir=$srcdir
6541 ac_abs_top_srcdir=$srcdir ;;
6542 *) # Relative name.
6543 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6544 ac_top_srcdir=$ac_top_build_prefix$srcdir
6545 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6546 esac
6547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6548
6549
6550 case $ac_mode in
6551 :F)
6552 #
6553 # CONFIG_FILE
6554 #
6555
6556 _ACEOF
6557
6558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6559 # If the template does not know about datarootdir, expand it.
6560 # FIXME: This hack should be removed a few years after 2.60.
6561 ac_datarootdir_hack=; ac_datarootdir_seen=
6562 ac_sed_dataroot='
6563 /datarootdir/ {
6564 p
6565 q
6566 }
6567 /@datadir@/p
6568 /@docdir@/p
6569 /@infodir@/p
6570 /@localedir@/p
6571 /@mandir@/p'
6572 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6573 *datarootdir*) ac_datarootdir_seen=yes;;
6574 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6576 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6577 _ACEOF
6578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6579 ac_datarootdir_hack='
6580 s&@datadir@&$datadir&g
6581 s&@docdir@&$docdir&g
6582 s&@infodir@&$infodir&g
6583 s&@localedir@&$localedir&g
6584 s&@mandir@&$mandir&g
6585 s&\\\${datarootdir}&$datarootdir&g' ;;
6586 esac
6587 _ACEOF
6588
6589 # Neutralize VPATH when '$srcdir' = '.'.
6590 # Shell code in configure.ac might set extrasub.
6591 # FIXME: do we really want to maintain this feature?
6592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6593 ac_sed_extra="$ac_vpsub
6594 $extrasub
6595 _ACEOF
6596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6597 :t
6598 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6599 s|@configure_input@|$ac_sed_conf_input|;t t
6600 s&@top_builddir@&$ac_top_builddir_sub&;t t
6601 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6602 s&@srcdir@&$ac_srcdir&;t t
6603 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6604 s&@top_srcdir@&$ac_top_srcdir&;t t
6605 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6606 s&@builddir@&$ac_builddir&;t t
6607 s&@abs_builddir@&$ac_abs_builddir&;t t
6608 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6609 $ac_datarootdir_hack
6610 "
6611 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6612 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6613
6614 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6615 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6616 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6617 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
6619 which seems to be undefined. Please make sure it is defined" >&5
6620 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
6621 which seems to be undefined. Please make sure it is defined" >&2;}
6622
6623 rm -f "$ac_tmp/stdin"
6624 case $ac_file in
6625 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6626 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6627 esac \
6628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6629 ;;
6630 :H)
6631 #
6632 # CONFIG_HEADER
6633 #
6634 if test x"$ac_file" != x-; then
6635 {
6636 printf "%s\n" "/* $configure_input */" >&1 \
6637 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6638 } >"$ac_tmp/config.h" \
6639 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6640 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6642 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
6643 else
6644 rm -f "$ac_file"
6645 mv "$ac_tmp/config.h" "$ac_file" \
6646 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6647 fi
6648 else
6649 printf "%s\n" "/* $configure_input */" >&1 \
6650 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6651 || as_fn_error $? "could not create -" "$LINENO" 5
6652 fi
6653 # Compute "$ac_file"'s index in $config_headers.
6654 _am_arg="$ac_file"
6655 _am_stamp_count=1
6656 for _am_header in $config_headers :; do
6657 case $_am_header in
6658 $_am_arg | $_am_arg:* )
6659 break ;;
6660 * )
6661 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6662 esac
6663 done
6664 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6665 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6666 X"$_am_arg" : 'X\(//\)[^/]' \| \
6667 X"$_am_arg" : 'X\(//\)$' \| \
6668 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6669 printf "%s\n" X"$_am_arg" |
6670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6671 s//\1/
6672 q
6673 }
6674 /^X\(\/\/\)[^/].*/{
6675 s//\1/
6676 q
6677 }
6678 /^X\(\/\/\)$/{
6679 s//\1/
6680 q
6681 }
6682 /^X\(\/\).*/{
6683 s//\1/
6684 q
6685 }
6686 s/.*/./; q'`/stamp-h$_am_stamp_count
6687 ;;
6688
6689
6690 esac
6691
6692 done # for ac_tag
6693
6694
6695 as_fn_exit 0
6696 _ACEOF
6697 ac_clean_files=$ac_clean_files_save
6698
6699 test $ac_write_fail = 0 ||
6700 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6701
6702
6703 # configure is writing to config.log, and then calls config.status.
6704 # config.status does its own redirection, appending to config.log.
6705 # Unfortunately, on DOS this fails, as config.log is still kept open
6706 # by configure, so config.status won't be able to write to it; its
6707 # output is simply discarded. So we exec the FD to /dev/null,
6708 # effectively closing config.log, so it can be properly (re)opened and
6709 # appended to by config.status. When coming back to configure, we
6710 # need to make the FD available again.
6711 if test "$no_create" != yes; then
6712 ac_cs_success=:
6713 ac_config_status_args=
6714 test "$silent" = yes &&
6715 ac_config_status_args="$ac_config_status_args --quiet"
6716 exec 5>/dev/null
6717 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6718 exec 5>>config.log
6719 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6720 # would make configure fail if this is the last instruction.
6721 $ac_cs_success || as_fn_exit 1
6722 fi
6723 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6725 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6726 fi
6727
6728
6729
6730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Rawsock (Done)${term_norm}" >&5
6731 printf "%s\n" "$as_me: ${term_bold}** Rawsock (Done)${term_norm}" >&6;}
6732
6733