Debian Codegraph @

modules/dirkey/configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.72 for dirkey 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='dirkey'
604 PACKAGE_TARNAME='dirkey'
605 PACKAGE_VERSION='1.0'
606 PACKAGE_STRING='dirkey 1.0'
607 PACKAGE_BUGREPORT='clisp-list'
608 PACKAGE_URL=''
609
610 ac_unique_file="dirkey1.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 LN_S
646 LN
647 CPP
648 OBJEXT
649 EXEEXT
650 ac_ct_CC
651 CPPFLAGS
652 LDFLAGS
653 CFLAGS
654 CC
655 CLISP_CPPFLAGS
656 CLISP_CFLAGS
657 CLISP_LIBS
658 CLISP_FILES
659 CLISP_LINKKIT
660 CLISP_LIBDIR
661 CLISP
662 cl_cv_clisp
663 CLISP_DECOLONIZE
664 target_alias
665 host_alias
666 build_alias
667 LIBS
668 ECHO_T
669 ECHO_N
670 ECHO_C
671 DEFS
672 mandir
673 localedir
674 libdir
675 psdir
676 pdfdir
677 dvidir
678 htmldir
679 infodir
680 docdir
681 oldincludedir
682 includedir
683 runstatedir
684 localstatedir
685 sharedstatedir
686 sysconfdir
687 datadir
688 datarootdir
689 libexecdir
690 sbindir
691 bindir
692 program_transform_name
693 prefix
694 exec_prefix
695 PACKAGE_URL
696 PACKAGE_BUGREPORT
697 PACKAGE_STRING
698 PACKAGE_VERSION
699 PACKAGE_TARNAME
700 PACKAGE_NAME
701 PATH_SEPARATOR
702 SHELL
703 am__quote'
704 ac_subst_files=''
705 ac_user_opts='
706 enable_option_checking
707 with_clisp
708 '
709 ac_precious_vars='build_alias
710 host_alias
711 target_alias
712 CC
713 CFLAGS
714 LDFLAGS
715 LIBS
716 CPPFLAGS
717 CPP'
718
719
720 # Initialize some variables set by options.
721 ac_init_help=
722 ac_init_version=false
723 ac_unrecognized_opts=
724 ac_unrecognized_sep=
725 # The variables have the same names as the options, with
726 # dashes changed to underlines.
727 cache_file=/dev/null
728 exec_prefix=NONE
729 no_create=
730 no_recursion=
731 prefix=NONE
732 program_prefix=NONE
733 program_suffix=NONE
734 program_transform_name=s,x,x,
735 silent=
736 site=
737 srcdir=
738 verbose=
739 x_includes=NONE
740 x_libraries=NONE
741
742 # Installation directory options.
743 # These are left unexpanded so users can "make install exec_prefix=/foo"
744 # and all the variables that are supposed to be based on exec_prefix
745 # by default will actually change.
746 # Use braces instead of parens because sh, perl, etc. also accept them.
747 # (The list follows the same order as the GNU Coding Standards.)
748 bindir='${exec_prefix}/bin'
749 sbindir='${exec_prefix}/sbin'
750 libexecdir='${exec_prefix}/libexec'
751 datarootdir='${prefix}/share'
752 datadir='${datarootdir}'
753 sysconfdir='${prefix}/etc'
754 sharedstatedir='${prefix}/com'
755 localstatedir='${prefix}/var'
756 runstatedir='${localstatedir}/run'
757 includedir='${prefix}/include'
758 oldincludedir='/usr/include'
759 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
760 infodir='${datarootdir}/info'
761 htmldir='${docdir}'
762 dvidir='${docdir}'
763 pdfdir='${docdir}'
764 psdir='${docdir}'
765 libdir='${exec_prefix}/lib'
766 localedir='${datarootdir}/locale'
767 mandir='${datarootdir}/man'
768
769 ac_prev=
770 ac_dashdash=
771 for ac_option
772 do
773 # If the previous option needs an argument, assign it.
774 if test -n "$ac_prev"; then
775 eval $ac_prev=\$ac_option
776 ac_prev=
777 continue
778 fi
779
780 case $ac_option in
781 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
782 *=) ac_optarg= ;;
783 *) ac_optarg=yes ;;
784 esac
785
786 case $ac_dashdash$ac_option in
787 --)
788 ac_dashdash=yes ;;
789
790 -bindir | --bindir | --bindi | --bind | --bin | --bi)
791 ac_prev=bindir ;;
792 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
793 bindir=$ac_optarg ;;
794
795 -build | --build | --buil | --bui | --bu)
796 ac_prev=build_alias ;;
797 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798 build_alias=$ac_optarg ;;
799
800 -cache-file | --cache-file | --cache-fil | --cache-fi \
801 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802 ac_prev=cache_file ;;
803 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805 cache_file=$ac_optarg ;;
806
807 --config-cache | -C)
808 cache_file=config.cache ;;
809
810 -datadir | --datadir | --datadi | --datad)
811 ac_prev=datadir ;;
812 -datadir=* | --datadir=* | --datadi=* | --datad=*)
813 datadir=$ac_optarg ;;
814
815 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816 | --dataroo | --dataro | --datar)
817 ac_prev=datarootdir ;;
818 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820 datarootdir=$ac_optarg ;;
821
822 -disable-* | --disable-*)
823 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824 # Reject names that are not valid shell variable names.
825 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826 as_fn_error $? "invalid feature name: '$ac_useropt'"
827 ac_useropt_orig=$ac_useropt
828 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
829 case $ac_user_opts in
830 *"
831 "enable_$ac_useropt"
832 "*) ;;
833 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834 ac_unrecognized_sep=', ';;
835 esac
836 eval enable_$ac_useropt=no ;;
837
838 -docdir | --docdir | --docdi | --doc | --do)
839 ac_prev=docdir ;;
840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841 docdir=$ac_optarg ;;
842
843 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
844 ac_prev=dvidir ;;
845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846 dvidir=$ac_optarg ;;
847
848 -enable-* | --enable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 as_fn_error $? "invalid feature name: '$ac_useropt'"
853 ac_useropt_orig=$ac_useropt
854 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
856 *"
857 "enable_$ac_useropt"
858 "*) ;;
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
861 esac
862 eval enable_$ac_useropt=\$ac_optarg ;;
863
864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
866 | --exec | --exe | --ex)
867 ac_prev=exec_prefix ;;
868 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
869 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
870 | --exec=* | --exe=* | --ex=*)
871 exec_prefix=$ac_optarg ;;
872
873 -gas | --gas | --ga | --g)
874 # Obsolete; use --with-gas.
875 with_gas=yes ;;
876
877 -help | --help | --hel | --he | -h)
878 ac_init_help=long ;;
879 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
880 ac_init_help=recursive ;;
881 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
882 ac_init_help=short ;;
883
884 -host | --host | --hos | --ho)
885 ac_prev=host_alias ;;
886 -host=* | --host=* | --hos=* | --ho=*)
887 host_alias=$ac_optarg ;;
888
889 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
890 ac_prev=htmldir ;;
891 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
892 | --ht=*)
893 htmldir=$ac_optarg ;;
894
895 -includedir | --includedir | --includedi | --included | --include \
896 | --includ | --inclu | --incl | --inc)
897 ac_prev=includedir ;;
898 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
899 | --includ=* | --inclu=* | --incl=* | --inc=*)
900 includedir=$ac_optarg ;;
901
902 -infodir | --infodir | --infodi | --infod | --info | --inf)
903 ac_prev=infodir ;;
904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905 infodir=$ac_optarg ;;
906
907 -libdir | --libdir | --libdi | --libd)
908 ac_prev=libdir ;;
909 -libdir=* | --libdir=* | --libdi=* | --libd=*)
910 libdir=$ac_optarg ;;
911
912 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
913 | --libexe | --libex | --libe)
914 ac_prev=libexecdir ;;
915 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
916 | --libexe=* | --libex=* | --libe=*)
917 libexecdir=$ac_optarg ;;
918
919 -localedir | --localedir | --localedi | --localed | --locale)
920 ac_prev=localedir ;;
921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922 localedir=$ac_optarg ;;
923
924 -localstatedir | --localstatedir | --localstatedi | --localstated \
925 | --localstate | --localstat | --localsta | --localst | --locals)
926 ac_prev=localstatedir ;;
927 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
928 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
929 localstatedir=$ac_optarg ;;
930
931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
932 ac_prev=mandir ;;
933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
934 mandir=$ac_optarg ;;
935
936 -nfp | --nfp | --nf)
937 # Obsolete; use --without-fp.
938 with_fp=no ;;
939
940 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941 | --no-cr | --no-c | -n)
942 no_create=yes ;;
943
944 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
946 no_recursion=yes ;;
947
948 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
949 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
950 | --oldin | --oldi | --old | --ol | --o)
951 ac_prev=oldincludedir ;;
952 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
953 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
954 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955 oldincludedir=$ac_optarg ;;
956
957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
958 ac_prev=prefix ;;
959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
960 prefix=$ac_optarg ;;
961
962 -program-prefix | --program-prefix | --program-prefi | --program-pref \
963 | --program-pre | --program-pr | --program-p)
964 ac_prev=program_prefix ;;
965 -program-prefix=* | --program-prefix=* | --program-prefi=* \
966 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
967 program_prefix=$ac_optarg ;;
968
969 -program-suffix | --program-suffix | --program-suffi | --program-suff \
970 | --program-suf | --program-su | --program-s)
971 ac_prev=program_suffix ;;
972 -program-suffix=* | --program-suffix=* | --program-suffi=* \
973 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
974 program_suffix=$ac_optarg ;;
975
976 -program-transform-name | --program-transform-name \
977 | --program-transform-nam | --program-transform-na \
978 | --program-transform-n | --program-transform- \
979 | --program-transform | --program-transfor \
980 | --program-transfo | --program-transf \
981 | --program-trans | --program-tran \
982 | --progr-tra | --program-tr | --program-t)
983 ac_prev=program_transform_name ;;
984 -program-transform-name=* | --program-transform-name=* \
985 | --program-transform-nam=* | --program-transform-na=* \
986 | --program-transform-n=* | --program-transform-=* \
987 | --program-transform=* | --program-transfor=* \
988 | --program-transfo=* | --program-transf=* \
989 | --program-trans=* | --program-tran=* \
990 | --progr-tra=* | --program-tr=* | --program-t=*)
991 program_transform_name=$ac_optarg ;;
992
993 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
994 ac_prev=pdfdir ;;
995 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
996 pdfdir=$ac_optarg ;;
997
998 -psdir | --psdir | --psdi | --psd | --ps)
999 ac_prev=psdir ;;
1000 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1001 psdir=$ac_optarg ;;
1002
1003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004 | -silent | --silent | --silen | --sile | --sil)
1005 silent=yes ;;
1006
1007 -runstatedir | --runstatedir | --runstatedi | --runstated \
1008 | --runstate | --runstat | --runsta | --runst | --runs \
1009 | --run | --ru | --r)
1010 ac_prev=runstatedir ;;
1011 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1012 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1013 | --run=* | --ru=* | --r=*)
1014 runstatedir=$ac_optarg ;;
1015
1016 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1017 ac_prev=sbindir ;;
1018 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1019 | --sbi=* | --sb=*)
1020 sbindir=$ac_optarg ;;
1021
1022 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1023 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1024 | --sharedst | --shareds | --shared | --share | --shar \
1025 | --sha | --sh)
1026 ac_prev=sharedstatedir ;;
1027 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1028 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1029 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1030 | --sha=* | --sh=*)
1031 sharedstatedir=$ac_optarg ;;
1032
1033 -site | --site | --sit)
1034 ac_prev=site ;;
1035 -site=* | --site=* | --sit=*)
1036 site=$ac_optarg ;;
1037
1038 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1039 ac_prev=srcdir ;;
1040 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1041 srcdir=$ac_optarg ;;
1042
1043 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1044 | --syscon | --sysco | --sysc | --sys | --sy)
1045 ac_prev=sysconfdir ;;
1046 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1047 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1048 sysconfdir=$ac_optarg ;;
1049
1050 -target | --target | --targe | --targ | --tar | --ta | --t)
1051 ac_prev=target_alias ;;
1052 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1053 target_alias=$ac_optarg ;;
1054
1055 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1056 verbose=yes ;;
1057
1058 -version | --version | --versio | --versi | --vers | -V)
1059 ac_init_version=: ;;
1060
1061 -with-* | --with-*)
1062 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065 as_fn_error $? "invalid package name: '$ac_useropt'"
1066 ac_useropt_orig=$ac_useropt
1067 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1069 *"
1070 "with_$ac_useropt"
1071 "*) ;;
1072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1073 ac_unrecognized_sep=', ';;
1074 esac
1075 eval with_$ac_useropt=\$ac_optarg ;;
1076
1077 -without-* | --without-*)
1078 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081 as_fn_error $? "invalid package name: '$ac_useropt'"
1082 ac_useropt_orig=$ac_useropt
1083 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1085 *"
1086 "with_$ac_useropt"
1087 "*) ;;
1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1089 ac_unrecognized_sep=', ';;
1090 esac
1091 eval with_$ac_useropt=no ;;
1092
1093 --x)
1094 # Obsolete; use --with-x.
1095 with_x=yes ;;
1096
1097 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1098 | --x-incl | --x-inc | --x-in | --x-i)
1099 ac_prev=x_includes ;;
1100 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1101 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1102 x_includes=$ac_optarg ;;
1103
1104 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1105 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1106 ac_prev=x_libraries ;;
1107 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1108 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1109 x_libraries=$ac_optarg ;;
1110
1111 -*) as_fn_error $? "unrecognized option: '$ac_option'
1112 Try '$0 --help' for more information"
1113 ;;
1114
1115 *=*)
1116 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1117 # Reject names that are not valid shell variable names.
1118 case $ac_envvar in #(
1119 '' | [0-9]* | *[!_$as_cr_alnum]* )
1120 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1121 esac
1122 eval $ac_envvar=\$ac_optarg
1123 export $ac_envvar ;;
1124
1125 *)
1126 # FIXME: should be removed in autoconf 3.0.
1127 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1128 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1130 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1131 ;;
1132
1133 esac
1134 done
1135
1136 if test -n "$ac_prev"; then
1137 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1138 as_fn_error $? "missing argument to $ac_option"
1139 fi
1140
1141 if test -n "$ac_unrecognized_opts"; then
1142 case $enable_option_checking in
1143 no) ;;
1144 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1145 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1146 esac
1147 fi
1148
1149 # Check all directory arguments for consistency.
1150 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1151 datadir sysconfdir sharedstatedir localstatedir includedir \
1152 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1153 libdir localedir mandir runstatedir
1154 do
1155 eval ac_val=\$$ac_var
1156 # Remove trailing slashes.
1157 case $ac_val in
1158 */ )
1159 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1160 eval $ac_var=\$ac_val;;
1161 esac
1162 # Be sure to have absolute directory names.
1163 case $ac_val in
1164 [\\/$]* | ?:[\\/]* ) continue;;
1165 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1166 esac
1167 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1168 done
1169
1170 # There might be people who depend on the old broken behavior: '$host'
1171 # used to hold the argument of --host etc.
1172 # FIXME: To remove some day.
1173 build=$build_alias
1174 host=$host_alias
1175 target=$target_alias
1176
1177 # FIXME: To remove some day.
1178 if test "x$host_alias" != x; then
1179 if test "x$build_alias" = x; then
1180 cross_compiling=maybe
1181 elif test "x$build_alias" != "x$host_alias"; then
1182 cross_compiling=yes
1183 fi
1184 fi
1185
1186 ac_tool_prefix=
1187 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1188
1189 test "$silent" = yes && exec 6>/dev/null
1190
1191
1192 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1193 ac_ls_di=`ls -di .` &&
1194 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1195 as_fn_error $? "working directory cannot be determined"
1196 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1197 as_fn_error $? "pwd does not report name of working directory"
1198
1199
1200 # Find the source files, if location was not specified.
1201 if test -z "$srcdir"; then
1202 ac_srcdir_defaulted=yes
1203 # Try the directory containing this script, then the parent directory.
1204 ac_confdir=`$as_dirname -- "$as_myself" ||
1205 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1206 X"$as_myself" : 'X\(//\)[^/]' \| \
1207 X"$as_myself" : 'X\(//\)$' \| \
1208 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1209 printf "%s\n" X"$as_myself" |
1210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1211 s//\1/
1212 q
1213 }
1214 /^X\(\/\/\)[^/].*/{
1215 s//\1/
1216 q
1217 }
1218 /^X\(\/\/\)$/{
1219 s//\1/
1220 q
1221 }
1222 /^X\(\/\).*/{
1223 s//\1/
1224 q
1225 }
1226 s/.*/./; q'`
1227 srcdir=$ac_confdir
1228 if test ! -r "$srcdir/$ac_unique_file"; then
1229 srcdir=..
1230 fi
1231 else
1232 ac_srcdir_defaulted=no
1233 fi
1234 if test ! -r "$srcdir/$ac_unique_file"; then
1235 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1236 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1237 fi
1238 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1239 ac_abs_confdir=`(
1240 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1241 pwd)`
1242 # When building in place, set srcdir=.
1243 if test "$ac_abs_confdir" = "$ac_pwd"; then
1244 srcdir=.
1245 fi
1246 # Remove unnecessary trailing slashes from srcdir.
1247 # Double slashes in file names in object file debugging info
1248 # mess up M-x gdb in Emacs.
1249 case $srcdir in
1250 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1251 esac
1252 for ac_var in $ac_precious_vars; do
1253 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1254 eval ac_env_${ac_var}_value=\$${ac_var}
1255 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1256 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1257 done
1258
1259 #
1260 # Report the --help message.
1261 #
1262 if test "$ac_init_help" = "long"; then
1263 # Omit some internal or obsolete options to make the list less imposing.
1264 # This message is too long to be a string in the A/UX 3.1 sh.
1265 cat <<_ACEOF
1266 'configure' configures dirkey 1.0 to adapt to many kinds of systems.
1267
1268 Usage: $0 [OPTION]... [VAR=VALUE]...
1269
1270 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1271 VAR=VALUE. See below for descriptions of some of the useful variables.
1272
1273 Defaults for the options are specified in brackets.
1274
1275 Configuration:
1276 -h, --help display this help and exit
1277 --help=short display options specific to this package
1278 --help=recursive display the short help of all the included packages
1279 -V, --version display version information and exit
1280 -q, --quiet, --silent do not print 'checking ...' messages
1281 --cache-file=FILE cache test results in FILE [disabled]
1282 -C, --config-cache alias for '--cache-file=config.cache'
1283 -n, --no-create do not create output files
1284 --srcdir=DIR find the sources in DIR [configure dir or '..']
1285
1286 Installation directories:
1287 --prefix=PREFIX install architecture-independent files in PREFIX
1288 [$ac_default_prefix]
1289 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1290 [PREFIX]
1291
1292 By default, 'make install' will install all the files in
1293 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1294 an installation prefix other than '$ac_default_prefix' using '--prefix',
1295 for instance '--prefix=\$HOME'.
1296
1297 For better control, use the options below.
1298
1299 Fine tuning of the installation directories:
1300 --bindir=DIR user executables [EPREFIX/bin]
1301 --sbindir=DIR system admin executables [EPREFIX/sbin]
1302 --libexecdir=DIR program executables [EPREFIX/libexec]
1303 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1304 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1305 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1306 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1307 --libdir=DIR object code libraries [EPREFIX/lib]
1308 --includedir=DIR C header files [PREFIX/include]
1309 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1310 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1311 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1312 --infodir=DIR info documentation [DATAROOTDIR/info]
1313 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1314 --mandir=DIR man documentation [DATAROOTDIR/man]
1315 --docdir=DIR documentation root [DATAROOTDIR/doc/dirkey]
1316 --htmldir=DIR html documentation [DOCDIR]
1317 --dvidir=DIR dvi documentation [DOCDIR]
1318 --pdfdir=DIR pdf documentation [DOCDIR]
1319 --psdir=DIR ps documentation [DOCDIR]
1320 _ACEOF
1321
1322 cat <<\_ACEOF
1323 _ACEOF
1324 fi
1325
1326 if test -n "$ac_init_help"; then
1327 case $ac_init_help in
1328 short | recursive ) echo "Configuration of dirkey 1.0:";;
1329 esac
1330 cat <<\_ACEOF
1331
1332 Optional Packages:
1333 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1334 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1335 --with-clisp use a specific CLISP installation
1336
1337 Some influential environment variables:
1338 CC C compiler command
1339 CFLAGS C compiler flags
1340 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1341 nonstandard directory <lib dir>
1342 LIBS libraries to pass to the linker, e.g. -l<library>
1343 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1344 you have headers in a nonstandard directory <include dir>
1345 CPP C preprocessor
1346
1347 Use these variables to override the choices made by 'configure' or to help
1348 it to find libraries and programs with nonstandard names/locations.
1349
1350 Report bugs to <clisp-list>.
1351 _ACEOF
1352 ac_status=$?
1353 fi
1354
1355 if test "$ac_init_help" = "recursive"; then
1356 # If there are subdirs, report their specific --help.
1357 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1358 test -d "$ac_dir" ||
1359 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1360 continue
1361 ac_builddir=.
1362
1363 case "$ac_dir" in
1364 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1365 *)
1366 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1367 # A ".." for each directory in $ac_dir_suffix.
1368 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1369 case $ac_top_builddir_sub in
1370 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1372 esac ;;
1373 esac
1374 ac_abs_top_builddir=$ac_pwd
1375 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1376 # for backward compatibility:
1377 ac_top_builddir=$ac_top_build_prefix
1378
1379 case $srcdir in
1380 .) # We are building in place.
1381 ac_srcdir=.
1382 ac_top_srcdir=$ac_top_builddir_sub
1383 ac_abs_top_srcdir=$ac_pwd ;;
1384 [\\/]* | ?:[\\/]* ) # Absolute name.
1385 ac_srcdir=$srcdir$ac_dir_suffix;
1386 ac_top_srcdir=$srcdir
1387 ac_abs_top_srcdir=$srcdir ;;
1388 *) # Relative name.
1389 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1390 ac_top_srcdir=$ac_top_build_prefix$srcdir
1391 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1392 esac
1393 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1394
1395 cd "$ac_dir" || { ac_status=$?; continue; }
1396 # Check for configure.gnu first; this name is used for a wrapper for
1397 # Metaconfig's "Configure" on case-insensitive file systems.
1398 if test -f "$ac_srcdir/configure.gnu"; then
1399 echo &&
1400 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1401 elif test -f "$ac_srcdir/configure"; then
1402 echo &&
1403 $SHELL "$ac_srcdir/configure" --help=recursive
1404 else
1405 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1406 fi || ac_status=$?
1407 cd "$ac_pwd" || { ac_status=$?; break; }
1408 done
1409 fi
1410
1411 test -n "$ac_init_help" && exit $ac_status
1412 if $ac_init_version; then
1413 cat <<\_ACEOF
1414 dirkey configure 1.0
1415 generated by GNU Autoconf 2.72
1416
1417 Copyright (C) 2023 Free Software Foundation, Inc.
1418 This configure script is free software; the Free Software Foundation
1419 gives unlimited permission to copy, distribute and modify it.
1420 _ACEOF
1421 exit
1422 fi
1423
1424 ## ------------------------ ##
1425 ## Autoconf initialization. ##
1426 ## ------------------------ ##
1427
1428 # ac_fn_c_try_compile LINENO
1429 # --------------------------
1430 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1431 ac_fn_c_try_compile ()
1432 {
1433 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1434 rm -f conftest.$ac_objext conftest.beam
1435 if { { ac_try="$ac_compile"
1436 case "(($ac_try" in
1437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1438 *) ac_try_echo=$ac_try;;
1439 esac
1440 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1441 printf "%s\n" "$ac_try_echo"; } >&5
1442 (eval "$ac_compile") 2>conftest.err
1443 ac_status=$?
1444 if test -s conftest.err; then
1445 grep -v '^ *+' conftest.err >conftest.er1
1446 cat conftest.er1 >&5
1447 mv -f conftest.er1 conftest.err
1448 fi
1449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1450 test $ac_status = 0; } && {
1451 test -z "$ac_c_werror_flag" ||
1452 test ! -s conftest.err
1453 } && test -s conftest.$ac_objext
1454 then :
1455 ac_retval=0
1456 else case e in #(
1457 e) printf "%s\n" "$as_me: failed program was:" >&5
1458 sed 's/^/| /' conftest.$ac_ext >&5
1459
1460 ac_retval=1 ;;
1461 esac
1462 fi
1463 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1464 as_fn_set_status $ac_retval
1465
1466 } # ac_fn_c_try_compile
1467
1468 # ac_fn_c_try_cpp LINENO
1469 # ----------------------
1470 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1471 ac_fn_c_try_cpp ()
1472 {
1473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1474 if { { ac_try="$ac_cpp conftest.$ac_ext"
1475 case "(($ac_try" in
1476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1477 *) ac_try_echo=$ac_try;;
1478 esac
1479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1480 printf "%s\n" "$ac_try_echo"; } >&5
1481 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1482 ac_status=$?
1483 if test -s conftest.err; then
1484 grep -v '^ *+' conftest.err >conftest.er1
1485 cat conftest.er1 >&5
1486 mv -f conftest.er1 conftest.err
1487 fi
1488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489 test $ac_status = 0; } > conftest.i && {
1490 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1491 test ! -s conftest.err
1492 }
1493 then :
1494 ac_retval=0
1495 else case e in #(
1496 e) printf "%s\n" "$as_me: failed program was:" >&5
1497 sed 's/^/| /' conftest.$ac_ext >&5
1498
1499 ac_retval=1 ;;
1500 esac
1501 fi
1502 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1503 as_fn_set_status $ac_retval
1504
1505 } # ac_fn_c_try_cpp
1506
1507 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1508 # -------------------------------------------------------
1509 # Tests whether HEADER exists and can be compiled using the include files in
1510 # INCLUDES, setting the cache variable VAR accordingly.
1511 ac_fn_c_check_header_compile ()
1512 {
1513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1515 printf %s "checking for $2... " >&6; }
1516 if eval test \${$3+y}
1517 then :
1518 printf %s "(cached) " >&6
1519 else case e in #(
1520 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1521 /* end confdefs.h. */
1522 $4
1523 #include <$2>
1524 _ACEOF
1525 if ac_fn_c_try_compile "$LINENO"
1526 then :
1527 eval "$3=yes"
1528 else case e in #(
1529 e) eval "$3=no" ;;
1530 esac
1531 fi
1532 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1533 esac
1534 fi
1535 eval ac_res=\$$3
1536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1537 printf "%s\n" "$ac_res" >&6; }
1538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1539
1540 } # ac_fn_c_check_header_compile
1541 ac_configure_args_raw=
1542 for ac_arg
1543 do
1544 case $ac_arg in
1545 *\'*)
1546 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 esac
1548 as_fn_append ac_configure_args_raw " '$ac_arg'"
1549 done
1550
1551 case $ac_configure_args_raw in
1552 *$as_nl*)
1553 ac_safe_unquote= ;;
1554 *)
1555 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1556 ac_unsafe_a="$ac_unsafe_z#~"
1557 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1558 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1559 esac
1560
1561 cat >config.log <<_ACEOF
1562 This file contains any messages produced by compilers while
1563 running configure, to aid debugging if configure makes a mistake.
1564
1565 It was created by dirkey $as_me 1.0, which was
1566 generated by GNU Autoconf 2.72. Invocation command line was
1567
1568 $ $0$ac_configure_args_raw
1569
1570 _ACEOF
1571 exec 5>>config.log
1572 {
1573 cat <<_ASUNAME
1574 ## --------- ##
1575 ## Platform. ##
1576 ## --------- ##
1577
1578 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1579 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1580 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1581 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1582 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1583
1584 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1585 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1586
1587 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1588 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1589 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1590 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1591 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1592 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1593 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1594
1595 _ASUNAME
1596
1597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1598 for as_dir in $PATH
1599 do
1600 IFS=$as_save_IFS
1601 case $as_dir in #(((
1602 '') as_dir=./ ;;
1603 */) ;;
1604 *) as_dir=$as_dir/ ;;
1605 esac
1606 printf "%s\n" "PATH: $as_dir"
1607 done
1608 IFS=$as_save_IFS
1609
1610 } >&5
1611
1612 cat >&5 <<_ACEOF
1613
1614
1615 ## ----------- ##
1616 ## Core tests. ##
1617 ## ----------- ##
1618
1619 _ACEOF
1620
1621
1622 # Keep a trace of the command line.
1623 # Strip out --no-create and --no-recursion so they do not pile up.
1624 # Strip out --silent because we don't want to record it for future runs.
1625 # Also quote any args containing shell meta-characters.
1626 # Make two passes to allow for proper duplicate-argument suppression.
1627 ac_configure_args=
1628 ac_configure_args0=
1629 ac_configure_args1=
1630 ac_must_keep_next=false
1631 for ac_pass in 1 2
1632 do
1633 for ac_arg
1634 do
1635 case $ac_arg in
1636 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1637 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1638 | -silent | --silent | --silen | --sile | --sil)
1639 continue ;;
1640 *\'*)
1641 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 esac
1643 case $ac_pass in
1644 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1645 2)
1646 as_fn_append ac_configure_args1 " '$ac_arg'"
1647 if test $ac_must_keep_next = true; then
1648 ac_must_keep_next=false # Got value, back to normal.
1649 else
1650 case $ac_arg in
1651 *=* | --config-cache | -C | -disable-* | --disable-* \
1652 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1653 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1654 | -with-* | --with-* | -without-* | --without-* | --x)
1655 case "$ac_configure_args0 " in
1656 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1657 esac
1658 ;;
1659 -* ) ac_must_keep_next=true ;;
1660 esac
1661 fi
1662 as_fn_append ac_configure_args " '$ac_arg'"
1663 ;;
1664 esac
1665 done
1666 done
1667 { ac_configure_args0=; unset ac_configure_args0;}
1668 { ac_configure_args1=; unset ac_configure_args1;}
1669
1670 # When interrupted or exit'd, cleanup temporary files, and complete
1671 # config.log. We remove comments because anyway the quotes in there
1672 # would cause problems or look ugly.
1673 # WARNING: Use '\'' to represent an apostrophe within the trap.
1674 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1675 trap 'exit_status=$?
1676 # Sanitize IFS.
1677 IFS=" "" $as_nl"
1678 # Save into config.log some information that might help in debugging.
1679 {
1680 echo
1681
1682 printf "%s\n" "## ---------------- ##
1683 ## Cache variables. ##
1684 ## ---------------- ##"
1685 echo
1686 # The following way of writing the cache mishandles newlines in values,
1687 (
1688 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1689 eval ac_val=\$$ac_var
1690 case $ac_val in #(
1691 *${as_nl}*)
1692 case $ac_var in #(
1693 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1694 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1695 esac
1696 case $ac_var in #(
1697 _ | IFS | as_nl) ;; #(
1698 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1699 *) { eval $ac_var=; unset $ac_var;} ;;
1700 esac ;;
1701 esac
1702 done
1703 (set) 2>&1 |
1704 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1705 *${as_nl}ac_space=\ *)
1706 sed -n \
1707 "s/'\''/'\''\\\\'\'''\''/g;
1708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1709 ;; #(
1710 *)
1711 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1712 ;;
1713 esac |
1714 sort
1715 )
1716 echo
1717
1718 printf "%s\n" "## ----------------- ##
1719 ## Output variables. ##
1720 ## ----------------- ##"
1721 echo
1722 for ac_var in $ac_subst_vars
1723 do
1724 eval ac_val=\$$ac_var
1725 case $ac_val in
1726 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1727 esac
1728 printf "%s\n" "$ac_var='\''$ac_val'\''"
1729 done | sort
1730 echo
1731
1732 if test -n "$ac_subst_files"; then
1733 printf "%s\n" "## ------------------- ##
1734 ## File substitutions. ##
1735 ## ------------------- ##"
1736 echo
1737 for ac_var in $ac_subst_files
1738 do
1739 eval ac_val=\$$ac_var
1740 case $ac_val in
1741 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1742 esac
1743 printf "%s\n" "$ac_var='\''$ac_val'\''"
1744 done | sort
1745 echo
1746 fi
1747
1748 if test -s confdefs.h; then
1749 printf "%s\n" "## ----------- ##
1750 ## confdefs.h. ##
1751 ## ----------- ##"
1752 echo
1753 cat confdefs.h
1754 echo
1755 fi
1756 test "$ac_signal" != 0 &&
1757 printf "%s\n" "$as_me: caught signal $ac_signal"
1758 printf "%s\n" "$as_me: exit $exit_status"
1759 } >&5
1760 rm -f core *.core core.conftest.* &&
1761 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1762 exit $exit_status
1763 ' 0
1764 for ac_signal in 1 2 13 15; do
1765 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1766 done
1767 ac_signal=0
1768
1769 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1770 rm -f -r conftest* confdefs.h
1771
1772 printf "%s\n" "/* confdefs.h */" > confdefs.h
1773
1774 # Predefined preprocessor variables.
1775
1776 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1777
1778 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1779
1780 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1781
1782 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1783
1784 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1785
1786 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1787
1788
1789 # Let the site file select an alternate cache file if it wants to.
1790 # Prefer an explicitly selected file to automatically selected ones.
1791 if test -n "$CONFIG_SITE"; then
1792 ac_site_files="$CONFIG_SITE"
1793 elif test "x$prefix" != xNONE; then
1794 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1795 else
1796 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1797 fi
1798
1799 for ac_site_file in $ac_site_files
1800 do
1801 case $ac_site_file in #(
1802 */*) :
1803 ;; #(
1804 *) :
1805 ac_site_file=./$ac_site_file ;;
1806 esac
1807 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1809 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1810 sed 's/^/| /' "$ac_site_file" >&5
1811 . "$ac_site_file" \
1812 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1813 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1814 as_fn_error $? "failed to load site script $ac_site_file
1815 See 'config.log' for more details" "$LINENO" 5; }
1816 fi
1817 done
1818
1819 if test -r "$cache_file"; then
1820 # Some versions of bash will fail to source /dev/null (special files
1821 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1822 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1824 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1825 case $cache_file in
1826 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1827 *) . "./$cache_file";;
1828 esac
1829 fi
1830 else
1831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1832 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1833 >$cache_file
1834 fi
1835
1836
1837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to remove colons from paths" >&5
1838 printf %s "checking how to remove colons from paths... " >&6; }
1839 if test ${cl_cv_decolonize+y}
1840 then :
1841 printf %s "(cached) " >&6
1842 else case e in #(
1843 e) case `uname -s` in
1844 CYGWIN*)
1845 cl_cv_decolonize='cygpath --unix $x'
1846 ;;
1847 Windows* | MINGW* | MSYS*)
1848 if (type cygpath) > /dev/null 2>&1; then
1849 cl_cv_decolonize='cygpath --unix $x'
1850 else
1851 cl_cv_decolonize="echo \$x | sed -e 's,\\\\,/,g' -e 's,^\\(.\\):,/\1,'"
1852 fi
1853 ;;
1854 *)
1855 cl_cv_decolonize='echo $x'
1856 ;;
1857 esac
1858 ;;
1859 esac
1860 fi
1861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_decolonize" >&5
1862 printf "%s\n" "$cl_cv_decolonize" >&6; }
1863 CLISP_DECOLONIZE=$cl_cv_decolonize
1864
1865
1866
1867
1868 # Check whether --with-clisp was given.
1869 if test ${with_clisp+y}
1870 then :
1871 withval=$with_clisp; cl_use_clisp="$withval"
1872 else case e in #(
1873 e) cl_use_clisp=default ;;
1874 esac
1875 fi
1876
1877 cl_have_clisp=no
1878 if test "$cl_use_clisp" != "no"; then
1879 if test "$cl_use_clisp" = default -o "$cl_use_clisp" = yes; then
1880 # Extract the first word of "clisp", so it can be a program name with args.
1881 set dummy clisp; ac_word=$2
1882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1883 printf %s "checking for $ac_word... " >&6; }
1884 if test ${ac_cv_path_cl_cv_clisp+y}
1885 then :
1886 printf %s "(cached) " >&6
1887 else case e in #(
1888 e) case $cl_cv_clisp in
1889 [\\/]* | ?:[\\/]*)
1890 ac_cv_path_cl_cv_clisp="$cl_cv_clisp" # Let the user override the test with a path.
1891 ;;
1892 *)
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 for as_dir in $PATH
1895 do
1896 IFS=$as_save_IFS
1897 case $as_dir in #(((
1898 '') as_dir=./ ;;
1899 */) ;;
1900 *) as_dir=$as_dir/ ;;
1901 esac
1902 for ac_exec_ext in '' $ac_executable_extensions; do
1903 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1904 ac_cv_path_cl_cv_clisp="$as_dir$ac_word$ac_exec_ext"
1905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1906 break 2
1907 fi
1908 done
1909 done
1910 IFS=$as_save_IFS
1911
1912 ;;
1913 esac ;;
1914 esac
1915 fi
1916 cl_cv_clisp=$ac_cv_path_cl_cv_clisp
1917 if test -n "$cl_cv_clisp"; then
1918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp" >&5
1919 printf "%s\n" "$cl_cv_clisp" >&6; }
1920 else
1921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1922 printf "%s\n" "no" >&6; }
1923 fi
1924
1925
1926 else
1927 cl_cv_clisp="$cl_use_clisp"
1928 fi
1929 if test -n "$cl_cv_clisp"; then
1930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP version" >&5
1931 printf %s "checking for CLISP version... " >&6; }
1932 if test ${cl_cv_clisp_version+y}
1933 then :
1934 printf %s "(cached) " >&6
1935 else case e in #(
1936 e) if $cl_cv_clisp --version 2>/dev/null | head -n 1 | grep "GNU CLISP" >/dev/null 2>&1; then
1937 cl_cv_clisp_version=`$cl_cv_clisp -q -norc -x '(lisp-implementation-version)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
1938 else
1939 as_fn_error $? "'$cl_cv_clisp' is not a CLISP" "$LINENO" 5
1940 fi
1941 ;;
1942 esac
1943 fi
1944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_version" >&5
1945 printf "%s\n" "$cl_cv_clisp_version" >&6; }
1946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP libdir" >&5
1947 printf %s "checking for CLISP libdir... " >&6; }
1948 if test ${cl_cv_clisp_libdir+y}
1949 then :
1950 printf %s "(cached) " >&6
1951 else case e in #(
1952 e) cl_cv_clisp_libdir=`$cl_cv_clisp -q -norc -x '(namestring *lib-directory*)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
1953 x=$cl_cv_clisp_libdir
1954 cl_cv_clisp_libdir=`eval $cl_cv_decolonize`
1955 # cf src/clisp-link.in:linkkitdir
1956 missing=''
1957 for f in modules.c clisp.h; do
1958 test -r "${cl_cv_clisp_libdir}linkkit/$f" || missing=${missing}' '$f
1959 done
1960 test -n "${missing}" \
1961 && as_fn_error $? "missing ${missing} in '${cl_cv_clisp_libdir}linkkit'" "$LINENO" 5
1962 ;;
1963 esac
1964 fi
1965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_libdir" >&5
1966 printf "%s\n" "$cl_cv_clisp_libdir" >&6; }
1967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP linking set" >&5
1968 printf %s "checking for CLISP linking set... " >&6; }
1969 if test ${cl_cv_clisp_linkset+y}
1970 then :
1971 printf %s "(cached) " >&6
1972 else case e in #(
1973 e) cl_cv_clisp_linkset=`$cl_cv_clisp -q -norc -x '(sys::program-name)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'`
1974 cl_cv_clisp_linkset=`dirname ${cl_cv_clisp_linkset}`
1975 missing=''
1976 # cf. src/clisp-link.in:check_linkset (we do not need to check for
1977 # lisp.run because cl_cv_clisp_linkset comes from SYS::PROGRAM-NAME)
1978 for f in lisp.a lispinit.mem modules.h modules.o makevars; do
1979 test -r "${cl_cv_clisp_linkset}/$f" || missing=${missing}' '$f
1980 done
1981 test -n "${missing}" \
1982 && as_fn_error $? "missing ${missing} in '${cl_cv_clisp_linkset}'" "$LINENO" 5
1983 ;;
1984 esac
1985 fi
1986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_linkset" >&5
1987 printf "%s\n" "$cl_cv_clisp_linkset" >&6; }
1988 CLISP=$cl_cv_clisp
1989
1990 CLISP_LIBDIR="${cl_cv_clisp_libdir}"
1991
1992 CLISP_LINKKIT="${cl_cv_clisp_libdir}linkkit"
1993
1994 sed 's/^/CLISP_/' ${cl_cv_clisp_linkset}/makevars > conftestvars
1995 . ./conftestvars
1996 rm -f conftestvars
1997
1998
1999
2000
2001 test -d "$cl_cv_clisp_libdir" -a -d "$cl_cv_clisp_linkset" && cl_have_clisp=yes
2002 fi
2003 fi
2004
2005 # Test code for whether the C compiler supports C89 (global declarations)
2006 ac_c_conftest_c89_globals='
2007 /* Does the compiler advertise C89 conformance?
2008 Do not test the value of __STDC__, because some compilers set it to 0
2009 while being otherwise adequately conformant. */
2010 #if !defined __STDC__
2011 # error "Compiler does not advertise C89 conformance"
2012 #endif
2013
2014 #include <stddef.h>
2015 #include <stdarg.h>
2016 struct stat;
2017 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2018 struct buf { int x; };
2019 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2020 static char *e (char **p, int i)
2021 {
2022 return p[i];
2023 }
2024 static char *f (char * (*g) (char **, int), char **p, ...)
2025 {
2026 char *s;
2027 va_list v;
2028 va_start (v,p);
2029 s = g (p, va_arg (v,int));
2030 va_end (v);
2031 return s;
2032 }
2033
2034 /* C89 style stringification. */
2035 #define noexpand_stringify(a) #a
2036 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2037
2038 /* C89 style token pasting. Exercises some of the corner cases that
2039 e.g. old MSVC gets wrong, but not very hard. */
2040 #define noexpand_concat(a,b) a##b
2041 #define expand_concat(a,b) noexpand_concat(a,b)
2042 extern int vA;
2043 extern int vbee;
2044 #define aye A
2045 #define bee B
2046 int *pvA = &expand_concat(v,aye);
2047 int *pvbee = &noexpand_concat(v,bee);
2048
2049 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2050 function prototypes and stuff, but not \xHH hex character constants.
2051 These do not provoke an error unfortunately, instead are silently treated
2052 as an "x". The following induces an error, until -std is added to get
2053 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2054 array size at least. It is necessary to write \x00 == 0 to get something
2055 that is true only with -std. */
2056 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2057
2058 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2059 inside strings and character constants. */
2060 #define FOO(x) '\''x'\''
2061 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2062
2063 int test (int i, double x);
2064 struct s1 {int (*f) (int a);};
2065 struct s2 {int (*f) (double a);};
2066 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2067 int, int);'
2068
2069 # Test code for whether the C compiler supports C89 (body of main).
2070 ac_c_conftest_c89_main='
2071 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2072 '
2073
2074 # Test code for whether the C compiler supports C99 (global declarations)
2075 ac_c_conftest_c99_globals='
2076 /* Does the compiler advertise C99 conformance? */
2077 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2078 # error "Compiler does not advertise C99 conformance"
2079 #endif
2080
2081 // See if C++-style comments work.
2082
2083 #include <stdbool.h>
2084 extern int puts (const char *);
2085 extern int printf (const char *, ...);
2086 extern int dprintf (int, const char *, ...);
2087 extern void *malloc (size_t);
2088 extern void free (void *);
2089
2090 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2091 // dprintf is used instead of fprintf to avoid needing to declare
2092 // FILE and stderr.
2093 #define debug(...) dprintf (2, __VA_ARGS__)
2094 #define showlist(...) puts (#__VA_ARGS__)
2095 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2096 static void
2097 test_varargs_macros (void)
2098 {
2099 int x = 1234;
2100 int y = 5678;
2101 debug ("Flag");
2102 debug ("X = %d\n", x);
2103 showlist (The first, second, and third items.);
2104 report (x>y, "x is %d but y is %d", x, y);
2105 }
2106
2107 // Check long long types.
2108 #define BIG64 18446744073709551615ull
2109 #define BIG32 4294967295ul
2110 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2111 #if !BIG_OK
2112 #error "your preprocessor is broken"
2113 #endif
2114 #if BIG_OK
2115 #else
2116 #error "your preprocessor is broken"
2117 #endif
2118 static long long int bignum = -9223372036854775807LL;
2119 static unsigned long long int ubignum = BIG64;
2120
2121 struct incomplete_array
2122 {
2123 int datasize;
2124 double data[];
2125 };
2126
2127 struct named_init {
2128 int number;
2129 const wchar_t *name;
2130 double average;
2131 };
2132
2133 typedef const char *ccp;
2134
2135 static inline int
2136 test_restrict (ccp restrict text)
2137 {
2138 // Iterate through items via the restricted pointer.
2139 // Also check for declarations in for loops.
2140 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2141 continue;
2142 return 0;
2143 }
2144
2145 // Check varargs and va_copy.
2146 static bool
2147 test_varargs (const char *format, ...)
2148 {
2149 va_list args;
2150 va_start (args, format);
2151 va_list args_copy;
2152 va_copy (args_copy, args);
2153
2154 const char *str = "";
2155 int number = 0;
2156 float fnumber = 0;
2157
2158 while (*format)
2159 {
2160 switch (*format++)
2161 {
2162 case '\''s'\'': // string
2163 str = va_arg (args_copy, const char *);
2164 break;
2165 case '\''d'\'': // int
2166 number = va_arg (args_copy, int);
2167 break;
2168 case '\''f'\'': // float
2169 fnumber = va_arg (args_copy, double);
2170 break;
2171 default:
2172 break;
2173 }
2174 }
2175 va_end (args_copy);
2176 va_end (args);
2177
2178 return *str && number && fnumber;
2179 }
2180 '
2181
2182 # Test code for whether the C compiler supports C99 (body of main).
2183 ac_c_conftest_c99_main='
2184 // Check bool.
2185 _Bool success = false;
2186 success |= (argc != 0);
2187
2188 // Check restrict.
2189 if (test_restrict ("String literal") == 0)
2190 success = true;
2191 char *restrict newvar = "Another string";
2192
2193 // Check varargs.
2194 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2195 test_varargs_macros ();
2196
2197 // Check flexible array members.
2198 struct incomplete_array *ia =
2199 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2200 ia->datasize = 10;
2201 for (int i = 0; i < ia->datasize; ++i)
2202 ia->data[i] = i * 1.234;
2203 // Work around memory leak warnings.
2204 free (ia);
2205
2206 // Check named initializers.
2207 struct named_init ni = {
2208 .number = 34,
2209 .name = L"Test wide string",
2210 .average = 543.34343,
2211 };
2212
2213 ni.number = 58;
2214
2215 int dynamic_array[ni.number];
2216 dynamic_array[0] = argv[0][0];
2217 dynamic_array[ni.number - 1] = 543;
2218
2219 // work around unused variable warnings
2220 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2221 || dynamic_array[ni.number - 1] != 543);
2222 '
2223
2224 # Test code for whether the C compiler supports C11 (global declarations)
2225 ac_c_conftest_c11_globals='
2226 /* Does the compiler advertise C11 conformance? */
2227 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2228 # error "Compiler does not advertise C11 conformance"
2229 #endif
2230
2231 // Check _Alignas.
2232 char _Alignas (double) aligned_as_double;
2233 char _Alignas (0) no_special_alignment;
2234 extern char aligned_as_int;
2235 char _Alignas (0) _Alignas (int) aligned_as_int;
2236
2237 // Check _Alignof.
2238 enum
2239 {
2240 int_alignment = _Alignof (int),
2241 int_array_alignment = _Alignof (int[100]),
2242 char_alignment = _Alignof (char)
2243 };
2244 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2245
2246 // Check _Noreturn.
2247 int _Noreturn does_not_return (void) { for (;;) continue; }
2248
2249 // Check _Static_assert.
2250 struct test_static_assert
2251 {
2252 int x;
2253 _Static_assert (sizeof (int) <= sizeof (long int),
2254 "_Static_assert does not work in struct");
2255 long int y;
2256 };
2257
2258 // Check UTF-8 literals.
2259 #define u8 syntax error!
2260 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2261
2262 // Check duplicate typedefs.
2263 typedef long *long_ptr;
2264 typedef long int *long_ptr;
2265 typedef long_ptr long_ptr;
2266
2267 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2268 struct anonymous
2269 {
2270 union {
2271 struct { int i; int j; };
2272 struct { int k; long int l; } w;
2273 };
2274 int m;
2275 } v1;
2276 '
2277
2278 # Test code for whether the C compiler supports C11 (body of main).
2279 ac_c_conftest_c11_main='
2280 _Static_assert ((offsetof (struct anonymous, i)
2281 == offsetof (struct anonymous, w.k)),
2282 "Anonymous union alignment botch");
2283 v1.i = 2;
2284 v1.w.k = 5;
2285 ok |= v1.i != 5;
2286 '
2287
2288 # Test code for whether the C compiler supports C11 (complete).
2289 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2290 ${ac_c_conftest_c99_globals}
2291 ${ac_c_conftest_c11_globals}
2292
2293 int
2294 main (int argc, char **argv)
2295 {
2296 int ok = 0;
2297 ${ac_c_conftest_c89_main}
2298 ${ac_c_conftest_c99_main}
2299 ${ac_c_conftest_c11_main}
2300 return ok;
2301 }
2302 "
2303
2304 # Test code for whether the C compiler supports C99 (complete).
2305 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2306 ${ac_c_conftest_c99_globals}
2307
2308 int
2309 main (int argc, char **argv)
2310 {
2311 int ok = 0;
2312 ${ac_c_conftest_c89_main}
2313 ${ac_c_conftest_c99_main}
2314 return ok;
2315 }
2316 "
2317
2318 # Test code for whether the C compiler supports C89 (complete).
2319 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2320
2321 int
2322 main (int argc, char **argv)
2323 {
2324 int ok = 0;
2325 ${ac_c_conftest_c89_main}
2326 return ok;
2327 }
2328 "
2329
2330 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2331 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2332 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2333 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2334 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2335 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2336 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2337 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2338 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2339 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2340 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2341
2342 # Auxiliary files required by this configure script.
2343 ac_aux_files="compile"
2344
2345 # Locations in which to look for auxiliary files.
2346 ac_aux_dir_candidates="$cl_cv_clisp_libdir/build-aux"
2347
2348 # Search for a directory containing all of the required auxiliary files,
2349 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2350 # If we don't find one directory that contains all the files we need,
2351 # we report the set of missing files from the *first* directory in
2352 # $ac_aux_dir_candidates and give up.
2353 ac_missing_aux_files=""
2354 ac_first_candidate=:
2355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357 as_found=false
2358 for as_dir in $ac_aux_dir_candidates
2359 do
2360 IFS=$as_save_IFS
2361 case $as_dir in #(((
2362 '') as_dir=./ ;;
2363 */) ;;
2364 *) as_dir=$as_dir/ ;;
2365 esac
2366 as_found=:
2367
2368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2369 ac_aux_dir_found=yes
2370 ac_install_sh=
2371 for ac_aux in $ac_aux_files
2372 do
2373 # As a special case, if "install-sh" is required, that requirement
2374 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2375 # and $ac_install_sh is set appropriately for whichever one is found.
2376 if test x"$ac_aux" = x"install-sh"
2377 then
2378 if test -f "${as_dir}install-sh"; then
2379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2380 ac_install_sh="${as_dir}install-sh -c"
2381 elif test -f "${as_dir}install.sh"; then
2382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2383 ac_install_sh="${as_dir}install.sh -c"
2384 elif test -f "${as_dir}shtool"; then
2385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2386 ac_install_sh="${as_dir}shtool install -c"
2387 else
2388 ac_aux_dir_found=no
2389 if $ac_first_candidate; then
2390 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2391 else
2392 break
2393 fi
2394 fi
2395 else
2396 if test -f "${as_dir}${ac_aux}"; then
2397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2398 else
2399 ac_aux_dir_found=no
2400 if $ac_first_candidate; then
2401 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2402 else
2403 break
2404 fi
2405 fi
2406 fi
2407 done
2408 if test "$ac_aux_dir_found" = yes; then
2409 ac_aux_dir="$as_dir"
2410 break
2411 fi
2412 ac_first_candidate=false
2413
2414 as_found=false
2415 done
2416 IFS=$as_save_IFS
2417 if $as_found
2418 then :
2419
2420 else case e in #(
2421 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2422 esac
2423 fi
2424
2425
2426 # These three variables are undocumented and unsupported,
2427 # and are intended to be withdrawn in a future Autoconf release.
2428 # They can cause serious problems if a builder's source tree is in a directory
2429 # whose full name contains unusual characters.
2430 if test -f "${ac_aux_dir}config.guess"; then
2431 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2432 fi
2433 if test -f "${ac_aux_dir}config.sub"; then
2434 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2435 fi
2436 if test -f "$ac_aux_dir/configure"; then
2437 ac_configure="$SHELL ${ac_aux_dir}configure"
2438 fi
2439
2440 # Check that the precious variables saved in the cache have kept the same
2441 # value.
2442 ac_cache_corrupted=false
2443 for ac_var in $ac_precious_vars; do
2444 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2445 eval ac_new_set=\$ac_env_${ac_var}_set
2446 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2447 eval ac_new_val=\$ac_env_${ac_var}_value
2448 case $ac_old_set,$ac_new_set in
2449 set,)
2450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2451 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2452 ac_cache_corrupted=: ;;
2453 ,set)
2454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2455 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2456 ac_cache_corrupted=: ;;
2457 ,);;
2458 *)
2459 if test "x$ac_old_val" != "x$ac_new_val"; then
2460 # differences in whitespace do not lead to failure.
2461 ac_old_val_w=`echo x $ac_old_val`
2462 ac_new_val_w=`echo x $ac_new_val`
2463 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2465 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2466 ac_cache_corrupted=:
2467 else
2468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2469 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2470 eval $ac_var=\$ac_old_val
2471 fi
2472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2473 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2475 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2476 fi;;
2477 esac
2478 # Pass precious variables to config.status.
2479 if test "$ac_new_set" = set; then
2480 case $ac_new_val in
2481 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2482 *) ac_arg=$ac_var=$ac_new_val ;;
2483 esac
2484 case " $ac_configure_args " in
2485 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2486 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2487 esac
2488 fi
2489 done
2490 if $ac_cache_corrupted; then
2491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2492 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2494 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2495 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2496 and start over" "$LINENO" 5
2497 fi
2498 ## -------------------- ##
2499 ## Main body of script. ##
2500 ## -------------------- ##
2501
2502 ac_ext=c
2503 ac_cpp='$CPP $CPPFLAGS'
2504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2507
2508
2509
2510 ac_config_headers="$ac_config_headers config.h"
2511
2512
2513
2514
2515 case $TERM in
2516 # for the most important terminal types we directly know the sequences
2517 xterm*|vt220*|vt100*)
2518 term_bold=`${AWK:-awk} 'BEGIN { printf("%c%c%c%c", 27, 91, 49, 109); }' </dev/null 2>/dev/null`
2519 term_norm=`${AWK:-awk} 'BEGIN { printf("%c%c%c", 27, 91, 109); }' </dev/null 2>/dev/null`
2520 ;;
2521 # for all others, we try to use a possibly existing `tput' or `tcout' utility
2522 *)
2523 paths=`echo "$PATH" | sed -e 's/:/ /g'`
2524 for tool in tput tcout; do
2525 for dir in $paths; do
2526 if test -r "$dir/$tool"; then
2527 for seq in bold md smso; do # 'smso' is last
2528 bold="`$dir/$tool $seq 2>/dev/null`"
2529 if test -n "$bold"; then
2530 term_bold="$bold"
2531 break
2532 fi
2533 done
2534 if test -n "$term_bold"; then
2535 for seq in sgr0 me rmso reset; do # 'reset' is last
2536 norm="`$dir/$tool $seq 2>/dev/null`"
2537 if test -n "$norm"; then
2538 term_norm="$norm"
2539 break
2540 fi
2541 done
2542 fi
2543 break
2544 fi
2545 done
2546 if test -n "$term_bold" && test -n "$term_norm"; then
2547 break
2548 fi
2549 done
2550 ;;
2551 esac
2552
2553
2554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dirkey (Common)${term_norm}" >&5
2555 printf "%s\n" "$as_me: ${term_bold}** Dirkey (Common)${term_norm}" >&6;}
2556
2557
2558
2559
2560
2561
2562
2563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CLISP" >&5
2564 printf %s "checking for CLISP... " >&6; }
2565 if test ${cl_cv_have_clisp+y}
2566 then :
2567 printf %s "(cached) " >&6
2568 else case e in #(
2569 e) cl_cv_have_clisp=$cl_have_clisp ;;
2570 esac
2571 fi
2572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_have_clisp" >&5
2573 printf "%s\n" "$cl_cv_have_clisp" >&6; }
2574 required=true
2575 ${required} && test $cl_cv_have_clisp = no && as_fn_error $? "CLISP not found" "$LINENO" 5
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590 # Expand $ac_aux_dir to an absolute path.
2591 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2592
2593 ac_ext=c
2594 ac_cpp='$CPP $CPPFLAGS'
2595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2598 if test -n "$ac_tool_prefix"; then
2599 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2600 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2602 printf %s "checking for $ac_word... " >&6; }
2603 if test ${ac_cv_prog_CC+y}
2604 then :
2605 printf %s "(cached) " >&6
2606 else case e in #(
2607 e) if test -n "$CC"; then
2608 ac_cv_prog_CC="$CC" # Let the user override the test.
2609 else
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 for as_dir in $PATH
2612 do
2613 IFS=$as_save_IFS
2614 case $as_dir in #(((
2615 '') as_dir=./ ;;
2616 */) ;;
2617 *) as_dir=$as_dir/ ;;
2618 esac
2619 for ac_exec_ext in '' $ac_executable_extensions; do
2620 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2621 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2623 break 2
2624 fi
2625 done
2626 done
2627 IFS=$as_save_IFS
2628
2629 fi ;;
2630 esac
2631 fi
2632 CC=$ac_cv_prog_CC
2633 if test -n "$CC"; then
2634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2635 printf "%s\n" "$CC" >&6; }
2636 else
2637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2638 printf "%s\n" "no" >&6; }
2639 fi
2640
2641
2642 fi
2643 if test -z "$ac_cv_prog_CC"; then
2644 ac_ct_CC=$CC
2645 # Extract the first word of "gcc", so it can be a program name with args.
2646 set dummy gcc; ac_word=$2
2647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648 printf %s "checking for $ac_word... " >&6; }
2649 if test ${ac_cv_prog_ac_ct_CC+y}
2650 then :
2651 printf %s "(cached) " >&6
2652 else case e in #(
2653 e) if test -n "$ac_ct_CC"; then
2654 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2655 else
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 for as_dir in $PATH
2658 do
2659 IFS=$as_save_IFS
2660 case $as_dir in #(((
2661 '') as_dir=./ ;;
2662 */) ;;
2663 *) as_dir=$as_dir/ ;;
2664 esac
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2667 ac_cv_prog_ac_ct_CC="gcc"
2668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2669 break 2
2670 fi
2671 done
2672 done
2673 IFS=$as_save_IFS
2674
2675 fi ;;
2676 esac
2677 fi
2678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2679 if test -n "$ac_ct_CC"; then
2680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2681 printf "%s\n" "$ac_ct_CC" >&6; }
2682 else
2683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 printf "%s\n" "no" >&6; }
2685 fi
2686
2687 if test "x$ac_ct_CC" = x; then
2688 CC=""
2689 else
2690 case $cross_compiling:$ac_tool_warned in
2691 yes:)
2692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2693 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2694 ac_tool_warned=yes ;;
2695 esac
2696 CC=$ac_ct_CC
2697 fi
2698 else
2699 CC="$ac_cv_prog_CC"
2700 fi
2701
2702 if test -z "$CC"; then
2703 if test -n "$ac_tool_prefix"; then
2704 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2705 set dummy ${ac_tool_prefix}cc; ac_word=$2
2706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707 printf %s "checking for $ac_word... " >&6; }
2708 if test ${ac_cv_prog_CC+y}
2709 then :
2710 printf %s "(cached) " >&6
2711 else case e in #(
2712 e) if test -n "$CC"; then
2713 ac_cv_prog_CC="$CC" # Let the user override the test.
2714 else
2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2716 for as_dir in $PATH
2717 do
2718 IFS=$as_save_IFS
2719 case $as_dir in #(((
2720 '') as_dir=./ ;;
2721 */) ;;
2722 *) as_dir=$as_dir/ ;;
2723 esac
2724 for ac_exec_ext in '' $ac_executable_extensions; do
2725 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2726 ac_cv_prog_CC="${ac_tool_prefix}cc"
2727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2728 break 2
2729 fi
2730 done
2731 done
2732 IFS=$as_save_IFS
2733
2734 fi ;;
2735 esac
2736 fi
2737 CC=$ac_cv_prog_CC
2738 if test -n "$CC"; then
2739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2740 printf "%s\n" "$CC" >&6; }
2741 else
2742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 printf "%s\n" "no" >&6; }
2744 fi
2745
2746
2747 fi
2748 fi
2749 if test -z "$CC"; then
2750 # Extract the first word of "cc", so it can be a program name with args.
2751 set dummy cc; ac_word=$2
2752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 printf %s "checking for $ac_word... " >&6; }
2754 if test ${ac_cv_prog_CC+y}
2755 then :
2756 printf %s "(cached) " >&6
2757 else case e in #(
2758 e) if test -n "$CC"; then
2759 ac_cv_prog_CC="$CC" # Let the user override the test.
2760 else
2761 ac_prog_rejected=no
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH
2764 do
2765 IFS=$as_save_IFS
2766 case $as_dir in #(((
2767 '') as_dir=./ ;;
2768 */) ;;
2769 *) as_dir=$as_dir/ ;;
2770 esac
2771 for ac_exec_ext in '' $ac_executable_extensions; do
2772 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2773 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2774 ac_prog_rejected=yes
2775 continue
2776 fi
2777 ac_cv_prog_CC="cc"
2778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2779 break 2
2780 fi
2781 done
2782 done
2783 IFS=$as_save_IFS
2784
2785 if test $ac_prog_rejected = yes; then
2786 # We found a bogon in the path, so make sure we never use it.
2787 set dummy $ac_cv_prog_CC
2788 shift
2789 if test $# != 0; then
2790 # We chose a different compiler from the bogus one.
2791 # However, it has the same basename, so the bogon will be chosen
2792 # first if we set CC to just the basename; use the full file name.
2793 shift
2794 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2795 fi
2796 fi
2797 fi ;;
2798 esac
2799 fi
2800 CC=$ac_cv_prog_CC
2801 if test -n "$CC"; then
2802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2803 printf "%s\n" "$CC" >&6; }
2804 else
2805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 printf "%s\n" "no" >&6; }
2807 fi
2808
2809
2810 fi
2811 if test -z "$CC"; then
2812 if test -n "$ac_tool_prefix"; then
2813 for ac_prog in cl.exe
2814 do
2815 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2816 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2818 printf %s "checking for $ac_word... " >&6; }
2819 if test ${ac_cv_prog_CC+y}
2820 then :
2821 printf %s "(cached) " >&6
2822 else case e in #(
2823 e) if test -n "$CC"; then
2824 ac_cv_prog_CC="$CC" # Let the user override the test.
2825 else
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in $PATH
2828 do
2829 IFS=$as_save_IFS
2830 case $as_dir in #(((
2831 '') as_dir=./ ;;
2832 */) ;;
2833 *) as_dir=$as_dir/ ;;
2834 esac
2835 for ac_exec_ext in '' $ac_executable_extensions; do
2836 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2837 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2839 break 2
2840 fi
2841 done
2842 done
2843 IFS=$as_save_IFS
2844
2845 fi ;;
2846 esac
2847 fi
2848 CC=$ac_cv_prog_CC
2849 if test -n "$CC"; then
2850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2851 printf "%s\n" "$CC" >&6; }
2852 else
2853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2854 printf "%s\n" "no" >&6; }
2855 fi
2856
2857
2858 test -n "$CC" && break
2859 done
2860 fi
2861 if test -z "$CC"; then
2862 ac_ct_CC=$CC
2863 for ac_prog in cl.exe
2864 do
2865 # Extract the first word of "$ac_prog", so it can be a program name with args.
2866 set dummy $ac_prog; ac_word=$2
2867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868 printf %s "checking for $ac_word... " >&6; }
2869 if test ${ac_cv_prog_ac_ct_CC+y}
2870 then :
2871 printf %s "(cached) " >&6
2872 else case e in #(
2873 e) if test -n "$ac_ct_CC"; then
2874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2875 else
2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877 for as_dir in $PATH
2878 do
2879 IFS=$as_save_IFS
2880 case $as_dir in #(((
2881 '') as_dir=./ ;;
2882 */) ;;
2883 *) as_dir=$as_dir/ ;;
2884 esac
2885 for ac_exec_ext in '' $ac_executable_extensions; do
2886 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2887 ac_cv_prog_ac_ct_CC="$ac_prog"
2888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2889 break 2
2890 fi
2891 done
2892 done
2893 IFS=$as_save_IFS
2894
2895 fi ;;
2896 esac
2897 fi
2898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2899 if test -n "$ac_ct_CC"; then
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2901 printf "%s\n" "$ac_ct_CC" >&6; }
2902 else
2903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2904 printf "%s\n" "no" >&6; }
2905 fi
2906
2907
2908 test -n "$ac_ct_CC" && break
2909 done
2910
2911 if test "x$ac_ct_CC" = x; then
2912 CC=""
2913 else
2914 case $cross_compiling:$ac_tool_warned in
2915 yes:)
2916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2917 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2918 ac_tool_warned=yes ;;
2919 esac
2920 CC=$ac_ct_CC
2921 fi
2922 fi
2923
2924 fi
2925 if test -z "$CC"; then
2926 if test -n "$ac_tool_prefix"; then
2927 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2928 set dummy ${ac_tool_prefix}clang; ac_word=$2
2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2930 printf %s "checking for $ac_word... " >&6; }
2931 if test ${ac_cv_prog_CC+y}
2932 then :
2933 printf %s "(cached) " >&6
2934 else case e in #(
2935 e) if test -n "$CC"; then
2936 ac_cv_prog_CC="$CC" # Let the user override the test.
2937 else
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2939 for as_dir in $PATH
2940 do
2941 IFS=$as_save_IFS
2942 case $as_dir in #(((
2943 '') as_dir=./ ;;
2944 */) ;;
2945 *) as_dir=$as_dir/ ;;
2946 esac
2947 for ac_exec_ext in '' $ac_executable_extensions; do
2948 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2949 ac_cv_prog_CC="${ac_tool_prefix}clang"
2950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2951 break 2
2952 fi
2953 done
2954 done
2955 IFS=$as_save_IFS
2956
2957 fi ;;
2958 esac
2959 fi
2960 CC=$ac_cv_prog_CC
2961 if test -n "$CC"; then
2962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2963 printf "%s\n" "$CC" >&6; }
2964 else
2965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 printf "%s\n" "no" >&6; }
2967 fi
2968
2969
2970 fi
2971 if test -z "$ac_cv_prog_CC"; then
2972 ac_ct_CC=$CC
2973 # Extract the first word of "clang", so it can be a program name with args.
2974 set dummy clang; ac_word=$2
2975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2976 printf %s "checking for $ac_word... " >&6; }
2977 if test ${ac_cv_prog_ac_ct_CC+y}
2978 then :
2979 printf %s "(cached) " >&6
2980 else case e in #(
2981 e) if test -n "$ac_ct_CC"; then
2982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2983 else
2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2985 for as_dir in $PATH
2986 do
2987 IFS=$as_save_IFS
2988 case $as_dir in #(((
2989 '') as_dir=./ ;;
2990 */) ;;
2991 *) as_dir=$as_dir/ ;;
2992 esac
2993 for ac_exec_ext in '' $ac_executable_extensions; do
2994 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2995 ac_cv_prog_ac_ct_CC="clang"
2996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2997 break 2
2998 fi
2999 done
3000 done
3001 IFS=$as_save_IFS
3002
3003 fi ;;
3004 esac
3005 fi
3006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3007 if test -n "$ac_ct_CC"; then
3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3009 printf "%s\n" "$ac_ct_CC" >&6; }
3010 else
3011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 printf "%s\n" "no" >&6; }
3013 fi
3014
3015 if test "x$ac_ct_CC" = x; then
3016 CC=""
3017 else
3018 case $cross_compiling:$ac_tool_warned in
3019 yes:)
3020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3021 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3022 ac_tool_warned=yes ;;
3023 esac
3024 CC=$ac_ct_CC
3025 fi
3026 else
3027 CC="$ac_cv_prog_CC"
3028 fi
3029
3030 fi
3031
3032
3033 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3034 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3035 as_fn_error $? "no acceptable C compiler found in \$PATH
3036 See 'config.log' for more details" "$LINENO" 5; }
3037
3038 # Provide some information about the compiler.
3039 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3040 set X $ac_compile
3041 ac_compiler=$2
3042 for ac_option in --version -v -V -qversion -version; do
3043 { { ac_try="$ac_compiler $ac_option >&5"
3044 case "(($ac_try" in
3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3047 esac
3048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3049 printf "%s\n" "$ac_try_echo"; } >&5
3050 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3051 ac_status=$?
3052 if test -s conftest.err; then
3053 sed '10a\
3054 ... rest of stderr output deleted ...
3055 10q' conftest.err >conftest.er1
3056 cat conftest.er1 >&5
3057 fi
3058 rm -f conftest.er1 conftest.err
3059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; }
3061 done
3062
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3065
3066 int
3067 main (void)
3068 {
3069
3070 ;
3071 return 0;
3072 }
3073 _ACEOF
3074 ac_clean_files_save=$ac_clean_files
3075 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3076 # Try to create an executable without -o first, disregard a.out.
3077 # It will help us diagnose broken compilers, and finding out an intuition
3078 # of exeext.
3079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3080 printf %s "checking whether the C compiler works... " >&6; }
3081 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3082
3083 # The possible output files:
3084 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3085
3086 ac_rmfiles=
3087 for ac_file in $ac_files
3088 do
3089 case $ac_file in
3090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3091 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3092 esac
3093 done
3094 rm -f $ac_rmfiles
3095
3096 if { { ac_try="$ac_link_default"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 printf "%s\n" "$ac_try_echo"; } >&5
3103 (eval "$ac_link_default") 2>&5
3104 ac_status=$?
3105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }
3107 then :
3108 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
3109 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
3110 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3111 # so that the user can short-circuit this test for compilers unknown to
3112 # Autoconf.
3113 for ac_file in $ac_files ''
3114 do
3115 test -f "$ac_file" || continue
3116 case $ac_file in
3117 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3118 ;;
3119 [ab].out )
3120 # We found the default executable, but exeext='' is most
3121 # certainly right.
3122 break;;
3123 *.* )
3124 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3125 then :; else
3126 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3127 fi
3128 # We set ac_cv_exeext here because the later test for it is not
3129 # safe: cross compilers may not add the suffix if given an '-o'
3130 # argument, so we may need to know it at that point already.
3131 # Even if this section looks crufty: it has the advantage of
3132 # actually working.
3133 break;;
3134 * )
3135 break;;
3136 esac
3137 done
3138 test "$ac_cv_exeext" = no && ac_cv_exeext=
3139
3140 else case e in #(
3141 e) ac_file='' ;;
3142 esac
3143 fi
3144 if test -z "$ac_file"
3145 then :
3146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 printf "%s\n" "no" >&6; }
3148 printf "%s\n" "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3150
3151 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3152 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3153 as_fn_error 77 "C compiler cannot create executables
3154 See 'config.log' for more details" "$LINENO" 5; }
3155 else case e in #(
3156 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3157 printf "%s\n" "yes" >&6; } ;;
3158 esac
3159 fi
3160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3161 printf %s "checking for C compiler default output file name... " >&6; }
3162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3163 printf "%s\n" "$ac_file" >&6; }
3164 ac_exeext=$ac_cv_exeext
3165
3166 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3167 ac_clean_files=$ac_clean_files_save
3168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3169 printf %s "checking for suffix of executables... " >&6; }
3170 if { { ac_try="$ac_link"
3171 case "(($ac_try" in
3172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3173 *) ac_try_echo=$ac_try;;
3174 esac
3175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3176 printf "%s\n" "$ac_try_echo"; } >&5
3177 (eval "$ac_link") 2>&5
3178 ac_status=$?
3179 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3180 test $ac_status = 0; }
3181 then :
3182 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
3183 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
3184 # work properly (i.e., refer to 'conftest.exe'), while it won't with
3185 # 'rm'.
3186 for ac_file in conftest.exe conftest conftest.*; do
3187 test -f "$ac_file" || continue
3188 case $ac_file in
3189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3190 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3191 break;;
3192 * ) break;;
3193 esac
3194 done
3195 else case e in #(
3196 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3197 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3198 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3199 See 'config.log' for more details" "$LINENO" 5; } ;;
3200 esac
3201 fi
3202 rm -f conftest conftest$ac_cv_exeext
3203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3204 printf "%s\n" "$ac_cv_exeext" >&6; }
3205
3206 rm -f conftest.$ac_ext
3207 EXEEXT=$ac_cv_exeext
3208 ac_exeext=$EXEEXT
3209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3210 /* end confdefs.h. */
3211 #include <stdio.h>
3212 int
3213 main (void)
3214 {
3215 FILE *f = fopen ("conftest.out", "w");
3216 if (!f)
3217 return 1;
3218 return ferror (f) || fclose (f) != 0;
3219
3220 ;
3221 return 0;
3222 }
3223 _ACEOF
3224 ac_clean_files="$ac_clean_files conftest.out"
3225 # Check that the compiler produces executables we can run. If not, either
3226 # the compiler is broken, or we cross compile.
3227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3228 printf %s "checking whether we are cross compiling... " >&6; }
3229 if test "$cross_compiling" != yes; then
3230 { { ac_try="$ac_link"
3231 case "(($ac_try" in
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3234 esac
3235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236 printf "%s\n" "$ac_try_echo"; } >&5
3237 (eval "$ac_link") 2>&5
3238 ac_status=$?
3239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240 test $ac_status = 0; }
3241 if { ac_try='./conftest$ac_cv_exeext'
3242 { { case "(($ac_try" in
3243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3245 esac
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 printf "%s\n" "$ac_try_echo"; } >&5
3248 (eval "$ac_try") 2>&5
3249 ac_status=$?
3250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251 test $ac_status = 0; }; }; then
3252 cross_compiling=no
3253 else
3254 if test "$cross_compiling" = maybe; then
3255 cross_compiling=yes
3256 else
3257 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3258 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3259 as_fn_error 77 "cannot run C compiled programs.
3260 If you meant to cross compile, use '--host'.
3261 See 'config.log' for more details" "$LINENO" 5; }
3262 fi
3263 fi
3264 fi
3265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3266 printf "%s\n" "$cross_compiling" >&6; }
3267
3268 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
3269 conftest.o conftest.obj conftest.out
3270 ac_clean_files=$ac_clean_files_save
3271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3272 printf %s "checking for suffix of object files... " >&6; }
3273 if test ${ac_cv_objext+y}
3274 then :
3275 printf %s "(cached) " >&6
3276 else case e in #(
3277 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3279
3280 int
3281 main (void)
3282 {
3283
3284 ;
3285 return 0;
3286 }
3287 _ACEOF
3288 rm -f conftest.o conftest.obj
3289 if { { ac_try="$ac_compile"
3290 case "(($ac_try" in
3291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3292 *) ac_try_echo=$ac_try;;
3293 esac
3294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3295 printf "%s\n" "$ac_try_echo"; } >&5
3296 (eval "$ac_compile") 2>&5
3297 ac_status=$?
3298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3299 test $ac_status = 0; }
3300 then :
3301 for ac_file in conftest.o conftest.obj conftest.*; do
3302 test -f "$ac_file" || continue;
3303 case $ac_file in
3304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3305 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3306 break;;
3307 esac
3308 done
3309 else case e in #(
3310 e) printf "%s\n" "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3312
3313 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3314 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3315 as_fn_error $? "cannot compute suffix of object files: cannot compile
3316 See 'config.log' for more details" "$LINENO" 5; } ;;
3317 esac
3318 fi
3319 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
3320 esac
3321 fi
3322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3323 printf "%s\n" "$ac_cv_objext" >&6; }
3324 OBJEXT=$ac_cv_objext
3325 ac_objext=$OBJEXT
3326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3327 printf %s "checking whether the compiler supports GNU C... " >&6; }
3328 if test ${ac_cv_c_compiler_gnu+y}
3329 then :
3330 printf %s "(cached) " >&6
3331 else case e in #(
3332 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3333 /* end confdefs.h. */
3334
3335 int
3336 main (void)
3337 {
3338 #ifndef __GNUC__
3339 choke me
3340 #endif
3341
3342 ;
3343 return 0;
3344 }
3345 _ACEOF
3346 if ac_fn_c_try_compile "$LINENO"
3347 then :
3348 ac_compiler_gnu=yes
3349 else case e in #(
3350 e) ac_compiler_gnu=no ;;
3351 esac
3352 fi
3353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3354 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3355 ;;
3356 esac
3357 fi
3358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3359 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3361
3362 if test $ac_compiler_gnu = yes; then
3363 GCC=yes
3364 else
3365 GCC=
3366 fi
3367 ac_test_CFLAGS=${CFLAGS+y}
3368 ac_save_CFLAGS=$CFLAGS
3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3370 printf %s "checking whether $CC accepts -g... " >&6; }
3371 if test ${ac_cv_prog_cc_g+y}
3372 then :
3373 printf %s "(cached) " >&6
3374 else case e in #(
3375 e) ac_save_c_werror_flag=$ac_c_werror_flag
3376 ac_c_werror_flag=yes
3377 ac_cv_prog_cc_g=no
3378 CFLAGS="-g"
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3381
3382 int
3383 main (void)
3384 {
3385
3386 ;
3387 return 0;
3388 }
3389 _ACEOF
3390 if ac_fn_c_try_compile "$LINENO"
3391 then :
3392 ac_cv_prog_cc_g=yes
3393 else case e in #(
3394 e) CFLAGS=""
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3397
3398 int
3399 main (void)
3400 {
3401
3402 ;
3403 return 0;
3404 }
3405 _ACEOF
3406 if ac_fn_c_try_compile "$LINENO"
3407 then :
3408
3409 else case e in #(
3410 e) ac_c_werror_flag=$ac_save_c_werror_flag
3411 CFLAGS="-g"
3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413 /* end confdefs.h. */
3414
3415 int
3416 main (void)
3417 {
3418
3419 ;
3420 return 0;
3421 }
3422 _ACEOF
3423 if ac_fn_c_try_compile "$LINENO"
3424 then :
3425 ac_cv_prog_cc_g=yes
3426 fi
3427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
3428 esac
3429 fi
3430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
3431 esac
3432 fi
3433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3434 ac_c_werror_flag=$ac_save_c_werror_flag ;;
3435 esac
3436 fi
3437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3438 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3439 if test $ac_test_CFLAGS; then
3440 CFLAGS=$ac_save_CFLAGS
3441 elif test $ac_cv_prog_cc_g = yes; then
3442 if test "$GCC" = yes; then
3443 CFLAGS="-g -O2"
3444 else
3445 CFLAGS="-g"
3446 fi
3447 else
3448 if test "$GCC" = yes; then
3449 CFLAGS="-O2"
3450 else
3451 CFLAGS=
3452 fi
3453 fi
3454 ac_prog_cc_stdc=no
3455 if test x$ac_prog_cc_stdc = xno
3456 then :
3457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3458 printf %s "checking for $CC option to enable C11 features... " >&6; }
3459 if test ${ac_cv_prog_cc_c11+y}
3460 then :
3461 printf %s "(cached) " >&6
3462 else case e in #(
3463 e) ac_cv_prog_cc_c11=no
3464 ac_save_CC=$CC
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3467 $ac_c_conftest_c11_program
3468 _ACEOF
3469 for ac_arg in '' -std=gnu11
3470 do
3471 CC="$ac_save_CC $ac_arg"
3472 if ac_fn_c_try_compile "$LINENO"
3473 then :
3474 ac_cv_prog_cc_c11=$ac_arg
3475 fi
3476 rm -f core conftest.err conftest.$ac_objext conftest.beam
3477 test "x$ac_cv_prog_cc_c11" != "xno" && break
3478 done
3479 rm -f conftest.$ac_ext
3480 CC=$ac_save_CC ;;
3481 esac
3482 fi
3483
3484 if test "x$ac_cv_prog_cc_c11" = xno
3485 then :
3486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3487 printf "%s\n" "unsupported" >&6; }
3488 else case e in #(
3489 e) if test "x$ac_cv_prog_cc_c11" = x
3490 then :
3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3492 printf "%s\n" "none needed" >&6; }
3493 else case e in #(
3494 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3495 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3496 CC="$CC $ac_cv_prog_cc_c11" ;;
3497 esac
3498 fi
3499 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3500 ac_prog_cc_stdc=c11 ;;
3501 esac
3502 fi
3503 fi
3504 if test x$ac_prog_cc_stdc = xno
3505 then :
3506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3507 printf %s "checking for $CC option to enable C99 features... " >&6; }
3508 if test ${ac_cv_prog_cc_c99+y}
3509 then :
3510 printf %s "(cached) " >&6
3511 else case e in #(
3512 e) ac_cv_prog_cc_c99=no
3513 ac_save_CC=$CC
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3516 $ac_c_conftest_c99_program
3517 _ACEOF
3518 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3519 do
3520 CC="$ac_save_CC $ac_arg"
3521 if ac_fn_c_try_compile "$LINENO"
3522 then :
3523 ac_cv_prog_cc_c99=$ac_arg
3524 fi
3525 rm -f core conftest.err conftest.$ac_objext conftest.beam
3526 test "x$ac_cv_prog_cc_c99" != "xno" && break
3527 done
3528 rm -f conftest.$ac_ext
3529 CC=$ac_save_CC ;;
3530 esac
3531 fi
3532
3533 if test "x$ac_cv_prog_cc_c99" = xno
3534 then :
3535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3536 printf "%s\n" "unsupported" >&6; }
3537 else case e in #(
3538 e) if test "x$ac_cv_prog_cc_c99" = x
3539 then :
3540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3541 printf "%s\n" "none needed" >&6; }
3542 else case e in #(
3543 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3544 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3545 CC="$CC $ac_cv_prog_cc_c99" ;;
3546 esac
3547 fi
3548 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3549 ac_prog_cc_stdc=c99 ;;
3550 esac
3551 fi
3552 fi
3553 if test x$ac_prog_cc_stdc = xno
3554 then :
3555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3556 printf %s "checking for $CC option to enable C89 features... " >&6; }
3557 if test ${ac_cv_prog_cc_c89+y}
3558 then :
3559 printf %s "(cached) " >&6
3560 else case e in #(
3561 e) ac_cv_prog_cc_c89=no
3562 ac_save_CC=$CC
3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3565 $ac_c_conftest_c89_program
3566 _ACEOF
3567 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3568 do
3569 CC="$ac_save_CC $ac_arg"
3570 if ac_fn_c_try_compile "$LINENO"
3571 then :
3572 ac_cv_prog_cc_c89=$ac_arg
3573 fi
3574 rm -f core conftest.err conftest.$ac_objext conftest.beam
3575 test "x$ac_cv_prog_cc_c89" != "xno" && break
3576 done
3577 rm -f conftest.$ac_ext
3578 CC=$ac_save_CC ;;
3579 esac
3580 fi
3581
3582 if test "x$ac_cv_prog_cc_c89" = xno
3583 then :
3584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3585 printf "%s\n" "unsupported" >&6; }
3586 else case e in #(
3587 e) if test "x$ac_cv_prog_cc_c89" = x
3588 then :
3589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3590 printf "%s\n" "none needed" >&6; }
3591 else case e in #(
3592 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3593 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3594 CC="$CC $ac_cv_prog_cc_c89" ;;
3595 esac
3596 fi
3597 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3598 ac_prog_cc_stdc=c89 ;;
3599 esac
3600 fi
3601 fi
3602
3603 ac_ext=c
3604 ac_cpp='$CPP $CPPFLAGS'
3605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3608
3609
3610 ac_ext=c
3611 ac_cpp='$CPP $CPPFLAGS'
3612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3616 printf %s "checking whether $CC understands -c and -o together... " >&6; }
3617 if test ${am_cv_prog_cc_c_o+y}
3618 then :
3619 printf %s "(cached) " >&6
3620 else case e in #(
3621 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622 /* end confdefs.h. */
3623
3624 int
3625 main (void)
3626 {
3627
3628 ;
3629 return 0;
3630 }
3631 _ACEOF
3632 # Make sure it works both with $CC and with simple cc.
3633 # Following AC_PROG_CC_C_O, we do the test twice because some
3634 # compilers refuse to overwrite an existing .o file with -o,
3635 # though they will create one.
3636 am_cv_prog_cc_c_o=yes
3637 for am_i in 1 2; do
3638 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3639 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3640 ac_status=$?
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } \
3643 && test -f conftest2.$ac_objext; then
3644 : OK
3645 else
3646 am_cv_prog_cc_c_o=no
3647 break
3648 fi
3649 done
3650 rm -f core conftest*
3651 unset am_i ;;
3652 esac
3653 fi
3654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3655 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
3656 if test "$am_cv_prog_cc_c_o" != yes; then
3657 # Losing compiler, so override with the script.
3658 # FIXME: It is wrong to rewrite CC.
3659 # But if we don't then we get into trouble of one sort or another.
3660 # A longer-term fix would be to have automake use am__CC in this case,
3661 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3662 CC="$am_aux_dir/compile $CC"
3663 fi
3664 ac_ext=c
3665 ac_cpp='$CPP $CPPFLAGS'
3666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3669
3670
3671
3672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler is clang" >&5
3673 printf %s "checking whether the compiler is clang... " >&6; }
3674 if test ${gl_cv_compiler_clang+y}
3675 then :
3676 printf %s "(cached) " >&6
3677 else case e in #(
3678 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3679 /* end confdefs.h. */
3680
3681 #ifdef __clang__
3682 barfbarf
3683 #endif
3684
3685 int
3686 main (void)
3687 {
3688
3689 ;
3690 return 0;
3691 }
3692
3693 _ACEOF
3694 if ac_fn_c_try_compile "$LINENO"
3695 then :
3696 gl_cv_compiler_clang=no
3697 else case e in #(
3698 e) gl_cv_compiler_clang=yes ;;
3699 esac
3700 fi
3701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3702 ;;
3703 esac
3704 fi
3705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compiler_clang" >&5
3706 printf "%s\n" "$gl_cv_compiler_clang" >&6; }
3707
3708
3709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for compiler option needed when checking for declarations" >&5
3710 printf %s "checking for compiler option needed when checking for declarations... " >&6; }
3711 if test ${gl_cv_compiler_check_decl_option+y}
3712 then :
3713 printf %s "(cached) " >&6
3714 else case e in #(
3715 e) if test $gl_cv_compiler_clang = yes; then
3716 saved_ac_compile="$ac_compile"
3717 ac_compile="$ac_compile -Werror=implicit-function-declaration"
3718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3719 /* end confdefs.h. */
3720
3721 int
3722 main (void)
3723 {
3724
3725 ;
3726 return 0;
3727 }
3728 _ACEOF
3729 if ac_fn_c_try_compile "$LINENO"
3730 then :
3731 gl_cv_compiler_check_decl_option='-Werror=implicit-function-declaration'
3732 else case e in #(
3733 e) gl_cv_compiler_check_decl_option=none ;;
3734 esac
3735 fi
3736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3737 ac_compile="$saved_ac_compile"
3738 else
3739 gl_cv_compiler_check_decl_option=none
3740 fi
3741 ;;
3742 esac
3743 fi
3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_compiler_check_decl_option" >&5
3745 printf "%s\n" "$gl_cv_compiler_check_decl_option" >&6; }
3746 if test "x$gl_cv_compiler_check_decl_option" != xnone; then
3747 ac_compile_for_check_decl="$ac_compile $gl_cv_compiler_check_decl_option"
3748 else
3749 ac_compile_for_check_decl="$ac_compile"
3750 fi
3751
3752
3753 ac_ext=c
3754 ac_cpp='$CPP $CPPFLAGS'
3755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3759 printf %s "checking how to run the C preprocessor... " >&6; }
3760 # On Suns, sometimes $CPP names a directory.
3761 if test -n "$CPP" && test -d "$CPP"; then
3762 CPP=
3763 fi
3764 if test -z "$CPP"; then
3765 if test ${ac_cv_prog_CPP+y}
3766 then :
3767 printf %s "(cached) " >&6
3768 else case e in #(
3769 e) # Double quotes because $CC needs to be expanded
3770 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
3771 do
3772 ac_preproc_ok=false
3773 for ac_c_preproc_warn_flag in '' yes
3774 do
3775 # Use a header file that comes with gcc, so configuring glibc
3776 # with a fresh cross-compiler works.
3777 # On the NeXT, cc -E runs the code through the compiler's parser,
3778 # not just through cpp. "Syntax error" is here to catch this case.
3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3781 #include <limits.h>
3782 Syntax error
3783 _ACEOF
3784 if ac_fn_c_try_cpp "$LINENO"
3785 then :
3786
3787 else case e in #(
3788 e) # Broken: fails on valid input.
3789 continue ;;
3790 esac
3791 fi
3792 rm -f conftest.err conftest.i conftest.$ac_ext
3793
3794 # OK, works on sane cases. Now check whether nonexistent headers
3795 # can be detected and how.
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3798 #include <ac_nonexistent.h>
3799 _ACEOF
3800 if ac_fn_c_try_cpp "$LINENO"
3801 then :
3802 # Broken: success on invalid input.
3803 continue
3804 else case e in #(
3805 e) # Passes both tests.
3806 ac_preproc_ok=:
3807 break ;;
3808 esac
3809 fi
3810 rm -f conftest.err conftest.i conftest.$ac_ext
3811
3812 done
3813 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3814 rm -f conftest.i conftest.err conftest.$ac_ext
3815 if $ac_preproc_ok
3816 then :
3817 break
3818 fi
3819
3820 done
3821 ac_cv_prog_CPP=$CPP
3822 ;;
3823 esac
3824 fi
3825 CPP=$ac_cv_prog_CPP
3826 else
3827 ac_cv_prog_CPP=$CPP
3828 fi
3829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3830 printf "%s\n" "$CPP" >&6; }
3831 ac_preproc_ok=false
3832 for ac_c_preproc_warn_flag in '' yes
3833 do
3834 # Use a header file that comes with gcc, so configuring glibc
3835 # with a fresh cross-compiler works.
3836 # On the NeXT, cc -E runs the code through the compiler's parser,
3837 # not just through cpp. "Syntax error" is here to catch this case.
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3840 #include <limits.h>
3841 Syntax error
3842 _ACEOF
3843 if ac_fn_c_try_cpp "$LINENO"
3844 then :
3845
3846 else case e in #(
3847 e) # Broken: fails on valid input.
3848 continue ;;
3849 esac
3850 fi
3851 rm -f conftest.err conftest.i conftest.$ac_ext
3852
3853 # OK, works on sane cases. Now check whether nonexistent headers
3854 # can be detected and how.
3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h. */
3857 #include <ac_nonexistent.h>
3858 _ACEOF
3859 if ac_fn_c_try_cpp "$LINENO"
3860 then :
3861 # Broken: success on invalid input.
3862 continue
3863 else case e in #(
3864 e) # Passes both tests.
3865 ac_preproc_ok=:
3866 break ;;
3867 esac
3868 fi
3869 rm -f conftest.err conftest.i conftest.$ac_ext
3870
3871 done
3872 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3873 rm -f conftest.i conftest.err conftest.$ac_ext
3874 if $ac_preproc_ok
3875 then :
3876
3877 else case e in #(
3878 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3879 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3880 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3881 See 'config.log' for more details" "$LINENO" 5; } ;;
3882 esac
3883 fi
3884
3885 ac_ext=c
3886 ac_cpp='$CPP $CPPFLAGS'
3887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3890
3891
3892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to make hard links" >&5
3893 printf %s "checking how to make hard links... " >&6; }
3894 if test ${cl_cv_prog_LN+y}
3895 then :
3896 printf %s "(cached) " >&6
3897 else case e in #(
3898 e) rm -f conftestdata conftestfile
3899 echo data > conftestfile
3900 if ln conftestfile conftestdata 2>/dev/null; then
3901 cl_cv_prog_LN=ln
3902 else
3903 cl_cv_prog_LN="cp -p"
3904 fi
3905 rm -f conftestdata conftestfile
3906 ;;
3907 esac
3908 fi
3909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN" >&5
3910 printf "%s\n" "$cl_cv_prog_LN" >&6; }
3911 LN="$cl_cv_prog_LN"
3912
3913
3914
3915
3916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3917 printf %s "checking whether ln -s works... " >&6; }
3918 if test ${cl_cv_prog_LN_S_works+y}
3919 then :
3920 printf %s "(cached) " >&6
3921 else case e in #(
3922 e) rm -f conftestdata
3923 if ln -s X conftestdata 2>/dev/null; then
3924 cl_cv_prog_LN_S_works=yes
3925 else
3926 cl_cv_prog_LN_S_works=no
3927 fi
3928 rm -f conftestdata
3929 ;;
3930 esac
3931 fi
3932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN_S_works" >&5
3933 printf "%s\n" "$cl_cv_prog_LN_S_works" >&6; }
3934 if test $cl_cv_prog_LN_S_works = yes; then
3935 LN_S="ln -s"
3936 else
3937 LN_S="$cl_cv_prog_LN"
3938 fi
3939
3940
3941
3942 ac_header= ac_cache=
3943 for ac_item in $ac_header_c_list
3944 do
3945 if test $ac_cache; then
3946 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3947 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3948 printf "%s\n" "#define $ac_item 1" >> confdefs.h
3949 fi
3950 ac_header= ac_cache=
3951 elif test $ac_header; then
3952 ac_cache=$ac_item
3953 else
3954 ac_header=$ac_item
3955 fi
3956 done
3957
3958
3959
3960
3961
3962
3963
3964
3965 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3966 then :
3967
3968 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3969
3970 fi
3971
3972
3973
3974
3975
3976
3977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3978 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3979 if test ${ac_cv_safe_to_define___extensions__+y}
3980 then :
3981 printf %s "(cached) " >&6
3982 else case e in #(
3983 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3985
3986 # define __EXTENSIONS__ 1
3987 $ac_includes_default
3988 int
3989 main (void)
3990 {
3991
3992 ;
3993 return 0;
3994 }
3995 _ACEOF
3996 if ac_fn_c_try_compile "$LINENO"
3997 then :
3998 ac_cv_safe_to_define___extensions__=yes
3999 else case e in #(
4000 e) ac_cv_safe_to_define___extensions__=no ;;
4001 esac
4002 fi
4003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4004 esac
4005 fi
4006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4007 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4008
4009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4010 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4011 if test ${ac_cv_should_define__xopen_source+y}
4012 then :
4013 printf %s "(cached) " >&6
4014 else case e in #(
4015 e) ac_cv_should_define__xopen_source=no
4016 if test $ac_cv_header_wchar_h = yes
4017 then :
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4020
4021 #include <wchar.h>
4022 mbstate_t x;
4023 int
4024 main (void)
4025 {
4026
4027 ;
4028 return 0;
4029 }
4030 _ACEOF
4031 if ac_fn_c_try_compile "$LINENO"
4032 then :
4033
4034 else case e in #(
4035 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4036 /* end confdefs.h. */
4037
4038 #define _XOPEN_SOURCE 500
4039 #include <wchar.h>
4040 mbstate_t x;
4041 int
4042 main (void)
4043 {
4044
4045 ;
4046 return 0;
4047 }
4048 _ACEOF
4049 if ac_fn_c_try_compile "$LINENO"
4050 then :
4051 ac_cv_should_define__xopen_source=yes
4052 fi
4053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4054 esac
4055 fi
4056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4057 fi ;;
4058 esac
4059 fi
4060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4061 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4062
4063 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4064
4065 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4066
4067 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4068
4069 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4070
4071 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4072
4073 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4074
4075 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4076
4077 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4078
4079 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4080
4081 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4082
4083 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
4084
4085 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4086
4087 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4088
4089 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4090
4091 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4092
4093 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
4094
4095 if test $ac_cv_header_minix_config_h = yes
4096 then :
4097 MINIX=yes
4098 printf "%s\n" "#define _MINIX 1" >>confdefs.h
4099
4100 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
4101
4102 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
4103
4104 else case e in #(
4105 e) MINIX= ;;
4106 esac
4107 fi
4108 if test $ac_cv_safe_to_define___extensions__ = yes
4109 then :
4110 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
4111
4112 fi
4113 if test $ac_cv_should_define__xopen_source = yes
4114 then :
4115 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
4116
4117 fi
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dirkey (Headers)${term_norm}" >&5
4130 printf "%s\n" "$as_me: ${term_bold}** Dirkey (Headers)${term_norm}" >&6;}
4131
4132 ac_fn_c_check_header_compile "$LINENO" "lber.h" "ac_cv_header_lber_h" "#if HAVE_LBER_H
4133 # include <lber.h>
4134 #endif
4135
4136 "
4137 if test "x$ac_cv_header_lber_h" = xyes
4138 then :
4139 printf "%s\n" "#define HAVE_LBER_H 1" >>confdefs.h
4140
4141 fi
4142 ac_fn_c_check_header_compile "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "#if HAVE_LBER_H
4143 # include <lber.h>
4144 #endif
4145
4146 "
4147 if test "x$ac_cv_header_ldap_h" = xyes
4148 then :
4149 printf "%s\n" "#define HAVE_LDAP_H 1" >>confdefs.h
4150
4151 fi
4152 ac_fn_c_check_header_compile "$LINENO" "gnome.h" "ac_cv_header_gnome_h" "#if HAVE_LBER_H
4153 # include <lber.h>
4154 #endif
4155
4156 "
4157 if test "x$ac_cv_header_gnome_h" = xyes
4158 then :
4159 printf "%s\n" "#define HAVE_GNOME_H 1" >>confdefs.h
4160
4161 fi
4162
4163
4164
4165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dirkey (Output)${term_norm}" >&5
4166 printf "%s\n" "$as_me: ${term_bold}** Dirkey (Output)${term_norm}" >&6;}
4167
4168 ac_config_files="$ac_config_files Makefile link.sh"
4169
4170 cat >confcache <<\_ACEOF
4171 # This file is a shell script that caches the results of configure
4172 # tests run on this system so they can be shared between configure
4173 # scripts and configure runs, see configure's option --config-cache.
4174 # It is not useful on other systems. If it contains results you don't
4175 # want to keep, you may remove or edit it.
4176 #
4177 # config.status only pays attention to the cache file if you give it
4178 # the --recheck option to rerun configure.
4179 #
4180 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
4181 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
4182 # following values.
4183
4184 _ACEOF
4185
4186 # The following way of writing the cache mishandles newlines in values,
4187 # but we know of no workaround that is simple, portable, and efficient.
4188 # So, we kill variables containing newlines.
4189 # Ultrix sh set writes to stderr and can't be redirected directly,
4190 # and sets the high bit in the cache file unless we assign to the vars.
4191 (
4192 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4193 eval ac_val=\$$ac_var
4194 case $ac_val in #(
4195 *${as_nl}*)
4196 case $ac_var in #(
4197 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4198 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4199 esac
4200 case $ac_var in #(
4201 _ | IFS | as_nl) ;; #(
4202 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4203 *) { eval $ac_var=; unset $ac_var;} ;;
4204 esac ;;
4205 esac
4206 done
4207
4208 (set) 2>&1 |
4209 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4210 *${as_nl}ac_space=\ *)
4211 # 'set' does not quote correctly, so add quotes: double-quote
4212 # substitution turns \\\\ into \\, and sed turns \\ into \.
4213 sed -n \
4214 "s/'/'\\\\''/g;
4215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4216 ;; #(
4217 *)
4218 # 'set' quotes correctly as required by POSIX, so do not add quotes.
4219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4220 ;;
4221 esac |
4222 sort
4223 ) |
4224 sed '
4225 /^ac_cv_env_/b end
4226 t clear
4227 :clear
4228 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4229 t end
4230 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4231 :end' >>confcache
4232 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4233 if test -w "$cache_file"; then
4234 if test "x$cache_file" != "x/dev/null"; then
4235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4236 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4237 if test ! -f "$cache_file" || test -h "$cache_file"; then
4238 cat confcache >"$cache_file"
4239 else
4240 case $cache_file in #(
4241 */* | ?:*)
4242 mv -f confcache "$cache_file"$$ &&
4243 mv -f "$cache_file"$$ "$cache_file" ;; #(
4244 *)
4245 mv -f confcache "$cache_file" ;;
4246 esac
4247 fi
4248 fi
4249 else
4250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4251 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
4252 fi
4253 fi
4254 rm -f confcache
4255
4256 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4257 # Let make expand exec_prefix.
4258 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4259
4260 DEFS=-DHAVE_CONFIG_H
4261
4262 ac_libobjs=
4263 ac_ltlibobjs=
4264 U=
4265 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4266 # 1. Remove the extension, and $U if already installed.
4267 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4268 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
4269 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4270 # will be set to the directory where LIBOBJS objects are built.
4271 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4272 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4273 done
4274 LIBOBJS=$ac_libobjs
4275
4276 LTLIBOBJS=$ac_ltlibobjs
4277
4278
4279
4280 : "${CONFIG_STATUS=./config.status}"
4281 ac_write_fail=0
4282 ac_clean_files_save=$ac_clean_files
4283 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4285 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
4286 as_write_fail=0
4287 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4288 #! $SHELL
4289 # Generated by $as_me.
4290 # Run this file to recreate the current configuration.
4291 # Compiler output produced by configure, useful for debugging
4292 # configure, is in config.log if it exists.
4293
4294 debug=false
4295 ac_cs_recheck=false
4296 ac_cs_silent=false
4297
4298 SHELL=\${CONFIG_SHELL-$SHELL}
4299 export SHELL
4300 _ASEOF
4301 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4302 ## -------------------- ##
4303 ## M4sh Initialization. ##
4304 ## -------------------- ##
4305
4306 # Be more Bourne compatible
4307 DUALCASE=1; export DUALCASE # for MKS sh
4308 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
4309 then :
4310 emulate sh
4311 NULLCMD=:
4312 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4313 # is contrary to our usage. Disable this feature.
4314 alias -g '${1+"$@"}'='"$@"'
4315 setopt NO_GLOB_SUBST
4316 else case e in #(
4317 e) case `(set -o) 2>/dev/null` in #(
4318 *posix*) :
4319 set -o posix ;; #(
4320 *) :
4321 ;;
4322 esac ;;
4323 esac
4324 fi
4325
4326
4327
4328 # Reset variables that may have inherited troublesome values from
4329 # the environment.
4330
4331 # IFS needs to be set, to space, tab, and newline, in precisely that order.
4332 # (If _AS_PATH_WALK were called with IFS unset, it would have the
4333 # side effect of setting IFS to empty, thus disabling word splitting.)
4334 # Quoting is to prevent editors from complaining about space-tab.
4335 as_nl='
4336 '
4337 export as_nl
4338 IFS=" "" $as_nl"
4339
4340 PS1='$ '
4341 PS2='> '
4342 PS4='+ '
4343
4344 # Ensure predictable behavior from utilities with locale-dependent output.
4345 LC_ALL=C
4346 export LC_ALL
4347 LANGUAGE=C
4348 export LANGUAGE
4349
4350 # We cannot yet rely on "unset" to work, but we need these variables
4351 # to be unset--not just set to an empty or harmless value--now, to
4352 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
4353 # also avoids known problems related to "unset" and subshell syntax
4354 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
4355 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
4356 do eval test \${$as_var+y} \
4357 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4358 done
4359
4360 # Ensure that fds 0, 1, and 2 are open.
4361 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
4362 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
4363 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
4364
4365 # The user is always right.
4366 if ${PATH_SEPARATOR+false} :; then
4367 PATH_SEPARATOR=:
4368 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4369 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4370 PATH_SEPARATOR=';'
4371 }
4372 fi
4373
4374
4375 # Find who we are. Look in the path if we contain no directory separator.
4376 as_myself=
4377 case $0 in #((
4378 *[\\/]* ) as_myself=$0 ;;
4379 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH
4381 do
4382 IFS=$as_save_IFS
4383 case $as_dir in #(((
4384 '') as_dir=./ ;;
4385 */) ;;
4386 *) as_dir=$as_dir/ ;;
4387 esac
4388 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
4389 done
4390 IFS=$as_save_IFS
4391
4392 ;;
4393 esac
4394 # We did not find ourselves, most probably we were run as 'sh COMMAND'
4395 # in which case we are not to be found in the path.
4396 if test "x$as_myself" = x; then
4397 as_myself=$0
4398 fi
4399 if test ! -f "$as_myself"; then
4400 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4401 exit 1
4402 fi
4403
4404
4405
4406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4407 # ----------------------------------------
4408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4410 # script with STATUS, using 1 if that was 0.
4411 as_fn_error ()
4412 {
4413 as_status=$1; test $as_status -eq 0 && as_status=1
4414 if test "$4"; then
4415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4417 fi
4418 printf "%s\n" "$as_me: error: $2" >&2
4419 as_fn_exit $as_status
4420 } # as_fn_error
4421
4422
4423 # as_fn_set_status STATUS
4424 # -----------------------
4425 # Set $? to STATUS, without forking.
4426 as_fn_set_status ()
4427 {
4428 return $1
4429 } # as_fn_set_status
4430
4431 # as_fn_exit STATUS
4432 # -----------------
4433 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4434 as_fn_exit ()
4435 {
4436 set +e
4437 as_fn_set_status $1
4438 exit $1
4439 } # as_fn_exit
4440
4441 # as_fn_unset VAR
4442 # ---------------
4443 # Portably unset VAR.
4444 as_fn_unset ()
4445 {
4446 { eval $1=; unset $1;}
4447 }
4448 as_unset=as_fn_unset
4449
4450 # as_fn_append VAR VALUE
4451 # ----------------------
4452 # Append the text in VALUE to the end of the definition contained in VAR. Take
4453 # advantage of any shell optimizations that allow amortized linear growth over
4454 # repeated appends, instead of the typical quadratic growth present in naive
4455 # implementations.
4456 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
4457 then :
4458 eval 'as_fn_append ()
4459 {
4460 eval $1+=\$2
4461 }'
4462 else case e in #(
4463 e) as_fn_append ()
4464 {
4465 eval $1=\$$1\$2
4466 } ;;
4467 esac
4468 fi # as_fn_append
4469
4470 # as_fn_arith ARG...
4471 # ------------------
4472 # Perform arithmetic evaluation on the ARGs, and store the result in the
4473 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4474 # must be portable across $(()) and expr.
4475 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4476 then :
4477 eval 'as_fn_arith ()
4478 {
4479 as_val=$(( $* ))
4480 }'
4481 else case e in #(
4482 e) as_fn_arith ()
4483 {
4484 as_val=`expr "$@" || test $? -eq 1`
4485 } ;;
4486 esac
4487 fi # as_fn_arith
4488
4489
4490 if expr a : '\(a\)' >/dev/null 2>&1 &&
4491 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4492 as_expr=expr
4493 else
4494 as_expr=false
4495 fi
4496
4497 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4498 as_basename=basename
4499 else
4500 as_basename=false
4501 fi
4502
4503 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4504 as_dirname=dirname
4505 else
4506 as_dirname=false
4507 fi
4508
4509 as_me=`$as_basename -- "$0" ||
4510 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4511 X"$0" : 'X\(//\)$' \| \
4512 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4513 printf "%s\n" X/"$0" |
4514 sed '/^.*\/\([^/][^/]*\)\/*$/{
4515 s//\1/
4516 q
4517 }
4518 /^X\/\(\/\/\)$/{
4519 s//\1/
4520 q
4521 }
4522 /^X\/\(\/\).*/{
4523 s//\1/
4524 q
4525 }
4526 s/.*/./; q'`
4527
4528 # Avoid depending upon Character Ranges.
4529 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4530 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4531 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4532 as_cr_digits='0123456789'
4533 as_cr_alnum=$as_cr_Letters$as_cr_digits
4534
4535
4536 # Determine whether it's possible to make 'echo' print without a newline.
4537 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
4538 # for compatibility with existing Makefiles.
4539 ECHO_C= ECHO_N= ECHO_T=
4540 case `echo -n x` in #(((((
4541 -n*)
4542 case `echo 'xy\c'` in
4543 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4544 xy) ECHO_C='\c';;
4545 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4546 ECHO_T=' ';;
4547 esac;;
4548 *)
4549 ECHO_N='-n';;
4550 esac
4551
4552 # For backward compatibility with old third-party macros, we provide
4553 # the shell variables $as_echo and $as_echo_n. New code should use
4554 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
4555 as_echo='printf %s\n'
4556 as_echo_n='printf %s'
4557
4558 rm -f conf$$ conf$$.exe conf$$.file
4559 if test -d conf$$.dir; then
4560 rm -f conf$$.dir/conf$$.file
4561 else
4562 rm -f conf$$.dir
4563 mkdir conf$$.dir 2>/dev/null
4564 fi
4565 if (echo >conf$$.file) 2>/dev/null; then
4566 if ln -s conf$$.file conf$$ 2>/dev/null; then
4567 as_ln_s='ln -s'
4568 # ... but there are two gotchas:
4569 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
4570 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
4571 # In both cases, we have to default to 'cp -pR'.
4572 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4573 as_ln_s='cp -pR'
4574 elif ln conf$$.file conf$$ 2>/dev/null; then
4575 as_ln_s=ln
4576 else
4577 as_ln_s='cp -pR'
4578 fi
4579 else
4580 as_ln_s='cp -pR'
4581 fi
4582 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4583 rmdir conf$$.dir 2>/dev/null
4584
4585
4586 # as_fn_mkdir_p
4587 # -------------
4588 # Create "$as_dir" as a directory, including parents if necessary.
4589 as_fn_mkdir_p ()
4590 {
4591
4592 case $as_dir in #(
4593 -*) as_dir=./$as_dir;;
4594 esac
4595 test -d "$as_dir" || eval $as_mkdir_p || {
4596 as_dirs=
4597 while :; do
4598 case $as_dir in #(
4599 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4600 *) as_qdir=$as_dir;;
4601 esac
4602 as_dirs="'$as_qdir' $as_dirs"
4603 as_dir=`$as_dirname -- "$as_dir" ||
4604 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4605 X"$as_dir" : 'X\(//\)[^/]' \| \
4606 X"$as_dir" : 'X\(//\)$' \| \
4607 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4608 printf "%s\n" X"$as_dir" |
4609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4610 s//\1/
4611 q
4612 }
4613 /^X\(\/\/\)[^/].*/{
4614 s//\1/
4615 q
4616 }
4617 /^X\(\/\/\)$/{
4618 s//\1/
4619 q
4620 }
4621 /^X\(\/\).*/{
4622 s//\1/
4623 q
4624 }
4625 s/.*/./; q'`
4626 test -d "$as_dir" && break
4627 done
4628 test -z "$as_dirs" || eval "mkdir $as_dirs"
4629 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4630
4631
4632 } # as_fn_mkdir_p
4633 if mkdir -p . 2>/dev/null; then
4634 as_mkdir_p='mkdir -p "$as_dir"'
4635 else
4636 test -d ./-p && rmdir ./-p
4637 as_mkdir_p=false
4638 fi
4639
4640
4641 # as_fn_executable_p FILE
4642 # -----------------------
4643 # Test if FILE is an executable regular file.
4644 as_fn_executable_p ()
4645 {
4646 test -f "$1" && test -x "$1"
4647 } # as_fn_executable_p
4648 as_test_x='test -x'
4649 as_executable_p=as_fn_executable_p
4650
4651 # Sed expression to map a string onto a valid CPP name.
4652 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4653 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
4654
4655 # Sed expression to map a string onto a valid variable name.
4656 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4657 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
4658
4659
4660 exec 6>&1
4661 ## ----------------------------------- ##
4662 ## Main body of $CONFIG_STATUS script. ##
4663 ## ----------------------------------- ##
4664 _ASEOF
4665 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4666
4667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4668 # Save the log message, to keep $0 and so on meaningful, and to
4669 # report actual input values of CONFIG_FILES etc. instead of their
4670 # values after options handling.
4671 ac_log="
4672 This file was extended by dirkey $as_me 1.0, which was
4673 generated by GNU Autoconf 2.72. Invocation command line was
4674
4675 CONFIG_FILES = $CONFIG_FILES
4676 CONFIG_HEADERS = $CONFIG_HEADERS
4677 CONFIG_LINKS = $CONFIG_LINKS
4678 CONFIG_COMMANDS = $CONFIG_COMMANDS
4679 $ $0 $@
4680
4681 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4682 "
4683
4684 _ACEOF
4685
4686 case $ac_config_files in *"
4687 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4688 esac
4689
4690 case $ac_config_headers in *"
4691 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4692 esac
4693
4694
4695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4696 # Files that config.status was made for.
4697 config_files="$ac_config_files"
4698 config_headers="$ac_config_headers"
4699
4700 _ACEOF
4701
4702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4703 ac_cs_usage="\
4704 '$as_me' instantiates files and other configuration actions
4705 from templates according to the current configuration. Unless the files
4706 and actions are specified as TAGs, all are instantiated by default.
4707
4708 Usage: $0 [OPTION]... [TAG]...
4709
4710 -h, --help print this help, then exit
4711 -V, --version print version number and configuration settings, then exit
4712 --config print configuration, then exit
4713 -q, --quiet, --silent
4714 do not print progress messages
4715 -d, --debug don't remove temporary files
4716 --recheck update $as_me by reconfiguring in the same conditions
4717 --file=FILE[:TEMPLATE]
4718 instantiate the configuration file FILE
4719 --header=FILE[:TEMPLATE]
4720 instantiate the configuration header FILE
4721
4722 Configuration files:
4723 $config_files
4724
4725 Configuration headers:
4726 $config_headers
4727
4728 Report bugs to <clisp-list>."
4729
4730 _ACEOF
4731 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
4732 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
4733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4734 ac_cs_config='$ac_cs_config_escaped'
4735 ac_cs_version="\\
4736 dirkey config.status 1.0
4737 configured by $0, generated by GNU Autoconf 2.72,
4738 with options \\"\$ac_cs_config\\"
4739
4740 Copyright (C) 2023 Free Software Foundation, Inc.
4741 This config.status script is free software; the Free Software Foundation
4742 gives unlimited permission to copy, distribute and modify it."
4743
4744 ac_pwd='$ac_pwd'
4745 srcdir='$srcdir'
4746 test -n "\$AWK" || AWK=awk
4747 _ACEOF
4748
4749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4750 # The default lists apply if the user does not specify any file.
4751 ac_need_defaults=:
4752 while test $# != 0
4753 do
4754 case $1 in
4755 --*=?*)
4756 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4757 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4758 ac_shift=:
4759 ;;
4760 --*=)
4761 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4762 ac_optarg=
4763 ac_shift=:
4764 ;;
4765 *)
4766 ac_option=$1
4767 ac_optarg=$2
4768 ac_shift=shift
4769 ;;
4770 esac
4771
4772 case $ac_option in
4773 # Handling of the options.
4774 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4775 ac_cs_recheck=: ;;
4776 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4777 printf "%s\n" "$ac_cs_version"; exit ;;
4778 --config | --confi | --conf | --con | --co | --c )
4779 printf "%s\n" "$ac_cs_config"; exit ;;
4780 --debug | --debu | --deb | --de | --d | -d )
4781 debug=: ;;
4782 --file | --fil | --fi | --f )
4783 $ac_shift
4784 case $ac_optarg in
4785 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4786 '') as_fn_error $? "missing file argument" ;;
4787 esac
4788 as_fn_append CONFIG_FILES " '$ac_optarg'"
4789 ac_need_defaults=false;;
4790 --header | --heade | --head | --hea )
4791 $ac_shift
4792 case $ac_optarg in
4793 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4794 esac
4795 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4796 ac_need_defaults=false;;
4797 --he | --h)
4798 # Conflict between --help and --header
4799 as_fn_error $? "ambiguous option: '$1'
4800 Try '$0 --help' for more information.";;
4801 --help | --hel | -h )
4802 printf "%s\n" "$ac_cs_usage"; exit ;;
4803 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4804 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4805 ac_cs_silent=: ;;
4806
4807 # This is an error.
4808 -*) as_fn_error $? "unrecognized option: '$1'
4809 Try '$0 --help' for more information." ;;
4810
4811 *) as_fn_append ac_config_targets " $1"
4812 ac_need_defaults=false ;;
4813
4814 esac
4815 shift
4816 done
4817
4818 ac_configure_extra_args=
4819
4820 if $ac_cs_silent; then
4821 exec 6>/dev/null
4822 ac_configure_extra_args="$ac_configure_extra_args --silent"
4823 fi
4824
4825 _ACEOF
4826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4827 if \$ac_cs_recheck; then
4828 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4829 shift
4830 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
4831 CONFIG_SHELL='$SHELL'
4832 export CONFIG_SHELL
4833 exec "\$@"
4834 fi
4835
4836 _ACEOF
4837 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4838 exec 5>>config.log
4839 {
4840 echo
4841 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4842 ## Running $as_me. ##
4843 _ASBOX
4844 printf "%s\n" "$ac_log"
4845 } >&5
4846
4847 _ACEOF
4848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4849 _ACEOF
4850
4851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4852
4853 # Handling of arguments.
4854 for ac_config_target in $ac_config_targets
4855 do
4856 case $ac_config_target in
4857 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4858 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4859 "link.sh") CONFIG_FILES="$CONFIG_FILES link.sh" ;;
4860
4861 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
4862 esac
4863 done
4864
4865
4866 # If the user did not use the arguments to specify the items to instantiate,
4867 # then the envvar interface is used. Set only those that are not.
4868 # We use the long form for the default assignment because of an extremely
4869 # bizarre bug on SunOS 4.1.3.
4870 if $ac_need_defaults; then
4871 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4872 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
4873 fi
4874
4875 # Have a temporary directory for convenience. Make it in the build tree
4876 # simply because there is no reason against having it here, and in addition,
4877 # creating and moving files from /tmp can sometimes cause problems.
4878 # Hook for its removal unless debugging.
4879 # Note that there is a small window in which the directory will not be cleaned:
4880 # after its creation but before its name has been assigned to '$tmp'.
4881 $debug ||
4882 {
4883 tmp= ac_tmp=
4884 trap 'exit_status=$?
4885 : "${ac_tmp:=$tmp}"
4886 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4887 ' 0
4888 trap 'as_fn_exit 1' 1 2 13 15
4889 }
4890 # Create a (secure) tmp directory for tmp files.
4891
4892 {
4893 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4894 test -d "$tmp"
4895 } ||
4896 {
4897 tmp=./conf$$-$RANDOM
4898 (umask 077 && mkdir "$tmp")
4899 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4900 ac_tmp=$tmp
4901
4902 # Set up the scripts for CONFIG_FILES section.
4903 # No need to generate them if there are no CONFIG_FILES.
4904 # This happens for instance with './config.status config.h'.
4905 if test -n "$CONFIG_FILES"; then
4906
4907
4908 ac_cr=`echo X | tr X '\015'`
4909 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4910 # But we know of no other shell where ac_cr would be empty at this
4911 # point, so we can use a bashism as a fallback.
4912 if test "x$ac_cr" = x; then
4913 eval ac_cr=\$\'\\r\'
4914 fi
4915 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4916 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4917 ac_cs_awk_cr='\\r'
4918 else
4919 ac_cs_awk_cr=$ac_cr
4920 fi
4921
4922 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4923 _ACEOF
4924
4925
4926 {
4927 echo "cat >conf$$subs.awk <<_ACEOF" &&
4928 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4929 echo "_ACEOF"
4930 } >conf$$subs.sh ||
4931 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4932 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4933 ac_delim='%!_!# '
4934 for ac_last_try in false false false false false :; do
4935 . ./conf$$subs.sh ||
4936 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4937
4938 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4939 if test $ac_delim_n = $ac_delim_num; then
4940 break
4941 elif $ac_last_try; then
4942 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4943 else
4944 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4945 fi
4946 done
4947 rm -f conf$$subs.sh
4948
4949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4950 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4951 _ACEOF
4952 sed -n '
4953 h
4954 s/^/S["/; s/!.*/"]=/
4955 p
4956 g
4957 s/^[^!]*!//
4958 :repl
4959 t repl
4960 s/'"$ac_delim"'$//
4961 t delim
4962 :nl
4963 h
4964 s/\(.\{148\}\)..*/\1/
4965 t more1
4966 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4967 p
4968 n
4969 b repl
4970 :more1
4971 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4972 p
4973 g
4974 s/.\{148\}//
4975 t nl
4976 :delim
4977 h
4978 s/\(.\{148\}\)..*/\1/
4979 t more2
4980 s/["\\]/\\&/g; s/^/"/; s/$/"/
4981 p
4982 b
4983 :more2
4984 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4985 p
4986 g
4987 s/.\{148\}//
4988 t delim
4989 ' <conf$$subs.awk | sed '
4990 /^[^""]/{
4991 N
4992 s/\n//
4993 }
4994 ' >>$CONFIG_STATUS || ac_write_fail=1
4995 rm -f conf$$subs.awk
4996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4997 _ACAWK
4998 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4999 for (key in S) S_is_set[key] = 1
5000 FS = ""
5001
5002 }
5003 {
5004 line = $ 0
5005 nfields = split(line, field, "@")
5006 substed = 0
5007 len = length(field[1])
5008 for (i = 2; i < nfields; i++) {
5009 key = field[i]
5010 keylen = length(key)
5011 if (S_is_set[key]) {
5012 value = S[key]
5013 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5014 len += length(value) + length(field[++i])
5015 substed = 1
5016 } else
5017 len += 1 + keylen
5018 }
5019
5020 print line
5021 }
5022
5023 _ACAWK
5024 _ACEOF
5025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5026 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5027 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5028 else
5029 cat
5030 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5031 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5032 _ACEOF
5033
5034 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5035 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5036 # trailing colons and then remove the whole line if VPATH becomes empty
5037 # (actually we leave an empty line to preserve line numbers).
5038 if test "x$srcdir" = x.; then
5039 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5040 h
5041 s///
5042 s/^/:/
5043 s/[ ]*$/:/
5044 s/:\$(srcdir):/:/g
5045 s/:\${srcdir}:/:/g
5046 s/:@srcdir@:/:/g
5047 s/^:*//
5048 s/:*$//
5049 x
5050 s/\(=[ ]*\).*/\1/
5051 G
5052 s/\n//
5053 s/^[^=]*=[ ]*$//
5054 }'
5055 fi
5056
5057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5058 fi # test -n "$CONFIG_FILES"
5059
5060 # Set up the scripts for CONFIG_HEADERS section.
5061 # No need to generate them if there are no CONFIG_HEADERS.
5062 # This happens for instance with './config.status Makefile'.
5063 if test -n "$CONFIG_HEADERS"; then
5064 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5065 BEGIN {
5066 _ACEOF
5067
5068 # Transform confdefs.h into an awk script 'defines.awk', embedded as
5069 # here-document in config.status, that substitutes the proper values into
5070 # config.h.in to produce config.h.
5071
5072 # Create a delimiter string that does not exist in confdefs.h, to ease
5073 # handling of long lines.
5074 ac_delim='%!_!# '
5075 for ac_last_try in false false :; do
5076 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5077 if test -z "$ac_tt"; then
5078 break
5079 elif $ac_last_try; then
5080 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5081 else
5082 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5083 fi
5084 done
5085
5086 # For the awk script, D is an array of macro values keyed by name,
5087 # likewise P contains macro parameters if any. Preserve backslash
5088 # newline sequences.
5089
5090 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5091 sed -n '
5092 s/.\{148\}/&'"$ac_delim"'/g
5093 t rset
5094 :rset
5095 s/^[ ]*#[ ]*define[ ][ ]*/ /
5096 t def
5097 d
5098 :def
5099 s/\\$//
5100 t bsnl
5101 s/["\\]/\\&/g
5102 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5103 D["\1"]=" \3"/p
5104 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5105 d
5106 :bsnl
5107 s/["\\]/\\&/g
5108 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5109 D["\1"]=" \3\\\\\\n"\\/p
5110 t cont
5111 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5112 t cont
5113 d
5114 :cont
5115 n
5116 s/.\{148\}/&'"$ac_delim"'/g
5117 t clear
5118 :clear
5119 s/\\$//
5120 t bsnlc
5121 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5122 d
5123 :bsnlc
5124 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5125 b cont
5126 ' <confdefs.h | sed '
5127 s/'"$ac_delim"'/"\\\
5128 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5129
5130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5131 for (key in D) D_is_set[key] = 1
5132 FS = ""
5133 }
5134 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5135 line = \$ 0
5136 split(line, arg, " ")
5137 if (arg[1] == "#") {
5138 defundef = arg[2]
5139 mac1 = arg[3]
5140 } else {
5141 defundef = substr(arg[1], 2)
5142 mac1 = arg[2]
5143 }
5144 split(mac1, mac2, "(") #)
5145 macro = mac2[1]
5146 prefix = substr(line, 1, index(line, defundef) - 1)
5147 if (D_is_set[macro]) {
5148 # Preserve the white space surrounding the "#".
5149 print prefix "define", macro P[macro] D[macro]
5150 next
5151 } else {
5152 # Replace #undef with comments. This is necessary, for example,
5153 # in the case of _POSIX_SOURCE, which is predefined and required
5154 # on some systems where configure will not decide to define it.
5155 if (defundef == "undef") {
5156 print "/*", prefix defundef, macro, "*/"
5157 next
5158 }
5159 }
5160 }
5161 { print }
5162 _ACAWK
5163 _ACEOF
5164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5165 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5166 fi # test -n "$CONFIG_HEADERS"
5167
5168
5169 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5170 shift
5171 for ac_tag
5172 do
5173 case $ac_tag in
5174 :[FHLC]) ac_mode=$ac_tag; continue;;
5175 esac
5176 case $ac_mode$ac_tag in
5177 :[FHL]*:*);;
5178 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
5179 :[FH]-) ac_tag=-:-;;
5180 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5181 esac
5182 ac_save_IFS=$IFS
5183 IFS=:
5184 set x $ac_tag
5185 IFS=$ac_save_IFS
5186 shift
5187 ac_file=$1
5188 shift
5189
5190 case $ac_mode in
5191 :L) ac_source=$1;;
5192 :[FH])
5193 ac_file_inputs=
5194 for ac_f
5195 do
5196 case $ac_f in
5197 -) ac_f="$ac_tmp/stdin";;
5198 *) # Look for the file first in the build tree, then in the source tree
5199 # (if the path is not absolute). The absolute path cannot be DOS-style,
5200 # because $ac_f cannot contain ':'.
5201 test -f "$ac_f" ||
5202 case $ac_f in
5203 [\\/$]*) false;;
5204 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5205 esac ||
5206 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
5207 esac
5208 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5209 as_fn_append ac_file_inputs " '$ac_f'"
5210 done
5211
5212 # Let's still pretend it is 'configure' which instantiates (i.e., don't
5213 # use $as_me), people would be surprised to read:
5214 # /* config.h. Generated by config.status. */
5215 configure_input='Generated from '`
5216 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5217 `' by configure.'
5218 if test x"$ac_file" != x-; then
5219 configure_input="$ac_file. $configure_input"
5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5221 printf "%s\n" "$as_me: creating $ac_file" >&6;}
5222 fi
5223 # Neutralize special characters interpreted by sed in replacement strings.
5224 case $configure_input in #(
5225 *\&* | *\|* | *\\* )
5226 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
5227 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5228 *) ac_sed_conf_input=$configure_input;;
5229 esac
5230
5231 case $ac_tag in
5232 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5233 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5234 esac
5235 ;;
5236 esac
5237
5238 ac_dir=`$as_dirname -- "$ac_file" ||
5239 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5240 X"$ac_file" : 'X\(//\)[^/]' \| \
5241 X"$ac_file" : 'X\(//\)$' \| \
5242 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5243 printf "%s\n" X"$ac_file" |
5244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5245 s//\1/
5246 q
5247 }
5248 /^X\(\/\/\)[^/].*/{
5249 s//\1/
5250 q
5251 }
5252 /^X\(\/\/\)$/{
5253 s//\1/
5254 q
5255 }
5256 /^X\(\/\).*/{
5257 s//\1/
5258 q
5259 }
5260 s/.*/./; q'`
5261 as_dir="$ac_dir"; as_fn_mkdir_p
5262 ac_builddir=.
5263
5264 case "$ac_dir" in
5265 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5266 *)
5267 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
5268 # A ".." for each directory in $ac_dir_suffix.
5269 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5270 case $ac_top_builddir_sub in
5271 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5272 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5273 esac ;;
5274 esac
5275 ac_abs_top_builddir=$ac_pwd
5276 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5277 # for backward compatibility:
5278 ac_top_builddir=$ac_top_build_prefix
5279
5280 case $srcdir in
5281 .) # We are building in place.
5282 ac_srcdir=.
5283 ac_top_srcdir=$ac_top_builddir_sub
5284 ac_abs_top_srcdir=$ac_pwd ;;
5285 [\\/]* | ?:[\\/]* ) # Absolute name.
5286 ac_srcdir=$srcdir$ac_dir_suffix;
5287 ac_top_srcdir=$srcdir
5288 ac_abs_top_srcdir=$srcdir ;;
5289 *) # Relative name.
5290 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5291 ac_top_srcdir=$ac_top_build_prefix$srcdir
5292 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5293 esac
5294 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5295
5296
5297 case $ac_mode in
5298 :F)
5299 #
5300 # CONFIG_FILE
5301 #
5302
5303 _ACEOF
5304
5305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5306 # If the template does not know about datarootdir, expand it.
5307 # FIXME: This hack should be removed a few years after 2.60.
5308 ac_datarootdir_hack=; ac_datarootdir_seen=
5309 ac_sed_dataroot='
5310 /datarootdir/ {
5311 p
5312 q
5313 }
5314 /@datadir@/p
5315 /@docdir@/p
5316 /@infodir@/p
5317 /@localedir@/p
5318 /@mandir@/p'
5319 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5320 *datarootdir*) ac_datarootdir_seen=yes;;
5321 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5323 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5324 _ACEOF
5325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5326 ac_datarootdir_hack='
5327 s&@datadir@&$datadir&g
5328 s&@docdir@&$docdir&g
5329 s&@infodir@&$infodir&g
5330 s&@localedir@&$localedir&g
5331 s&@mandir@&$mandir&g
5332 s&\\\${datarootdir}&$datarootdir&g' ;;
5333 esac
5334 _ACEOF
5335
5336 # Neutralize VPATH when '$srcdir' = '.'.
5337 # Shell code in configure.ac might set extrasub.
5338 # FIXME: do we really want to maintain this feature?
5339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5340 ac_sed_extra="$ac_vpsub
5341 $extrasub
5342 _ACEOF
5343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5344 :t
5345 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5346 s|@configure_input@|$ac_sed_conf_input|;t t
5347 s&@top_builddir@&$ac_top_builddir_sub&;t t
5348 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5349 s&@srcdir@&$ac_srcdir&;t t
5350 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5351 s&@top_srcdir@&$ac_top_srcdir&;t t
5352 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5353 s&@builddir@&$ac_builddir&;t t
5354 s&@abs_builddir@&$ac_abs_builddir&;t t
5355 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5356 $ac_datarootdir_hack
5357 "
5358 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5359 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5360
5361 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5362 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5363 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5364 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
5366 which seems to be undefined. Please make sure it is defined" >&5
5367 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
5368 which seems to be undefined. Please make sure it is defined" >&2;}
5369
5370 rm -f "$ac_tmp/stdin"
5371 case $ac_file in
5372 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5373 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5374 esac \
5375 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5376 ;;
5377 :H)
5378 #
5379 # CONFIG_HEADER
5380 #
5381 if test x"$ac_file" != x-; then
5382 {
5383 printf "%s\n" "/* $configure_input */" >&1 \
5384 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5385 } >"$ac_tmp/config.h" \
5386 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5387 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5389 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
5390 else
5391 rm -f "$ac_file"
5392 mv "$ac_tmp/config.h" "$ac_file" \
5393 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5394 fi
5395 else
5396 printf "%s\n" "/* $configure_input */" >&1 \
5397 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5398 || as_fn_error $? "could not create -" "$LINENO" 5
5399 fi
5400 # Compute "$ac_file"'s index in $config_headers.
5401 _am_arg="$ac_file"
5402 _am_stamp_count=1
5403 for _am_header in $config_headers :; do
5404 case $_am_header in
5405 $_am_arg | $_am_arg:* )
5406 break ;;
5407 * )
5408 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5409 esac
5410 done
5411 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5412 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5413 X"$_am_arg" : 'X\(//\)[^/]' \| \
5414 X"$_am_arg" : 'X\(//\)$' \| \
5415 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5416 printf "%s\n" X"$_am_arg" |
5417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5418 s//\1/
5419 q
5420 }
5421 /^X\(\/\/\)[^/].*/{
5422 s//\1/
5423 q
5424 }
5425 /^X\(\/\/\)$/{
5426 s//\1/
5427 q
5428 }
5429 /^X\(\/\).*/{
5430 s//\1/
5431 q
5432 }
5433 s/.*/./; q'`/stamp-h$_am_stamp_count
5434 ;;
5435
5436
5437 esac
5438
5439 done # for ac_tag
5440
5441
5442 as_fn_exit 0
5443 _ACEOF
5444 ac_clean_files=$ac_clean_files_save
5445
5446 test $ac_write_fail = 0 ||
5447 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5448
5449
5450 # configure is writing to config.log, and then calls config.status.
5451 # config.status does its own redirection, appending to config.log.
5452 # Unfortunately, on DOS this fails, as config.log is still kept open
5453 # by configure, so config.status won't be able to write to it; its
5454 # output is simply discarded. So we exec the FD to /dev/null,
5455 # effectively closing config.log, so it can be properly (re)opened and
5456 # appended to by config.status. When coming back to configure, we
5457 # need to make the FD available again.
5458 if test "$no_create" != yes; then
5459 ac_cs_success=:
5460 ac_config_status_args=
5461 test "$silent" = yes &&
5462 ac_config_status_args="$ac_config_status_args --quiet"
5463 exec 5>/dev/null
5464 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5465 exec 5>>config.log
5466 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5467 # would make configure fail if this is the last instruction.
5468 $ac_cs_success || as_fn_exit 1
5469 fi
5470 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5472 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5473 fi
5474
5475
5476
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${term_bold}** Dirkey (Done)${term_norm}" >&5
5478 printf "%s\n" "$as_me: ${term_bold}** Dirkey (Done)${term_norm}" >&6;}
5479
5480