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