Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for guile-json 4.7.3.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 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 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
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="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
157 ;;
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 \$as_nop
176 exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
186 if (eval "$as_required") 2>/dev/null
187 then :
188 as_have_required=yes
189 else $as_nop
190 as_have_required=no
191 fi
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
193 then :
194
195 else $as_nop
196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197 as_found=false
198 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 do
200 IFS=$as_save_IFS
201 case $as_dir in #(((
202 '') as_dir=./ ;;
203 */) ;;
204 *) as_dir=$as_dir/ ;;
205 esac
206 as_found=:
207 case $as_dir in #(
208 /*)
209 for as_base in sh bash ksh sh5; do
210 # Try only shells that exist, to save several forks.
211 as_shell=$as_dir$as_base
212 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
213 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
214 then :
215 CONFIG_SHELL=$as_shell as_have_required=yes
216 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
217 then :
218 break 2
219 fi
220 fi
221 done;;
222 esac
223 as_found=false
224 done
225 IFS=$as_save_IFS
226 if $as_found
227 then :
228
229 else $as_nop
230 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
232 then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234 fi
235 fi
236
237
238 if test "x$CONFIG_SHELL" != x
239 then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260
261 if test x$as_have_required = xno
262 then :
263 printf "%s\n" "$0: This script requires a shell more modern than all"
264 printf "%s\n" "$0: the shells that I found on your system."
265 if test ${ZSH_VERSION+y} ; then
266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 printf "%s\n" "$0: Please tell [email protected] and
270 $0: [email protected] about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
274 fi
275 exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293 { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303 return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311 set +e
312 as_fn_set_status $1
313 exit $1
314 } # as_fn_exit
315 # as_fn_nop
316 # ---------
317 # Do nothing but, unlike ":", preserve the value of $?.
318 as_fn_nop ()
319 {
320 return $?
321 }
322 as_nop=as_fn_nop
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
330 case $as_dir in #(
331 -*) as_dir=./$as_dir;;
332 esac
333 test -d "$as_dir" || eval $as_mkdir_p || {
334 as_dirs=
335 while :; do
336 case $as_dir in #(
337 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 *) as_qdir=$as_dir;;
339 esac
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 printf "%s\n" X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)[^/].*/{
352 s//\1/
353 q
354 }
355 /^X\(\/\/\)$/{
356 s//\1/
357 q
358 }
359 /^X\(\/\).*/{
360 s//\1/
361 q
362 }
363 s/.*/./; q'`
364 test -d "$as_dir" && break
365 done
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
386 then :
387 eval 'as_fn_append ()
388 {
389 eval $1+=\$2
390 }'
391 else $as_nop
392 as_fn_append ()
393 {
394 eval $1=\$$1\$2
395 }
396 fi # as_fn_append
397
398 # as_fn_arith ARG...
399 # ------------------
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
404 then :
405 eval 'as_fn_arith ()
406 {
407 as_val=$(( $* ))
408 }'
409 else $as_nop
410 as_fn_arith ()
411 {
412 as_val=`expr "$@" || test $? -eq 1`
413 }
414 fi # as_fn_arith
415
416 # as_fn_nop
417 # ---------
418 # Do nothing but, unlike ":", preserve the value of $?.
419 as_fn_nop ()
420 {
421 return $?
422 }
423 as_nop=as_fn_nop
424
425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
426 # ----------------------------------------
427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
429 # script with STATUS, using 1 if that was 0.
430 as_fn_error ()
431 {
432 as_status=$1; test $as_status -eq 0 && as_status=1
433 if test "$4"; then
434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
436 fi
437 printf "%s\n" "$as_me: error: $2" >&2
438 as_fn_exit $as_status
439 } # as_fn_error
440
441 if expr a : '\(a\)' >/dev/null 2>&1 &&
442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
443 as_expr=expr
444 else
445 as_expr=false
446 fi
447
448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
449 as_basename=basename
450 else
451 as_basename=false
452 fi
453
454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
455 as_dirname=dirname
456 else
457 as_dirname=false
458 fi
459
460 as_me=`$as_basename -- "$0" ||
461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462 X"$0" : 'X\(//\)$' \| \
463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464 printf "%s\n" X/"$0" |
465 sed '/^.*\/\([^/][^/]*\)\/*$/{
466 s//\1/
467 q
468 }
469 /^X\/\(\/\/\)$/{
470 s//\1/
471 q
472 }
473 /^X\/\(\/\).*/{
474 s//\1/
475 q
476 }
477 s/.*/./; q'`
478
479 # Avoid depending upon Character Ranges.
480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
483 as_cr_digits='0123456789'
484 as_cr_alnum=$as_cr_Letters$as_cr_digits
485
486
487 as_lineno_1=$LINENO as_lineno_1a=$LINENO
488 as_lineno_2=$LINENO as_lineno_2a=$LINENO
489 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
490 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
491 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 sed -n '
493 p
494 /[$]LINENO/=
495 ' <$as_myself |
496 sed '
497 s/[$]LINENO.*/&-/
498 t lineno
499 b
500 :lineno
501 N
502 :loop
503 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
504 t loop
505 s/-\n.*//
506 ' >$as_me.lineno &&
507 chmod +x "$as_me.lineno" ||
508 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
509
510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
511 # already done that, so ensure we don't try to do so again and fall
512 # in an infinite loop. This has already happened in practice.
513 _as_can_reexec=no; export _as_can_reexec
514 # Don't try to exec as it changes $[0], causing all sort of problems
515 # (the dirname of $[0] is not the place where we might find the
516 # original and so on. Autoconf is especially sensitive to this).
517 . "./$as_me.lineno"
518 # Exit status is that of the last command.
519 exit
520 }
521
522
523 # Determine whether it's possible to make 'echo' print without a newline.
524 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525 # for compatibility with existing Makefiles.
526 ECHO_C= ECHO_N= ECHO_T=
527 case `echo -n x` in #(((((
528 -n*)
529 case `echo 'xy\c'` in
530 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
531 xy) ECHO_C='\c';;
532 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
533 ECHO_T=' ';;
534 esac;;
535 *)
536 ECHO_N='-n';;
537 esac
538
539 # For backward compatibility with old third-party macros, we provide
540 # the shell variables $as_echo and $as_echo_n. New code should use
541 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542 as_echo='printf %s\n'
543 as_echo_n='printf %s'
544
545
546 rm -f conf$$ conf$$.exe conf$$.file
547 if test -d conf$$.dir; then
548 rm -f conf$$.dir/conf$$.file
549 else
550 rm -f conf$$.dir
551 mkdir conf$$.dir 2>/dev/null
552 fi
553 if (echo >conf$$.file) 2>/dev/null; then
554 if ln -s conf$$.file conf$$ 2>/dev/null; then
555 as_ln_s='ln -s'
556 # ... but there are two gotchas:
557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
559 # In both cases, we have to default to `cp -pR'.
560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
561 as_ln_s='cp -pR'
562 elif ln conf$$.file conf$$ 2>/dev/null; then
563 as_ln_s=ln
564 else
565 as_ln_s='cp -pR'
566 fi
567 else
568 as_ln_s='cp -pR'
569 fi
570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 rmdir conf$$.dir 2>/dev/null
572
573 if mkdir -p . 2>/dev/null; then
574 as_mkdir_p='mkdir -p "$as_dir"'
575 else
576 test -d ./-p && rmdir ./-p
577 as_mkdir_p=false
578 fi
579
580 as_test_x='test -x'
581 as_executable_p=as_fn_executable_p
582
583 # Sed expression to map a string onto a valid CPP name.
584 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
585
586 # Sed expression to map a string onto a valid variable name.
587 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
588
589
590 test -n "$DJDIR" || exec 7<&0 </dev/null
591 exec 6>&1
592
593 # Name of the host.
594 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
595 # so uname gets run too.
596 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
597
598 #
599 # Initializations.
600 #
601 ac_default_prefix=/usr/local
602 ac_clean_files=
603 ac_config_libobj_dir=.
604 LIBOBJS=
605 cross_compiling=no
606 subdirs=
607 MFLAGS=
608 MAKEFLAGS=
609
610 # Identity of this package.
611 PACKAGE_NAME='guile-json'
612 PACKAGE_TARNAME='guile-json'
613 PACKAGE_VERSION='4.7.3'
614 PACKAGE_STRING='guile-json 4.7.3'
615 PACKAGE_BUGREPORT='[email protected]'
616 PACKAGE_URL=''
617
618 ac_unique_file="json.scm"
619 ac_subst_vars='LIBDIR
620 LTLIBOBJS
621 LIBOBJS
622 GUILE_TARGET
623 GUILE_LIBDIR
624 GUILE_PREFIX
625 GUILE_EXTENSION
626 GUILE_SITE_CCACHE
627 GUILE_SITE
628 GUILE_TOOLS
629 GUILE_CONFIG
630 GUILD
631 GUILE
632 GUILE_EFFECTIVE_VERSION
633 PKG_CONFIG_LIBDIR
634 PKG_CONFIG_PATH
635 PKG_CONFIG
636 AM_BACKSLASH
637 AM_DEFAULT_VERBOSITY
638 AM_DEFAULT_V
639 AM_V
640 CSCOPE
641 ETAGS
642 CTAGS
643 am__untar
644 am__tar
645 AMTAR
646 am__leading_dot
647 SET_MAKE
648 AWK
649 mkdir_p
650 MKDIR_P
651 INSTALL_STRIP_PROGRAM
652 STRIP
653 install_sh
654 MAKEINFO
655 AUTOHEADER
656 AUTOMAKE
657 AUTOCONF
658 ACLOCAL
659 VERSION
660 PACKAGE
661 CYGPATH_W
662 am__isrc
663 INSTALL_DATA
664 INSTALL_SCRIPT
665 INSTALL_PROGRAM
666 target_alias
667 host_alias
668 build_alias
669 LIBS
670 ECHO_T
671 ECHO_N
672 ECHO_C
673 DEFS
674 mandir
675 localedir
676 libdir
677 psdir
678 pdfdir
679 dvidir
680 htmldir
681 infodir
682 docdir
683 oldincludedir
684 includedir
685 runstatedir
686 localstatedir
687 sharedstatedir
688 sysconfdir
689 datadir
690 datarootdir
691 libexecdir
692 sbindir
693 bindir
694 program_transform_name
695 prefix
696 exec_prefix
697 PACKAGE_URL
698 PACKAGE_BUGREPORT
699 PACKAGE_STRING
700 PACKAGE_VERSION
701 PACKAGE_TARNAME
702 PACKAGE_NAME
703 PATH_SEPARATOR
704 SHELL'
705 ac_subst_files=''
706 ac_user_opts='
707 enable_option_checking
708 enable_silent_rules
709 '
710 ac_precious_vars='build_alias
711 host_alias
712 target_alias
713 PKG_CONFIG
714 PKG_CONFIG_PATH
715 PKG_CONFIG_LIBDIR'
716
717
718 # Initialize some variables set by options.
719 ac_init_help=
720 ac_init_version=false
721 ac_unrecognized_opts=
722 ac_unrecognized_sep=
723 # The variables have the same names as the options, with
724 # dashes changed to underlines.
725 cache_file=/dev/null
726 exec_prefix=NONE
727 no_create=
728 no_recursion=
729 prefix=NONE
730 program_prefix=NONE
731 program_suffix=NONE
732 program_transform_name=s,x,x,
733 silent=
734 site=
735 srcdir=
736 verbose=
737 x_includes=NONE
738 x_libraries=NONE
739
740 # Installation directory options.
741 # These are left unexpanded so users can "make install exec_prefix=/foo"
742 # and all the variables that are supposed to be based on exec_prefix
743 # by default will actually change.
744 # Use braces instead of parens because sh, perl, etc. also accept them.
745 # (The list follows the same order as the GNU Coding Standards.)
746 bindir='${exec_prefix}/bin'
747 sbindir='${exec_prefix}/sbin'
748 libexecdir='${exec_prefix}/libexec'
749 datarootdir='${prefix}/share'
750 datadir='${datarootdir}'
751 sysconfdir='${prefix}/etc'
752 sharedstatedir='${prefix}/com'
753 localstatedir='${prefix}/var'
754 runstatedir='${localstatedir}/run'
755 includedir='${prefix}/include'
756 oldincludedir='/usr/include'
757 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
758 infodir='${datarootdir}/info'
759 htmldir='${docdir}'
760 dvidir='${docdir}'
761 pdfdir='${docdir}'
762 psdir='${docdir}'
763 libdir='${exec_prefix}/lib'
764 localedir='${datarootdir}/locale'
765 mandir='${datarootdir}/man'
766
767 ac_prev=
768 ac_dashdash=
769 for ac_option
770 do
771 # If the previous option needs an argument, assign it.
772 if test -n "$ac_prev"; then
773 eval $ac_prev=\$ac_option
774 ac_prev=
775 continue
776 fi
777
778 case $ac_option in
779 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
780 *=) ac_optarg= ;;
781 *) ac_optarg=yes ;;
782 esac
783
784 case $ac_dashdash$ac_option in
785 --)
786 ac_dashdash=yes ;;
787
788 -bindir | --bindir | --bindi | --bind | --bin | --bi)
789 ac_prev=bindir ;;
790 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
791 bindir=$ac_optarg ;;
792
793 -build | --build | --buil | --bui | --bu)
794 ac_prev=build_alias ;;
795 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
796 build_alias=$ac_optarg ;;
797
798 -cache-file | --cache-file | --cache-fil | --cache-fi \
799 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
800 ac_prev=cache_file ;;
801 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
802 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
803 cache_file=$ac_optarg ;;
804
805 --config-cache | -C)
806 cache_file=config.cache ;;
807
808 -datadir | --datadir | --datadi | --datad)
809 ac_prev=datadir ;;
810 -datadir=* | --datadir=* | --datadi=* | --datad=*)
811 datadir=$ac_optarg ;;
812
813 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
814 | --dataroo | --dataro | --datar)
815 ac_prev=datarootdir ;;
816 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
817 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
818 datarootdir=$ac_optarg ;;
819
820 -disable-* | --disable-*)
821 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
822 # Reject names that are not valid shell variable names.
823 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
824 as_fn_error $? "invalid feature name: \`$ac_useropt'"
825 ac_useropt_orig=$ac_useropt
826 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
827 case $ac_user_opts in
828 *"
829 "enable_$ac_useropt"
830 "*) ;;
831 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
832 ac_unrecognized_sep=', ';;
833 esac
834 eval enable_$ac_useropt=no ;;
835
836 -docdir | --docdir | --docdi | --doc | --do)
837 ac_prev=docdir ;;
838 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
839 docdir=$ac_optarg ;;
840
841 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
842 ac_prev=dvidir ;;
843 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
844 dvidir=$ac_optarg ;;
845
846 -enable-* | --enable-*)
847 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
848 # Reject names that are not valid shell variable names.
849 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
850 as_fn_error $? "invalid feature name: \`$ac_useropt'"
851 ac_useropt_orig=$ac_useropt
852 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
853 case $ac_user_opts in
854 *"
855 "enable_$ac_useropt"
856 "*) ;;
857 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
858 ac_unrecognized_sep=', ';;
859 esac
860 eval enable_$ac_useropt=\$ac_optarg ;;
861
862 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
863 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
864 | --exec | --exe | --ex)
865 ac_prev=exec_prefix ;;
866 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
867 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
868 | --exec=* | --exe=* | --ex=*)
869 exec_prefix=$ac_optarg ;;
870
871 -gas | --gas | --ga | --g)
872 # Obsolete; use --with-gas.
873 with_gas=yes ;;
874
875 -help | --help | --hel | --he | -h)
876 ac_init_help=long ;;
877 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
878 ac_init_help=recursive ;;
879 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
880 ac_init_help=short ;;
881
882 -host | --host | --hos | --ho)
883 ac_prev=host_alias ;;
884 -host=* | --host=* | --hos=* | --ho=*)
885 host_alias=$ac_optarg ;;
886
887 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
888 ac_prev=htmldir ;;
889 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
890 | --ht=*)
891 htmldir=$ac_optarg ;;
892
893 -includedir | --includedir | --includedi | --included | --include \
894 | --includ | --inclu | --incl | --inc)
895 ac_prev=includedir ;;
896 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
897 | --includ=* | --inclu=* | --incl=* | --inc=*)
898 includedir=$ac_optarg ;;
899
900 -infodir | --infodir | --infodi | --infod | --info | --inf)
901 ac_prev=infodir ;;
902 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
903 infodir=$ac_optarg ;;
904
905 -libdir | --libdir | --libdi | --libd)
906 ac_prev=libdir ;;
907 -libdir=* | --libdir=* | --libdi=* | --libd=*)
908 libdir=$ac_optarg ;;
909
910 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
911 | --libexe | --libex | --libe)
912 ac_prev=libexecdir ;;
913 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
914 | --libexe=* | --libex=* | --libe=*)
915 libexecdir=$ac_optarg ;;
916
917 -localedir | --localedir | --localedi | --localed | --locale)
918 ac_prev=localedir ;;
919 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
920 localedir=$ac_optarg ;;
921
922 -localstatedir | --localstatedir | --localstatedi | --localstated \
923 | --localstate | --localstat | --localsta | --localst | --locals)
924 ac_prev=localstatedir ;;
925 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
926 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
927 localstatedir=$ac_optarg ;;
928
929 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
930 ac_prev=mandir ;;
931 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
932 mandir=$ac_optarg ;;
933
934 -nfp | --nfp | --nf)
935 # Obsolete; use --without-fp.
936 with_fp=no ;;
937
938 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
939 | --no-cr | --no-c | -n)
940 no_create=yes ;;
941
942 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
943 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
944 no_recursion=yes ;;
945
946 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
947 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
948 | --oldin | --oldi | --old | --ol | --o)
949 ac_prev=oldincludedir ;;
950 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
951 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
952 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
953 oldincludedir=$ac_optarg ;;
954
955 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
956 ac_prev=prefix ;;
957 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
958 prefix=$ac_optarg ;;
959
960 -program-prefix | --program-prefix | --program-prefi | --program-pref \
961 | --program-pre | --program-pr | --program-p)
962 ac_prev=program_prefix ;;
963 -program-prefix=* | --program-prefix=* | --program-prefi=* \
964 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
965 program_prefix=$ac_optarg ;;
966
967 -program-suffix | --program-suffix | --program-suffi | --program-suff \
968 | --program-suf | --program-su | --program-s)
969 ac_prev=program_suffix ;;
970 -program-suffix=* | --program-suffix=* | --program-suffi=* \
971 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
972 program_suffix=$ac_optarg ;;
973
974 -program-transform-name | --program-transform-name \
975 | --program-transform-nam | --program-transform-na \
976 | --program-transform-n | --program-transform- \
977 | --program-transform | --program-transfor \
978 | --program-transfo | --program-transf \
979 | --program-trans | --program-tran \
980 | --progr-tra | --program-tr | --program-t)
981 ac_prev=program_transform_name ;;
982 -program-transform-name=* | --program-transform-name=* \
983 | --program-transform-nam=* | --program-transform-na=* \
984 | --program-transform-n=* | --program-transform-=* \
985 | --program-transform=* | --program-transfor=* \
986 | --program-transfo=* | --program-transf=* \
987 | --program-trans=* | --program-tran=* \
988 | --progr-tra=* | --program-tr=* | --program-t=*)
989 program_transform_name=$ac_optarg ;;
990
991 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
992 ac_prev=pdfdir ;;
993 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
994 pdfdir=$ac_optarg ;;
995
996 -psdir | --psdir | --psdi | --psd | --ps)
997 ac_prev=psdir ;;
998 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
999 psdir=$ac_optarg ;;
1000
1001 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1002 | -silent | --silent | --silen | --sile | --sil)
1003 silent=yes ;;
1004
1005 -runstatedir | --runstatedir | --runstatedi | --runstated \
1006 | --runstate | --runstat | --runsta | --runst | --runs \
1007 | --run | --ru | --r)
1008 ac_prev=runstatedir ;;
1009 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1010 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1011 | --run=* | --ru=* | --r=*)
1012 runstatedir=$ac_optarg ;;
1013
1014 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1015 ac_prev=sbindir ;;
1016 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1017 | --sbi=* | --sb=*)
1018 sbindir=$ac_optarg ;;
1019
1020 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1021 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1022 | --sharedst | --shareds | --shared | --share | --shar \
1023 | --sha | --sh)
1024 ac_prev=sharedstatedir ;;
1025 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1026 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1027 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1028 | --sha=* | --sh=*)
1029 sharedstatedir=$ac_optarg ;;
1030
1031 -site | --site | --sit)
1032 ac_prev=site ;;
1033 -site=* | --site=* | --sit=*)
1034 site=$ac_optarg ;;
1035
1036 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1037 ac_prev=srcdir ;;
1038 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1039 srcdir=$ac_optarg ;;
1040
1041 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1042 | --syscon | --sysco | --sysc | --sys | --sy)
1043 ac_prev=sysconfdir ;;
1044 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1045 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1046 sysconfdir=$ac_optarg ;;
1047
1048 -target | --target | --targe | --targ | --tar | --ta | --t)
1049 ac_prev=target_alias ;;
1050 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1051 target_alias=$ac_optarg ;;
1052
1053 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1054 verbose=yes ;;
1055
1056 -version | --version | --versio | --versi | --vers | -V)
1057 ac_init_version=: ;;
1058
1059 -with-* | --with-*)
1060 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063 as_fn_error $? "invalid package name: \`$ac_useropt'"
1064 ac_useropt_orig=$ac_useropt
1065 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1067 *"
1068 "with_$ac_useropt"
1069 "*) ;;
1070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1071 ac_unrecognized_sep=', ';;
1072 esac
1073 eval with_$ac_useropt=\$ac_optarg ;;
1074
1075 -without-* | --without-*)
1076 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1077 # Reject names that are not valid shell variable names.
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1079 as_fn_error $? "invalid package name: \`$ac_useropt'"
1080 ac_useropt_orig=$ac_useropt
1081 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1082 case $ac_user_opts in
1083 *"
1084 "with_$ac_useropt"
1085 "*) ;;
1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1087 ac_unrecognized_sep=', ';;
1088 esac
1089 eval with_$ac_useropt=no ;;
1090
1091 --x)
1092 # Obsolete; use --with-x.
1093 with_x=yes ;;
1094
1095 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1096 | --x-incl | --x-inc | --x-in | --x-i)
1097 ac_prev=x_includes ;;
1098 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1099 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1100 x_includes=$ac_optarg ;;
1101
1102 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1103 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1104 ac_prev=x_libraries ;;
1105 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1106 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1107 x_libraries=$ac_optarg ;;
1108
1109 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1110 Try \`$0 --help' for more information"
1111 ;;
1112
1113 *=*)
1114 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1115 # Reject names that are not valid shell variable names.
1116 case $ac_envvar in #(
1117 '' | [0-9]* | *[!_$as_cr_alnum]* )
1118 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1119 esac
1120 eval $ac_envvar=\$ac_optarg
1121 export $ac_envvar ;;
1122
1123 *)
1124 # FIXME: should be removed in autoconf 3.0.
1125 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1126 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1127 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1128 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1129 ;;
1130
1131 esac
1132 done
1133
1134 if test -n "$ac_prev"; then
1135 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1136 as_fn_error $? "missing argument to $ac_option"
1137 fi
1138
1139 if test -n "$ac_unrecognized_opts"; then
1140 case $enable_option_checking in
1141 no) ;;
1142 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1143 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1144 esac
1145 fi
1146
1147 # Check all directory arguments for consistency.
1148 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1149 datadir sysconfdir sharedstatedir localstatedir includedir \
1150 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1151 libdir localedir mandir runstatedir
1152 do
1153 eval ac_val=\$$ac_var
1154 # Remove trailing slashes.
1155 case $ac_val in
1156 */ )
1157 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1158 eval $ac_var=\$ac_val;;
1159 esac
1160 # Be sure to have absolute directory names.
1161 case $ac_val in
1162 [\\/$]* | ?:[\\/]* ) continue;;
1163 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1164 esac
1165 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1166 done
1167
1168 # There might be people who depend on the old broken behavior: `$host'
1169 # used to hold the argument of --host etc.
1170 # FIXME: To remove some day.
1171 build=$build_alias
1172 host=$host_alias
1173 target=$target_alias
1174
1175 # FIXME: To remove some day.
1176 if test "x$host_alias" != x; then
1177 if test "x$build_alias" = x; then
1178 cross_compiling=maybe
1179 elif test "x$build_alias" != "x$host_alias"; then
1180 cross_compiling=yes
1181 fi
1182 fi
1183
1184 ac_tool_prefix=
1185 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1186
1187 test "$silent" = yes && exec 6>/dev/null
1188
1189
1190 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1191 ac_ls_di=`ls -di .` &&
1192 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1193 as_fn_error $? "working directory cannot be determined"
1194 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1195 as_fn_error $? "pwd does not report name of working directory"
1196
1197
1198 # Find the source files, if location was not specified.
1199 if test -z "$srcdir"; then
1200 ac_srcdir_defaulted=yes
1201 # Try the directory containing this script, then the parent directory.
1202 ac_confdir=`$as_dirname -- "$as_myself" ||
1203 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1204 X"$as_myself" : 'X\(//\)[^/]' \| \
1205 X"$as_myself" : 'X\(//\)$' \| \
1206 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1207 printf "%s\n" X"$as_myself" |
1208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1209 s//\1/
1210 q
1211 }
1212 /^X\(\/\/\)[^/].*/{
1213 s//\1/
1214 q
1215 }
1216 /^X\(\/\/\)$/{
1217 s//\1/
1218 q
1219 }
1220 /^X\(\/\).*/{
1221 s//\1/
1222 q
1223 }
1224 s/.*/./; q'`
1225 srcdir=$ac_confdir
1226 if test ! -r "$srcdir/$ac_unique_file"; then
1227 srcdir=..
1228 fi
1229 else
1230 ac_srcdir_defaulted=no
1231 fi
1232 if test ! -r "$srcdir/$ac_unique_file"; then
1233 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1234 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1235 fi
1236 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1237 ac_abs_confdir=`(
1238 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1239 pwd)`
1240 # When building in place, set srcdir=.
1241 if test "$ac_abs_confdir" = "$ac_pwd"; then
1242 srcdir=.
1243 fi
1244 # Remove unnecessary trailing slashes from srcdir.
1245 # Double slashes in file names in object file debugging info
1246 # mess up M-x gdb in Emacs.
1247 case $srcdir in
1248 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1249 esac
1250 for ac_var in $ac_precious_vars; do
1251 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1252 eval ac_env_${ac_var}_value=\$${ac_var}
1253 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1254 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1255 done
1256
1257 #
1258 # Report the --help message.
1259 #
1260 if test "$ac_init_help" = "long"; then
1261 # Omit some internal or obsolete options to make the list less imposing.
1262 # This message is too long to be a string in the A/UX 3.1 sh.
1263 cat <<_ACEOF
1264 \`configure' configures guile-json 4.7.3 to adapt to many kinds of systems.
1265
1266 Usage: $0 [OPTION]... [VAR=VALUE]...
1267
1268 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1269 VAR=VALUE. See below for descriptions of some of the useful variables.
1270
1271 Defaults for the options are specified in brackets.
1272
1273 Configuration:
1274 -h, --help display this help and exit
1275 --help=short display options specific to this package
1276 --help=recursive display the short help of all the included packages
1277 -V, --version display version information and exit
1278 -q, --quiet, --silent do not print \`checking ...' messages
1279 --cache-file=FILE cache test results in FILE [disabled]
1280 -C, --config-cache alias for \`--cache-file=config.cache'
1281 -n, --no-create do not create output files
1282 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1283
1284 Installation directories:
1285 --prefix=PREFIX install architecture-independent files in PREFIX
1286 [$ac_default_prefix]
1287 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1288 [PREFIX]
1289
1290 By default, \`make install' will install all the files in
1291 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1292 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1293 for instance \`--prefix=\$HOME'.
1294
1295 For better control, use the options below.
1296
1297 Fine tuning of the installation directories:
1298 --bindir=DIR user executables [EPREFIX/bin]
1299 --sbindir=DIR system admin executables [EPREFIX/sbin]
1300 --libexecdir=DIR program executables [EPREFIX/libexec]
1301 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1302 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1303 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1304 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1305 --libdir=DIR object code libraries [EPREFIX/lib]
1306 --includedir=DIR C header files [PREFIX/include]
1307 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1308 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1309 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1310 --infodir=DIR info documentation [DATAROOTDIR/info]
1311 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1312 --mandir=DIR man documentation [DATAROOTDIR/man]
1313 --docdir=DIR documentation root [DATAROOTDIR/doc/guile-json]
1314 --htmldir=DIR html documentation [DOCDIR]
1315 --dvidir=DIR dvi documentation [DOCDIR]
1316 --pdfdir=DIR pdf documentation [DOCDIR]
1317 --psdir=DIR ps documentation [DOCDIR]
1318 _ACEOF
1319
1320 cat <<\_ACEOF
1321
1322 Program names:
1323 --program-prefix=PREFIX prepend PREFIX to installed program names
1324 --program-suffix=SUFFIX append SUFFIX to installed program names
1325 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1326 _ACEOF
1327 fi
1328
1329 if test -n "$ac_init_help"; then
1330 case $ac_init_help in
1331 short | recursive ) echo "Configuration of guile-json 4.7.3:";;
1332 esac
1333 cat <<\_ACEOF
1334
1335 Optional Features:
1336 --disable-option-checking ignore unrecognized --enable/--with options
1337 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1338 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1339 --enable-silent-rules less verbose build output (undo: "make V=1")
1340 --disable-silent-rules verbose build output (undo: "make V=0")
1341
1342 Some influential environment variables:
1343 PKG_CONFIG path to pkg-config utility
1344 PKG_CONFIG_PATH
1345 directories to add to pkg-config's search path
1346 PKG_CONFIG_LIBDIR
1347 path overriding pkg-config's built-in search path
1348
1349 Use these variables to override the choices made by `configure' or to help
1350 it to find libraries and programs with nonstandard names/locations.
1351
1352 Report bugs to <[email protected]>.
1353 _ACEOF
1354 ac_status=$?
1355 fi
1356
1357 if test "$ac_init_help" = "recursive"; then
1358 # If there are subdirs, report their specific --help.
1359 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1360 test -d "$ac_dir" ||
1361 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1362 continue
1363 ac_builddir=.
1364
1365 case "$ac_dir" in
1366 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1367 *)
1368 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1369 # A ".." for each directory in $ac_dir_suffix.
1370 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1371 case $ac_top_builddir_sub in
1372 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1373 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1374 esac ;;
1375 esac
1376 ac_abs_top_builddir=$ac_pwd
1377 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1378 # for backward compatibility:
1379 ac_top_builddir=$ac_top_build_prefix
1380
1381 case $srcdir in
1382 .) # We are building in place.
1383 ac_srcdir=.
1384 ac_top_srcdir=$ac_top_builddir_sub
1385 ac_abs_top_srcdir=$ac_pwd ;;
1386 [\\/]* | ?:[\\/]* ) # Absolute name.
1387 ac_srcdir=$srcdir$ac_dir_suffix;
1388 ac_top_srcdir=$srcdir
1389 ac_abs_top_srcdir=$srcdir ;;
1390 *) # Relative name.
1391 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1392 ac_top_srcdir=$ac_top_build_prefix$srcdir
1393 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1394 esac
1395 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1396
1397 cd "$ac_dir" || { ac_status=$?; continue; }
1398 # Check for configure.gnu first; this name is used for a wrapper for
1399 # Metaconfig's "Configure" on case-insensitive file systems.
1400 if test -f "$ac_srcdir/configure.gnu"; then
1401 echo &&
1402 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1403 elif test -f "$ac_srcdir/configure"; then
1404 echo &&
1405 $SHELL "$ac_srcdir/configure" --help=recursive
1406 else
1407 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1408 fi || ac_status=$?
1409 cd "$ac_pwd" || { ac_status=$?; break; }
1410 done
1411 fi
1412
1413 test -n "$ac_init_help" && exit $ac_status
1414 if $ac_init_version; then
1415 cat <<\_ACEOF
1416 guile-json configure 4.7.3
1417 generated by GNU Autoconf 2.71
1418
1419 Copyright (C) 2021 Free Software Foundation, Inc.
1420 This configure script is free software; the Free Software Foundation
1421 gives unlimited permission to copy, distribute and modify it.
1422 _ACEOF
1423 exit
1424 fi
1425
1426 ## ------------------------ ##
1427 ## Autoconf initialization. ##
1428 ## ------------------------ ##
1429 ac_configure_args_raw=
1430 for ac_arg
1431 do
1432 case $ac_arg in
1433 *\'*)
1434 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1435 esac
1436 as_fn_append ac_configure_args_raw " '$ac_arg'"
1437 done
1438
1439 case $ac_configure_args_raw in
1440 *$as_nl*)
1441 ac_safe_unquote= ;;
1442 *)
1443 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1444 ac_unsafe_a="$ac_unsafe_z#~"
1445 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1446 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1447 esac
1448
1449 cat >config.log <<_ACEOF
1450 This file contains any messages produced by compilers while
1451 running configure, to aid debugging if configure makes a mistake.
1452
1453 It was created by guile-json $as_me 4.7.3, which was
1454 generated by GNU Autoconf 2.71. Invocation command line was
1455
1456 $ $0$ac_configure_args_raw
1457
1458 _ACEOF
1459 exec 5>>config.log
1460 {
1461 cat <<_ASUNAME
1462 ## --------- ##
1463 ## Platform. ##
1464 ## --------- ##
1465
1466 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1467 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1468 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1469 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1470 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1471
1472 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1473 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1474
1475 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1476 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1477 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1478 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1479 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1480 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1481 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1482
1483 _ASUNAME
1484
1485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1486 for as_dir in $PATH
1487 do
1488 IFS=$as_save_IFS
1489 case $as_dir in #(((
1490 '') as_dir=./ ;;
1491 */) ;;
1492 *) as_dir=$as_dir/ ;;
1493 esac
1494 printf "%s\n" "PATH: $as_dir"
1495 done
1496 IFS=$as_save_IFS
1497
1498 } >&5
1499
1500 cat >&5 <<_ACEOF
1501
1502
1503 ## ----------- ##
1504 ## Core tests. ##
1505 ## ----------- ##
1506
1507 _ACEOF
1508
1509
1510 # Keep a trace of the command line.
1511 # Strip out --no-create and --no-recursion so they do not pile up.
1512 # Strip out --silent because we don't want to record it for future runs.
1513 # Also quote any args containing shell meta-characters.
1514 # Make two passes to allow for proper duplicate-argument suppression.
1515 ac_configure_args=
1516 ac_configure_args0=
1517 ac_configure_args1=
1518 ac_must_keep_next=false
1519 for ac_pass in 1 2
1520 do
1521 for ac_arg
1522 do
1523 case $ac_arg in
1524 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1525 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1526 | -silent | --silent | --silen | --sile | --sil)
1527 continue ;;
1528 *\'*)
1529 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1530 esac
1531 case $ac_pass in
1532 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1533 2)
1534 as_fn_append ac_configure_args1 " '$ac_arg'"
1535 if test $ac_must_keep_next = true; then
1536 ac_must_keep_next=false # Got value, back to normal.
1537 else
1538 case $ac_arg in
1539 *=* | --config-cache | -C | -disable-* | --disable-* \
1540 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1541 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1542 | -with-* | --with-* | -without-* | --without-* | --x)
1543 case "$ac_configure_args0 " in
1544 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1545 esac
1546 ;;
1547 -* ) ac_must_keep_next=true ;;
1548 esac
1549 fi
1550 as_fn_append ac_configure_args " '$ac_arg'"
1551 ;;
1552 esac
1553 done
1554 done
1555 { ac_configure_args0=; unset ac_configure_args0;}
1556 { ac_configure_args1=; unset ac_configure_args1;}
1557
1558 # When interrupted or exit'd, cleanup temporary files, and complete
1559 # config.log. We remove comments because anyway the quotes in there
1560 # would cause problems or look ugly.
1561 # WARNING: Use '\'' to represent an apostrophe within the trap.
1562 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1563 trap 'exit_status=$?
1564 # Sanitize IFS.
1565 IFS=" "" $as_nl"
1566 # Save into config.log some information that might help in debugging.
1567 {
1568 echo
1569
1570 printf "%s\n" "## ---------------- ##
1571 ## Cache variables. ##
1572 ## ---------------- ##"
1573 echo
1574 # The following way of writing the cache mishandles newlines in values,
1575 (
1576 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1577 eval ac_val=\$$ac_var
1578 case $ac_val in #(
1579 *${as_nl}*)
1580 case $ac_var in #(
1581 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1582 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1583 esac
1584 case $ac_var in #(
1585 _ | IFS | as_nl) ;; #(
1586 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1587 *) { eval $ac_var=; unset $ac_var;} ;;
1588 esac ;;
1589 esac
1590 done
1591 (set) 2>&1 |
1592 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1593 *${as_nl}ac_space=\ *)
1594 sed -n \
1595 "s/'\''/'\''\\\\'\'''\''/g;
1596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1597 ;; #(
1598 *)
1599 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1600 ;;
1601 esac |
1602 sort
1603 )
1604 echo
1605
1606 printf "%s\n" "## ----------------- ##
1607 ## Output variables. ##
1608 ## ----------------- ##"
1609 echo
1610 for ac_var in $ac_subst_vars
1611 do
1612 eval ac_val=\$$ac_var
1613 case $ac_val in
1614 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1615 esac
1616 printf "%s\n" "$ac_var='\''$ac_val'\''"
1617 done | sort
1618 echo
1619
1620 if test -n "$ac_subst_files"; then
1621 printf "%s\n" "## ------------------- ##
1622 ## File substitutions. ##
1623 ## ------------------- ##"
1624 echo
1625 for ac_var in $ac_subst_files
1626 do
1627 eval ac_val=\$$ac_var
1628 case $ac_val in
1629 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 esac
1631 printf "%s\n" "$ac_var='\''$ac_val'\''"
1632 done | sort
1633 echo
1634 fi
1635
1636 if test -s confdefs.h; then
1637 printf "%s\n" "## ----------- ##
1638 ## confdefs.h. ##
1639 ## ----------- ##"
1640 echo
1641 cat confdefs.h
1642 echo
1643 fi
1644 test "$ac_signal" != 0 &&
1645 printf "%s\n" "$as_me: caught signal $ac_signal"
1646 printf "%s\n" "$as_me: exit $exit_status"
1647 } >&5
1648 rm -f core *.core core.conftest.* &&
1649 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1650 exit $exit_status
1651 ' 0
1652 for ac_signal in 1 2 13 15; do
1653 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1654 done
1655 ac_signal=0
1656
1657 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1658 rm -f -r conftest* confdefs.h
1659
1660 printf "%s\n" "/* confdefs.h */" > confdefs.h
1661
1662 # Predefined preprocessor variables.
1663
1664 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1665
1666 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1667
1668 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1669
1670 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1671
1672 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1673
1674 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1675
1676
1677 # Let the site file select an alternate cache file if it wants to.
1678 # Prefer an explicitly selected file to automatically selected ones.
1679 if test -n "$CONFIG_SITE"; then
1680 ac_site_files="$CONFIG_SITE"
1681 elif test "x$prefix" != xNONE; then
1682 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1683 else
1684 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1685 fi
1686
1687 for ac_site_file in $ac_site_files
1688 do
1689 case $ac_site_file in #(
1690 */*) :
1691 ;; #(
1692 *) :
1693 ac_site_file=./$ac_site_file ;;
1694 esac
1695 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1697 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1698 sed 's/^/| /' "$ac_site_file" >&5
1699 . "$ac_site_file" \
1700 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1701 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1702 as_fn_error $? "failed to load site script $ac_site_file
1703 See \`config.log' for more details" "$LINENO" 5; }
1704 fi
1705 done
1706
1707 if test -r "$cache_file"; then
1708 # Some versions of bash will fail to source /dev/null (special files
1709 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1710 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1712 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1713 case $cache_file in
1714 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1715 *) . "./$cache_file";;
1716 esac
1717 fi
1718 else
1719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1720 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1721 >$cache_file
1722 fi
1723
1724
1725 # Auxiliary files required by this configure script.
1726 ac_aux_files="missing install-sh"
1727
1728 # Locations in which to look for auxiliary files.
1729 ac_aux_dir_candidates="${srcdir}/build-aux"
1730
1731 # Search for a directory containing all of the required auxiliary files,
1732 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1733 # If we don't find one directory that contains all the files we need,
1734 # we report the set of missing files from the *first* directory in
1735 # $ac_aux_dir_candidates and give up.
1736 ac_missing_aux_files=""
1737 ac_first_candidate=:
1738 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1740 as_found=false
1741 for as_dir in $ac_aux_dir_candidates
1742 do
1743 IFS=$as_save_IFS
1744 case $as_dir in #(((
1745 '') as_dir=./ ;;
1746 */) ;;
1747 *) as_dir=$as_dir/ ;;
1748 esac
1749 as_found=:
1750
1751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1752 ac_aux_dir_found=yes
1753 ac_install_sh=
1754 for ac_aux in $ac_aux_files
1755 do
1756 # As a special case, if "install-sh" is required, that requirement
1757 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1758 # and $ac_install_sh is set appropriately for whichever one is found.
1759 if test x"$ac_aux" = x"install-sh"
1760 then
1761 if test -f "${as_dir}install-sh"; then
1762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1763 ac_install_sh="${as_dir}install-sh -c"
1764 elif test -f "${as_dir}install.sh"; then
1765 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1766 ac_install_sh="${as_dir}install.sh -c"
1767 elif test -f "${as_dir}shtool"; then
1768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1769 ac_install_sh="${as_dir}shtool install -c"
1770 else
1771 ac_aux_dir_found=no
1772 if $ac_first_candidate; then
1773 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1774 else
1775 break
1776 fi
1777 fi
1778 else
1779 if test -f "${as_dir}${ac_aux}"; then
1780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1781 else
1782 ac_aux_dir_found=no
1783 if $ac_first_candidate; then
1784 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1785 else
1786 break
1787 fi
1788 fi
1789 fi
1790 done
1791 if test "$ac_aux_dir_found" = yes; then
1792 ac_aux_dir="$as_dir"
1793 break
1794 fi
1795 ac_first_candidate=false
1796
1797 as_found=false
1798 done
1799 IFS=$as_save_IFS
1800 if $as_found
1801 then :
1802
1803 else $as_nop
1804 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1805 fi
1806
1807
1808 # These three variables are undocumented and unsupported,
1809 # and are intended to be withdrawn in a future Autoconf release.
1810 # They can cause serious problems if a builder's source tree is in a directory
1811 # whose full name contains unusual characters.
1812 if test -f "${ac_aux_dir}config.guess"; then
1813 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1814 fi
1815 if test -f "${ac_aux_dir}config.sub"; then
1816 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1817 fi
1818 if test -f "$ac_aux_dir/configure"; then
1819 ac_configure="$SHELL ${ac_aux_dir}configure"
1820 fi
1821
1822 # Check that the precious variables saved in the cache have kept the same
1823 # value.
1824 ac_cache_corrupted=false
1825 for ac_var in $ac_precious_vars; do
1826 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1827 eval ac_new_set=\$ac_env_${ac_var}_set
1828 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1829 eval ac_new_val=\$ac_env_${ac_var}_value
1830 case $ac_old_set,$ac_new_set in
1831 set,)
1832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1833 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1834 ac_cache_corrupted=: ;;
1835 ,set)
1836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1837 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1838 ac_cache_corrupted=: ;;
1839 ,);;
1840 *)
1841 if test "x$ac_old_val" != "x$ac_new_val"; then
1842 # differences in whitespace do not lead to failure.
1843 ac_old_val_w=`echo x $ac_old_val`
1844 ac_new_val_w=`echo x $ac_new_val`
1845 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1847 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1848 ac_cache_corrupted=:
1849 else
1850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1851 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1852 eval $ac_var=\$ac_old_val
1853 fi
1854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1855 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1857 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
1858 fi;;
1859 esac
1860 # Pass precious variables to config.status.
1861 if test "$ac_new_set" = set; then
1862 case $ac_new_val in
1863 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1864 *) ac_arg=$ac_var=$ac_new_val ;;
1865 esac
1866 case " $ac_configure_args " in
1867 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1868 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1869 esac
1870 fi
1871 done
1872 if $ac_cache_corrupted; then
1873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1874 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1876 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1877 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1878 and start over" "$LINENO" 5
1879 fi
1880 ## -------------------- ##
1881 ## Main body of script. ##
1882 ## -------------------- ##
1883
1884 ac_ext=c
1885 ac_cpp='$CPP $CPPFLAGS'
1886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1889
1890
1891
1892
1893
1894 am__api_version='1.16'
1895
1896
1897
1898 # Find a good install program. We prefer a C program (faster),
1899 # so one script is as good as another. But avoid the broken or
1900 # incompatible versions:
1901 # SysV /etc/install, /usr/sbin/install
1902 # SunOS /usr/etc/install
1903 # IRIX /sbin/install
1904 # AIX /bin/install
1905 # AmigaOS /C/install, which installs bootblocks on floppy discs
1906 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1907 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1908 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1909 # OS/2's system install, which has a completely different semantic
1910 # ./install, which can be erroneously created by make from ./install.sh.
1911 # Reject install programs that cannot install multiple files.
1912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1913 printf %s "checking for a BSD-compatible install... " >&6; }
1914 if test -z "$INSTALL"; then
1915 if test ${ac_cv_path_install+y}
1916 then :
1917 printf %s "(cached) " >&6
1918 else $as_nop
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920 for as_dir in $PATH
1921 do
1922 IFS=$as_save_IFS
1923 case $as_dir in #(((
1924 '') as_dir=./ ;;
1925 */) ;;
1926 *) as_dir=$as_dir/ ;;
1927 esac
1928 # Account for fact that we put trailing slashes in our PATH walk.
1929 case $as_dir in #((
1930 ./ | /[cC]/* | \
1931 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1932 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1933 /usr/ucb/* ) ;;
1934 *)
1935 # OSF1 and SCO ODT 3.0 have their own names for install.
1936 # Don't use installbsd from OSF since it installs stuff as root
1937 # by default.
1938 for ac_prog in ginstall scoinst install; do
1939 for ac_exec_ext in '' $ac_executable_extensions; do
1940 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1941 if test $ac_prog = install &&
1942 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1943 # AIX install. It has an incompatible calling convention.
1944 :
1945 elif test $ac_prog = install &&
1946 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1947 # program-specific install script used by HP pwplus--don't use.
1948 :
1949 else
1950 rm -rf conftest.one conftest.two conftest.dir
1951 echo one > conftest.one
1952 echo two > conftest.two
1953 mkdir conftest.dir
1954 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1955 test -s conftest.one && test -s conftest.two &&
1956 test -s conftest.dir/conftest.one &&
1957 test -s conftest.dir/conftest.two
1958 then
1959 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1960 break 3
1961 fi
1962 fi
1963 fi
1964 done
1965 done
1966 ;;
1967 esac
1968
1969 done
1970 IFS=$as_save_IFS
1971
1972 rm -rf conftest.one conftest.two conftest.dir
1973
1974 fi
1975 if test ${ac_cv_path_install+y}; then
1976 INSTALL=$ac_cv_path_install
1977 else
1978 # As a last resort, use the slow shell script. Don't cache a
1979 # value for INSTALL within a source directory, because that will
1980 # break other packages using the cache if that directory is
1981 # removed, or if the value is a relative name.
1982 INSTALL=$ac_install_sh
1983 fi
1984 fi
1985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1986 printf "%s\n" "$INSTALL" >&6; }
1987
1988 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1989 # It thinks the first close brace ends the variable substitution.
1990 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1991
1992 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1993
1994 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1995
1996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1997 printf %s "checking whether build environment is sane... " >&6; }
1998 # Reject unsafe characters in $srcdir or the absolute working directory
1999 # name. Accept space and tab only in the latter.
2000 am_lf='
2001 '
2002 case `pwd` in
2003 *[\\\"\#\$\&\'\`$am_lf]*)
2004 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2005 esac
2006 case $srcdir in
2007 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2008 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2009 esac
2010
2011 # Do 'set' in a subshell so we don't clobber the current shell's
2012 # arguments. Must try -L first in case configure is actually a
2013 # symlink; some systems play weird games with the mod time of symlinks
2014 # (eg FreeBSD returns the mod time of the symlink's containing
2015 # directory).
2016 if (
2017 am_has_slept=no
2018 for am_try in 1 2; do
2019 echo "timestamp, slept: $am_has_slept" > conftest.file
2020 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2021 if test "$*" = "X"; then
2022 # -L didn't work.
2023 set X `ls -t "$srcdir/configure" conftest.file`
2024 fi
2025 if test "$*" != "X $srcdir/configure conftest.file" \
2026 && test "$*" != "X conftest.file $srcdir/configure"; then
2027
2028 # If neither matched, then we have a broken ls. This can happen
2029 # if, for instance, CONFIG_SHELL is bash and it inherits a
2030 # broken ls alias from the environment. This has actually
2031 # happened. Such a system could not be considered "sane".
2032 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2033 alias in your environment" "$LINENO" 5
2034 fi
2035 if test "$2" = conftest.file || test $am_try -eq 2; then
2036 break
2037 fi
2038 # Just in case.
2039 sleep 1
2040 am_has_slept=yes
2041 done
2042 test "$2" = conftest.file
2043 )
2044 then
2045 # Ok.
2046 :
2047 else
2048 as_fn_error $? "newly created file is older than distributed files!
2049 Check your system clock" "$LINENO" 5
2050 fi
2051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2052 printf "%s\n" "yes" >&6; }
2053 # If we didn't sleep, we still need to ensure time stamps of config.status and
2054 # generated files are strictly newer.
2055 am_sleep_pid=
2056 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2057 ( sleep 1 ) &
2058 am_sleep_pid=$!
2059 fi
2060
2061 rm -f conftest.file
2062
2063 test "$program_prefix" != NONE &&
2064 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2065 # Use a double $ so make ignores it.
2066 test "$program_suffix" != NONE &&
2067 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2068 # Double any \ or $.
2069 # By default was `s,x,x', remove it if useless.
2070 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2071 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2072
2073
2074 # Expand $ac_aux_dir to an absolute path.
2075 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2076
2077
2078 if test x"${MISSING+set}" != xset; then
2079 MISSING="\${SHELL} '$am_aux_dir/missing'"
2080 fi
2081 # Use eval to expand $SHELL
2082 if eval "$MISSING --is-lightweight"; then
2083 am_missing_run="$MISSING "
2084 else
2085 am_missing_run=
2086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2087 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2088 fi
2089
2090 if test x"${install_sh+set}" != xset; then
2091 case $am_aux_dir in
2092 *\ * | *\ *)
2093 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2094 *)
2095 install_sh="\${SHELL} $am_aux_dir/install-sh"
2096 esac
2097 fi
2098
2099 # Installed binaries are usually stripped using 'strip' when the user
2100 # run "make install-strip". However 'strip' might not be the right
2101 # tool to use in cross-compilation environments, therefore Automake
2102 # will honor the 'STRIP' environment variable to overrule this program.
2103 if test "$cross_compiling" != no; then
2104 if test -n "$ac_tool_prefix"; then
2105 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2106 set dummy ${ac_tool_prefix}strip; ac_word=$2
2107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2108 printf %s "checking for $ac_word... " >&6; }
2109 if test ${ac_cv_prog_STRIP+y}
2110 then :
2111 printf %s "(cached) " >&6
2112 else $as_nop
2113 if test -n "$STRIP"; then
2114 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2115 else
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 for as_dir in $PATH
2118 do
2119 IFS=$as_save_IFS
2120 case $as_dir in #(((
2121 '') as_dir=./ ;;
2122 */) ;;
2123 *) as_dir=$as_dir/ ;;
2124 esac
2125 for ac_exec_ext in '' $ac_executable_extensions; do
2126 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2127 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2129 break 2
2130 fi
2131 done
2132 done
2133 IFS=$as_save_IFS
2134
2135 fi
2136 fi
2137 STRIP=$ac_cv_prog_STRIP
2138 if test -n "$STRIP"; then
2139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2140 printf "%s\n" "$STRIP" >&6; }
2141 else
2142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2143 printf "%s\n" "no" >&6; }
2144 fi
2145
2146
2147 fi
2148 if test -z "$ac_cv_prog_STRIP"; then
2149 ac_ct_STRIP=$STRIP
2150 # Extract the first word of "strip", so it can be a program name with args.
2151 set dummy strip; ac_word=$2
2152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2153 printf %s "checking for $ac_word... " >&6; }
2154 if test ${ac_cv_prog_ac_ct_STRIP+y}
2155 then :
2156 printf %s "(cached) " >&6
2157 else $as_nop
2158 if test -n "$ac_ct_STRIP"; then
2159 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2160 else
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162 for as_dir in $PATH
2163 do
2164 IFS=$as_save_IFS
2165 case $as_dir in #(((
2166 '') as_dir=./ ;;
2167 */) ;;
2168 *) as_dir=$as_dir/ ;;
2169 esac
2170 for ac_exec_ext in '' $ac_executable_extensions; do
2171 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2172 ac_cv_prog_ac_ct_STRIP="strip"
2173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2174 break 2
2175 fi
2176 done
2177 done
2178 IFS=$as_save_IFS
2179
2180 fi
2181 fi
2182 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2183 if test -n "$ac_ct_STRIP"; then
2184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2185 printf "%s\n" "$ac_ct_STRIP" >&6; }
2186 else
2187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2188 printf "%s\n" "no" >&6; }
2189 fi
2190
2191 if test "x$ac_ct_STRIP" = x; then
2192 STRIP=":"
2193 else
2194 case $cross_compiling:$ac_tool_warned in
2195 yes:)
2196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2197 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2198 ac_tool_warned=yes ;;
2199 esac
2200 STRIP=$ac_ct_STRIP
2201 fi
2202 else
2203 STRIP="$ac_cv_prog_STRIP"
2204 fi
2205
2206 fi
2207 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2208
2209
2210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2211 printf %s "checking for a race-free mkdir -p... " >&6; }
2212 if test -z "$MKDIR_P"; then
2213 if test ${ac_cv_path_mkdir+y}
2214 then :
2215 printf %s "(cached) " >&6
2216 else $as_nop
2217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2219 do
2220 IFS=$as_save_IFS
2221 case $as_dir in #(((
2222 '') as_dir=./ ;;
2223 */) ;;
2224 *) as_dir=$as_dir/ ;;
2225 esac
2226 for ac_prog in mkdir gmkdir; do
2227 for ac_exec_ext in '' $ac_executable_extensions; do
2228 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2229 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2230 'mkdir ('*'coreutils) '* | \
2231 'BusyBox '* | \
2232 'mkdir (fileutils) '4.1*)
2233 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2234 break 3;;
2235 esac
2236 done
2237 done
2238 done
2239 IFS=$as_save_IFS
2240
2241 fi
2242
2243 test -d ./--version && rmdir ./--version
2244 if test ${ac_cv_path_mkdir+y}; then
2245 MKDIR_P="$ac_cv_path_mkdir -p"
2246 else
2247 # As a last resort, use the slow shell script. Don't cache a
2248 # value for MKDIR_P within a source directory, because that will
2249 # break other packages using the cache if that directory is
2250 # removed, or if the value is a relative name.
2251 MKDIR_P="$ac_install_sh -d"
2252 fi
2253 fi
2254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2255 printf "%s\n" "$MKDIR_P" >&6; }
2256
2257 for ac_prog in gawk mawk nawk awk
2258 do
2259 # Extract the first word of "$ac_prog", so it can be a program name with args.
2260 set dummy $ac_prog; ac_word=$2
2261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2262 printf %s "checking for $ac_word... " >&6; }
2263 if test ${ac_cv_prog_AWK+y}
2264 then :
2265 printf %s "(cached) " >&6
2266 else $as_nop
2267 if test -n "$AWK"; then
2268 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2269 else
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 for as_dir in $PATH
2272 do
2273 IFS=$as_save_IFS
2274 case $as_dir in #(((
2275 '') as_dir=./ ;;
2276 */) ;;
2277 *) as_dir=$as_dir/ ;;
2278 esac
2279 for ac_exec_ext in '' $ac_executable_extensions; do
2280 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2281 ac_cv_prog_AWK="$ac_prog"
2282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2283 break 2
2284 fi
2285 done
2286 done
2287 IFS=$as_save_IFS
2288
2289 fi
2290 fi
2291 AWK=$ac_cv_prog_AWK
2292 if test -n "$AWK"; then
2293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2294 printf "%s\n" "$AWK" >&6; }
2295 else
2296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2297 printf "%s\n" "no" >&6; }
2298 fi
2299
2300
2301 test -n "$AWK" && break
2302 done
2303
2304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2305 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2306 set x ${MAKE-make}
2307 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2308 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2309 then :
2310 printf %s "(cached) " >&6
2311 else $as_nop
2312 cat >conftest.make <<\_ACEOF
2313 SHELL = /bin/sh
2314 all:
2315 @echo '@@@%%%=$(MAKE)=@@@%%%'
2316 _ACEOF
2317 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2318 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2319 *@@@%%%=?*=@@@%%%*)
2320 eval ac_cv_prog_make_${ac_make}_set=yes;;
2321 *)
2322 eval ac_cv_prog_make_${ac_make}_set=no;;
2323 esac
2324 rm -f conftest.make
2325 fi
2326 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2328 printf "%s\n" "yes" >&6; }
2329 SET_MAKE=
2330 else
2331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2332 printf "%s\n" "no" >&6; }
2333 SET_MAKE="MAKE=${MAKE-make}"
2334 fi
2335
2336 rm -rf .tst 2>/dev/null
2337 mkdir .tst 2>/dev/null
2338 if test -d .tst; then
2339 am__leading_dot=.
2340 else
2341 am__leading_dot=_
2342 fi
2343 rmdir .tst 2>/dev/null
2344
2345 # Check whether --enable-silent-rules was given.
2346 if test ${enable_silent_rules+y}
2347 then :
2348 enableval=$enable_silent_rules;
2349 fi
2350
2351 case $enable_silent_rules in # (((
2352 yes) AM_DEFAULT_VERBOSITY=0;;
2353 no) AM_DEFAULT_VERBOSITY=1;;
2354 *) AM_DEFAULT_VERBOSITY=1;;
2355 esac
2356 am_make=${MAKE-make}
2357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2358 printf %s "checking whether $am_make supports nested variables... " >&6; }
2359 if test ${am_cv_make_support_nested_variables+y}
2360 then :
2361 printf %s "(cached) " >&6
2362 else $as_nop
2363 if printf "%s\n" 'TRUE=$(BAR$(V))
2364 BAR0=false
2365 BAR1=true
2366 V=1
2367 am__doit:
2368 @$(TRUE)
2369 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2370 am_cv_make_support_nested_variables=yes
2371 else
2372 am_cv_make_support_nested_variables=no
2373 fi
2374 fi
2375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2376 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2377 if test $am_cv_make_support_nested_variables = yes; then
2378 AM_V='$(V)'
2379 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2380 else
2381 AM_V=$AM_DEFAULT_VERBOSITY
2382 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2383 fi
2384 AM_BACKSLASH='\'
2385
2386 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2387 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2388 # is not polluted with repeated "-I."
2389 am__isrc=' -I$(srcdir)'
2390 # test to see if srcdir already configured
2391 if test -f $srcdir/config.status; then
2392 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2393 fi
2394 fi
2395
2396 # test whether we have cygpath
2397 if test -z "$CYGPATH_W"; then
2398 if (cygpath --version) >/dev/null 2>/dev/null; then
2399 CYGPATH_W='cygpath -w'
2400 else
2401 CYGPATH_W=echo
2402 fi
2403 fi
2404
2405
2406 # Define the identity of the package.
2407 PACKAGE='guile-json'
2408 VERSION='4.7.3'
2409
2410
2411 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2412
2413
2414 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2415
2416 # Some tools Automake needs.
2417
2418 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2419
2420
2421 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2422
2423
2424 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2425
2426
2427 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2428
2429
2430 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2431
2432 # For better backward compatibility. To be removed once Automake 1.9.x
2433 # dies out for good. For more background, see:
2434 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2435 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2436 mkdir_p='$(MKDIR_P)'
2437
2438 # We need awk for the "check" target (and possibly the TAP driver). The
2439 # system "awk" is bad on some platforms.
2440 # Always define AMTAR for backward compatibility. Yes, it's still used
2441 # in the wild :-( We should find a proper way to deprecate it ...
2442 AMTAR='$${TAR-tar}'
2443
2444
2445 # We'll loop over all known methods to create a tar archive until one works.
2446 _am_tools='gnutar pax cpio none'
2447
2448 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2449
2450
2451
2452
2453
2454 # Variables for tags utilities; see am/tags.am
2455 if test -z "$CTAGS"; then
2456 CTAGS=ctags
2457 fi
2458
2459 if test -z "$ETAGS"; then
2460 ETAGS=etags
2461 fi
2462
2463 if test -z "$CSCOPE"; then
2464 CSCOPE=cscope
2465 fi
2466
2467
2468
2469 # POSIX will say in a future version that running "rm -f" with no argument
2470 # is OK; and we want to be able to make that assumption in our Makefile
2471 # recipes. So use an aggressive probe to check that the usage we want is
2472 # actually supported "in the wild" to an acceptable degree.
2473 # See automake bug#10828.
2474 # To make any issue more visible, cause the running configure to be aborted
2475 # by default if the 'rm' program in use doesn't match our expectations; the
2476 # user can still override this though.
2477 if rm -f && rm -fr && rm -rf; then : OK; else
2478 cat >&2 <<'END'
2479 Oops!
2480
2481 Your 'rm' program seems unable to run without file operands specified
2482 on the command line, even when the '-f' option is present. This is contrary
2483 to the behaviour of most rm programs out there, and not conforming with
2484 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2485
2486 Please tell [email protected] about your system, including the value
2487 of your $PATH and any error possibly output before this message. This
2488 can help us improve future automake versions.
2489
2490 END
2491 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2492 echo 'Configuration will proceed anyway, since you have set the' >&2
2493 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2494 echo >&2
2495 else
2496 cat >&2 <<'END'
2497 Aborting the configuration process, to ensure you take notice of the issue.
2498
2499 You can download and install GNU coreutils to get an 'rm' implementation
2500 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2501
2502 If you want to complete the configuration process using your problematic
2503 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2504 to "yes", and re-run configure.
2505
2506 END
2507 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2508 fi
2509 fi
2510
2511 # Check whether --enable-silent-rules was given.
2512 if test ${enable_silent_rules+y}
2513 then :
2514 enableval=$enable_silent_rules;
2515 fi
2516
2517 case $enable_silent_rules in # (((
2518 yes) AM_DEFAULT_VERBOSITY=0;;
2519 no) AM_DEFAULT_VERBOSITY=1;;
2520 *) AM_DEFAULT_VERBOSITY=0;;
2521 esac
2522 am_make=${MAKE-make}
2523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2524 printf %s "checking whether $am_make supports nested variables... " >&6; }
2525 if test ${am_cv_make_support_nested_variables+y}
2526 then :
2527 printf %s "(cached) " >&6
2528 else $as_nop
2529 if printf "%s\n" 'TRUE=$(BAR$(V))
2530 BAR0=false
2531 BAR1=true
2532 V=1
2533 am__doit:
2534 @$(TRUE)
2535 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2536 am_cv_make_support_nested_variables=yes
2537 else
2538 am_cv_make_support_nested_variables=no
2539 fi
2540 fi
2541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2542 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2543 if test $am_cv_make_support_nested_variables = yes; then
2544 AM_V='$(V)'
2545 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2546 else
2547 AM_V=$AM_DEFAULT_VERBOSITY
2548 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2549 fi
2550 AM_BACKSLASH='\'
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2564 if test -n "$ac_tool_prefix"; then
2565 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2566 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 printf %s "checking for $ac_word... " >&6; }
2569 if test ${ac_cv_path_PKG_CONFIG+y}
2570 then :
2571 printf %s "(cached) " >&6
2572 else $as_nop
2573 case $PKG_CONFIG in
2574 [\\/]* | ?:[\\/]*)
2575 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2576 ;;
2577 *)
2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579 for as_dir in $PATH
2580 do
2581 IFS=$as_save_IFS
2582 case $as_dir in #(((
2583 '') as_dir=./ ;;
2584 */) ;;
2585 *) as_dir=$as_dir/ ;;
2586 esac
2587 for ac_exec_ext in '' $ac_executable_extensions; do
2588 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2589 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2590 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2591 break 2
2592 fi
2593 done
2594 done
2595 IFS=$as_save_IFS
2596
2597 ;;
2598 esac
2599 fi
2600 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2601 if test -n "$PKG_CONFIG"; then
2602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2603 printf "%s\n" "$PKG_CONFIG" >&6; }
2604 else
2605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 printf "%s\n" "no" >&6; }
2607 fi
2608
2609
2610 fi
2611 if test -z "$ac_cv_path_PKG_CONFIG"; then
2612 ac_pt_PKG_CONFIG=$PKG_CONFIG
2613 # Extract the first word of "pkg-config", so it can be a program name with args.
2614 set dummy pkg-config; ac_word=$2
2615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2616 printf %s "checking for $ac_word... " >&6; }
2617 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
2618 then :
2619 printf %s "(cached) " >&6
2620 else $as_nop
2621 case $ac_pt_PKG_CONFIG in
2622 [\\/]* | ?:[\\/]*)
2623 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2624 ;;
2625 *)
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 for as_dir in $PATH
2628 do
2629 IFS=$as_save_IFS
2630 case $as_dir in #(((
2631 '') as_dir=./ ;;
2632 */) ;;
2633 *) as_dir=$as_dir/ ;;
2634 esac
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2637 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
2638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2639 break 2
2640 fi
2641 done
2642 done
2643 IFS=$as_save_IFS
2644
2645 ;;
2646 esac
2647 fi
2648 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2649 if test -n "$ac_pt_PKG_CONFIG"; then
2650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2651 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
2652 else
2653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654 printf "%s\n" "no" >&6; }
2655 fi
2656
2657 if test "x$ac_pt_PKG_CONFIG" = x; then
2658 PKG_CONFIG=""
2659 else
2660 case $cross_compiling:$ac_tool_warned in
2661 yes:)
2662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2663 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2664 ac_tool_warned=yes ;;
2665 esac
2666 PKG_CONFIG=$ac_pt_PKG_CONFIG
2667 fi
2668 else
2669 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2670 fi
2671
2672 fi
2673 if test -n "$PKG_CONFIG"; then
2674 _pkg_min_version=0.9.0
2675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2676 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2677 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2679 printf "%s\n" "yes" >&6; }
2680 else
2681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682 printf "%s\n" "no" >&6; }
2683 PKG_CONFIG=""
2684 fi
2685 fi
2686 _guile_versions_to_search="3.0 2.2 2.0"
2687 if test -n "$GUILE_EFFECTIVE_VERSION"; then
2688 _guile_tmp=""
2689 for v in $_guile_versions_to_search; do
2690 if test "$v" = "$GUILE_EFFECTIVE_VERSION"; then
2691 _guile_tmp=$v
2692 fi
2693 done
2694 if test -z "$_guile_tmp"; then
2695 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2696 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2697 as_fn_error $? "searching for guile development files for versions $_guile_versions_to_search, but previously found $GUILE version $GUILE_EFFECTIVE_VERSION
2698 See \`config.log' for more details" "$LINENO" 5; }
2699 fi
2700 _guile_versions_to_search=$GUILE_EFFECTIVE_VERSION
2701 fi
2702 GUILE_EFFECTIVE_VERSION=""
2703 _guile_errors=""
2704 for v in $_guile_versions_to_search; do
2705 if test -z "$GUILE_EFFECTIVE_VERSION"; then
2706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for guile $v" >&5
2707 printf "%s\n" "$as_me: checking for guile $v" >&6;}
2708 if test -n "$PKG_CONFIG" && \
2709 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"guile-\$v\""; } >&5
2710 ($PKG_CONFIG --exists --print-errors "guile-$v") 2>&5
2711 ac_status=$?
2712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2713 test $ac_status = 0; }; then
2714 GUILE_EFFECTIVE_VERSION=$v
2715 fi
2716 fi
2717 done
2718
2719 if test -z "$GUILE_EFFECTIVE_VERSION"; then
2720 as_fn_error $? "
2721 No Guile development packages were found.
2722
2723 Please verify that you have Guile installed. If you installed Guile
2724 from a binary distribution, please verify that you have also installed
2725 the development packages. If you installed it yourself, you might need
2726 to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.
2727 " "$LINENO" 5
2728 fi
2729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: found guile $GUILE_EFFECTIVE_VERSION" >&5
2730 printf "%s\n" "$as_me: found guile $GUILE_EFFECTIVE_VERSION" >&6;}
2731
2732
2733 _guile_required_version="$GUILE_EFFECTIVE_VERSION"
2734 if test -z "$_guile_required_version"; then
2735 _guile_required_version=2.2
2736 fi
2737
2738 _guile_candidates=guile
2739 _tmp=
2740 for v in `echo "$_guile_required_version" | tr . ' '`; do
2741 if test -n "$_tmp"; then _tmp=$_tmp.; fi
2742 _tmp=$_tmp$v
2743 _guile_candidates="guile-$_tmp guile$_tmp $_guile_candidates"
2744 done
2745
2746 for ac_prog in $_guile_candidates
2747 do
2748 # Extract the first word of "$ac_prog", so it can be a program name with args.
2749 set dummy $ac_prog; ac_word=$2
2750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 printf %s "checking for $ac_word... " >&6; }
2752 if test ${ac_cv_path_GUILE+y}
2753 then :
2754 printf %s "(cached) " >&6
2755 else $as_nop
2756 case $GUILE in
2757 [\\/]* | ?:[\\/]*)
2758 ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
2759 ;;
2760 *)
2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762 for as_dir in $PATH
2763 do
2764 IFS=$as_save_IFS
2765 case $as_dir in #(((
2766 '') as_dir=./ ;;
2767 */) ;;
2768 *) as_dir=$as_dir/ ;;
2769 esac
2770 for ac_exec_ext in '' $ac_executable_extensions; do
2771 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2772 ac_cv_path_GUILE="$as_dir$ac_word$ac_exec_ext"
2773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2774 break 2
2775 fi
2776 done
2777 done
2778 IFS=$as_save_IFS
2779
2780 ;;
2781 esac
2782 fi
2783 GUILE=$ac_cv_path_GUILE
2784 if test -n "$GUILE"; then
2785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GUILE" >&5
2786 printf "%s\n" "$GUILE" >&6; }
2787 else
2788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789 printf "%s\n" "no" >&6; }
2790 fi
2791
2792
2793 test -n "$GUILE" && break
2794 done
2795
2796 if test -z "$GUILE"; then
2797 as_fn_error $? "guile required but not found" "$LINENO" 5
2798 fi
2799
2800 _guile_suffix=`echo "$GUILE" | sed -e 's,^.*/guile\(.*\)$,\1,'`
2801 _guile_effective_version=`$GUILE -c "(display (effective-version))"`
2802 if test -z "$GUILE_EFFECTIVE_VERSION"; then
2803 GUILE_EFFECTIVE_VERSION=$_guile_effective_version
2804 elif test "$GUILE_EFFECTIVE_VERSION" != "$_guile_effective_version"; then
2805 as_fn_error $? "found development files for Guile $GUILE_EFFECTIVE_VERSION, but $GUILE has effective version $_guile_effective_version" "$LINENO" 5
2806 fi
2807
2808 _guile_major_version=`$GUILE -c "(display (major-version))"`
2809 _guile_minor_version=`$GUILE -c "(display (minor-version))"`
2810 _guile_micro_version=`$GUILE -c "(display (micro-version))"`
2811 _guile_prog_version="$_guile_major_version.$_guile_minor_version.$_guile_micro_version"
2812
2813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Guile version >= $_guile_required_version" >&5
2814 printf %s "checking for Guile version >= $_guile_required_version... " >&6; }
2815 _major_version=`echo $_guile_required_version | cut -d . -f 1`
2816 _minor_version=`echo $_guile_required_version | cut -d . -f 2`
2817 _micro_version=`echo $_guile_required_version | cut -d . -f 3`
2818 if test "$_guile_major_version" -gt "$_major_version"; then
2819 true
2820 elif test "$_guile_major_version" -eq "$_major_version"; then
2821 if test "$_guile_minor_version" -gt "$_minor_version"; then
2822 true
2823 elif test "$_guile_minor_version" -eq "$_minor_version"; then
2824 if test -n "$_micro_version"; then
2825 if test "$_guile_micro_version" -lt "$_micro_version"; then
2826 as_fn_error $? "Guile $_guile_required_version required, but $_guile_prog_version found" "$LINENO" 5
2827 fi
2828 fi
2829 elif test "$GUILE_EFFECTIVE_VERSION" = "$_major_version.$_minor_version" -a -z "$_micro_version"; then
2830 # Allow prereleases that have the right effective version.
2831 true
2832 else
2833 as_fn_error $? "Guile $_guile_required_version required, but $_guile_prog_version found" "$LINENO" 5
2834 fi
2835 elif test "$GUILE_EFFECTIVE_VERSION" = "$_major_version.$_minor_version" -a -z "$_micro_version"; then
2836 # Allow prereleases that have the right effective version.
2837 true
2838 else
2839 as_fn_error $? "Guile $_guile_required_version required, but $_guile_prog_version found" "$LINENO" 5
2840 fi
2841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_guile_prog_version" >&5
2842 printf "%s\n" "$_guile_prog_version" >&6; }
2843
2844 for ac_prog in guild$_guile_suffix guild
2845 do
2846 # Extract the first word of "$ac_prog", so it can be a program name with args.
2847 set dummy $ac_prog; ac_word=$2
2848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 printf %s "checking for $ac_word... " >&6; }
2850 if test ${ac_cv_path_GUILD+y}
2851 then :
2852 printf %s "(cached) " >&6
2853 else $as_nop
2854 case $GUILD in
2855 [\\/]* | ?:[\\/]*)
2856 ac_cv_path_GUILD="$GUILD" # Let the user override the test with a path.
2857 ;;
2858 *)
2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2860 for as_dir in $PATH
2861 do
2862 IFS=$as_save_IFS
2863 case $as_dir in #(((
2864 '') as_dir=./ ;;
2865 */) ;;
2866 *) as_dir=$as_dir/ ;;
2867 esac
2868 for ac_exec_ext in '' $ac_executable_extensions; do
2869 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2870 ac_cv_path_GUILD="$as_dir$ac_word$ac_exec_ext"
2871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2872 break 2
2873 fi
2874 done
2875 done
2876 IFS=$as_save_IFS
2877
2878 ;;
2879 esac
2880 fi
2881 GUILD=$ac_cv_path_GUILD
2882 if test -n "$GUILD"; then
2883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GUILD" >&5
2884 printf "%s\n" "$GUILD" >&6; }
2885 else
2886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2887 printf "%s\n" "no" >&6; }
2888 fi
2889
2890
2891 test -n "$GUILD" && break
2892 done
2893
2894
2895
2896 for ac_prog in guile-config$_guile_suffix guile-config
2897 do
2898 # Extract the first word of "$ac_prog", so it can be a program name with args.
2899 set dummy $ac_prog; ac_word=$2
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2901 printf %s "checking for $ac_word... " >&6; }
2902 if test ${ac_cv_path_GUILE_CONFIG+y}
2903 then :
2904 printf %s "(cached) " >&6
2905 else $as_nop
2906 case $GUILE_CONFIG in
2907 [\\/]* | ?:[\\/]*)
2908 ac_cv_path_GUILE_CONFIG="$GUILE_CONFIG" # Let the user override the test with a path.
2909 ;;
2910 *)
2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 for as_dir in $PATH
2913 do
2914 IFS=$as_save_IFS
2915 case $as_dir in #(((
2916 '') as_dir=./ ;;
2917 */) ;;
2918 *) as_dir=$as_dir/ ;;
2919 esac
2920 for ac_exec_ext in '' $ac_executable_extensions; do
2921 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2922 ac_cv_path_GUILE_CONFIG="$as_dir$ac_word$ac_exec_ext"
2923 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2924 break 2
2925 fi
2926 done
2927 done
2928 IFS=$as_save_IFS
2929
2930 ;;
2931 esac
2932 fi
2933 GUILE_CONFIG=$ac_cv_path_GUILE_CONFIG
2934 if test -n "$GUILE_CONFIG"; then
2935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GUILE_CONFIG" >&5
2936 printf "%s\n" "$GUILE_CONFIG" >&6; }
2937 else
2938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 printf "%s\n" "no" >&6; }
2940 fi
2941
2942
2943 test -n "$GUILE_CONFIG" && break
2944 done
2945
2946
2947 if test -n "$GUILD"; then
2948 GUILE_TOOLS=$GUILD
2949 else
2950 for ac_prog in guile-tools$_guile_suffix guile-tools
2951 do
2952 # Extract the first word of "$ac_prog", so it can be a program name with args.
2953 set dummy $ac_prog; ac_word=$2
2954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2955 printf %s "checking for $ac_word... " >&6; }
2956 if test ${ac_cv_path_GUILE_TOOLS+y}
2957 then :
2958 printf %s "(cached) " >&6
2959 else $as_nop
2960 case $GUILE_TOOLS in
2961 [\\/]* | ?:[\\/]*)
2962 ac_cv_path_GUILE_TOOLS="$GUILE_TOOLS" # Let the user override the test with a path.
2963 ;;
2964 *)
2965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966 for as_dir in $PATH
2967 do
2968 IFS=$as_save_IFS
2969 case $as_dir in #(((
2970 '') as_dir=./ ;;
2971 */) ;;
2972 *) as_dir=$as_dir/ ;;
2973 esac
2974 for ac_exec_ext in '' $ac_executable_extensions; do
2975 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2976 ac_cv_path_GUILE_TOOLS="$as_dir$ac_word$ac_exec_ext"
2977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2978 break 2
2979 fi
2980 done
2981 done
2982 IFS=$as_save_IFS
2983
2984 ;;
2985 esac
2986 fi
2987 GUILE_TOOLS=$ac_cv_path_GUILE_TOOLS
2988 if test -n "$GUILE_TOOLS"; then
2989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GUILE_TOOLS" >&5
2990 printf "%s\n" "$GUILE_TOOLS" >&6; }
2991 else
2992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 printf "%s\n" "no" >&6; }
2994 fi
2995
2996
2997 test -n "$GUILE_TOOLS" && break
2998 done
2999
3000 fi
3001
3002
3003
3004
3005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Guile site directory" >&5
3006 printf %s "checking for Guile site directory... " >&6; }
3007 GUILE_SITE=`$PKG_CONFIG --print-errors --variable=sitedir guile-$GUILE_EFFECTIVE_VERSION`
3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GUILE_SITE" >&5
3009 printf "%s\n" "$GUILE_SITE" >&6; }
3010 if test "$GUILE_SITE" = ""; then
3011 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3012 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3013 as_fn_error $? "sitedir not found
3014 See \`config.log' for more details" "$LINENO" 5; }
3015 fi
3016
3017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Guile site-ccache directory using pkgconfig" >&5
3018 printf %s "checking for Guile site-ccache directory using pkgconfig... " >&6; }
3019 GUILE_SITE_CCACHE=`$PKG_CONFIG --variable=siteccachedir guile-$GUILE_EFFECTIVE_VERSION`
3020 if test "$GUILE_SITE_CCACHE" = ""; then
3021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 printf "%s\n" "no" >&6; }
3023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Guile site-ccache directory using interpreter" >&5
3024 printf %s "checking for Guile site-ccache directory using interpreter... " >&6; }
3025 GUILE_SITE_CCACHE=`$GUILE -c "(display (if (defined? '%site-ccache-dir) (%site-ccache-dir) \"\"))"`
3026 if test $? != "0" -o "$GUILE_SITE_CCACHE" = ""; then
3027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 printf "%s\n" "no" >&6; }
3029 GUILE_SITE_CCACHE=""
3030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: siteccachedir not found" >&5
3031 printf "%s\n" "$as_me: WARNING: siteccachedir not found" >&2;}
3032 fi
3033 fi
3034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GUILE_SITE_CCACHE" >&5
3035 printf "%s\n" "$GUILE_SITE_CCACHE" >&6; }
3036
3037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Guile extensions directory" >&5
3038 printf %s "checking for Guile extensions directory... " >&6; }
3039 GUILE_EXTENSION=`$PKG_CONFIG --print-errors --variable=extensiondir guile-$GUILE_EFFECTIVE_VERSION`
3040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GUILE_EXTENSION" >&5
3041 printf "%s\n" "$GUILE_EXTENSION" >&6; }
3042 if test "$GUILE_EXTENSION" = ""; then
3043 GUILE_EXTENSION=""
3044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: extensiondir not found" >&5
3045 printf "%s\n" "$as_me: WARNING: extensiondir not found" >&2;}
3046 fi
3047
3048
3049
3050 GUILE_PREFIX=`$PKG_CONFIG --print-errors --variable=prefix guile-$GUILE_EFFECTIVE_VERSION`
3051 GUILE_LIBDIR=`$PKG_CONFIG --print-errors --variable=libdir guile-$GUILE_EFFECTIVE_VERSION`
3052
3053
3054
3055 if test "$cross_compiling" != no; then
3056 GUILE_TARGET="--target=$host_alias"
3057
3058 fi
3059
3060 ac_config_files="$ac_config_files Makefile json/Makefile tests/Makefile"
3061
3062 ac_config_files="$ac_config_files env"
3063
3064
3065 cat >confcache <<\_ACEOF
3066 # This file is a shell script that caches the results of configure
3067 # tests run on this system so they can be shared between configure
3068 # scripts and configure runs, see configure's option --config-cache.
3069 # It is not useful on other systems. If it contains results you don't
3070 # want to keep, you may remove or edit it.
3071 #
3072 # config.status only pays attention to the cache file if you give it
3073 # the --recheck option to rerun configure.
3074 #
3075 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3076 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3077 # following values.
3078
3079 _ACEOF
3080
3081 # The following way of writing the cache mishandles newlines in values,
3082 # but we know of no workaround that is simple, portable, and efficient.
3083 # So, we kill variables containing newlines.
3084 # Ultrix sh set writes to stderr and can't be redirected directly,
3085 # and sets the high bit in the cache file unless we assign to the vars.
3086 (
3087 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3088 eval ac_val=\$$ac_var
3089 case $ac_val in #(
3090 *${as_nl}*)
3091 case $ac_var in #(
3092 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3093 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3094 esac
3095 case $ac_var in #(
3096 _ | IFS | as_nl) ;; #(
3097 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3098 *) { eval $ac_var=; unset $ac_var;} ;;
3099 esac ;;
3100 esac
3101 done
3102
3103 (set) 2>&1 |
3104 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3105 *${as_nl}ac_space=\ *)
3106 # `set' does not quote correctly, so add quotes: double-quote
3107 # substitution turns \\\\ into \\, and sed turns \\ into \.
3108 sed -n \
3109 "s/'/'\\\\''/g;
3110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3111 ;; #(
3112 *)
3113 # `set' quotes correctly as required by POSIX, so do not add quotes.
3114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3115 ;;
3116 esac |
3117 sort
3118 ) |
3119 sed '
3120 /^ac_cv_env_/b end
3121 t clear
3122 :clear
3123 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3124 t end
3125 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3126 :end' >>confcache
3127 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3128 if test -w "$cache_file"; then
3129 if test "x$cache_file" != "x/dev/null"; then
3130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3131 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3132 if test ! -f "$cache_file" || test -h "$cache_file"; then
3133 cat confcache >"$cache_file"
3134 else
3135 case $cache_file in #(
3136 */* | ?:*)
3137 mv -f confcache "$cache_file"$$ &&
3138 mv -f "$cache_file"$$ "$cache_file" ;; #(
3139 *)
3140 mv -f confcache "$cache_file" ;;
3141 esac
3142 fi
3143 fi
3144 else
3145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3146 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3147 fi
3148 fi
3149 rm -f confcache
3150
3151 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3152 # Let make expand exec_prefix.
3153 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3154
3155 # Transform confdefs.h into DEFS.
3156 # Protect against shell expansion while executing Makefile rules.
3157 # Protect against Makefile macro expansion.
3158 #
3159 # If the first sed substitution is executed (which looks for macros that
3160 # take arguments), then branch to the quote section. Otherwise,
3161 # look for a macro that doesn't take arguments.
3162 ac_script='
3163 :mline
3164 /\\$/{
3165 N
3166 s,\\\n,,
3167 b mline
3168 }
3169 t clear
3170 :clear
3171 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3172 t quote
3173 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3174 t quote
3175 b any
3176 :quote
3177 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3178 s/\[/\\&/g
3179 s/\]/\\&/g
3180 s/\$/$$/g
3181 H
3182 :any
3183 ${
3184 g
3185 s/^\n//
3186 s/\n/ /g
3187 p
3188 }
3189 '
3190 DEFS=`sed -n "$ac_script" confdefs.h`
3191
3192
3193 ac_libobjs=
3194 ac_ltlibobjs=
3195 U=
3196 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3197 # 1. Remove the extension, and $U if already installed.
3198 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3199 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3200 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3201 # will be set to the directory where LIBOBJS objects are built.
3202 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3203 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3204 done
3205 LIBOBJS=$ac_libobjs
3206
3207 LTLIBOBJS=$ac_ltlibobjs
3208
3209
3210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3211 printf %s "checking that generated files are newer than configure... " >&6; }
3212 if test -n "$am_sleep_pid"; then
3213 # Hide warnings about reused PIDs.
3214 wait $am_sleep_pid 2>/dev/null
3215 fi
3216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
3217 printf "%s\n" "done" >&6; }
3218
3219
3220 : "${CONFIG_STATUS=./config.status}"
3221 ac_write_fail=0
3222 ac_clean_files_save=$ac_clean_files
3223 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3225 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3226 as_write_fail=0
3227 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3228 #! $SHELL
3229 # Generated by $as_me.
3230 # Run this file to recreate the current configuration.
3231 # Compiler output produced by configure, useful for debugging
3232 # configure, is in config.log if it exists.
3233
3234 debug=false
3235 ac_cs_recheck=false
3236 ac_cs_silent=false
3237
3238 SHELL=\${CONFIG_SHELL-$SHELL}
3239 export SHELL
3240 _ASEOF
3241 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3242 ## -------------------- ##
3243 ## M4sh Initialization. ##
3244 ## -------------------- ##
3245
3246 # Be more Bourne compatible
3247 DUALCASE=1; export DUALCASE # for MKS sh
3248 as_nop=:
3249 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3250 then :
3251 emulate sh
3252 NULLCMD=:
3253 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3254 # is contrary to our usage. Disable this feature.
3255 alias -g '${1+"$@"}'='"$@"'
3256 setopt NO_GLOB_SUBST
3257 else $as_nop
3258 case `(set -o) 2>/dev/null` in #(
3259 *posix*) :
3260 set -o posix ;; #(
3261 *) :
3262 ;;
3263 esac
3264 fi
3265
3266
3267
3268 # Reset variables that may have inherited troublesome values from
3269 # the environment.
3270
3271 # IFS needs to be set, to space, tab, and newline, in precisely that order.
3272 # (If _AS_PATH_WALK were called with IFS unset, it would have the
3273 # side effect of setting IFS to empty, thus disabling word splitting.)
3274 # Quoting is to prevent editors from complaining about space-tab.
3275 as_nl='
3276 '
3277 export as_nl
3278 IFS=" "" $as_nl"
3279
3280 PS1='$ '
3281 PS2='> '
3282 PS4='+ '
3283
3284 # Ensure predictable behavior from utilities with locale-dependent output.
3285 LC_ALL=C
3286 export LC_ALL
3287 LANGUAGE=C
3288 export LANGUAGE
3289
3290 # We cannot yet rely on "unset" to work, but we need these variables
3291 # to be unset--not just set to an empty or harmless value--now, to
3292 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3293 # also avoids known problems related to "unset" and subshell syntax
3294 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3295 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3296 do eval test \${$as_var+y} \
3297 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3298 done
3299
3300 # Ensure that fds 0, 1, and 2 are open.
3301 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3302 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3303 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3304
3305 # The user is always right.
3306 if ${PATH_SEPARATOR+false} :; then
3307 PATH_SEPARATOR=:
3308 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3309 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3310 PATH_SEPARATOR=';'
3311 }
3312 fi
3313
3314
3315 # Find who we are. Look in the path if we contain no directory separator.
3316 as_myself=
3317 case $0 in #((
3318 *[\\/]* ) as_myself=$0 ;;
3319 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320 for as_dir in $PATH
3321 do
3322 IFS=$as_save_IFS
3323 case $as_dir in #(((
3324 '') as_dir=./ ;;
3325 */) ;;
3326 *) as_dir=$as_dir/ ;;
3327 esac
3328 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3329 done
3330 IFS=$as_save_IFS
3331
3332 ;;
3333 esac
3334 # We did not find ourselves, most probably we were run as `sh COMMAND'
3335 # in which case we are not to be found in the path.
3336 if test "x$as_myself" = x; then
3337 as_myself=$0
3338 fi
3339 if test ! -f "$as_myself"; then
3340 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3341 exit 1
3342 fi
3343
3344
3345
3346 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3347 # ----------------------------------------
3348 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3349 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3350 # script with STATUS, using 1 if that was 0.
3351 as_fn_error ()
3352 {
3353 as_status=$1; test $as_status -eq 0 && as_status=1
3354 if test "$4"; then
3355 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3357 fi
3358 printf "%s\n" "$as_me: error: $2" >&2
3359 as_fn_exit $as_status
3360 } # as_fn_error
3361
3362
3363
3364 # as_fn_set_status STATUS
3365 # -----------------------
3366 # Set $? to STATUS, without forking.
3367 as_fn_set_status ()
3368 {
3369 return $1
3370 } # as_fn_set_status
3371
3372 # as_fn_exit STATUS
3373 # -----------------
3374 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3375 as_fn_exit ()
3376 {
3377 set +e
3378 as_fn_set_status $1
3379 exit $1
3380 } # as_fn_exit
3381
3382 # as_fn_unset VAR
3383 # ---------------
3384 # Portably unset VAR.
3385 as_fn_unset ()
3386 {
3387 { eval $1=; unset $1;}
3388 }
3389 as_unset=as_fn_unset
3390
3391 # as_fn_append VAR VALUE
3392 # ----------------------
3393 # Append the text in VALUE to the end of the definition contained in VAR. Take
3394 # advantage of any shell optimizations that allow amortized linear growth over
3395 # repeated appends, instead of the typical quadratic growth present in naive
3396 # implementations.
3397 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3398 then :
3399 eval 'as_fn_append ()
3400 {
3401 eval $1+=\$2
3402 }'
3403 else $as_nop
3404 as_fn_append ()
3405 {
3406 eval $1=\$$1\$2
3407 }
3408 fi # as_fn_append
3409
3410 # as_fn_arith ARG...
3411 # ------------------
3412 # Perform arithmetic evaluation on the ARGs, and store the result in the
3413 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3414 # must be portable across $(()) and expr.
3415 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3416 then :
3417 eval 'as_fn_arith ()
3418 {
3419 as_val=$(( $* ))
3420 }'
3421 else $as_nop
3422 as_fn_arith ()
3423 {
3424 as_val=`expr "$@" || test $? -eq 1`
3425 }
3426 fi # as_fn_arith
3427
3428
3429 if expr a : '\(a\)' >/dev/null 2>&1 &&
3430 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3431 as_expr=expr
3432 else
3433 as_expr=false
3434 fi
3435
3436 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3437 as_basename=basename
3438 else
3439 as_basename=false
3440 fi
3441
3442 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3443 as_dirname=dirname
3444 else
3445 as_dirname=false
3446 fi
3447
3448 as_me=`$as_basename -- "$0" ||
3449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3450 X"$0" : 'X\(//\)$' \| \
3451 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3452 printf "%s\n" X/"$0" |
3453 sed '/^.*\/\([^/][^/]*\)\/*$/{
3454 s//\1/
3455 q
3456 }
3457 /^X\/\(\/\/\)$/{
3458 s//\1/
3459 q
3460 }
3461 /^X\/\(\/\).*/{
3462 s//\1/
3463 q
3464 }
3465 s/.*/./; q'`
3466
3467 # Avoid depending upon Character Ranges.
3468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3471 as_cr_digits='0123456789'
3472 as_cr_alnum=$as_cr_Letters$as_cr_digits
3473
3474
3475 # Determine whether it's possible to make 'echo' print without a newline.
3476 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3477 # for compatibility with existing Makefiles.
3478 ECHO_C= ECHO_N= ECHO_T=
3479 case `echo -n x` in #(((((
3480 -n*)
3481 case `echo 'xy\c'` in
3482 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3483 xy) ECHO_C='\c';;
3484 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3485 ECHO_T=' ';;
3486 esac;;
3487 *)
3488 ECHO_N='-n';;
3489 esac
3490
3491 # For backward compatibility with old third-party macros, we provide
3492 # the shell variables $as_echo and $as_echo_n. New code should use
3493 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3494 as_echo='printf %s\n'
3495 as_echo_n='printf %s'
3496
3497 rm -f conf$$ conf$$.exe conf$$.file
3498 if test -d conf$$.dir; then
3499 rm -f conf$$.dir/conf$$.file
3500 else
3501 rm -f conf$$.dir
3502 mkdir conf$$.dir 2>/dev/null
3503 fi
3504 if (echo >conf$$.file) 2>/dev/null; then
3505 if ln -s conf$$.file conf$$ 2>/dev/null; then
3506 as_ln_s='ln -s'
3507 # ... but there are two gotchas:
3508 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3509 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3510 # In both cases, we have to default to `cp -pR'.
3511 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3512 as_ln_s='cp -pR'
3513 elif ln conf$$.file conf$$ 2>/dev/null; then
3514 as_ln_s=ln
3515 else
3516 as_ln_s='cp -pR'
3517 fi
3518 else
3519 as_ln_s='cp -pR'
3520 fi
3521 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3522 rmdir conf$$.dir 2>/dev/null
3523
3524
3525 # as_fn_mkdir_p
3526 # -------------
3527 # Create "$as_dir" as a directory, including parents if necessary.
3528 as_fn_mkdir_p ()
3529 {
3530
3531 case $as_dir in #(
3532 -*) as_dir=./$as_dir;;
3533 esac
3534 test -d "$as_dir" || eval $as_mkdir_p || {
3535 as_dirs=
3536 while :; do
3537 case $as_dir in #(
3538 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3539 *) as_qdir=$as_dir;;
3540 esac
3541 as_dirs="'$as_qdir' $as_dirs"
3542 as_dir=`$as_dirname -- "$as_dir" ||
3543 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3544 X"$as_dir" : 'X\(//\)[^/]' \| \
3545 X"$as_dir" : 'X\(//\)$' \| \
3546 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3547 printf "%s\n" X"$as_dir" |
3548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3549 s//\1/
3550 q
3551 }
3552 /^X\(\/\/\)[^/].*/{
3553 s//\1/
3554 q
3555 }
3556 /^X\(\/\/\)$/{
3557 s//\1/
3558 q
3559 }
3560 /^X\(\/\).*/{
3561 s//\1/
3562 q
3563 }
3564 s/.*/./; q'`
3565 test -d "$as_dir" && break
3566 done
3567 test -z "$as_dirs" || eval "mkdir $as_dirs"
3568 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3569
3570
3571 } # as_fn_mkdir_p
3572 if mkdir -p . 2>/dev/null; then
3573 as_mkdir_p='mkdir -p "$as_dir"'
3574 else
3575 test -d ./-p && rmdir ./-p
3576 as_mkdir_p=false
3577 fi
3578
3579
3580 # as_fn_executable_p FILE
3581 # -----------------------
3582 # Test if FILE is an executable regular file.
3583 as_fn_executable_p ()
3584 {
3585 test -f "$1" && test -x "$1"
3586 } # as_fn_executable_p
3587 as_test_x='test -x'
3588 as_executable_p=as_fn_executable_p
3589
3590 # Sed expression to map a string onto a valid CPP name.
3591 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3592
3593 # Sed expression to map a string onto a valid variable name.
3594 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3595
3596
3597 exec 6>&1
3598 ## ----------------------------------- ##
3599 ## Main body of $CONFIG_STATUS script. ##
3600 ## ----------------------------------- ##
3601 _ASEOF
3602 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3603
3604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3605 # Save the log message, to keep $0 and so on meaningful, and to
3606 # report actual input values of CONFIG_FILES etc. instead of their
3607 # values after options handling.
3608 ac_log="
3609 This file was extended by guile-json $as_me 4.7.3, which was
3610 generated by GNU Autoconf 2.71. Invocation command line was
3611
3612 CONFIG_FILES = $CONFIG_FILES
3613 CONFIG_HEADERS = $CONFIG_HEADERS
3614 CONFIG_LINKS = $CONFIG_LINKS
3615 CONFIG_COMMANDS = $CONFIG_COMMANDS
3616 $ $0 $@
3617
3618 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3619 "
3620
3621 _ACEOF
3622
3623 case $ac_config_files in *"
3624 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3625 esac
3626
3627
3628
3629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3630 # Files that config.status was made for.
3631 config_files="$ac_config_files"
3632
3633 _ACEOF
3634
3635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3636 ac_cs_usage="\
3637 \`$as_me' instantiates files and other configuration actions
3638 from templates according to the current configuration. Unless the files
3639 and actions are specified as TAGs, all are instantiated by default.
3640
3641 Usage: $0 [OPTION]... [TAG]...
3642
3643 -h, --help print this help, then exit
3644 -V, --version print version number and configuration settings, then exit
3645 --config print configuration, then exit
3646 -q, --quiet, --silent
3647 do not print progress messages
3648 -d, --debug don't remove temporary files
3649 --recheck update $as_me by reconfiguring in the same conditions
3650 --file=FILE[:TEMPLATE]
3651 instantiate the configuration file FILE
3652
3653 Configuration files:
3654 $config_files
3655
3656 Report bugs to <[email protected]>."
3657
3658 _ACEOF
3659 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3660 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3662 ac_cs_config='$ac_cs_config_escaped'
3663 ac_cs_version="\\
3664 guile-json config.status 4.7.3
3665 configured by $0, generated by GNU Autoconf 2.71,
3666 with options \\"\$ac_cs_config\\"
3667
3668 Copyright (C) 2021 Free Software Foundation, Inc.
3669 This config.status script is free software; the Free Software Foundation
3670 gives unlimited permission to copy, distribute and modify it."
3671
3672 ac_pwd='$ac_pwd'
3673 srcdir='$srcdir'
3674 INSTALL='$INSTALL'
3675 MKDIR_P='$MKDIR_P'
3676 AWK='$AWK'
3677 test -n "\$AWK" || AWK=awk
3678 _ACEOF
3679
3680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3681 # The default lists apply if the user does not specify any file.
3682 ac_need_defaults=:
3683 while test $# != 0
3684 do
3685 case $1 in
3686 --*=?*)
3687 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3688 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3689 ac_shift=:
3690 ;;
3691 --*=)
3692 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3693 ac_optarg=
3694 ac_shift=:
3695 ;;
3696 *)
3697 ac_option=$1
3698 ac_optarg=$2
3699 ac_shift=shift
3700 ;;
3701 esac
3702
3703 case $ac_option in
3704 # Handling of the options.
3705 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3706 ac_cs_recheck=: ;;
3707 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3708 printf "%s\n" "$ac_cs_version"; exit ;;
3709 --config | --confi | --conf | --con | --co | --c )
3710 printf "%s\n" "$ac_cs_config"; exit ;;
3711 --debug | --debu | --deb | --de | --d | -d )
3712 debug=: ;;
3713 --file | --fil | --fi | --f )
3714 $ac_shift
3715 case $ac_optarg in
3716 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3717 '') as_fn_error $? "missing file argument" ;;
3718 esac
3719 as_fn_append CONFIG_FILES " '$ac_optarg'"
3720 ac_need_defaults=false;;
3721 --he | --h | --help | --hel | -h )
3722 printf "%s\n" "$ac_cs_usage"; exit ;;
3723 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3724 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3725 ac_cs_silent=: ;;
3726
3727 # This is an error.
3728 -*) as_fn_error $? "unrecognized option: \`$1'
3729 Try \`$0 --help' for more information." ;;
3730
3731 *) as_fn_append ac_config_targets " $1"
3732 ac_need_defaults=false ;;
3733
3734 esac
3735 shift
3736 done
3737
3738 ac_configure_extra_args=
3739
3740 if $ac_cs_silent; then
3741 exec 6>/dev/null
3742 ac_configure_extra_args="$ac_configure_extra_args --silent"
3743 fi
3744
3745 _ACEOF
3746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3747 if \$ac_cs_recheck; then
3748 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3749 shift
3750 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3751 CONFIG_SHELL='$SHELL'
3752 export CONFIG_SHELL
3753 exec "\$@"
3754 fi
3755
3756 _ACEOF
3757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3758 exec 5>>config.log
3759 {
3760 echo
3761 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3762 ## Running $as_me. ##
3763 _ASBOX
3764 printf "%s\n" "$ac_log"
3765 } >&5
3766
3767 _ACEOF
3768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3769 _ACEOF
3770
3771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3772
3773 # Handling of arguments.
3774 for ac_config_target in $ac_config_targets
3775 do
3776 case $ac_config_target in
3777 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3778 "json/Makefile") CONFIG_FILES="$CONFIG_FILES json/Makefile" ;;
3779 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3780 "env") CONFIG_FILES="$CONFIG_FILES env" ;;
3781
3782 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3783 esac
3784 done
3785
3786
3787 # If the user did not use the arguments to specify the items to instantiate,
3788 # then the envvar interface is used. Set only those that are not.
3789 # We use the long form for the default assignment because of an extremely
3790 # bizarre bug on SunOS 4.1.3.
3791 if $ac_need_defaults; then
3792 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3793 fi
3794
3795 # Have a temporary directory for convenience. Make it in the build tree
3796 # simply because there is no reason against having it here, and in addition,
3797 # creating and moving files from /tmp can sometimes cause problems.
3798 # Hook for its removal unless debugging.
3799 # Note that there is a small window in which the directory will not be cleaned:
3800 # after its creation but before its name has been assigned to `$tmp'.
3801 $debug ||
3802 {
3803 tmp= ac_tmp=
3804 trap 'exit_status=$?
3805 : "${ac_tmp:=$tmp}"
3806 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3807 ' 0
3808 trap 'as_fn_exit 1' 1 2 13 15
3809 }
3810 # Create a (secure) tmp directory for tmp files.
3811
3812 {
3813 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3814 test -d "$tmp"
3815 } ||
3816 {
3817 tmp=./conf$$-$RANDOM
3818 (umask 077 && mkdir "$tmp")
3819 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3820 ac_tmp=$tmp
3821
3822 # Set up the scripts for CONFIG_FILES section.
3823 # No need to generate them if there are no CONFIG_FILES.
3824 # This happens for instance with `./config.status config.h'.
3825 if test -n "$CONFIG_FILES"; then
3826
3827
3828 ac_cr=`echo X | tr X '\015'`
3829 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3830 # But we know of no other shell where ac_cr would be empty at this
3831 # point, so we can use a bashism as a fallback.
3832 if test "x$ac_cr" = x; then
3833 eval ac_cr=\$\'\\r\'
3834 fi
3835 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3836 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3837 ac_cs_awk_cr='\\r'
3838 else
3839 ac_cs_awk_cr=$ac_cr
3840 fi
3841
3842 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3843 _ACEOF
3844
3845
3846 {
3847 echo "cat >conf$$subs.awk <<_ACEOF" &&
3848 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3849 echo "_ACEOF"
3850 } >conf$$subs.sh ||
3851 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3852 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3853 ac_delim='%!_!# '
3854 for ac_last_try in false false false false false :; do
3855 . ./conf$$subs.sh ||
3856 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3857
3858 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3859 if test $ac_delim_n = $ac_delim_num; then
3860 break
3861 elif $ac_last_try; then
3862 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3863 else
3864 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3865 fi
3866 done
3867 rm -f conf$$subs.sh
3868
3869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3870 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3871 _ACEOF
3872 sed -n '
3873 h
3874 s/^/S["/; s/!.*/"]=/
3875 p
3876 g
3877 s/^[^!]*!//
3878 :repl
3879 t repl
3880 s/'"$ac_delim"'$//
3881 t delim
3882 :nl
3883 h
3884 s/\(.\{148\}\)..*/\1/
3885 t more1
3886 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3887 p
3888 n
3889 b repl
3890 :more1
3891 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3892 p
3893 g
3894 s/.\{148\}//
3895 t nl
3896 :delim
3897 h
3898 s/\(.\{148\}\)..*/\1/
3899 t more2
3900 s/["\\]/\\&/g; s/^/"/; s/$/"/
3901 p
3902 b
3903 :more2
3904 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3905 p
3906 g
3907 s/.\{148\}//
3908 t delim
3909 ' <conf$$subs.awk | sed '
3910 /^[^""]/{
3911 N
3912 s/\n//
3913 }
3914 ' >>$CONFIG_STATUS || ac_write_fail=1
3915 rm -f conf$$subs.awk
3916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3917 _ACAWK
3918 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3919 for (key in S) S_is_set[key] = 1
3920 FS = ""
3921
3922 }
3923 {
3924 line = $ 0
3925 nfields = split(line, field, "@")
3926 substed = 0
3927 len = length(field[1])
3928 for (i = 2; i < nfields; i++) {
3929 key = field[i]
3930 keylen = length(key)
3931 if (S_is_set[key]) {
3932 value = S[key]
3933 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3934 len += length(value) + length(field[++i])
3935 substed = 1
3936 } else
3937 len += 1 + keylen
3938 }
3939
3940 print line
3941 }
3942
3943 _ACAWK
3944 _ACEOF
3945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3946 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3947 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3948 else
3949 cat
3950 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3951 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3952 _ACEOF
3953
3954 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3955 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3956 # trailing colons and then remove the whole line if VPATH becomes empty
3957 # (actually we leave an empty line to preserve line numbers).
3958 if test "x$srcdir" = x.; then
3959 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3960 h
3961 s///
3962 s/^/:/
3963 s/[ ]*$/:/
3964 s/:\$(srcdir):/:/g
3965 s/:\${srcdir}:/:/g
3966 s/:@srcdir@:/:/g
3967 s/^:*//
3968 s/:*$//
3969 x
3970 s/\(=[ ]*\).*/\1/
3971 G
3972 s/\n//
3973 s/^[^=]*=[ ]*$//
3974 }'
3975 fi
3976
3977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3978 fi # test -n "$CONFIG_FILES"
3979
3980
3981 eval set X " :F $CONFIG_FILES "
3982 shift
3983 for ac_tag
3984 do
3985 case $ac_tag in
3986 :[FHLC]) ac_mode=$ac_tag; continue;;
3987 esac
3988 case $ac_mode$ac_tag in
3989 :[FHL]*:*);;
3990 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3991 :[FH]-) ac_tag=-:-;;
3992 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3993 esac
3994 ac_save_IFS=$IFS
3995 IFS=:
3996 set x $ac_tag
3997 IFS=$ac_save_IFS
3998 shift
3999 ac_file=$1
4000 shift
4001
4002 case $ac_mode in
4003 :L) ac_source=$1;;
4004 :[FH])
4005 ac_file_inputs=
4006 for ac_f
4007 do
4008 case $ac_f in
4009 -) ac_f="$ac_tmp/stdin";;
4010 *) # Look for the file first in the build tree, then in the source tree
4011 # (if the path is not absolute). The absolute path cannot be DOS-style,
4012 # because $ac_f cannot contain `:'.
4013 test -f "$ac_f" ||
4014 case $ac_f in
4015 [\\/$]*) false;;
4016 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4017 esac ||
4018 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4019 esac
4020 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4021 as_fn_append ac_file_inputs " '$ac_f'"
4022 done
4023
4024 # Let's still pretend it is `configure' which instantiates (i.e., don't
4025 # use $as_me), people would be surprised to read:
4026 # /* config.h. Generated by config.status. */
4027 configure_input='Generated from '`
4028 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4029 `' by configure.'
4030 if test x"$ac_file" != x-; then
4031 configure_input="$ac_file. $configure_input"
4032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4033 printf "%s\n" "$as_me: creating $ac_file" >&6;}
4034 fi
4035 # Neutralize special characters interpreted by sed in replacement strings.
4036 case $configure_input in #(
4037 *\&* | *\|* | *\\* )
4038 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4039 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4040 *) ac_sed_conf_input=$configure_input;;
4041 esac
4042
4043 case $ac_tag in
4044 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4045 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4046 esac
4047 ;;
4048 esac
4049
4050 ac_dir=`$as_dirname -- "$ac_file" ||
4051 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4052 X"$ac_file" : 'X\(//\)[^/]' \| \
4053 X"$ac_file" : 'X\(//\)$' \| \
4054 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4055 printf "%s\n" X"$ac_file" |
4056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4057 s//\1/
4058 q
4059 }
4060 /^X\(\/\/\)[^/].*/{
4061 s//\1/
4062 q
4063 }
4064 /^X\(\/\/\)$/{
4065 s//\1/
4066 q
4067 }
4068 /^X\(\/\).*/{
4069 s//\1/
4070 q
4071 }
4072 s/.*/./; q'`
4073 as_dir="$ac_dir"; as_fn_mkdir_p
4074 ac_builddir=.
4075
4076 case "$ac_dir" in
4077 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4078 *)
4079 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4080 # A ".." for each directory in $ac_dir_suffix.
4081 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4082 case $ac_top_builddir_sub in
4083 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4084 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4085 esac ;;
4086 esac
4087 ac_abs_top_builddir=$ac_pwd
4088 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4089 # for backward compatibility:
4090 ac_top_builddir=$ac_top_build_prefix
4091
4092 case $srcdir in
4093 .) # We are building in place.
4094 ac_srcdir=.
4095 ac_top_srcdir=$ac_top_builddir_sub
4096 ac_abs_top_srcdir=$ac_pwd ;;
4097 [\\/]* | ?:[\\/]* ) # Absolute name.
4098 ac_srcdir=$srcdir$ac_dir_suffix;
4099 ac_top_srcdir=$srcdir
4100 ac_abs_top_srcdir=$srcdir ;;
4101 *) # Relative name.
4102 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4103 ac_top_srcdir=$ac_top_build_prefix$srcdir
4104 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4105 esac
4106 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4107
4108
4109 case $ac_mode in
4110 :F)
4111 #
4112 # CONFIG_FILE
4113 #
4114
4115 case $INSTALL in
4116 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4117 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4118 esac
4119 ac_MKDIR_P=$MKDIR_P
4120 case $MKDIR_P in
4121 [\\/$]* | ?:[\\/]* ) ;;
4122 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4123 esac
4124 _ACEOF
4125
4126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4127 # If the template does not know about datarootdir, expand it.
4128 # FIXME: This hack should be removed a few years after 2.60.
4129 ac_datarootdir_hack=; ac_datarootdir_seen=
4130 ac_sed_dataroot='
4131 /datarootdir/ {
4132 p
4133 q
4134 }
4135 /@datadir@/p
4136 /@docdir@/p
4137 /@infodir@/p
4138 /@localedir@/p
4139 /@mandir@/p'
4140 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4141 *datarootdir*) ac_datarootdir_seen=yes;;
4142 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4144 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4145 _ACEOF
4146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4147 ac_datarootdir_hack='
4148 s&@datadir@&$datadir&g
4149 s&@docdir@&$docdir&g
4150 s&@infodir@&$infodir&g
4151 s&@localedir@&$localedir&g
4152 s&@mandir@&$mandir&g
4153 s&\\\${datarootdir}&$datarootdir&g' ;;
4154 esac
4155 _ACEOF
4156
4157 # Neutralize VPATH when `$srcdir' = `.'.
4158 # Shell code in configure.ac might set extrasub.
4159 # FIXME: do we really want to maintain this feature?
4160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4161 ac_sed_extra="$ac_vpsub
4162 $extrasub
4163 _ACEOF
4164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4165 :t
4166 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4167 s|@configure_input@|$ac_sed_conf_input|;t t
4168 s&@top_builddir@&$ac_top_builddir_sub&;t t
4169 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4170 s&@srcdir@&$ac_srcdir&;t t
4171 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4172 s&@top_srcdir@&$ac_top_srcdir&;t t
4173 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4174 s&@builddir@&$ac_builddir&;t t
4175 s&@abs_builddir@&$ac_abs_builddir&;t t
4176 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4177 s&@INSTALL@&$ac_INSTALL&;t t
4178 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4179 $ac_datarootdir_hack
4180 "
4181 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4182 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4183
4184 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4185 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4186 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4187 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4189 which seems to be undefined. Please make sure it is defined" >&5
4190 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4191 which seems to be undefined. Please make sure it is defined" >&2;}
4192
4193 rm -f "$ac_tmp/stdin"
4194 case $ac_file in
4195 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4196 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4197 esac \
4198 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4199 ;;
4200
4201
4202
4203 esac
4204
4205
4206 case $ac_file$ac_mode in
4207 "env":F) chmod +x env ;;
4208
4209 esac
4210 done # for ac_tag
4211
4212
4213 as_fn_exit 0
4214 _ACEOF
4215 ac_clean_files=$ac_clean_files_save
4216
4217 test $ac_write_fail = 0 ||
4218 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4219
4220
4221 # configure is writing to config.log, and then calls config.status.
4222 # config.status does its own redirection, appending to config.log.
4223 # Unfortunately, on DOS this fails, as config.log is still kept open
4224 # by configure, so config.status won't be able to write to it; its
4225 # output is simply discarded. So we exec the FD to /dev/null,
4226 # effectively closing config.log, so it can be properly (re)opened and
4227 # appended to by config.status. When coming back to configure, we
4228 # need to make the FD available again.
4229 if test "$no_create" != yes; then
4230 ac_cs_success=:
4231 ac_config_status_args=
4232 test "$silent" = yes &&
4233 ac_config_status_args="$ac_config_status_args --quiet"
4234 exec 5>/dev/null
4235 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4236 exec 5>>config.log
4237 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4238 # would make configure fail if this is the last instruction.
4239 $ac_cs_success || as_fn_exit 1
4240 fi
4241 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4243 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4244 fi
4245
4246
4247 LIBDIR=`eval echo $libdir`
4248 LIBDIR=`eval echo $LIBDIR`
4249
4250
4251 echo
4252 echo "*** $PACKAGE $VERSION has been successfully configured ***"
4253 echo
4254 echo "$PACKAGE is using:"
4255 echo
4256 echo " --prefix=$prefix --libdir=$LIBDIR"
4257 echo
4258 echo "If you want to install in Guile system's directory re-run with:"
4259 echo
4260 echo " --prefix=$GUILE_PREFIX --libdir=$GUILE_LIBDIR"
4261 echo
4262
4263 # configure.ac ends here
4264