Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Haunt 0.3.0.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
203 fi
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
215 /*)
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
224 fi
225 fi
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
235
236
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell [email protected] about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
270 fi
271 exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
288 {
289 { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298 return $1
299 } # as_fn_set_status
300
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
310
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)$/{
343 s//\1/
344 q
345 }
346 /^X\(\/\).*/{
347 s//\1/
348 q
349 }
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } # as_fn_mkdir_p
358
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
374 {
375 eval $1+=\$2
376 }'
377 else
378 as_fn_append ()
379 {
380 eval $1=\$$1\$2
381 }
382 fi # as_fn_append
383
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
391 {
392 as_val=$(( $* ))
393 }'
394 else
395 as_fn_arith ()
396 {
397 as_val=`expr "$@" || test $? -eq 1`
398 }
399 fi # as_fn_arith
400
401
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
408 {
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
413 fi
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
444 q
445 }
446 /^X\/\(\/\/\)$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\).*/{
451 s//\1/
452 q
453 }
454 s/.*/./; q'`
455
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
462
463
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
470 p
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
476 b
477 :lineno
478 N
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
486
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
497 }
498
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
508 *)
509 ECHO_N='-n';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
532 fi
533 else
534 as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
558
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564 #
565 # Initializations.
566 #
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
575
576 # Identity of this package.
577 PACKAGE_NAME='Haunt'
578 PACKAGE_TARNAME='haunt'
579 PACKAGE_VERSION='0.3.0'
580 PACKAGE_STRING='Haunt 0.3.0'
581 PACKAGE_BUGREPORT=''
582 PACKAGE_URL=''
583
584 ac_unique_file="haunt"
585 ac_subst_vars='am__EXEEXT_FALSE
586 am__EXEEXT_TRUE
587 LTLIBOBJS
588 LIBOBJS
589 TAR
590 HUT
591 RSYNC
592 HAVE_INOTIFY_FALSE
593 HAVE_INOTIFY_TRUE
594 am__fastdepCC_FALSE
595 am__fastdepCC_TRUE
596 CCDEPMODE
597 am__nodep
598 AMDEPBACKSLASH
599 AMDEP_FALSE
600 AMDEP_TRUE
601 am__include
602 DEPDIR
603 OBJEXT
604 EXEEXT
605 ac_ct_CC
606 CPPFLAGS
607 LDFLAGS
608 CFLAGS
609 CC
610 HAVE_GUILE_COMMONMARK_FALSE
611 HAVE_GUILE_COMMONMARK_TRUE
612 HAVE_GUILE_READER_FALSE
613 HAVE_GUILE_READER_TRUE
614 guileobjectdir
615 guilemoduledir
616 GUILE_TOOLS
617 GUILE_CONFIG
618 GUILD
619 GUILE
620 GUILE_EFFECTIVE_VERSION
621 PKG_CONFIG_LIBDIR
622 PKG_CONFIG_PATH
623 PKG_CONFIG
624 AM_BACKSLASH
625 AM_DEFAULT_VERBOSITY
626 AM_DEFAULT_V
627 AM_V
628 CSCOPE
629 ETAGS
630 CTAGS
631 am__untar
632 am__tar
633 AMTAR
634 am__leading_dot
635 SET_MAKE
636 AWK
637 mkdir_p
638 MKDIR_P
639 INSTALL_STRIP_PROGRAM
640 STRIP
641 install_sh
642 MAKEINFO
643 AUTOHEADER
644 AUTOMAKE
645 AUTOCONF
646 ACLOCAL
647 VERSION
648 PACKAGE
649 CYGPATH_W
650 am__isrc
651 INSTALL_DATA
652 INSTALL_SCRIPT
653 INSTALL_PROGRAM
654 target_alias
655 host_alias
656 build_alias
657 LIBS
658 ECHO_T
659 ECHO_N
660 ECHO_C
661 DEFS
662 mandir
663 localedir
664 libdir
665 psdir
666 pdfdir
667 dvidir
668 htmldir
669 infodir
670 docdir
671 oldincludedir
672 includedir
673 localstatedir
674 sharedstatedir
675 sysconfdir
676 datadir
677 datarootdir
678 libexecdir
679 sbindir
680 bindir
681 program_transform_name
682 prefix
683 exec_prefix
684 PACKAGE_URL
685 PACKAGE_BUGREPORT
686 PACKAGE_STRING
687 PACKAGE_VERSION
688 PACKAGE_TARNAME
689 PACKAGE_NAME
690 PATH_SEPARATOR
691 SHELL
692 am__quote'
693 ac_subst_files=''
694 ac_user_opts='
695 enable_option_checking
696 enable_silent_rules
697 enable_dependency_tracking
698 '
699 ac_precious_vars='build_alias
700 host_alias
701 target_alias
702 PKG_CONFIG
703 PKG_CONFIG_PATH
704 PKG_CONFIG_LIBDIR
705 CC
706 CFLAGS
707 LDFLAGS
708 LIBS
709 CPPFLAGS'
710
711
712 # Initialize some variables set by options.
713 ac_init_help=
714 ac_init_version=false
715 ac_unrecognized_opts=
716 ac_unrecognized_sep=
717 # The variables have the same names as the options, with
718 # dashes changed to underlines.
719 cache_file=/dev/null
720 exec_prefix=NONE
721 no_create=
722 no_recursion=
723 prefix=NONE
724 program_prefix=NONE
725 program_suffix=NONE
726 program_transform_name=s,x,x,
727 silent=
728 site=
729 srcdir=
730 verbose=
731 x_includes=NONE
732 x_libraries=NONE
733
734 # Installation directory options.
735 # These are left unexpanded so users can "make install exec_prefix=/foo"
736 # and all the variables that are supposed to be based on exec_prefix
737 # by default will actually change.
738 # Use braces instead of parens because sh, perl, etc. also accept them.
739 # (The list follows the same order as the GNU Coding Standards.)
740 bindir='${exec_prefix}/bin'
741 sbindir='${exec_prefix}/sbin'
742 libexecdir='${exec_prefix}/libexec'
743 datarootdir='${prefix}/share'
744 datadir='${datarootdir}'
745 sysconfdir='${prefix}/etc'
746 sharedstatedir='${prefix}/com'
747 localstatedir='${prefix}/var'
748 includedir='${prefix}/include'
749 oldincludedir='/usr/include'
750 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
751 infodir='${datarootdir}/info'
752 htmldir='${docdir}'
753 dvidir='${docdir}'
754 pdfdir='${docdir}'
755 psdir='${docdir}'
756 libdir='${exec_prefix}/lib'
757 localedir='${datarootdir}/locale'
758 mandir='${datarootdir}/man'
759
760 ac_prev=
761 ac_dashdash=
762 for ac_option
763 do
764 # If the previous option needs an argument, assign it.
765 if test -n "$ac_prev"; then
766 eval $ac_prev=\$ac_option
767 ac_prev=
768 continue
769 fi
770
771 case $ac_option in
772 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 *=) ac_optarg= ;;
774 *) ac_optarg=yes ;;
775 esac
776
777 # Accept the important Cygnus configure options, so we can diagnose typos.
778
779 case $ac_dashdash$ac_option in
780 --)
781 ac_dashdash=yes ;;
782
783 -bindir | --bindir | --bindi | --bind | --bin | --bi)
784 ac_prev=bindir ;;
785 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
786 bindir=$ac_optarg ;;
787
788 -build | --build | --buil | --bui | --bu)
789 ac_prev=build_alias ;;
790 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
791 build_alias=$ac_optarg ;;
792
793 -cache-file | --cache-file | --cache-fil | --cache-fi \
794 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
795 ac_prev=cache_file ;;
796 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
797 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
798 cache_file=$ac_optarg ;;
799
800 --config-cache | -C)
801 cache_file=config.cache ;;
802
803 -datadir | --datadir | --datadi | --datad)
804 ac_prev=datadir ;;
805 -datadir=* | --datadir=* | --datadi=* | --datad=*)
806 datadir=$ac_optarg ;;
807
808 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
809 | --dataroo | --dataro | --datar)
810 ac_prev=datarootdir ;;
811 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
812 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
813 datarootdir=$ac_optarg ;;
814
815 -disable-* | --disable-*)
816 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819 as_fn_error $? "invalid feature name: $ac_useropt"
820 ac_useropt_orig=$ac_useropt
821 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
822 case $ac_user_opts in
823 *"
824 "enable_$ac_useropt"
825 "*) ;;
826 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
827 ac_unrecognized_sep=', ';;
828 esac
829 eval enable_$ac_useropt=no ;;
830
831 -docdir | --docdir | --docdi | --doc | --do)
832 ac_prev=docdir ;;
833 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
834 docdir=$ac_optarg ;;
835
836 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
837 ac_prev=dvidir ;;
838 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
839 dvidir=$ac_optarg ;;
840
841 -enable-* | --enable-*)
842 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
843 # Reject names that are not valid shell variable names.
844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845 as_fn_error $? "invalid feature name: $ac_useropt"
846 ac_useropt_orig=$ac_useropt
847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
848 case $ac_user_opts in
849 *"
850 "enable_$ac_useropt"
851 "*) ;;
852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
853 ac_unrecognized_sep=', ';;
854 esac
855 eval enable_$ac_useropt=\$ac_optarg ;;
856
857 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
858 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
859 | --exec | --exe | --ex)
860 ac_prev=exec_prefix ;;
861 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
862 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
863 | --exec=* | --exe=* | --ex=*)
864 exec_prefix=$ac_optarg ;;
865
866 -gas | --gas | --ga | --g)
867 # Obsolete; use --with-gas.
868 with_gas=yes ;;
869
870 -help | --help | --hel | --he | -h)
871 ac_init_help=long ;;
872 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
873 ac_init_help=recursive ;;
874 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
875 ac_init_help=short ;;
876
877 -host | --host | --hos | --ho)
878 ac_prev=host_alias ;;
879 -host=* | --host=* | --hos=* | --ho=*)
880 host_alias=$ac_optarg ;;
881
882 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
883 ac_prev=htmldir ;;
884 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
885 | --ht=*)
886 htmldir=$ac_optarg ;;
887
888 -includedir | --includedir | --includedi | --included | --include \
889 | --includ | --inclu | --incl | --inc)
890 ac_prev=includedir ;;
891 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
892 | --includ=* | --inclu=* | --incl=* | --inc=*)
893 includedir=$ac_optarg ;;
894
895 -infodir | --infodir | --infodi | --infod | --info | --inf)
896 ac_prev=infodir ;;
897 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
898 infodir=$ac_optarg ;;
899
900 -libdir | --libdir | --libdi | --libd)
901 ac_prev=libdir ;;
902 -libdir=* | --libdir=* | --libdi=* | --libd=*)
903 libdir=$ac_optarg ;;
904
905 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
906 | --libexe | --libex | --libe)
907 ac_prev=libexecdir ;;
908 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
909 | --libexe=* | --libex=* | --libe=*)
910 libexecdir=$ac_optarg ;;
911
912 -localedir | --localedir | --localedi | --localed | --locale)
913 ac_prev=localedir ;;
914 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
915 localedir=$ac_optarg ;;
916
917 -localstatedir | --localstatedir | --localstatedi | --localstated \
918 | --localstate | --localstat | --localsta | --localst | --locals)
919 ac_prev=localstatedir ;;
920 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
921 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
922 localstatedir=$ac_optarg ;;
923
924 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
925 ac_prev=mandir ;;
926 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
927 mandir=$ac_optarg ;;
928
929 -nfp | --nfp | --nf)
930 # Obsolete; use --without-fp.
931 with_fp=no ;;
932
933 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
934 | --no-cr | --no-c | -n)
935 no_create=yes ;;
936
937 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
938 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
939 no_recursion=yes ;;
940
941 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
942 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
943 | --oldin | --oldi | --old | --ol | --o)
944 ac_prev=oldincludedir ;;
945 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
946 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
947 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
948 oldincludedir=$ac_optarg ;;
949
950 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
951 ac_prev=prefix ;;
952 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
953 prefix=$ac_optarg ;;
954
955 -program-prefix | --program-prefix | --program-prefi | --program-pref \
956 | --program-pre | --program-pr | --program-p)
957 ac_prev=program_prefix ;;
958 -program-prefix=* | --program-prefix=* | --program-prefi=* \
959 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
960 program_prefix=$ac_optarg ;;
961
962 -program-suffix | --program-suffix | --program-suffi | --program-suff \
963 | --program-suf | --program-su | --program-s)
964 ac_prev=program_suffix ;;
965 -program-suffix=* | --program-suffix=* | --program-suffi=* \
966 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
967 program_suffix=$ac_optarg ;;
968
969 -program-transform-name | --program-transform-name \
970 | --program-transform-nam | --program-transform-na \
971 | --program-transform-n | --program-transform- \
972 | --program-transform | --program-transfor \
973 | --program-transfo | --program-transf \
974 | --program-trans | --program-tran \
975 | --progr-tra | --program-tr | --program-t)
976 ac_prev=program_transform_name ;;
977 -program-transform-name=* | --program-transform-name=* \
978 | --program-transform-nam=* | --program-transform-na=* \
979 | --program-transform-n=* | --program-transform-=* \
980 | --program-transform=* | --program-transfor=* \
981 | --program-transfo=* | --program-transf=* \
982 | --program-trans=* | --program-tran=* \
983 | --progr-tra=* | --program-tr=* | --program-t=*)
984 program_transform_name=$ac_optarg ;;
985
986 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
987 ac_prev=pdfdir ;;
988 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
989 pdfdir=$ac_optarg ;;
990
991 -psdir | --psdir | --psdi | --psd | --ps)
992 ac_prev=psdir ;;
993 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
994 psdir=$ac_optarg ;;
995
996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
997 | -silent | --silent | --silen | --sile | --sil)
998 silent=yes ;;
999
1000 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1001 ac_prev=sbindir ;;
1002 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1003 | --sbi=* | --sb=*)
1004 sbindir=$ac_optarg ;;
1005
1006 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1007 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1008 | --sharedst | --shareds | --shared | --share | --shar \
1009 | --sha | --sh)
1010 ac_prev=sharedstatedir ;;
1011 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1012 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1013 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1014 | --sha=* | --sh=*)
1015 sharedstatedir=$ac_optarg ;;
1016
1017 -site | --site | --sit)
1018 ac_prev=site ;;
1019 -site=* | --site=* | --sit=*)
1020 site=$ac_optarg ;;
1021
1022 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1023 ac_prev=srcdir ;;
1024 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1025 srcdir=$ac_optarg ;;
1026
1027 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1028 | --syscon | --sysco | --sysc | --sys | --sy)
1029 ac_prev=sysconfdir ;;
1030 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1031 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1032 sysconfdir=$ac_optarg ;;
1033
1034 -target | --target | --targe | --targ | --tar | --ta | --t)
1035 ac_prev=target_alias ;;
1036 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1037 target_alias=$ac_optarg ;;
1038
1039 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1040 verbose=yes ;;
1041
1042 -version | --version | --versio | --versi | --vers | -V)
1043 ac_init_version=: ;;
1044
1045 -with-* | --with-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error $? "invalid package name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1053 *"
1054 "with_$ac_useropt"
1055 "*) ;;
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1058 esac
1059 eval with_$ac_useropt=\$ac_optarg ;;
1060
1061 -without-* | --without-*)
1062 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065 as_fn_error $? "invalid package name: $ac_useropt"
1066 ac_useropt_orig=$ac_useropt
1067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1069 *"
1070 "with_$ac_useropt"
1071 "*) ;;
1072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1073 ac_unrecognized_sep=', ';;
1074 esac
1075 eval with_$ac_useropt=no ;;
1076
1077 --x)
1078 # Obsolete; use --with-x.
1079 with_x=yes ;;
1080
1081 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1082 | --x-incl | --x-inc | --x-in | --x-i)
1083 ac_prev=x_includes ;;
1084 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1085 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1086 x_includes=$ac_optarg ;;
1087
1088 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1089 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1090 ac_prev=x_libraries ;;
1091 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1092 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1093 x_libraries=$ac_optarg ;;
1094
1095 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1096 Try \`$0 --help' for more information"
1097 ;;
1098
1099 *=*)
1100 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1101 # Reject names that are not valid shell variable names.
1102 case $ac_envvar in #(
1103 '' | [0-9]* | *[!_$as_cr_alnum]* )
1104 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1105 esac
1106 eval $ac_envvar=\$ac_optarg
1107 export $ac_envvar ;;
1108
1109 *)
1110 # FIXME: should be removed in autoconf 3.0.
1111 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1112 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1113 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1114 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1115 ;;
1116
1117 esac
1118 done
1119
1120 if test -n "$ac_prev"; then
1121 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1122 as_fn_error $? "missing argument to $ac_option"
1123 fi
1124
1125 if test -n "$ac_unrecognized_opts"; then
1126 case $enable_option_checking in
1127 no) ;;
1128 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1129 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1130 esac
1131 fi
1132
1133 # Check all directory arguments for consistency.
1134 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1135 datadir sysconfdir sharedstatedir localstatedir includedir \
1136 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1137 libdir localedir mandir
1138 do
1139 eval ac_val=\$$ac_var
1140 # Remove trailing slashes.
1141 case $ac_val in
1142 */ )
1143 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1144 eval $ac_var=\$ac_val;;
1145 esac
1146 # Be sure to have absolute directory names.
1147 case $ac_val in
1148 [\\/$]* | ?:[\\/]* ) continue;;
1149 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1150 esac
1151 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1152 done
1153
1154 # There might be people who depend on the old broken behavior: `$host'
1155 # used to hold the argument of --host etc.
1156 # FIXME: To remove some day.
1157 build=$build_alias
1158 host=$host_alias
1159 target=$target_alias
1160
1161 # FIXME: To remove some day.
1162 if test "x$host_alias" != x; then
1163 if test "x$build_alias" = x; then
1164 cross_compiling=maybe
1165 elif test "x$build_alias" != "x$host_alias"; then
1166 cross_compiling=yes
1167 fi
1168 fi
1169
1170 ac_tool_prefix=
1171 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1172
1173 test "$silent" = yes && exec 6>/dev/null
1174
1175
1176 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1177 ac_ls_di=`ls -di .` &&
1178 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1179 as_fn_error $? "working directory cannot be determined"
1180 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1181 as_fn_error $? "pwd does not report name of working directory"
1182
1183
1184 # Find the source files, if location was not specified.
1185 if test -z "$srcdir"; then
1186 ac_srcdir_defaulted=yes
1187 # Try the directory containing this script, then the parent directory.
1188 ac_confdir=`$as_dirname -- "$as_myself" ||
1189 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1190 X"$as_myself" : 'X\(//\)[^/]' \| \
1191 X"$as_myself" : 'X\(//\)$' \| \
1192 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1193 $as_echo X"$as_myself" |
1194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1195 s//\1/
1196 q
1197 }
1198 /^X\(\/\/\)[^/].*/{
1199 s//\1/
1200 q
1201 }
1202 /^X\(\/\/\)$/{
1203 s//\1/
1204 q
1205 }
1206 /^X\(\/\).*/{
1207 s//\1/
1208 q
1209 }
1210 s/.*/./; q'`
1211 srcdir=$ac_confdir
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1213 srcdir=..
1214 fi
1215 else
1216 ac_srcdir_defaulted=no
1217 fi
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1219 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1220 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1221 fi
1222 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1223 ac_abs_confdir=`(
1224 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1225 pwd)`
1226 # When building in place, set srcdir=.
1227 if test "$ac_abs_confdir" = "$ac_pwd"; then
1228 srcdir=.
1229 fi
1230 # Remove unnecessary trailing slashes from srcdir.
1231 # Double slashes in file names in object file debugging info
1232 # mess up M-x gdb in Emacs.
1233 case $srcdir in
1234 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1235 esac
1236 for ac_var in $ac_precious_vars; do
1237 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1238 eval ac_env_${ac_var}_value=\$${ac_var}
1239 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1240 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1241 done
1242
1243 #
1244 # Report the --help message.
1245 #
1246 if test "$ac_init_help" = "long"; then
1247 # Omit some internal or obsolete options to make the list less imposing.
1248 # This message is too long to be a string in the A/UX 3.1 sh.
1249 cat <<_ACEOF
1250 \`configure' configures Haunt 0.3.0 to adapt to many kinds of systems.
1251
1252 Usage: $0 [OPTION]... [VAR=VALUE]...
1253
1254 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1255 VAR=VALUE. See below for descriptions of some of the useful variables.
1256
1257 Defaults for the options are specified in brackets.
1258
1259 Configuration:
1260 -h, --help display this help and exit
1261 --help=short display options specific to this package
1262 --help=recursive display the short help of all the included packages
1263 -V, --version display version information and exit
1264 -q, --quiet, --silent do not print \`checking ...' messages
1265 --cache-file=FILE cache test results in FILE [disabled]
1266 -C, --config-cache alias for \`--cache-file=config.cache'
1267 -n, --no-create do not create output files
1268 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1269
1270 Installation directories:
1271 --prefix=PREFIX install architecture-independent files in PREFIX
1272 [$ac_default_prefix]
1273 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1274 [PREFIX]
1275
1276 By default, \`make install' will install all the files in
1277 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1278 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1279 for instance \`--prefix=\$HOME'.
1280
1281 For better control, use the options below.
1282
1283 Fine tuning of the installation directories:
1284 --bindir=DIR user executables [EPREFIX/bin]
1285 --sbindir=DIR system admin executables [EPREFIX/sbin]
1286 --libexecdir=DIR program executables [EPREFIX/libexec]
1287 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1288 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1289 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1290 --libdir=DIR object code libraries [EPREFIX/lib]
1291 --includedir=DIR C header files [PREFIX/include]
1292 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1293 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1294 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1295 --infodir=DIR info documentation [DATAROOTDIR/info]
1296 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1297 --mandir=DIR man documentation [DATAROOTDIR/man]
1298 --docdir=DIR documentation root [DATAROOTDIR/doc/haunt]
1299 --htmldir=DIR html documentation [DOCDIR]
1300 --dvidir=DIR dvi documentation [DOCDIR]
1301 --pdfdir=DIR pdf documentation [DOCDIR]
1302 --psdir=DIR ps documentation [DOCDIR]
1303 _ACEOF
1304
1305 cat <<\_ACEOF
1306
1307 Program names:
1308 --program-prefix=PREFIX prepend PREFIX to installed program names
1309 --program-suffix=SUFFIX append SUFFIX to installed program names
1310 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1311 _ACEOF
1312 fi
1313
1314 if test -n "$ac_init_help"; then
1315 case $ac_init_help in
1316 short | recursive ) echo "Configuration of Haunt 0.3.0:";;
1317 esac
1318 cat <<\_ACEOF
1319
1320 Optional Features:
1321 --disable-option-checking ignore unrecognized --enable/--with options
1322 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1323 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1324 --enable-silent-rules less verbose build output (undo: "make V=1")
1325 --disable-silent-rules verbose build output (undo: "make V=0")
1326 --enable-dependency-tracking
1327 do not reject slow dependency extractors
1328 --disable-dependency-tracking
1329 speeds up one-time build
1330
1331 Some influential environment variables:
1332 PKG_CONFIG path to pkg-config utility
1333 PKG_CONFIG_PATH
1334 directories to add to pkg-config's search path
1335 PKG_CONFIG_LIBDIR
1336 path overriding pkg-config's built-in search path
1337 CC C compiler command
1338 CFLAGS C compiler flags
1339 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1340 nonstandard directory <lib dir>
1341 LIBS libraries to pass to the linker, e.g. -l<library>
1342 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1343 you have headers in a nonstandard directory <include dir>
1344
1345 Use these variables to override the choices made by `configure' or to help
1346 it to find libraries and programs with nonstandard names/locations.
1347
1348 Report bugs to the package provider.
1349 _ACEOF
1350 ac_status=$?
1351 fi
1352
1353 if test "$ac_init_help" = "recursive"; then
1354 # If there are subdirs, report their specific --help.
1355 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1356 test -d "$ac_dir" ||
1357 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1358 continue
1359 ac_builddir=.
1360
1361 case "$ac_dir" in
1362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363 *)
1364 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1365 # A ".." for each directory in $ac_dir_suffix.
1366 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1367 case $ac_top_builddir_sub in
1368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1370 esac ;;
1371 esac
1372 ac_abs_top_builddir=$ac_pwd
1373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1374 # for backward compatibility:
1375 ac_top_builddir=$ac_top_build_prefix
1376
1377 case $srcdir in
1378 .) # We are building in place.
1379 ac_srcdir=.
1380 ac_top_srcdir=$ac_top_builddir_sub
1381 ac_abs_top_srcdir=$ac_pwd ;;
1382 [\\/]* | ?:[\\/]* ) # Absolute name.
1383 ac_srcdir=$srcdir$ac_dir_suffix;
1384 ac_top_srcdir=$srcdir
1385 ac_abs_top_srcdir=$srcdir ;;
1386 *) # Relative name.
1387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1388 ac_top_srcdir=$ac_top_build_prefix$srcdir
1389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1390 esac
1391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1392
1393 cd "$ac_dir" || { ac_status=$?; continue; }
1394 # Check for guested configure.
1395 if test -f "$ac_srcdir/configure.gnu"; then
1396 echo &&
1397 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1398 elif test -f "$ac_srcdir/configure"; then
1399 echo &&
1400 $SHELL "$ac_srcdir/configure" --help=recursive
1401 else
1402 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1403 fi || ac_status=$?
1404 cd "$ac_pwd" || { ac_status=$?; break; }
1405 done
1406 fi
1407
1408 test -n "$ac_init_help" && exit $ac_status
1409 if $ac_init_version; then
1410 cat <<\_ACEOF
1411 Haunt configure 0.3.0
1412 generated by GNU Autoconf 2.69
1413
1414 Copyright (C) 2012 Free Software Foundation, Inc.
1415 This configure script is free software; the Free Software Foundation
1416 gives unlimited permission to copy, distribute and modify it.
1417 _ACEOF
1418 exit
1419 fi
1420
1421 ## ------------------------ ##
1422 ## Autoconf initialization. ##
1423 ## ------------------------ ##
1424
1425 # ac_fn_c_try_compile LINENO
1426 # --------------------------
1427 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1428 ac_fn_c_try_compile ()
1429 {
1430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1431 rm -f conftest.$ac_objext
1432 if { { ac_try="$ac_compile"
1433 case "(($ac_try" in
1434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1435 *) ac_try_echo=$ac_try;;
1436 esac
1437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1438 $as_echo "$ac_try_echo"; } >&5
1439 (eval "$ac_compile") 2>conftest.err
1440 ac_status=$?
1441 if test -s conftest.err; then
1442 grep -v '^ *+' conftest.err >conftest.er1
1443 cat conftest.er1 >&5
1444 mv -f conftest.er1 conftest.err
1445 fi
1446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1447 test $ac_status = 0; } && {
1448 test -z "$ac_c_werror_flag" ||
1449 test ! -s conftest.err
1450 } && test -s conftest.$ac_objext; then :
1451 ac_retval=0
1452 else
1453 $as_echo "$as_me: failed program was:" >&5
1454 sed 's/^/| /' conftest.$ac_ext >&5
1455
1456 ac_retval=1
1457 fi
1458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1459 as_fn_set_status $ac_retval
1460
1461 } # ac_fn_c_try_compile
1462
1463 # ac_fn_c_try_link LINENO
1464 # -----------------------
1465 # Try to link conftest.$ac_ext, and return whether this succeeded.
1466 ac_fn_c_try_link ()
1467 {
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 rm -f conftest.$ac_objext conftest$ac_exeext
1470 if { { ac_try="$ac_link"
1471 case "(($ac_try" in
1472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1473 *) ac_try_echo=$ac_try;;
1474 esac
1475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1476 $as_echo "$ac_try_echo"; } >&5
1477 (eval "$ac_link") 2>conftest.err
1478 ac_status=$?
1479 if test -s conftest.err; then
1480 grep -v '^ *+' conftest.err >conftest.er1
1481 cat conftest.er1 >&5
1482 mv -f conftest.er1 conftest.err
1483 fi
1484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1485 test $ac_status = 0; } && {
1486 test -z "$ac_c_werror_flag" ||
1487 test ! -s conftest.err
1488 } && test -s conftest$ac_exeext && {
1489 test "$cross_compiling" = yes ||
1490 test -x conftest$ac_exeext
1491 }; then :
1492 ac_retval=0
1493 else
1494 $as_echo "$as_me: failed program was:" >&5
1495 sed 's/^/| /' conftest.$ac_ext >&5
1496
1497 ac_retval=1
1498 fi
1499 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1500 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1501 # interfere with the next link command; also delete a directory that is
1502 # left behind by Apple's compiler. We do this before executing the actions.
1503 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1505 as_fn_set_status $ac_retval
1506
1507 } # ac_fn_c_try_link
1508
1509 # ac_fn_c_check_func LINENO FUNC VAR
1510 # ----------------------------------
1511 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1512 ac_fn_c_check_func ()
1513 {
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1516 $as_echo_n "checking for $2... " >&6; }
1517 if eval \${$3+:} false; then :
1518 $as_echo_n "(cached) " >&6
1519 else
1520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1521 /* end confdefs.h. */
1522 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1524 #define $2 innocuous_$2
1525
1526 /* System header to define __stub macros and hopefully few prototypes,
1527 which can conflict with char $2 (); below.
1528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1529 <limits.h> exists even on freestanding compilers. */
1530
1531 #ifdef __STDC__
1532 # include <limits.h>
1533 #else
1534 # include <assert.h>
1535 #endif
1536
1537 #undef $2
1538
1539 /* Override any GCC internal prototype to avoid an error.
1540 Use char because int might match the return type of a GCC
1541 builtin and then its argument prototype would still apply. */
1542 #ifdef __cplusplus
1543 extern "C"
1544 #endif
1545 char $2 ();
1546 /* The GNU C library defines this for functions which it implements
1547 to always fail with ENOSYS. Some functions are actually named
1548 something starting with __ and the normal name is an alias. */
1549 #if defined __stub_$2 || defined __stub___$2
1550 choke me
1551 #endif
1552
1553 int
1554 main ()
1555 {
1556 return $2 ();
1557 ;
1558 return 0;
1559 }
1560 _ACEOF
1561 if ac_fn_c_try_link "$LINENO"; then :
1562 eval "$3=yes"
1563 else
1564 eval "$3=no"
1565 fi
1566 rm -f core conftest.err conftest.$ac_objext \
1567 conftest$ac_exeext conftest.$ac_ext
1568 fi
1569 eval ac_res=\$$3
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1571 $as_echo "$ac_res" >&6; }
1572 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1573
1574 } # ac_fn_c_check_func
1575 cat >config.log <<_ACEOF
1576 This file contains any messages produced by compilers while
1577 running configure, to aid debugging if configure makes a mistake.
1578
1579 It was created by Haunt $as_me 0.3.0, which was
1580 generated by GNU Autoconf 2.69. Invocation command line was
1581
1582 $ $0 $@
1583
1584 _ACEOF
1585 exec 5>>config.log
1586 {
1587 cat <<_ASUNAME
1588 ## --------- ##
1589 ## Platform. ##
1590 ## --------- ##
1591
1592 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1593 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1594 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1595 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1596 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1597
1598 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1599 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1600
1601 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1602 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1603 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1604 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1605 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1606 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1607 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1608
1609 _ASUNAME
1610
1611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612 for as_dir in $PATH
1613 do
1614 IFS=$as_save_IFS
1615 test -z "$as_dir" && as_dir=.
1616 $as_echo "PATH: $as_dir"
1617 done
1618 IFS=$as_save_IFS
1619
1620 } >&5
1621
1622 cat >&5 <<_ACEOF
1623
1624
1625 ## ----------- ##
1626 ## Core tests. ##
1627 ## ----------- ##
1628
1629 _ACEOF
1630
1631
1632 # Keep a trace of the command line.
1633 # Strip out --no-create and --no-recursion so they do not pile up.
1634 # Strip out --silent because we don't want to record it for future runs.
1635 # Also quote any args containing shell meta-characters.
1636 # Make two passes to allow for proper duplicate-argument suppression.
1637 ac_configure_args=
1638 ac_configure_args0=
1639 ac_configure_args1=
1640 ac_must_keep_next=false
1641 for ac_pass in 1 2
1642 do
1643 for ac_arg
1644 do
1645 case $ac_arg in
1646 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1647 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1648 | -silent | --silent | --silen | --sile | --sil)
1649 continue ;;
1650 *\'*)
1651 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1652 esac
1653 case $ac_pass in
1654 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1655 2)
1656 as_fn_append ac_configure_args1 " '$ac_arg'"
1657 if test $ac_must_keep_next = true; then
1658 ac_must_keep_next=false # Got value, back to normal.
1659 else
1660 case $ac_arg in
1661 *=* | --config-cache | -C | -disable-* | --disable-* \
1662 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1663 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1664 | -with-* | --with-* | -without-* | --without-* | --x)
1665 case "$ac_configure_args0 " in
1666 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1667 esac
1668 ;;
1669 -* ) ac_must_keep_next=true ;;
1670 esac
1671 fi
1672 as_fn_append ac_configure_args " '$ac_arg'"
1673 ;;
1674 esac
1675 done
1676 done
1677 { ac_configure_args0=; unset ac_configure_args0;}
1678 { ac_configure_args1=; unset ac_configure_args1;}
1679
1680 # When interrupted or exit'd, cleanup temporary files, and complete
1681 # config.log. We remove comments because anyway the quotes in there
1682 # would cause problems or look ugly.
1683 # WARNING: Use '\'' to represent an apostrophe within the trap.
1684 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1685 trap 'exit_status=$?
1686 # Save into config.log some information that might help in debugging.
1687 {
1688 echo
1689
1690 $as_echo "## ---------------- ##
1691 ## Cache variables. ##
1692 ## ---------------- ##"
1693 echo
1694 # The following way of writing the cache mishandles newlines in values,
1695 (
1696 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1697 eval ac_val=\$$ac_var
1698 case $ac_val in #(
1699 *${as_nl}*)
1700 case $ac_var in #(
1701 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1702 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1703 esac
1704 case $ac_var in #(
1705 _ | IFS | as_nl) ;; #(
1706 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1707 *) { eval $ac_var=; unset $ac_var;} ;;
1708 esac ;;
1709 esac
1710 done
1711 (set) 2>&1 |
1712 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1713 *${as_nl}ac_space=\ *)
1714 sed -n \
1715 "s/'\''/'\''\\\\'\'''\''/g;
1716 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1717 ;; #(
1718 *)
1719 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1720 ;;
1721 esac |
1722 sort
1723 )
1724 echo
1725
1726 $as_echo "## ----------------- ##
1727 ## Output variables. ##
1728 ## ----------------- ##"
1729 echo
1730 for ac_var in $ac_subst_vars
1731 do
1732 eval ac_val=\$$ac_var
1733 case $ac_val in
1734 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1735 esac
1736 $as_echo "$ac_var='\''$ac_val'\''"
1737 done | sort
1738 echo
1739
1740 if test -n "$ac_subst_files"; then
1741 $as_echo "## ------------------- ##
1742 ## File substitutions. ##
1743 ## ------------------- ##"
1744 echo
1745 for ac_var in $ac_subst_files
1746 do
1747 eval ac_val=\$$ac_var
1748 case $ac_val in
1749 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1750 esac
1751 $as_echo "$ac_var='\''$ac_val'\''"
1752 done | sort
1753 echo
1754 fi
1755
1756 if test -s confdefs.h; then
1757 $as_echo "## ----------- ##
1758 ## confdefs.h. ##
1759 ## ----------- ##"
1760 echo
1761 cat confdefs.h
1762 echo
1763 fi
1764 test "$ac_signal" != 0 &&
1765 $as_echo "$as_me: caught signal $ac_signal"
1766 $as_echo "$as_me: exit $exit_status"
1767 } >&5
1768 rm -f core *.core core.conftest.* &&
1769 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1770 exit $exit_status
1771 ' 0
1772 for ac_signal in 1 2 13 15; do
1773 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1774 done
1775 ac_signal=0
1776
1777 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1778 rm -f -r conftest* confdefs.h
1779
1780 $as_echo "/* confdefs.h */" > confdefs.h
1781
1782 # Predefined preprocessor variables.
1783
1784 cat >>confdefs.h <<_ACEOF
1785 #define PACKAGE_NAME "$PACKAGE_NAME"
1786 _ACEOF
1787
1788 cat >>confdefs.h <<_ACEOF
1789 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1790 _ACEOF
1791
1792 cat >>confdefs.h <<_ACEOF
1793 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1794 _ACEOF
1795
1796 cat >>confdefs.h <<_ACEOF
1797 #define PACKAGE_STRING "$PACKAGE_STRING"
1798 _ACEOF
1799
1800 cat >>confdefs.h <<_ACEOF
1801 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1802 _ACEOF
1803
1804 cat >>confdefs.h <<_ACEOF
1805 #define PACKAGE_URL "$PACKAGE_URL"
1806 _ACEOF
1807
1808
1809 # Let the site file select an alternate cache file if it wants to.
1810 # Prefer an explicitly selected file to automatically selected ones.
1811 ac_site_file1=NONE
1812 ac_site_file2=NONE
1813 if test -n "$CONFIG_SITE"; then
1814 # We do not want a PATH search for config.site.
1815 case $CONFIG_SITE in #((
1816 -*) ac_site_file1=./$CONFIG_SITE;;
1817 */*) ac_site_file1=$CONFIG_SITE;;
1818 *) ac_site_file1=./$CONFIG_SITE;;
1819 esac
1820 elif test "x$prefix" != xNONE; then
1821 ac_site_file1=$prefix/share/config.site
1822 ac_site_file2=$prefix/etc/config.site
1823 else
1824 ac_site_file1=$ac_default_prefix/share/config.site
1825 ac_site_file2=$ac_default_prefix/etc/config.site
1826 fi
1827 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1828 do
1829 test "x$ac_site_file" = xNONE && continue
1830 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1832 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1833 sed 's/^/| /' "$ac_site_file" >&5
1834 . "$ac_site_file" \
1835 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1837 as_fn_error $? "failed to load site script $ac_site_file
1838 See \`config.log' for more details" "$LINENO" 5; }
1839 fi
1840 done
1841
1842 if test -r "$cache_file"; then
1843 # Some versions of bash will fail to source /dev/null (special files
1844 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1845 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1847 $as_echo "$as_me: loading cache $cache_file" >&6;}
1848 case $cache_file in
1849 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1850 *) . "./$cache_file";;
1851 esac
1852 fi
1853 else
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1855 $as_echo "$as_me: creating cache $cache_file" >&6;}
1856 >$cache_file
1857 fi
1858
1859 # Check that the precious variables saved in the cache have kept the same
1860 # value.
1861 ac_cache_corrupted=false
1862 for ac_var in $ac_precious_vars; do
1863 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1864 eval ac_new_set=\$ac_env_${ac_var}_set
1865 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1866 eval ac_new_val=\$ac_env_${ac_var}_value
1867 case $ac_old_set,$ac_new_set in
1868 set,)
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1870 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1871 ac_cache_corrupted=: ;;
1872 ,set)
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1874 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1875 ac_cache_corrupted=: ;;
1876 ,);;
1877 *)
1878 if test "x$ac_old_val" != "x$ac_new_val"; then
1879 # differences in whitespace do not lead to failure.
1880 ac_old_val_w=`echo x $ac_old_val`
1881 ac_new_val_w=`echo x $ac_new_val`
1882 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1884 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1885 ac_cache_corrupted=:
1886 else
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1888 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1889 eval $ac_var=\$ac_old_val
1890 fi
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1892 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1894 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1895 fi;;
1896 esac
1897 # Pass precious variables to config.status.
1898 if test "$ac_new_set" = set; then
1899 case $ac_new_val in
1900 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1901 *) ac_arg=$ac_var=$ac_new_val ;;
1902 esac
1903 case " $ac_configure_args " in
1904 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1905 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1906 esac
1907 fi
1908 done
1909 if $ac_cache_corrupted; then
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1913 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1914 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1915 fi
1916 ## -------------------- ##
1917 ## Main body of script. ##
1918 ## -------------------- ##
1919
1920 ac_ext=c
1921 ac_cpp='$CPP $CPPFLAGS'
1922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1925
1926
1927
1928 ac_aux_dir=
1929 for ac_dir in build-aux "$srcdir"/build-aux; do
1930 if test -f "$ac_dir/install-sh"; then
1931 ac_aux_dir=$ac_dir
1932 ac_install_sh="$ac_aux_dir/install-sh -c"
1933 break
1934 elif test -f "$ac_dir/install.sh"; then
1935 ac_aux_dir=$ac_dir
1936 ac_install_sh="$ac_aux_dir/install.sh -c"
1937 break
1938 elif test -f "$ac_dir/shtool"; then
1939 ac_aux_dir=$ac_dir
1940 ac_install_sh="$ac_aux_dir/shtool install -c"
1941 break
1942 fi
1943 done
1944 if test -z "$ac_aux_dir"; then
1945 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1946 fi
1947
1948 # These three variables are undocumented and unsupported,
1949 # and are intended to be withdrawn in a future Autoconf release.
1950 # They can cause serious problems if a builder's source tree is in a directory
1951 # whose full name contains unusual characters.
1952 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1953 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1954 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1955
1956
1957 am__api_version='1.16'
1958
1959 # Find a good install program. We prefer a C program (faster),
1960 # so one script is as good as another. But avoid the broken or
1961 # incompatible versions:
1962 # SysV /etc/install, /usr/sbin/install
1963 # SunOS /usr/etc/install
1964 # IRIX /sbin/install
1965 # AIX /bin/install
1966 # AmigaOS /C/install, which installs bootblocks on floppy discs
1967 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1968 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1969 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1970 # OS/2's system install, which has a completely different semantic
1971 # ./install, which can be erroneously created by make from ./install.sh.
1972 # Reject install programs that cannot install multiple files.
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1974 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1975 if test -z "$INSTALL"; then
1976 if ${ac_cv_path_install+:} false; then :
1977 $as_echo_n "(cached) " >&6
1978 else
1979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980 for as_dir in $PATH
1981 do
1982 IFS=$as_save_IFS
1983 test -z "$as_dir" && as_dir=.
1984 # Account for people who put trailing slashes in PATH elements.
1985 case $as_dir/ in #((
1986 ./ | .// | /[cC]/* | \
1987 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1988 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1989 /usr/ucb/* ) ;;
1990 *)
1991 # OSF1 and SCO ODT 3.0 have their own names for install.
1992 # Don't use installbsd from OSF since it installs stuff as root
1993 # by default.
1994 for ac_prog in ginstall scoinst install; do
1995 for ac_exec_ext in '' $ac_executable_extensions; do
1996 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1997 if test $ac_prog = install &&
1998 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1999 # AIX install. It has an incompatible calling convention.
2000 :
2001 elif test $ac_prog = install &&
2002 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2003 # program-specific install script used by HP pwplus--don't use.
2004 :
2005 else
2006 rm -rf conftest.one conftest.two conftest.dir
2007 echo one > conftest.one
2008 echo two > conftest.two
2009 mkdir conftest.dir
2010 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2011 test -s conftest.one && test -s conftest.two &&
2012 test -s conftest.dir/conftest.one &&
2013 test -s conftest.dir/conftest.two
2014 then
2015 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2016 break 3
2017 fi
2018 fi
2019 fi
2020 done
2021 done
2022 ;;
2023 esac
2024
2025 done
2026 IFS=$as_save_IFS
2027
2028 rm -rf conftest.one conftest.two conftest.dir
2029
2030 fi
2031 if test "${ac_cv_path_install+set}" = set; then
2032 INSTALL=$ac_cv_path_install
2033 else
2034 # As a last resort, use the slow shell script. Don't cache a
2035 # value for INSTALL within a source directory, because that will
2036 # break other packages using the cache if that directory is
2037 # removed, or if the value is a relative name.
2038 INSTALL=$ac_install_sh
2039 fi
2040 fi
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2042 $as_echo "$INSTALL" >&6; }
2043
2044 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2045 # It thinks the first close brace ends the variable substitution.
2046 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2047
2048 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2049
2050 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2051
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2053 $as_echo_n "checking whether build environment is sane... " >&6; }
2054 # Reject unsafe characters in $srcdir or the absolute working directory
2055 # name. Accept space and tab only in the latter.
2056 am_lf='
2057 '
2058 case `pwd` in
2059 *[\\\"\#\$\&\'\`$am_lf]*)
2060 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2061 esac
2062 case $srcdir in
2063 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2064 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2065 esac
2066
2067 # Do 'set' in a subshell so we don't clobber the current shell's
2068 # arguments. Must try -L first in case configure is actually a
2069 # symlink; some systems play weird games with the mod time of symlinks
2070 # (eg FreeBSD returns the mod time of the symlink's containing
2071 # directory).
2072 if (
2073 am_has_slept=no
2074 for am_try in 1 2; do
2075 echo "timestamp, slept: $am_has_slept" > conftest.file
2076 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2077 if test "$*" = "X"; then
2078 # -L didn't work.
2079 set X `ls -t "$srcdir/configure" conftest.file`
2080 fi
2081 if test "$*" != "X $srcdir/configure conftest.file" \
2082 && test "$*" != "X conftest.file $srcdir/configure"; then
2083
2084 # If neither matched, then we have a broken ls. This can happen
2085 # if, for instance, CONFIG_SHELL is bash and it inherits a
2086 # broken ls alias from the environment. This has actually
2087 # happened. Such a system could not be considered "sane".
2088 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2089 alias in your environment" "$LINENO" 5
2090 fi
2091 if test "$2" = conftest.file || test $am_try -eq 2; then
2092 break
2093 fi
2094 # Just in case.
2095 sleep 1
2096 am_has_slept=yes
2097 done
2098 test "$2" = conftest.file
2099 )
2100 then
2101 # Ok.
2102 :
2103 else
2104 as_fn_error $? "newly created file is older than distributed files!
2105 Check your system clock" "$LINENO" 5
2106 fi
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2108 $as_echo "yes" >&6; }
2109 # If we didn't sleep, we still need to ensure time stamps of config.status and
2110 # generated files are strictly newer.
2111 am_sleep_pid=
2112 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2113 ( sleep 1 ) &
2114 am_sleep_pid=$!
2115 fi
2116
2117 rm -f conftest.file
2118
2119 test "$program_prefix" != NONE &&
2120 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2121 # Use a double $ so make ignores it.
2122 test "$program_suffix" != NONE &&
2123 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2124 # Double any \ or $.
2125 # By default was `s,x,x', remove it if useless.
2126 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2127 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2128
2129 # Expand $ac_aux_dir to an absolute path.
2130 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2131
2132 if test x"${MISSING+set}" != xset; then
2133 MISSING="\${SHELL} '$am_aux_dir/missing'"
2134 fi
2135 # Use eval to expand $SHELL
2136 if eval "$MISSING --is-lightweight"; then
2137 am_missing_run="$MISSING "
2138 else
2139 am_missing_run=
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2141 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2142 fi
2143
2144 if test x"${install_sh+set}" != xset; then
2145 case $am_aux_dir in
2146 *\ * | *\ *)
2147 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2148 *)
2149 install_sh="\${SHELL} $am_aux_dir/install-sh"
2150 esac
2151 fi
2152
2153 # Installed binaries are usually stripped using 'strip' when the user
2154 # run "make install-strip". However 'strip' might not be the right
2155 # tool to use in cross-compilation environments, therefore Automake
2156 # will honor the 'STRIP' environment variable to overrule this program.
2157 if test "$cross_compiling" != no; then
2158 if test -n "$ac_tool_prefix"; then
2159 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2160 set dummy ${ac_tool_prefix}strip; ac_word=$2
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2162 $as_echo_n "checking for $ac_word... " >&6; }
2163 if ${ac_cv_prog_STRIP+:} false; then :
2164 $as_echo_n "(cached) " >&6
2165 else
2166 if test -n "$STRIP"; then
2167 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2168 else
2169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170 for as_dir in $PATH
2171 do
2172 IFS=$as_save_IFS
2173 test -z "$as_dir" && as_dir=.
2174 for ac_exec_ext in '' $ac_executable_extensions; do
2175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2176 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 break 2
2179 fi
2180 done
2181 done
2182 IFS=$as_save_IFS
2183
2184 fi
2185 fi
2186 STRIP=$ac_cv_prog_STRIP
2187 if test -n "$STRIP"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2189 $as_echo "$STRIP" >&6; }
2190 else
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2192 $as_echo "no" >&6; }
2193 fi
2194
2195
2196 fi
2197 if test -z "$ac_cv_prog_STRIP"; then
2198 ac_ct_STRIP=$STRIP
2199 # Extract the first word of "strip", so it can be a program name with args.
2200 set dummy strip; ac_word=$2
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2202 $as_echo_n "checking for $ac_word... " >&6; }
2203 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2204 $as_echo_n "(cached) " >&6
2205 else
2206 if test -n "$ac_ct_STRIP"; then
2207 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2208 else
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2211 do
2212 IFS=$as_save_IFS
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 ac_cv_prog_ac_ct_STRIP="strip"
2217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2218 break 2
2219 fi
2220 done
2221 done
2222 IFS=$as_save_IFS
2223
2224 fi
2225 fi
2226 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2227 if test -n "$ac_ct_STRIP"; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2229 $as_echo "$ac_ct_STRIP" >&6; }
2230 else
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2232 $as_echo "no" >&6; }
2233 fi
2234
2235 if test "x$ac_ct_STRIP" = x; then
2236 STRIP=":"
2237 else
2238 case $cross_compiling:$ac_tool_warned in
2239 yes:)
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2242 ac_tool_warned=yes ;;
2243 esac
2244 STRIP=$ac_ct_STRIP
2245 fi
2246 else
2247 STRIP="$ac_cv_prog_STRIP"
2248 fi
2249
2250 fi
2251 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2252
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2254 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2255 if test -z "$MKDIR_P"; then
2256 if ${ac_cv_path_mkdir+:} false; then :
2257 $as_echo_n "(cached) " >&6
2258 else
2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2260 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2261 do
2262 IFS=$as_save_IFS
2263 test -z "$as_dir" && as_dir=.
2264 for ac_prog in mkdir gmkdir; do
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2267 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2268 'mkdir (GNU coreutils) '* | \
2269 'mkdir (coreutils) '* | \
2270 'mkdir (fileutils) '4.1*)
2271 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2272 break 3;;
2273 esac
2274 done
2275 done
2276 done
2277 IFS=$as_save_IFS
2278
2279 fi
2280
2281 test -d ./--version && rmdir ./--version
2282 if test "${ac_cv_path_mkdir+set}" = set; then
2283 MKDIR_P="$ac_cv_path_mkdir -p"
2284 else
2285 # As a last resort, use the slow shell script. Don't cache a
2286 # value for MKDIR_P within a source directory, because that will
2287 # break other packages using the cache if that directory is
2288 # removed, or if the value is a relative name.
2289 MKDIR_P="$ac_install_sh -d"
2290 fi
2291 fi
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2293 $as_echo "$MKDIR_P" >&6; }
2294
2295 for ac_prog in gawk mawk nawk awk
2296 do
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if ${ac_cv_prog_AWK+:} false; then :
2302 $as_echo_n "(cached) " >&6
2303 else
2304 if test -n "$AWK"; then
2305 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2309 do
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_AWK="$ac_prog"
2315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2317 fi
2318 done
2319 done
2320 IFS=$as_save_IFS
2321
2322 fi
2323 fi
2324 AWK=$ac_cv_prog_AWK
2325 if test -n "$AWK"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2327 $as_echo "$AWK" >&6; }
2328 else
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2330 $as_echo "no" >&6; }
2331 fi
2332
2333
2334 test -n "$AWK" && break
2335 done
2336
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2338 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2339 set x ${MAKE-make}
2340 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2341 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2342 $as_echo_n "(cached) " >&6
2343 else
2344 cat >conftest.make <<\_ACEOF
2345 SHELL = /bin/sh
2346 all:
2347 @echo '@@@%%%=$(MAKE)=@@@%%%'
2348 _ACEOF
2349 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2350 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2351 *@@@%%%=?*=@@@%%%*)
2352 eval ac_cv_prog_make_${ac_make}_set=yes;;
2353 *)
2354 eval ac_cv_prog_make_${ac_make}_set=no;;
2355 esac
2356 rm -f conftest.make
2357 fi
2358 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2360 $as_echo "yes" >&6; }
2361 SET_MAKE=
2362 else
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2364 $as_echo "no" >&6; }
2365 SET_MAKE="MAKE=${MAKE-make}"
2366 fi
2367
2368 rm -rf .tst 2>/dev/null
2369 mkdir .tst 2>/dev/null
2370 if test -d .tst; then
2371 am__leading_dot=.
2372 else
2373 am__leading_dot=_
2374 fi
2375 rmdir .tst 2>/dev/null
2376
2377 # Check whether --enable-silent-rules was given.
2378 if test "${enable_silent_rules+set}" = set; then :
2379 enableval=$enable_silent_rules;
2380 fi
2381
2382 case $enable_silent_rules in # (((
2383 yes) AM_DEFAULT_VERBOSITY=0;;
2384 no) AM_DEFAULT_VERBOSITY=1;;
2385 *) AM_DEFAULT_VERBOSITY=1;;
2386 esac
2387 am_make=${MAKE-make}
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2389 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2390 if ${am_cv_make_support_nested_variables+:} false; then :
2391 $as_echo_n "(cached) " >&6
2392 else
2393 if $as_echo 'TRUE=$(BAR$(V))
2394 BAR0=false
2395 BAR1=true
2396 V=1
2397 am__doit:
2398 @$(TRUE)
2399 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2400 am_cv_make_support_nested_variables=yes
2401 else
2402 am_cv_make_support_nested_variables=no
2403 fi
2404 fi
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2406 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2407 if test $am_cv_make_support_nested_variables = yes; then
2408 AM_V='$(V)'
2409 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2410 else
2411 AM_V=$AM_DEFAULT_VERBOSITY
2412 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2413 fi
2414 AM_BACKSLASH='\'
2415
2416 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2417 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2418 # is not polluted with repeated "-I."
2419 am__isrc=' -I$(srcdir)'
2420 # test to see if srcdir already configured
2421 if test -f $srcdir/config.status; then
2422 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2423 fi
2424 fi
2425
2426 # test whether we have cygpath
2427 if test -z "$CYGPATH_W"; then
2428 if (cygpath --version) >/dev/null 2>/dev/null; then
2429 CYGPATH_W='cygpath -w'
2430 else
2431 CYGPATH_W=echo
2432 fi
2433 fi
2434
2435
2436 # Define the identity of the package.
2437 PACKAGE='haunt'
2438 VERSION='0.3.0'
2439
2440
2441 cat >>confdefs.h <<_ACEOF
2442 #define PACKAGE "$PACKAGE"
2443 _ACEOF
2444
2445
2446 cat >>confdefs.h <<_ACEOF
2447 #define VERSION "$VERSION"
2448 _ACEOF
2449
2450 # Some tools Automake needs.
2451
2452 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2453
2454
2455 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2456
2457
2458 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2459
2460
2461 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2462
2463
2464 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2465
2466 # For better backward compatibility. To be removed once Automake 1.9.x
2467 # dies out for good. For more background, see:
2468 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2469 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2470 mkdir_p='$(MKDIR_P)'
2471
2472 # We need awk for the "check" target (and possibly the TAP driver). The
2473 # system "awk" is bad on some platforms.
2474 # Always define AMTAR for backward compatibility. Yes, it's still used
2475 # in the wild :-( We should find a proper way to deprecate it ...
2476 AMTAR='$${TAR-tar}'
2477
2478
2479 # We'll loop over all known methods to create a tar archive until one works.
2480 _am_tools='gnutar pax cpio none'
2481
2482 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2483
2484
2485
2486
2487
2488 # Variables for tags utilities; see am/tags.am
2489 if test -z "$CTAGS"; then
2490 CTAGS=ctags
2491 fi
2492
2493 if test -z "$ETAGS"; then
2494 ETAGS=etags
2495 fi
2496
2497 if test -z "$CSCOPE"; then
2498 CSCOPE=cscope
2499 fi
2500
2501
2502
2503 # POSIX will say in a future version that running "rm -f" with no argument
2504 # is OK; and we want to be able to make that assumption in our Makefile
2505 # recipes. So use an aggressive probe to check that the usage we want is
2506 # actually supported "in the wild" to an acceptable degree.
2507 # See automake bug#10828.
2508 # To make any issue more visible, cause the running configure to be aborted
2509 # by default if the 'rm' program in use doesn't match our expectations; the
2510 # user can still override this though.
2511 if rm -f && rm -fr && rm -rf; then : OK; else
2512 cat >&2 <<'END'
2513 Oops!
2514
2515 Your 'rm' program seems unable to run without file operands specified
2516 on the command line, even when the '-f' option is present. This is contrary
2517 to the behaviour of most rm programs out there, and not conforming with
2518 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2519
2520 Please tell [email protected] about your system, including the value
2521 of your $PATH and any error possibly output before this message. This
2522 can help us improve future automake versions.
2523
2524 END
2525 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2526 echo 'Configuration will proceed anyway, since you have set the' >&2
2527 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2528 echo >&2
2529 else
2530 cat >&2 <<'END'
2531 Aborting the configuration process, to ensure you take notice of the issue.
2532
2533 You can download and install GNU coreutils to get an 'rm' implementation
2534 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2535
2536 If you want to complete the configuration process using your problematic
2537 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2538 to "yes", and re-run configure.
2539
2540 END
2541 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2542 fi
2543 fi
2544
2545 # Check whether --enable-silent-rules was given.
2546 if test "${enable_silent_rules+set}" = set; then :
2547 enableval=$enable_silent_rules;
2548 fi
2549
2550 case $enable_silent_rules in # (((
2551 yes) AM_DEFAULT_VERBOSITY=0;;
2552 no) AM_DEFAULT_VERBOSITY=1;;
2553 *) AM_DEFAULT_VERBOSITY=0;;
2554 esac
2555 am_make=${MAKE-make}
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2557 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2558 if ${am_cv_make_support_nested_variables+:} false; then :
2559 $as_echo_n "(cached) " >&6
2560 else
2561 if $as_echo 'TRUE=$(BAR$(V))
2562 BAR0=false
2563 BAR1=true
2564 V=1
2565 am__doit:
2566 @$(TRUE)
2567 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2568 am_cv_make_support_nested_variables=yes
2569 else
2570 am_cv_make_support_nested_variables=no
2571 fi
2572 fi
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2574 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2575 if test $am_cv_make_support_nested_variables = yes; then
2576 AM_V='$(V)'
2577 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2578 else
2579 AM_V=$AM_DEFAULT_VERBOSITY
2580 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2581 fi
2582 AM_BACKSLASH='\'
2583
2584
2585 ac_config_files="$ac_config_files Makefile example/Makefile haunt/config.scm"
2586
2587 ac_config_files="$ac_config_files pre-inst-env"
2588
2589 ac_config_files="$ac_config_files test-env"
2590
2591 ac_config_files="$ac_config_files scripts/haunt"
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2602 if test -n "$ac_tool_prefix"; then
2603 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2604 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606 $as_echo_n "checking for $ac_word... " >&6; }
2607 if ${ac_cv_path_PKG_CONFIG+:} false; then :
2608 $as_echo_n "(cached) " >&6
2609 else
2610 case $PKG_CONFIG in
2611 [\\/]* | ?:[\\/]*)
2612 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2613 ;;
2614 *)
2615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616 for as_dir in $PATH
2617 do
2618 IFS=$as_save_IFS
2619 test -z "$as_dir" && as_dir=.
2620 for ac_exec_ext in '' $ac_executable_extensions; do
2621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2622 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2624 break 2
2625 fi
2626 done
2627 done
2628 IFS=$as_save_IFS
2629
2630 ;;
2631 esac
2632 fi
2633 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2634 if test -n "$PKG_CONFIG"; then
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2636 $as_echo "$PKG_CONFIG" >&6; }
2637 else
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 $as_echo "no" >&6; }
2640 fi
2641
2642
2643 fi
2644 if test -z "$ac_cv_path_PKG_CONFIG"; then
2645 ac_pt_PKG_CONFIG=$PKG_CONFIG
2646 # Extract the first word of "pkg-config", so it can be a program name with args.
2647 set dummy pkg-config; ac_word=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
2651 $as_echo_n "(cached) " >&6
2652 else
2653 case $ac_pt_PKG_CONFIG in
2654 [\\/]* | ?:[\\/]*)
2655 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2656 ;;
2657 *)
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 for as_dir in $PATH
2660 do
2661 IFS=$as_save_IFS
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2665 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 break 2
2668 fi
2669 done
2670 done
2671 IFS=$as_save_IFS
2672
2673 ;;
2674 esac
2675 fi
2676 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2677 if test -n "$ac_pt_PKG_CONFIG"; then
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2679 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
2680 else
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682 $as_echo "no" >&6; }
2683 fi
2684
2685 if test "x$ac_pt_PKG_CONFIG" = x; then
2686 PKG_CONFIG=""
2687 else
2688 case $cross_compiling:$ac_tool_warned in
2689 yes:)
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2692 ac_tool_warned=yes ;;
2693 esac
2694 PKG_CONFIG=$ac_pt_PKG_CONFIG
2695 fi
2696 else
2697 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2698 fi
2699
2700 fi
2701 if test -n "$PKG_CONFIG"; then
2702 _pkg_min_version=0.9.0
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2704 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2705 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2707 $as_echo "yes" >&6; }
2708 else
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2710 $as_echo "no" >&6; }
2711 PKG_CONFIG=""
2712 fi
2713 fi
2714
2715 if test "x$PKG_CONFIG" = x; then
2716 as_fn_error $? "pkg-config is missing, please install it" "$LINENO" 5
2717 fi
2718 _guile_versions_to_search="3.0 2.2 2.0"
2719 if test -n "$GUILE_EFFECTIVE_VERSION"; then
2720 _guile_tmp=""
2721 for v in $_guile_versions_to_search; do
2722 if test "$v" = "$GUILE_EFFECTIVE_VERSION"; then
2723 _guile_tmp=$v
2724 fi
2725 done
2726 if test -z "$_guile_tmp"; then
2727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2729 as_fn_error $? "searching for guile development files for versions $_guile_versions_to_search, but previously found $GUILE version $GUILE_EFFECTIVE_VERSION
2730 See \`config.log' for more details" "$LINENO" 5; }
2731 fi
2732 _guile_versions_to_search=$GUILE_EFFECTIVE_VERSION
2733 fi
2734 GUILE_EFFECTIVE_VERSION=""
2735 _guile_errors=""
2736 for v in $_guile_versions_to_search; do
2737 if test -z "$GUILE_EFFECTIVE_VERSION"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for guile $v" >&5
2739 $as_echo "$as_me: checking for guile $v" >&6;}
2740 if test -n "$PKG_CONFIG" && \
2741 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"guile-\$v\""; } >&5
2742 ($PKG_CONFIG --exists --print-errors "guile-$v") 2>&5
2743 ac_status=$?
2744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; }; then
2746 GUILE_EFFECTIVE_VERSION=$v
2747 fi
2748 fi
2749 done
2750
2751 if test -z "$GUILE_EFFECTIVE_VERSION"; then
2752 as_fn_error $? "
2753 No Guile development packages were found.
2754
2755 Please verify that you have Guile installed. If you installed Guile
2756 from a binary distribution, please verify that you have also installed
2757 the development packages. If you installed it yourself, you might need
2758 to adjust your PKG_CONFIG_PATH; see the pkg-config man page for more.
2759 " "$LINENO" 5
2760 fi
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: found guile $GUILE_EFFECTIVE_VERSION" >&5
2762 $as_echo "$as_me: found guile $GUILE_EFFECTIVE_VERSION" >&6;}
2763
2764
2765 _guile_required_version="$GUILE_EFFECTIVE_VERSION"
2766 if test -z "$_guile_required_version"; then
2767 _guile_required_version=3.0
2768 fi
2769
2770 _guile_candidates=guile
2771 _tmp=
2772 for v in `echo "$_guile_required_version" | tr . ' '`; do
2773 if test -n "$_tmp"; then _tmp=$_tmp.; fi
2774 _tmp=$_tmp$v
2775 _guile_candidates="guile-$_tmp guile$_tmp $_guile_candidates"
2776 done
2777
2778 for ac_prog in $_guile_candidates
2779 do
2780 # Extract the first word of "$ac_prog", so it can be a program name with args.
2781 set dummy $ac_prog; ac_word=$2
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783 $as_echo_n "checking for $ac_word... " >&6; }
2784 if ${ac_cv_path_GUILE+:} false; then :
2785 $as_echo_n "(cached) " >&6
2786 else
2787 case $GUILE in
2788 [\\/]* | ?:[\\/]*)
2789 ac_cv_path_GUILE="$GUILE" # Let the user override the test with a path.
2790 ;;
2791 *)
2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793 for as_dir in $PATH
2794 do
2795 IFS=$as_save_IFS
2796 test -z "$as_dir" && as_dir=.
2797 for ac_exec_ext in '' $ac_executable_extensions; do
2798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2799 ac_cv_path_GUILE="$as_dir/$ac_word$ac_exec_ext"
2800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 break 2
2802 fi
2803 done
2804 done
2805 IFS=$as_save_IFS
2806
2807 ;;
2808 esac
2809 fi
2810 GUILE=$ac_cv_path_GUILE
2811 if test -n "$GUILE"; then
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE" >&5
2813 $as_echo "$GUILE" >&6; }
2814 else
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2816 $as_echo "no" >&6; }
2817 fi
2818
2819
2820 test -n "$GUILE" && break
2821 done
2822
2823 if test -z "$GUILE"; then
2824 as_fn_error $? "guile required but not found" "$LINENO" 5
2825 fi
2826
2827 _guile_suffix=`echo "$GUILE" | sed -e 's,^.*/guile\(.*\)$,\1,'`
2828 _guile_effective_version=`$GUILE -c "(display (effective-version))"`
2829 if test -z "$GUILE_EFFECTIVE_VERSION"; then
2830 GUILE_EFFECTIVE_VERSION=$_guile_effective_version
2831 elif test "$GUILE_EFFECTIVE_VERSION" != "$_guile_effective_version"; then
2832 as_fn_error $? "found development files for Guile $GUILE_EFFECTIVE_VERSION, but $GUILE has effective version $_guile_effective_version" "$LINENO" 5
2833 fi
2834
2835 _guile_major_version=`$GUILE -c "(display (major-version))"`
2836 _guile_minor_version=`$GUILE -c "(display (minor-version))"`
2837 _guile_micro_version=`$GUILE -c "(display (micro-version))"`
2838 _guile_prog_version="$_guile_major_version.$_guile_minor_version.$_guile_micro_version"
2839
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Guile version >= $_guile_required_version" >&5
2841 $as_echo_n "checking for Guile version >= $_guile_required_version... " >&6; }
2842 _major_version=`echo $_guile_required_version | cut -d . -f 1`
2843 _minor_version=`echo $_guile_required_version | cut -d . -f 2`
2844 _micro_version=`echo $_guile_required_version | cut -d . -f 3`
2845 if test "$_guile_major_version" -gt "$_major_version"; then
2846 true
2847 elif test "$_guile_major_version" -eq "$_major_version"; then
2848 if test "$_guile_minor_version" -gt "$_minor_version"; then
2849 true
2850 elif test "$_guile_minor_version" -eq "$_minor_version"; then
2851 if test -n "$_micro_version"; then
2852 if test "$_guile_micro_version" -lt "$_micro_version"; then
2853 as_fn_error $? "Guile $_guile_required_version required, but $_guile_prog_version found" "$LINENO" 5
2854 fi
2855 fi
2856 elif test "$GUILE_EFFECTIVE_VERSION" = "$_major_version.$_minor_version" -a -z "$_micro_version"; then
2857 # Allow prereleases that have the right effective version.
2858 true
2859 else
2860 as_fn_error $? "Guile $_guile_required_version required, but $_guile_prog_version found" "$LINENO" 5
2861 fi
2862 elif test "$GUILE_EFFECTIVE_VERSION" = "$_major_version.$_minor_version" -a -z "$_micro_version"; then
2863 # Allow prereleases that have the right effective version.
2864 true
2865 else
2866 as_fn_error $? "Guile $_guile_required_version required, but $_guile_prog_version found" "$LINENO" 5
2867 fi
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_guile_prog_version" >&5
2869 $as_echo "$_guile_prog_version" >&6; }
2870
2871 # Extract the first word of "guild$_guile_suffix", so it can be a program name with args.
2872 set dummy guild$_guile_suffix; ac_word=$2
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2874 $as_echo_n "checking for $ac_word... " >&6; }
2875 if ${ac_cv_path_GUILD+:} false; then :
2876 $as_echo_n "(cached) " >&6
2877 else
2878 case $GUILD in
2879 [\\/]* | ?:[\\/]*)
2880 ac_cv_path_GUILD="$GUILD" # Let the user override the test with a path.
2881 ;;
2882 *)
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 for as_dir in $PATH
2885 do
2886 IFS=$as_save_IFS
2887 test -z "$as_dir" && as_dir=.
2888 for ac_exec_ext in '' $ac_executable_extensions; do
2889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2890 ac_cv_path_GUILD="$as_dir/$ac_word$ac_exec_ext"
2891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 break 2
2893 fi
2894 done
2895 done
2896 IFS=$as_save_IFS
2897
2898 ;;
2899 esac
2900 fi
2901 GUILD=$ac_cv_path_GUILD
2902 if test -n "$GUILD"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILD" >&5
2904 $as_echo "$GUILD" >&6; }
2905 else
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2908 fi
2909
2910
2911
2912
2913 # Extract the first word of "guile-config$_guile_suffix", so it can be a program name with args.
2914 set dummy guile-config$_guile_suffix; ac_word=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if ${ac_cv_path_GUILE_CONFIG+:} false; then :
2918 $as_echo_n "(cached) " >&6
2919 else
2920 case $GUILE_CONFIG in
2921 [\\/]* | ?:[\\/]*)
2922 ac_cv_path_GUILE_CONFIG="$GUILE_CONFIG" # Let the user override the test with a path.
2923 ;;
2924 *)
2925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926 for as_dir in $PATH
2927 do
2928 IFS=$as_save_IFS
2929 test -z "$as_dir" && as_dir=.
2930 for ac_exec_ext in '' $ac_executable_extensions; do
2931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2932 ac_cv_path_GUILE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 break 2
2935 fi
2936 done
2937 done
2938 IFS=$as_save_IFS
2939
2940 ;;
2941 esac
2942 fi
2943 GUILE_CONFIG=$ac_cv_path_GUILE_CONFIG
2944 if test -n "$GUILE_CONFIG"; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE_CONFIG" >&5
2946 $as_echo "$GUILE_CONFIG" >&6; }
2947 else
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2950 fi
2951
2952
2953
2954 if test -n "$GUILD"; then
2955 GUILE_TOOLS=$GUILD
2956 else
2957 # Extract the first word of "guile-tools$_guile_suffix", so it can be a program name with args.
2958 set dummy guile-tools$_guile_suffix; ac_word=$2
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2960 $as_echo_n "checking for $ac_word... " >&6; }
2961 if ${ac_cv_path_GUILE_TOOLS+:} false; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 case $GUILE_TOOLS in
2965 [\\/]* | ?:[\\/]*)
2966 ac_cv_path_GUILE_TOOLS="$GUILE_TOOLS" # Let the user override the test with a path.
2967 ;;
2968 *)
2969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2970 for as_dir in $PATH
2971 do
2972 IFS=$as_save_IFS
2973 test -z "$as_dir" && as_dir=.
2974 for ac_exec_ext in '' $ac_executable_extensions; do
2975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2976 ac_cv_path_GUILE_TOOLS="$as_dir/$ac_word$ac_exec_ext"
2977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2978 break 2
2979 fi
2980 done
2981 done
2982 IFS=$as_save_IFS
2983
2984 ;;
2985 esac
2986 fi
2987 GUILE_TOOLS=$ac_cv_path_GUILE_TOOLS
2988 if test -n "$GUILE_TOOLS"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUILE_TOOLS" >&5
2990 $as_echo "$GUILE_TOOLS" >&6; }
2991 else
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2994 fi
2995
2996
2997 fi
2998
2999
3000
3001 haunt_prefix="`eval echo $prefix | sed -e"s|NONE|/usr/local|g"`"
3002 haunt_libdir="`eval echo $libdir | sed -e"s|NONE|$haunt_prefix|g"`"
3003 guilemoduledir="`eval echo ${datarootdir}/guile/site/$GUILE_EFFECTIVE_VERSION | sed -e"s|NONE|$haunt_prefix|g"`"
3004 guileobjectdir="`eval echo ${libdir}/guile/$GUILE_EFFECTIVE_VERSION/site-ccache | sed -e"s|NONE|$haunt_prefix|g"`"
3005
3006
3007
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if (system reader) is available" >&5
3009 $as_echo_n "checking if (system reader) is available... " >&6; }
3010
3011 $GUILE -c "(use-modules (system reader)) (exit ((lambda () 0)))" > /dev/null 2>&1
3012 have_guile_reader=$?
3013
3014 if test "$have_guile_reader" = "0" ; then have_guile_reader=yes ; else have_guile_reader=no ; fi
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_guile_reader" >&5
3016 $as_echo "$have_guile_reader" >&6; }
3017
3018
3019 if test "x$have_guile_reader" = "xyes"; then
3020 HAVE_GUILE_READER_TRUE=
3021 HAVE_GUILE_READER_FALSE='#'
3022 else
3023 HAVE_GUILE_READER_TRUE='#'
3024 HAVE_GUILE_READER_FALSE=
3025 fi
3026
3027
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if (commonmark) is available" >&5
3029 $as_echo_n "checking if (commonmark) is available... " >&6; }
3030
3031 $GUILE -c "(use-modules (commonmark)) (exit ((lambda () 0)))" > /dev/null 2>&1
3032 have_guile_commonmark=$?
3033
3034 if test "$have_guile_commonmark" = "0" ; then have_guile_commonmark=yes ; else have_guile_commonmark=no ; fi
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_guile_commonmark" >&5
3036 $as_echo "$have_guile_commonmark" >&6; }
3037
3038
3039 if test "x$have_guile_commonmark" = "xyes"; then
3040 HAVE_GUILE_COMMONMARK_TRUE=
3041 HAVE_GUILE_COMMONMARK_FALSE='#'
3042 else
3043 HAVE_GUILE_COMMONMARK_TRUE='#'
3044 HAVE_GUILE_COMMONMARK_FALSE=
3045 fi
3046
3047
3048 DEPDIR="${am__leading_dot}deps"
3049
3050 ac_config_commands="$ac_config_commands depfiles"
3051
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3053 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3054 cat > confinc.mk << 'END'
3055 am__doit:
3056 @echo this is the am__doit target >confinc.out
3057 .PHONY: am__doit
3058 END
3059 am__include="#"
3060 am__quote=
3061 # BSD make does it like this.
3062 echo '.include "confinc.mk" # ignored' > confmf.BSD
3063 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3064 echo 'include confinc.mk # ignored' > confmf.GNU
3065 _am_result=no
3066 for s in GNU BSD; do
3067 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3068 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3069 ac_status=$?
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }
3072 case $?:`cat confinc.out 2>/dev/null` in #(
3073 '0:this is the am__doit target') :
3074 case $s in #(
3075 BSD) :
3076 am__include='.include' am__quote='"' ;; #(
3077 *) :
3078 am__include='include' am__quote='' ;;
3079 esac ;; #(
3080 *) :
3081 ;;
3082 esac
3083 if test "$am__include" != "#"; then
3084 _am_result="yes ($s style)"
3085 break
3086 fi
3087 done
3088 rm -f confinc.* confmf.*
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3090 $as_echo "${_am_result}" >&6; }
3091
3092 # Check whether --enable-dependency-tracking was given.
3093 if test "${enable_dependency_tracking+set}" = set; then :
3094 enableval=$enable_dependency_tracking;
3095 fi
3096
3097 if test "x$enable_dependency_tracking" != xno; then
3098 am_depcomp="$ac_aux_dir/depcomp"
3099 AMDEPBACKSLASH='\'
3100 am__nodep='_no'
3101 fi
3102 if test "x$enable_dependency_tracking" != xno; then
3103 AMDEP_TRUE=
3104 AMDEP_FALSE='#'
3105 else
3106 AMDEP_TRUE='#'
3107 AMDEP_FALSE=
3108 fi
3109
3110
3111 ac_ext=c
3112 ac_cpp='$CPP $CPPFLAGS'
3113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3116 if test -n "$ac_tool_prefix"; then
3117 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3118 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3120 $as_echo_n "checking for $ac_word... " >&6; }
3121 if ${ac_cv_prog_CC+:} false; then :
3122 $as_echo_n "(cached) " >&6
3123 else
3124 if test -n "$CC"; then
3125 ac_cv_prog_CC="$CC" # Let the user override the test.
3126 else
3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3128 for as_dir in $PATH
3129 do
3130 IFS=$as_save_IFS
3131 test -z "$as_dir" && as_dir=.
3132 for ac_exec_ext in '' $ac_executable_extensions; do
3133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3134 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3136 break 2
3137 fi
3138 done
3139 done
3140 IFS=$as_save_IFS
3141
3142 fi
3143 fi
3144 CC=$ac_cv_prog_CC
3145 if test -n "$CC"; then
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3147 $as_echo "$CC" >&6; }
3148 else
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3150 $as_echo "no" >&6; }
3151 fi
3152
3153
3154 fi
3155 if test -z "$ac_cv_prog_CC"; then
3156 ac_ct_CC=$CC
3157 # Extract the first word of "gcc", so it can be a program name with args.
3158 set dummy gcc; ac_word=$2
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3160 $as_echo_n "checking for $ac_word... " >&6; }
3161 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3162 $as_echo_n "(cached) " >&6
3163 else
3164 if test -n "$ac_ct_CC"; then
3165 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3166 else
3167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3168 for as_dir in $PATH
3169 do
3170 IFS=$as_save_IFS
3171 test -z "$as_dir" && as_dir=.
3172 for ac_exec_ext in '' $ac_executable_extensions; do
3173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3174 ac_cv_prog_ac_ct_CC="gcc"
3175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176 break 2
3177 fi
3178 done
3179 done
3180 IFS=$as_save_IFS
3181
3182 fi
3183 fi
3184 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3185 if test -n "$ac_ct_CC"; then
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3187 $as_echo "$ac_ct_CC" >&6; }
3188 else
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3190 $as_echo "no" >&6; }
3191 fi
3192
3193 if test "x$ac_ct_CC" = x; then
3194 CC=""
3195 else
3196 case $cross_compiling:$ac_tool_warned in
3197 yes:)
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3200 ac_tool_warned=yes ;;
3201 esac
3202 CC=$ac_ct_CC
3203 fi
3204 else
3205 CC="$ac_cv_prog_CC"
3206 fi
3207
3208 if test -z "$CC"; then
3209 if test -n "$ac_tool_prefix"; then
3210 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3211 set dummy ${ac_tool_prefix}cc; ac_word=$2
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3213 $as_echo_n "checking for $ac_word... " >&6; }
3214 if ${ac_cv_prog_CC+:} false; then :
3215 $as_echo_n "(cached) " >&6
3216 else
3217 if test -n "$CC"; then
3218 ac_cv_prog_CC="$CC" # Let the user override the test.
3219 else
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 for as_dir in $PATH
3222 do
3223 IFS=$as_save_IFS
3224 test -z "$as_dir" && as_dir=.
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3227 ac_cv_prog_CC="${ac_tool_prefix}cc"
3228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 break 2
3230 fi
3231 done
3232 done
3233 IFS=$as_save_IFS
3234
3235 fi
3236 fi
3237 CC=$ac_cv_prog_CC
3238 if test -n "$CC"; then
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3240 $as_echo "$CC" >&6; }
3241 else
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3243 $as_echo "no" >&6; }
3244 fi
3245
3246
3247 fi
3248 fi
3249 if test -z "$CC"; then
3250 # Extract the first word of "cc", so it can be a program name with args.
3251 set dummy cc; ac_word=$2
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253 $as_echo_n "checking for $ac_word... " >&6; }
3254 if ${ac_cv_prog_CC+:} false; then :
3255 $as_echo_n "(cached) " >&6
3256 else
3257 if test -n "$CC"; then
3258 ac_cv_prog_CC="$CC" # Let the user override the test.
3259 else
3260 ac_prog_rejected=no
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 for as_dir in $PATH
3263 do
3264 IFS=$as_save_IFS
3265 test -z "$as_dir" && as_dir=.
3266 for ac_exec_ext in '' $ac_executable_extensions; do
3267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3269 ac_prog_rejected=yes
3270 continue
3271 fi
3272 ac_cv_prog_CC="cc"
3273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274 break 2
3275 fi
3276 done
3277 done
3278 IFS=$as_save_IFS
3279
3280 if test $ac_prog_rejected = yes; then
3281 # We found a bogon in the path, so make sure we never use it.
3282 set dummy $ac_cv_prog_CC
3283 shift
3284 if test $# != 0; then
3285 # We chose a different compiler from the bogus one.
3286 # However, it has the same basename, so the bogon will be chosen
3287 # first if we set CC to just the basename; use the full file name.
3288 shift
3289 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3290 fi
3291 fi
3292 fi
3293 fi
3294 CC=$ac_cv_prog_CC
3295 if test -n "$CC"; then
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3297 $as_echo "$CC" >&6; }
3298 else
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300 $as_echo "no" >&6; }
3301 fi
3302
3303
3304 fi
3305 if test -z "$CC"; then
3306 if test -n "$ac_tool_prefix"; then
3307 for ac_prog in cl.exe
3308 do
3309 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3310 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3312 $as_echo_n "checking for $ac_word... " >&6; }
3313 if ${ac_cv_prog_CC+:} false; then :
3314 $as_echo_n "(cached) " >&6
3315 else
3316 if test -n "$CC"; then
3317 ac_cv_prog_CC="$CC" # Let the user override the test.
3318 else
3319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3320 for as_dir in $PATH
3321 do
3322 IFS=$as_save_IFS
3323 test -z "$as_dir" && as_dir=.
3324 for ac_exec_ext in '' $ac_executable_extensions; do
3325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3326 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3328 break 2
3329 fi
3330 done
3331 done
3332 IFS=$as_save_IFS
3333
3334 fi
3335 fi
3336 CC=$ac_cv_prog_CC
3337 if test -n "$CC"; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3339 $as_echo "$CC" >&6; }
3340 else
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3343 fi
3344
3345
3346 test -n "$CC" && break
3347 done
3348 fi
3349 if test -z "$CC"; then
3350 ac_ct_CC=$CC
3351 for ac_prog in cl.exe
3352 do
3353 # Extract the first word of "$ac_prog", so it can be a program name with args.
3354 set dummy $ac_prog; ac_word=$2
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3356 $as_echo_n "checking for $ac_word... " >&6; }
3357 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3358 $as_echo_n "(cached) " >&6
3359 else
3360 if test -n "$ac_ct_CC"; then
3361 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3362 else
3363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3364 for as_dir in $PATH
3365 do
3366 IFS=$as_save_IFS
3367 test -z "$as_dir" && as_dir=.
3368 for ac_exec_ext in '' $ac_executable_extensions; do
3369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3370 ac_cv_prog_ac_ct_CC="$ac_prog"
3371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3372 break 2
3373 fi
3374 done
3375 done
3376 IFS=$as_save_IFS
3377
3378 fi
3379 fi
3380 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3381 if test -n "$ac_ct_CC"; then
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3383 $as_echo "$ac_ct_CC" >&6; }
3384 else
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3386 $as_echo "no" >&6; }
3387 fi
3388
3389
3390 test -n "$ac_ct_CC" && break
3391 done
3392
3393 if test "x$ac_ct_CC" = x; then
3394 CC=""
3395 else
3396 case $cross_compiling:$ac_tool_warned in
3397 yes:)
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3400 ac_tool_warned=yes ;;
3401 esac
3402 CC=$ac_ct_CC
3403 fi
3404 fi
3405
3406 fi
3407
3408
3409 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 as_fn_error $? "no acceptable C compiler found in \$PATH
3412 See \`config.log' for more details" "$LINENO" 5; }
3413
3414 # Provide some information about the compiler.
3415 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3416 set X $ac_compile
3417 ac_compiler=$2
3418 for ac_option in --version -v -V -qversion; do
3419 { { ac_try="$ac_compiler $ac_option >&5"
3420 case "(($ac_try" in
3421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422 *) ac_try_echo=$ac_try;;
3423 esac
3424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3425 $as_echo "$ac_try_echo"; } >&5
3426 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3427 ac_status=$?
3428 if test -s conftest.err; then
3429 sed '10a\
3430 ... rest of stderr output deleted ...
3431 10q' conftest.err >conftest.er1
3432 cat conftest.er1 >&5
3433 fi
3434 rm -f conftest.er1 conftest.err
3435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436 test $ac_status = 0; }
3437 done
3438
3439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3440 /* end confdefs.h. */
3441
3442 int
3443 main ()
3444 {
3445
3446 ;
3447 return 0;
3448 }
3449 _ACEOF
3450 ac_clean_files_save=$ac_clean_files
3451 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3452 # Try to create an executable without -o first, disregard a.out.
3453 # It will help us diagnose broken compilers, and finding out an intuition
3454 # of exeext.
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3456 $as_echo_n "checking whether the C compiler works... " >&6; }
3457 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3458
3459 # The possible output files:
3460 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3461
3462 ac_rmfiles=
3463 for ac_file in $ac_files
3464 do
3465 case $ac_file in
3466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3467 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3468 esac
3469 done
3470 rm -f $ac_rmfiles
3471
3472 if { { ac_try="$ac_link_default"
3473 case "(($ac_try" in
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3476 esac
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479 (eval "$ac_link_default") 2>&5
3480 ac_status=$?
3481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482 test $ac_status = 0; }; then :
3483 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3484 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3485 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3486 # so that the user can short-circuit this test for compilers unknown to
3487 # Autoconf.
3488 for ac_file in $ac_files ''
3489 do
3490 test -f "$ac_file" || continue
3491 case $ac_file in
3492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3493 ;;
3494 [ab].out )
3495 # We found the default executable, but exeext='' is most
3496 # certainly right.
3497 break;;
3498 *.* )
3499 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3500 then :; else
3501 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3502 fi
3503 # We set ac_cv_exeext here because the later test for it is not
3504 # safe: cross compilers may not add the suffix if given an `-o'
3505 # argument, so we may need to know it at that point already.
3506 # Even if this section looks crufty: it has the advantage of
3507 # actually working.
3508 break;;
3509 * )
3510 break;;
3511 esac
3512 done
3513 test "$ac_cv_exeext" = no && ac_cv_exeext=
3514
3515 else
3516 ac_file=''
3517 fi
3518 if test -z "$ac_file"; then :
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3521 $as_echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.$ac_ext >&5
3523
3524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3526 as_fn_error 77 "C compiler cannot create executables
3527 See \`config.log' for more details" "$LINENO" 5; }
3528 else
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3530 $as_echo "yes" >&6; }
3531 fi
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3533 $as_echo_n "checking for C compiler default output file name... " >&6; }
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3535 $as_echo "$ac_file" >&6; }
3536 ac_exeext=$ac_cv_exeext
3537
3538 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3539 ac_clean_files=$ac_clean_files_save
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3541 $as_echo_n "checking for suffix of executables... " >&6; }
3542 if { { ac_try="$ac_link"
3543 case "(($ac_try" in
3544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3545 *) ac_try_echo=$ac_try;;
3546 esac
3547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3548 $as_echo "$ac_try_echo"; } >&5
3549 (eval "$ac_link") 2>&5
3550 ac_status=$?
3551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3552 test $ac_status = 0; }; then :
3553 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3554 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3555 # work properly (i.e., refer to `conftest.exe'), while it won't with
3556 # `rm'.
3557 for ac_file in conftest.exe conftest conftest.*; do
3558 test -f "$ac_file" || continue
3559 case $ac_file in
3560 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3561 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3562 break;;
3563 * ) break;;
3564 esac
3565 done
3566 else
3567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3570 See \`config.log' for more details" "$LINENO" 5; }
3571 fi
3572 rm -f conftest conftest$ac_cv_exeext
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3574 $as_echo "$ac_cv_exeext" >&6; }
3575
3576 rm -f conftest.$ac_ext
3577 EXEEXT=$ac_cv_exeext
3578 ac_exeext=$EXEEXT
3579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580 /* end confdefs.h. */
3581 #include <stdio.h>
3582 int
3583 main ()
3584 {
3585 FILE *f = fopen ("conftest.out", "w");
3586 return ferror (f) || fclose (f) != 0;
3587
3588 ;
3589 return 0;
3590 }
3591 _ACEOF
3592 ac_clean_files="$ac_clean_files conftest.out"
3593 # Check that the compiler produces executables we can run. If not, either
3594 # the compiler is broken, or we cross compile.
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3596 $as_echo_n "checking whether we are cross compiling... " >&6; }
3597 if test "$cross_compiling" != yes; then
3598 { { ac_try="$ac_link"
3599 case "(($ac_try" in
3600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601 *) ac_try_echo=$ac_try;;
3602 esac
3603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604 $as_echo "$ac_try_echo"; } >&5
3605 (eval "$ac_link") 2>&5
3606 ac_status=$?
3607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608 test $ac_status = 0; }
3609 if { ac_try='./conftest$ac_cv_exeext'
3610 { { case "(($ac_try" in
3611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3612 *) ac_try_echo=$ac_try;;
3613 esac
3614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3615 $as_echo "$ac_try_echo"; } >&5
3616 (eval "$ac_try") 2>&5
3617 ac_status=$?
3618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3619 test $ac_status = 0; }; }; then
3620 cross_compiling=no
3621 else
3622 if test "$cross_compiling" = maybe; then
3623 cross_compiling=yes
3624 else
3625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3627 as_fn_error $? "cannot run C compiled programs.
3628 If you meant to cross compile, use \`--host'.
3629 See \`config.log' for more details" "$LINENO" 5; }
3630 fi
3631 fi
3632 fi
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3634 $as_echo "$cross_compiling" >&6; }
3635
3636 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3637 ac_clean_files=$ac_clean_files_save
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3639 $as_echo_n "checking for suffix of object files... " >&6; }
3640 if ${ac_cv_objext+:} false; then :
3641 $as_echo_n "(cached) " >&6
3642 else
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3645
3646 int
3647 main ()
3648 {
3649
3650 ;
3651 return 0;
3652 }
3653 _ACEOF
3654 rm -f conftest.o conftest.obj
3655 if { { ac_try="$ac_compile"
3656 case "(($ac_try" in
3657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658 *) ac_try_echo=$ac_try;;
3659 esac
3660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3661 $as_echo "$ac_try_echo"; } >&5
3662 (eval "$ac_compile") 2>&5
3663 ac_status=$?
3664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3665 test $ac_status = 0; }; then :
3666 for ac_file in conftest.o conftest.obj conftest.*; do
3667 test -f "$ac_file" || continue;
3668 case $ac_file in
3669 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3670 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3671 break;;
3672 esac
3673 done
3674 else
3675 $as_echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.$ac_ext >&5
3677
3678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3680 as_fn_error $? "cannot compute suffix of object files: cannot compile
3681 See \`config.log' for more details" "$LINENO" 5; }
3682 fi
3683 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3684 fi
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3686 $as_echo "$ac_cv_objext" >&6; }
3687 OBJEXT=$ac_cv_objext
3688 ac_objext=$OBJEXT
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3690 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3691 if ${ac_cv_c_compiler_gnu+:} false; then :
3692 $as_echo_n "(cached) " >&6
3693 else
3694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3695 /* end confdefs.h. */
3696
3697 int
3698 main ()
3699 {
3700 #ifndef __GNUC__
3701 choke me
3702 #endif
3703
3704 ;
3705 return 0;
3706 }
3707 _ACEOF
3708 if ac_fn_c_try_compile "$LINENO"; then :
3709 ac_compiler_gnu=yes
3710 else
3711 ac_compiler_gnu=no
3712 fi
3713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3714 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3715
3716 fi
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3718 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3719 if test $ac_compiler_gnu = yes; then
3720 GCC=yes
3721 else
3722 GCC=
3723 fi
3724 ac_test_CFLAGS=${CFLAGS+set}
3725 ac_save_CFLAGS=$CFLAGS
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3727 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3728 if ${ac_cv_prog_cc_g+:} false; then :
3729 $as_echo_n "(cached) " >&6
3730 else
3731 ac_save_c_werror_flag=$ac_c_werror_flag
3732 ac_c_werror_flag=yes
3733 ac_cv_prog_cc_g=no
3734 CFLAGS="-g"
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3737
3738 int
3739 main ()
3740 {
3741
3742 ;
3743 return 0;
3744 }
3745 _ACEOF
3746 if ac_fn_c_try_compile "$LINENO"; then :
3747 ac_cv_prog_cc_g=yes
3748 else
3749 CFLAGS=""
3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751 /* end confdefs.h. */
3752
3753 int
3754 main ()
3755 {
3756
3757 ;
3758 return 0;
3759 }
3760 _ACEOF
3761 if ac_fn_c_try_compile "$LINENO"; then :
3762
3763 else
3764 ac_c_werror_flag=$ac_save_c_werror_flag
3765 CFLAGS="-g"
3766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3767 /* end confdefs.h. */
3768
3769 int
3770 main ()
3771 {
3772
3773 ;
3774 return 0;
3775 }
3776 _ACEOF
3777 if ac_fn_c_try_compile "$LINENO"; then :
3778 ac_cv_prog_cc_g=yes
3779 fi
3780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3781 fi
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 fi
3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3785 ac_c_werror_flag=$ac_save_c_werror_flag
3786 fi
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3788 $as_echo "$ac_cv_prog_cc_g" >&6; }
3789 if test "$ac_test_CFLAGS" = set; then
3790 CFLAGS=$ac_save_CFLAGS
3791 elif test $ac_cv_prog_cc_g = yes; then
3792 if test "$GCC" = yes; then
3793 CFLAGS="-g -O2"
3794 else
3795 CFLAGS="-g"
3796 fi
3797 else
3798 if test "$GCC" = yes; then
3799 CFLAGS="-O2"
3800 else
3801 CFLAGS=
3802 fi
3803 fi
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3805 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3806 if ${ac_cv_prog_cc_c89+:} false; then :
3807 $as_echo_n "(cached) " >&6
3808 else
3809 ac_cv_prog_cc_c89=no
3810 ac_save_CC=$CC
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3813 #include <stdarg.h>
3814 #include <stdio.h>
3815 struct stat;
3816 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3817 struct buf { int x; };
3818 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3819 static char *e (p, i)
3820 char **p;
3821 int i;
3822 {
3823 return p[i];
3824 }
3825 static char *f (char * (*g) (char **, int), char **p, ...)
3826 {
3827 char *s;
3828 va_list v;
3829 va_start (v,p);
3830 s = g (p, va_arg (v,int));
3831 va_end (v);
3832 return s;
3833 }
3834
3835 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3836 function prototypes and stuff, but not '\xHH' hex character constants.
3837 These don't provoke an error unfortunately, instead are silently treated
3838 as 'x'. The following induces an error, until -std is added to get
3839 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3840 array size at least. It's necessary to write '\x00'==0 to get something
3841 that's true only with -std. */
3842 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3843
3844 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3845 inside strings and character constants. */
3846 #define FOO(x) 'x'
3847 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3848
3849 int test (int i, double x);
3850 struct s1 {int (*f) (int a);};
3851 struct s2 {int (*f) (double a);};
3852 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3853 int argc;
3854 char **argv;
3855 int
3856 main ()
3857 {
3858 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3859 ;
3860 return 0;
3861 }
3862 _ACEOF
3863 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3864 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3865 do
3866 CC="$ac_save_CC $ac_arg"
3867 if ac_fn_c_try_compile "$LINENO"; then :
3868 ac_cv_prog_cc_c89=$ac_arg
3869 fi
3870 rm -f core conftest.err conftest.$ac_objext
3871 test "x$ac_cv_prog_cc_c89" != "xno" && break
3872 done
3873 rm -f conftest.$ac_ext
3874 CC=$ac_save_CC
3875
3876 fi
3877 # AC_CACHE_VAL
3878 case "x$ac_cv_prog_cc_c89" in
3879 x)
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3881 $as_echo "none needed" >&6; } ;;
3882 xno)
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3884 $as_echo "unsupported" >&6; } ;;
3885 *)
3886 CC="$CC $ac_cv_prog_cc_c89"
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3888 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3889 esac
3890 if test "x$ac_cv_prog_cc_c89" != xno; then :
3891
3892 fi
3893
3894 ac_ext=c
3895 ac_cpp='$CPP $CPPFLAGS'
3896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3899
3900 ac_ext=c
3901 ac_cpp='$CPP $CPPFLAGS'
3902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3906 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3907 if ${am_cv_prog_cc_c_o+:} false; then :
3908 $as_echo_n "(cached) " >&6
3909 else
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3912
3913 int
3914 main ()
3915 {
3916
3917 ;
3918 return 0;
3919 }
3920 _ACEOF
3921 # Make sure it works both with $CC and with simple cc.
3922 # Following AC_PROG_CC_C_O, we do the test twice because some
3923 # compilers refuse to overwrite an existing .o file with -o,
3924 # though they will create one.
3925 am_cv_prog_cc_c_o=yes
3926 for am_i in 1 2; do
3927 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3928 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3929 ac_status=$?
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } \
3932 && test -f conftest2.$ac_objext; then
3933 : OK
3934 else
3935 am_cv_prog_cc_c_o=no
3936 break
3937 fi
3938 done
3939 rm -f core conftest*
3940 unset am_i
3941 fi
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3943 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3944 if test "$am_cv_prog_cc_c_o" != yes; then
3945 # Losing compiler, so override with the script.
3946 # FIXME: It is wrong to rewrite CC.
3947 # But if we don't then we get into trouble of one sort or another.
3948 # A longer-term fix would be to have automake use am__CC in this case,
3949 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3950 CC="$am_aux_dir/compile $CC"
3951 fi
3952 ac_ext=c
3953 ac_cpp='$CPP $CPPFLAGS'
3954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3957
3958
3959 depcc="$CC" am_compiler_list=
3960
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3962 $as_echo_n "checking dependency style of $depcc... " >&6; }
3963 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965 else
3966 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3967 # We make a subdir and do the tests there. Otherwise we can end up
3968 # making bogus files that we don't know about and never remove. For
3969 # instance it was reported that on HP-UX the gcc test will end up
3970 # making a dummy file named 'D' -- because '-MD' means "put the output
3971 # in D".
3972 rm -rf conftest.dir
3973 mkdir conftest.dir
3974 # Copy depcomp to subdir because otherwise we won't find it if we're
3975 # using a relative directory.
3976 cp "$am_depcomp" conftest.dir
3977 cd conftest.dir
3978 # We will build objects and dependencies in a subdirectory because
3979 # it helps to detect inapplicable dependency modes. For instance
3980 # both Tru64's cc and ICC support -MD to output dependencies as a
3981 # side effect of compilation, but ICC will put the dependencies in
3982 # the current directory while Tru64 will put them in the object
3983 # directory.
3984 mkdir sub
3985
3986 am_cv_CC_dependencies_compiler_type=none
3987 if test "$am_compiler_list" = ""; then
3988 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3989 fi
3990 am__universal=false
3991 case " $depcc " in #(
3992 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3993 esac
3994
3995 for depmode in $am_compiler_list; do
3996 # Setup a source with many dependencies, because some compilers
3997 # like to wrap large dependency lists on column 80 (with \), and
3998 # we should not choose a depcomp mode which is confused by this.
3999 #
4000 # We need to recreate these files for each test, as the compiler may
4001 # overwrite some of them when testing with obscure command lines.
4002 # This happens at least with the AIX C compiler.
4003 : > sub/conftest.c
4004 for i in 1 2 3 4 5 6; do
4005 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4006 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4007 # Solaris 10 /bin/sh.
4008 echo '/* dummy */' > sub/conftst$i.h
4009 done
4010 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4011
4012 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4013 # mode. It turns out that the SunPro C++ compiler does not properly
4014 # handle '-M -o', and we need to detect this. Also, some Intel
4015 # versions had trouble with output in subdirs.
4016 am__obj=sub/conftest.${OBJEXT-o}
4017 am__minus_obj="-o $am__obj"
4018 case $depmode in
4019 gcc)
4020 # This depmode causes a compiler race in universal mode.
4021 test "$am__universal" = false || continue
4022 ;;
4023 nosideeffect)
4024 # After this tag, mechanisms are not by side-effect, so they'll
4025 # only be used when explicitly requested.
4026 if test "x$enable_dependency_tracking" = xyes; then
4027 continue
4028 else
4029 break
4030 fi
4031 ;;
4032 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4033 # This compiler won't grok '-c -o', but also, the minuso test has
4034 # not run yet. These depmodes are late enough in the game, and
4035 # so weak that their functioning should not be impacted.
4036 am__obj=conftest.${OBJEXT-o}
4037 am__minus_obj=
4038 ;;
4039 none) break ;;
4040 esac
4041 if depmode=$depmode \
4042 source=sub/conftest.c object=$am__obj \
4043 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4044 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4045 >/dev/null 2>conftest.err &&
4046 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4047 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4048 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4049 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4050 # icc doesn't choke on unknown options, it will just issue warnings
4051 # or remarks (even with -Werror). So we grep stderr for any message
4052 # that says an option was ignored or not supported.
4053 # When given -MP, icc 7.0 and 7.1 complain thusly:
4054 # icc: Command line warning: ignoring option '-M'; no argument required
4055 # The diagnosis changed in icc 8.0:
4056 # icc: Command line remark: option '-MP' not supported
4057 if (grep 'ignoring option' conftest.err ||
4058 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4059 am_cv_CC_dependencies_compiler_type=$depmode
4060 break
4061 fi
4062 fi
4063 done
4064
4065 cd ..
4066 rm -rf conftest.dir
4067 else
4068 am_cv_CC_dependencies_compiler_type=none
4069 fi
4070
4071 fi
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4073 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4074 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4075
4076 if
4077 test "x$enable_dependency_tracking" != xno \
4078 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4079 am__fastdepCC_TRUE=
4080 am__fastdepCC_FALSE='#'
4081 else
4082 am__fastdepCC_TRUE='#'
4083 am__fastdepCC_FALSE=
4084 fi
4085
4086
4087
4088 ac_fn_c_check_func "$LINENO" "inotify_init" "ac_cv_func_inotify_init"
4089 if test "x$ac_cv_func_inotify_init" = xyes; then :
4090 if true; then
4091 HAVE_INOTIFY_TRUE=
4092 HAVE_INOTIFY_FALSE='#'
4093 else
4094 HAVE_INOTIFY_TRUE='#'
4095 HAVE_INOTIFY_FALSE=
4096 fi
4097
4098 else
4099 if false; then
4100 HAVE_INOTIFY_TRUE=
4101 HAVE_INOTIFY_FALSE='#'
4102 else
4103 HAVE_INOTIFY_TRUE='#'
4104 HAVE_INOTIFY_FALSE=
4105 fi
4106
4107 fi
4108
4109
4110 # Extract the first word of "rsync", so it can be a program name with args.
4111 set dummy rsync; ac_word=$2
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4113 $as_echo_n "checking for $ac_word... " >&6; }
4114 if ${ac_cv_path_RSYNC+:} false; then :
4115 $as_echo_n "(cached) " >&6
4116 else
4117 case $RSYNC in
4118 [\\/]* | ?:[\\/]*)
4119 ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path.
4120 ;;
4121 *)
4122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4123 for as_dir in $PATH
4124 do
4125 IFS=$as_save_IFS
4126 test -z "$as_dir" && as_dir=.
4127 for ac_exec_ext in '' $ac_executable_extensions; do
4128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4129 ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
4130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4131 break 2
4132 fi
4133 done
4134 done
4135 IFS=$as_save_IFS
4136
4137 test -z "$ac_cv_path_RSYNC" && ac_cv_path_RSYNC="rsync"
4138 ;;
4139 esac
4140 fi
4141 RSYNC=$ac_cv_path_RSYNC
4142 if test -n "$RSYNC"; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSYNC" >&5
4144 $as_echo "$RSYNC" >&6; }
4145 else
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4148 fi
4149
4150
4151 # Extract the first word of "hut", so it can be a program name with args.
4152 set dummy hut; ac_word=$2
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 $as_echo_n "checking for $ac_word... " >&6; }
4155 if ${ac_cv_path_HUT+:} false; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 case $HUT in
4159 [\\/]* | ?:[\\/]*)
4160 ac_cv_path_HUT="$HUT" # Let the user override the test with a path.
4161 ;;
4162 *)
4163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4164 for as_dir in $PATH
4165 do
4166 IFS=$as_save_IFS
4167 test -z "$as_dir" && as_dir=.
4168 for ac_exec_ext in '' $ac_executable_extensions; do
4169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4170 ac_cv_path_HUT="$as_dir/$ac_word$ac_exec_ext"
4171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4172 break 2
4173 fi
4174 done
4175 done
4176 IFS=$as_save_IFS
4177
4178 test -z "$ac_cv_path_HUT" && ac_cv_path_HUT="hut"
4179 ;;
4180 esac
4181 fi
4182 HUT=$ac_cv_path_HUT
4183 if test -n "$HUT"; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HUT" >&5
4185 $as_echo "$HUT" >&6; }
4186 else
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4189 fi
4190
4191
4192 # Extract the first word of "tar", so it can be a program name with args.
4193 set dummy tar; ac_word=$2
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4195 $as_echo_n "checking for $ac_word... " >&6; }
4196 if ${ac_cv_path_TAR+:} false; then :
4197 $as_echo_n "(cached) " >&6
4198 else
4199 case $TAR in
4200 [\\/]* | ?:[\\/]*)
4201 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4202 ;;
4203 *)
4204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 for as_dir in $PATH
4206 do
4207 IFS=$as_save_IFS
4208 test -z "$as_dir" && as_dir=.
4209 for ac_exec_ext in '' $ac_executable_extensions; do
4210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4211 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 break 2
4214 fi
4215 done
4216 done
4217 IFS=$as_save_IFS
4218
4219 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="tar"
4220 ;;
4221 esac
4222 fi
4223 TAR=$ac_cv_path_TAR
4224 if test -n "$TAR"; then
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
4226 $as_echo "$TAR" >&6; }
4227 else
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4229 $as_echo "no" >&6; }
4230 fi
4231
4232
4233
4234 cat >confcache <<\_ACEOF
4235 # This file is a shell script that caches the results of configure
4236 # tests run on this system so they can be shared between configure
4237 # scripts and configure runs, see configure's option --config-cache.
4238 # It is not useful on other systems. If it contains results you don't
4239 # want to keep, you may remove or edit it.
4240 #
4241 # config.status only pays attention to the cache file if you give it
4242 # the --recheck option to rerun configure.
4243 #
4244 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4245 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4246 # following values.
4247
4248 _ACEOF
4249
4250 # The following way of writing the cache mishandles newlines in values,
4251 # but we know of no workaround that is simple, portable, and efficient.
4252 # So, we kill variables containing newlines.
4253 # Ultrix sh set writes to stderr and can't be redirected directly,
4254 # and sets the high bit in the cache file unless we assign to the vars.
4255 (
4256 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4257 eval ac_val=\$$ac_var
4258 case $ac_val in #(
4259 *${as_nl}*)
4260 case $ac_var in #(
4261 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4262 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4263 esac
4264 case $ac_var in #(
4265 _ | IFS | as_nl) ;; #(
4266 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4267 *) { eval $ac_var=; unset $ac_var;} ;;
4268 esac ;;
4269 esac
4270 done
4271
4272 (set) 2>&1 |
4273 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4274 *${as_nl}ac_space=\ *)
4275 # `set' does not quote correctly, so add quotes: double-quote
4276 # substitution turns \\\\ into \\, and sed turns \\ into \.
4277 sed -n \
4278 "s/'/'\\\\''/g;
4279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4280 ;; #(
4281 *)
4282 # `set' quotes correctly as required by POSIX, so do not add quotes.
4283 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4284 ;;
4285 esac |
4286 sort
4287 ) |
4288 sed '
4289 /^ac_cv_env_/b end
4290 t clear
4291 :clear
4292 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4293 t end
4294 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4295 :end' >>confcache
4296 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4297 if test -w "$cache_file"; then
4298 if test "x$cache_file" != "x/dev/null"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4300 $as_echo "$as_me: updating cache $cache_file" >&6;}
4301 if test ! -f "$cache_file" || test -h "$cache_file"; then
4302 cat confcache >"$cache_file"
4303 else
4304 case $cache_file in #(
4305 */* | ?:*)
4306 mv -f confcache "$cache_file"$$ &&
4307 mv -f "$cache_file"$$ "$cache_file" ;; #(
4308 *)
4309 mv -f confcache "$cache_file" ;;
4310 esac
4311 fi
4312 fi
4313 else
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4315 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4316 fi
4317 fi
4318 rm -f confcache
4319
4320 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4321 # Let make expand exec_prefix.
4322 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4323
4324 # Transform confdefs.h into DEFS.
4325 # Protect against shell expansion while executing Makefile rules.
4326 # Protect against Makefile macro expansion.
4327 #
4328 # If the first sed substitution is executed (which looks for macros that
4329 # take arguments), then branch to the quote section. Otherwise,
4330 # look for a macro that doesn't take arguments.
4331 ac_script='
4332 :mline
4333 /\\$/{
4334 N
4335 s,\\\n,,
4336 b mline
4337 }
4338 t clear
4339 :clear
4340 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4341 t quote
4342 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4343 t quote
4344 b any
4345 :quote
4346 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4347 s/\[/\\&/g
4348 s/\]/\\&/g
4349 s/\$/$$/g
4350 H
4351 :any
4352 ${
4353 g
4354 s/^\n//
4355 s/\n/ /g
4356 p
4357 }
4358 '
4359 DEFS=`sed -n "$ac_script" confdefs.h`
4360
4361
4362 ac_libobjs=
4363 ac_ltlibobjs=
4364 U=
4365 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4366 # 1. Remove the extension, and $U if already installed.
4367 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4368 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4369 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4370 # will be set to the directory where LIBOBJS objects are built.
4371 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4372 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4373 done
4374 LIBOBJS=$ac_libobjs
4375
4376 LTLIBOBJS=$ac_ltlibobjs
4377
4378
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4380 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4381 if test -n "$am_sleep_pid"; then
4382 # Hide warnings about reused PIDs.
4383 wait $am_sleep_pid 2>/dev/null
4384 fi
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4386 $as_echo "done" >&6; }
4387 if test -n "$EXEEXT"; then
4388 am__EXEEXT_TRUE=
4389 am__EXEEXT_FALSE='#'
4390 else
4391 am__EXEEXT_TRUE='#'
4392 am__EXEEXT_FALSE=
4393 fi
4394
4395 if test -z "${HAVE_GUILE_READER_TRUE}" && test -z "${HAVE_GUILE_READER_FALSE}"; then
4396 as_fn_error $? "conditional \"HAVE_GUILE_READER\" was never defined.
4397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4398 fi
4399 if test -z "${HAVE_GUILE_COMMONMARK_TRUE}" && test -z "${HAVE_GUILE_COMMONMARK_FALSE}"; then
4400 as_fn_error $? "conditional \"HAVE_GUILE_COMMONMARK\" was never defined.
4401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4402 fi
4403 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4404 as_fn_error $? "conditional \"AMDEP\" was never defined.
4405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4406 fi
4407 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4408 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4410 fi
4411 if test -z "${HAVE_INOTIFY_TRUE}" && test -z "${HAVE_INOTIFY_FALSE}"; then
4412 as_fn_error $? "conditional \"HAVE_INOTIFY\" was never defined.
4413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4414 fi
4415 if test -z "${HAVE_INOTIFY_TRUE}" && test -z "${HAVE_INOTIFY_FALSE}"; then
4416 as_fn_error $? "conditional \"HAVE_INOTIFY\" was never defined.
4417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4418 fi
4419
4420 : "${CONFIG_STATUS=./config.status}"
4421 ac_write_fail=0
4422 ac_clean_files_save=$ac_clean_files
4423 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4425 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4426 as_write_fail=0
4427 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4428 #! $SHELL
4429 # Generated by $as_me.
4430 # Run this file to recreate the current configuration.
4431 # Compiler output produced by configure, useful for debugging
4432 # configure, is in config.log if it exists.
4433
4434 debug=false
4435 ac_cs_recheck=false
4436 ac_cs_silent=false
4437
4438 SHELL=\${CONFIG_SHELL-$SHELL}
4439 export SHELL
4440 _ASEOF
4441 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4442 ## -------------------- ##
4443 ## M4sh Initialization. ##
4444 ## -------------------- ##
4445
4446 # Be more Bourne compatible
4447 DUALCASE=1; export DUALCASE # for MKS sh
4448 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4449 emulate sh
4450 NULLCMD=:
4451 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4452 # is contrary to our usage. Disable this feature.
4453 alias -g '${1+"$@"}'='"$@"'
4454 setopt NO_GLOB_SUBST
4455 else
4456 case `(set -o) 2>/dev/null` in #(
4457 *posix*) :
4458 set -o posix ;; #(
4459 *) :
4460 ;;
4461 esac
4462 fi
4463
4464
4465 as_nl='
4466 '
4467 export as_nl
4468 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4469 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4470 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4471 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4472 # Prefer a ksh shell builtin over an external printf program on Solaris,
4473 # but without wasting forks for bash or zsh.
4474 if test -z "$BASH_VERSION$ZSH_VERSION" \
4475 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4476 as_echo='print -r --'
4477 as_echo_n='print -rn --'
4478 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4479 as_echo='printf %s\n'
4480 as_echo_n='printf %s'
4481 else
4482 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4483 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4484 as_echo_n='/usr/ucb/echo -n'
4485 else
4486 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4487 as_echo_n_body='eval
4488 arg=$1;
4489 case $arg in #(
4490 *"$as_nl"*)
4491 expr "X$arg" : "X\\(.*\\)$as_nl";
4492 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4493 esac;
4494 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4495 '
4496 export as_echo_n_body
4497 as_echo_n='sh -c $as_echo_n_body as_echo'
4498 fi
4499 export as_echo_body
4500 as_echo='sh -c $as_echo_body as_echo'
4501 fi
4502
4503 # The user is always right.
4504 if test "${PATH_SEPARATOR+set}" != set; then
4505 PATH_SEPARATOR=:
4506 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4507 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4508 PATH_SEPARATOR=';'
4509 }
4510 fi
4511
4512
4513 # IFS
4514 # We need space, tab and new line, in precisely that order. Quoting is
4515 # there to prevent editors from complaining about space-tab.
4516 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4517 # splitting by setting IFS to empty value.)
4518 IFS=" "" $as_nl"
4519
4520 # Find who we are. Look in the path if we contain no directory separator.
4521 as_myself=
4522 case $0 in #((
4523 *[\\/]* ) as_myself=$0 ;;
4524 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH
4526 do
4527 IFS=$as_save_IFS
4528 test -z "$as_dir" && as_dir=.
4529 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4530 done
4531 IFS=$as_save_IFS
4532
4533 ;;
4534 esac
4535 # We did not find ourselves, most probably we were run as `sh COMMAND'
4536 # in which case we are not to be found in the path.
4537 if test "x$as_myself" = x; then
4538 as_myself=$0
4539 fi
4540 if test ! -f "$as_myself"; then
4541 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4542 exit 1
4543 fi
4544
4545 # Unset variables that we do not need and which cause bugs (e.g. in
4546 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4547 # suppresses any "Segmentation fault" message there. '((' could
4548 # trigger a bug in pdksh 5.2.14.
4549 for as_var in BASH_ENV ENV MAIL MAILPATH
4550 do eval test x\${$as_var+set} = xset \
4551 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4552 done
4553 PS1='$ '
4554 PS2='> '
4555 PS4='+ '
4556
4557 # NLS nuisances.
4558 LC_ALL=C
4559 export LC_ALL
4560 LANGUAGE=C
4561 export LANGUAGE
4562
4563 # CDPATH.
4564 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4565
4566
4567 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4568 # ----------------------------------------
4569 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4570 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4571 # script with STATUS, using 1 if that was 0.
4572 as_fn_error ()
4573 {
4574 as_status=$1; test $as_status -eq 0 && as_status=1
4575 if test "$4"; then
4576 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4577 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4578 fi
4579 $as_echo "$as_me: error: $2" >&2
4580 as_fn_exit $as_status
4581 } # as_fn_error
4582
4583
4584 # as_fn_set_status STATUS
4585 # -----------------------
4586 # Set $? to STATUS, without forking.
4587 as_fn_set_status ()
4588 {
4589 return $1
4590 } # as_fn_set_status
4591
4592 # as_fn_exit STATUS
4593 # -----------------
4594 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4595 as_fn_exit ()
4596 {
4597 set +e
4598 as_fn_set_status $1
4599 exit $1
4600 } # as_fn_exit
4601
4602 # as_fn_unset VAR
4603 # ---------------
4604 # Portably unset VAR.
4605 as_fn_unset ()
4606 {
4607 { eval $1=; unset $1;}
4608 }
4609 as_unset=as_fn_unset
4610 # as_fn_append VAR VALUE
4611 # ----------------------
4612 # Append the text in VALUE to the end of the definition contained in VAR. Take
4613 # advantage of any shell optimizations that allow amortized linear growth over
4614 # repeated appends, instead of the typical quadratic growth present in naive
4615 # implementations.
4616 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4617 eval 'as_fn_append ()
4618 {
4619 eval $1+=\$2
4620 }'
4621 else
4622 as_fn_append ()
4623 {
4624 eval $1=\$$1\$2
4625 }
4626 fi # as_fn_append
4627
4628 # as_fn_arith ARG...
4629 # ------------------
4630 # Perform arithmetic evaluation on the ARGs, and store the result in the
4631 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4632 # must be portable across $(()) and expr.
4633 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4634 eval 'as_fn_arith ()
4635 {
4636 as_val=$(( $* ))
4637 }'
4638 else
4639 as_fn_arith ()
4640 {
4641 as_val=`expr "$@" || test $? -eq 1`
4642 }
4643 fi # as_fn_arith
4644
4645
4646 if expr a : '\(a\)' >/dev/null 2>&1 &&
4647 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4648 as_expr=expr
4649 else
4650 as_expr=false
4651 fi
4652
4653 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4654 as_basename=basename
4655 else
4656 as_basename=false
4657 fi
4658
4659 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4660 as_dirname=dirname
4661 else
4662 as_dirname=false
4663 fi
4664
4665 as_me=`$as_basename -- "$0" ||
4666 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4667 X"$0" : 'X\(//\)$' \| \
4668 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4669 $as_echo X/"$0" |
4670 sed '/^.*\/\([^/][^/]*\)\/*$/{
4671 s//\1/
4672 q
4673 }
4674 /^X\/\(\/\/\)$/{
4675 s//\1/
4676 q
4677 }
4678 /^X\/\(\/\).*/{
4679 s//\1/
4680 q
4681 }
4682 s/.*/./; q'`
4683
4684 # Avoid depending upon Character Ranges.
4685 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4686 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4687 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4688 as_cr_digits='0123456789'
4689 as_cr_alnum=$as_cr_Letters$as_cr_digits
4690
4691 ECHO_C= ECHO_N= ECHO_T=
4692 case `echo -n x` in #(((((
4693 -n*)
4694 case `echo 'xy\c'` in
4695 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4696 xy) ECHO_C='\c';;
4697 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4698 ECHO_T=' ';;
4699 esac;;
4700 *)
4701 ECHO_N='-n';;
4702 esac
4703
4704 rm -f conf$$ conf$$.exe conf$$.file
4705 if test -d conf$$.dir; then
4706 rm -f conf$$.dir/conf$$.file
4707 else
4708 rm -f conf$$.dir
4709 mkdir conf$$.dir 2>/dev/null
4710 fi
4711 if (echo >conf$$.file) 2>/dev/null; then
4712 if ln -s conf$$.file conf$$ 2>/dev/null; then
4713 as_ln_s='ln -s'
4714 # ... but there are two gotchas:
4715 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4716 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4717 # In both cases, we have to default to `cp -pR'.
4718 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4719 as_ln_s='cp -pR'
4720 elif ln conf$$.file conf$$ 2>/dev/null; then
4721 as_ln_s=ln
4722 else
4723 as_ln_s='cp -pR'
4724 fi
4725 else
4726 as_ln_s='cp -pR'
4727 fi
4728 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4729 rmdir conf$$.dir 2>/dev/null
4730
4731
4732 # as_fn_mkdir_p
4733 # -------------
4734 # Create "$as_dir" as a directory, including parents if necessary.
4735 as_fn_mkdir_p ()
4736 {
4737
4738 case $as_dir in #(
4739 -*) as_dir=./$as_dir;;
4740 esac
4741 test -d "$as_dir" || eval $as_mkdir_p || {
4742 as_dirs=
4743 while :; do
4744 case $as_dir in #(
4745 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4746 *) as_qdir=$as_dir;;
4747 esac
4748 as_dirs="'$as_qdir' $as_dirs"
4749 as_dir=`$as_dirname -- "$as_dir" ||
4750 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4751 X"$as_dir" : 'X\(//\)[^/]' \| \
4752 X"$as_dir" : 'X\(//\)$' \| \
4753 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4754 $as_echo X"$as_dir" |
4755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4756 s//\1/
4757 q
4758 }
4759 /^X\(\/\/\)[^/].*/{
4760 s//\1/
4761 q
4762 }
4763 /^X\(\/\/\)$/{
4764 s//\1/
4765 q
4766 }
4767 /^X\(\/\).*/{
4768 s//\1/
4769 q
4770 }
4771 s/.*/./; q'`
4772 test -d "$as_dir" && break
4773 done
4774 test -z "$as_dirs" || eval "mkdir $as_dirs"
4775 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4776
4777
4778 } # as_fn_mkdir_p
4779 if mkdir -p . 2>/dev/null; then
4780 as_mkdir_p='mkdir -p "$as_dir"'
4781 else
4782 test -d ./-p && rmdir ./-p
4783 as_mkdir_p=false
4784 fi
4785
4786
4787 # as_fn_executable_p FILE
4788 # -----------------------
4789 # Test if FILE is an executable regular file.
4790 as_fn_executable_p ()
4791 {
4792 test -f "$1" && test -x "$1"
4793 } # as_fn_executable_p
4794 as_test_x='test -x'
4795 as_executable_p=as_fn_executable_p
4796
4797 # Sed expression to map a string onto a valid CPP name.
4798 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4799
4800 # Sed expression to map a string onto a valid variable name.
4801 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4802
4803
4804 exec 6>&1
4805 ## ----------------------------------- ##
4806 ## Main body of $CONFIG_STATUS script. ##
4807 ## ----------------------------------- ##
4808 _ASEOF
4809 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4810
4811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4812 # Save the log message, to keep $0 and so on meaningful, and to
4813 # report actual input values of CONFIG_FILES etc. instead of their
4814 # values after options handling.
4815 ac_log="
4816 This file was extended by Haunt $as_me 0.3.0, which was
4817 generated by GNU Autoconf 2.69. Invocation command line was
4818
4819 CONFIG_FILES = $CONFIG_FILES
4820 CONFIG_HEADERS = $CONFIG_HEADERS
4821 CONFIG_LINKS = $CONFIG_LINKS
4822 CONFIG_COMMANDS = $CONFIG_COMMANDS
4823 $ $0 $@
4824
4825 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4826 "
4827
4828 _ACEOF
4829
4830 case $ac_config_files in *"
4831 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4832 esac
4833
4834
4835
4836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4837 # Files that config.status was made for.
4838 config_files="$ac_config_files"
4839 config_commands="$ac_config_commands"
4840
4841 _ACEOF
4842
4843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4844 ac_cs_usage="\
4845 \`$as_me' instantiates files and other configuration actions
4846 from templates according to the current configuration. Unless the files
4847 and actions are specified as TAGs, all are instantiated by default.
4848
4849 Usage: $0 [OPTION]... [TAG]...
4850
4851 -h, --help print this help, then exit
4852 -V, --version print version number and configuration settings, then exit
4853 --config print configuration, then exit
4854 -q, --quiet, --silent
4855 do not print progress messages
4856 -d, --debug don't remove temporary files
4857 --recheck update $as_me by reconfiguring in the same conditions
4858 --file=FILE[:TEMPLATE]
4859 instantiate the configuration file FILE
4860
4861 Configuration files:
4862 $config_files
4863
4864 Configuration commands:
4865 $config_commands
4866
4867 Report bugs to the package provider."
4868
4869 _ACEOF
4870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4871 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4872 ac_cs_version="\\
4873 Haunt config.status 0.3.0
4874 configured by $0, generated by GNU Autoconf 2.69,
4875 with options \\"\$ac_cs_config\\"
4876
4877 Copyright (C) 2012 Free Software Foundation, Inc.
4878 This config.status script is free software; the Free Software Foundation
4879 gives unlimited permission to copy, distribute and modify it."
4880
4881 ac_pwd='$ac_pwd'
4882 srcdir='$srcdir'
4883 INSTALL='$INSTALL'
4884 MKDIR_P='$MKDIR_P'
4885 AWK='$AWK'
4886 test -n "\$AWK" || AWK=awk
4887 _ACEOF
4888
4889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4890 # The default lists apply if the user does not specify any file.
4891 ac_need_defaults=:
4892 while test $# != 0
4893 do
4894 case $1 in
4895 --*=?*)
4896 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4897 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4898 ac_shift=:
4899 ;;
4900 --*=)
4901 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4902 ac_optarg=
4903 ac_shift=:
4904 ;;
4905 *)
4906 ac_option=$1
4907 ac_optarg=$2
4908 ac_shift=shift
4909 ;;
4910 esac
4911
4912 case $ac_option in
4913 # Handling of the options.
4914 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4915 ac_cs_recheck=: ;;
4916 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4917 $as_echo "$ac_cs_version"; exit ;;
4918 --config | --confi | --conf | --con | --co | --c )
4919 $as_echo "$ac_cs_config"; exit ;;
4920 --debug | --debu | --deb | --de | --d | -d )
4921 debug=: ;;
4922 --file | --fil | --fi | --f )
4923 $ac_shift
4924 case $ac_optarg in
4925 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4926 '') as_fn_error $? "missing file argument" ;;
4927 esac
4928 as_fn_append CONFIG_FILES " '$ac_optarg'"
4929 ac_need_defaults=false;;
4930 --he | --h | --help | --hel | -h )
4931 $as_echo "$ac_cs_usage"; exit ;;
4932 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4933 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4934 ac_cs_silent=: ;;
4935
4936 # This is an error.
4937 -*) as_fn_error $? "unrecognized option: \`$1'
4938 Try \`$0 --help' for more information." ;;
4939
4940 *) as_fn_append ac_config_targets " $1"
4941 ac_need_defaults=false ;;
4942
4943 esac
4944 shift
4945 done
4946
4947 ac_configure_extra_args=
4948
4949 if $ac_cs_silent; then
4950 exec 6>/dev/null
4951 ac_configure_extra_args="$ac_configure_extra_args --silent"
4952 fi
4953
4954 _ACEOF
4955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4956 if \$ac_cs_recheck; then
4957 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4958 shift
4959 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4960 CONFIG_SHELL='$SHELL'
4961 export CONFIG_SHELL
4962 exec "\$@"
4963 fi
4964
4965 _ACEOF
4966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4967 exec 5>>config.log
4968 {
4969 echo
4970 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4971 ## Running $as_me. ##
4972 _ASBOX
4973 $as_echo "$ac_log"
4974 } >&5
4975
4976 _ACEOF
4977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4978 #
4979 # INIT-COMMANDS
4980 #
4981 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
4982
4983 _ACEOF
4984
4985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4986
4987 # Handling of arguments.
4988 for ac_config_target in $ac_config_targets
4989 do
4990 case $ac_config_target in
4991 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4992 "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
4993 "haunt/config.scm") CONFIG_FILES="$CONFIG_FILES haunt/config.scm" ;;
4994 "pre-inst-env") CONFIG_FILES="$CONFIG_FILES pre-inst-env" ;;
4995 "test-env") CONFIG_FILES="$CONFIG_FILES test-env" ;;
4996 "scripts/haunt") CONFIG_FILES="$CONFIG_FILES scripts/haunt" ;;
4997 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4998
4999 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5000 esac
5001 done
5002
5003
5004 # If the user did not use the arguments to specify the items to instantiate,
5005 # then the envvar interface is used. Set only those that are not.
5006 # We use the long form for the default assignment because of an extremely
5007 # bizarre bug on SunOS 4.1.3.
5008 if $ac_need_defaults; then
5009 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5010 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5011 fi
5012
5013 # Have a temporary directory for convenience. Make it in the build tree
5014 # simply because there is no reason against having it here, and in addition,
5015 # creating and moving files from /tmp can sometimes cause problems.
5016 # Hook for its removal unless debugging.
5017 # Note that there is a small window in which the directory will not be cleaned:
5018 # after its creation but before its name has been assigned to `$tmp'.
5019 $debug ||
5020 {
5021 tmp= ac_tmp=
5022 trap 'exit_status=$?
5023 : "${ac_tmp:=$tmp}"
5024 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5025 ' 0
5026 trap 'as_fn_exit 1' 1 2 13 15
5027 }
5028 # Create a (secure) tmp directory for tmp files.
5029
5030 {
5031 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5032 test -d "$tmp"
5033 } ||
5034 {
5035 tmp=./conf$$-$RANDOM
5036 (umask 077 && mkdir "$tmp")
5037 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5038 ac_tmp=$tmp
5039
5040 # Set up the scripts for CONFIG_FILES section.
5041 # No need to generate them if there are no CONFIG_FILES.
5042 # This happens for instance with `./config.status config.h'.
5043 if test -n "$CONFIG_FILES"; then
5044
5045
5046 ac_cr=`echo X | tr X '\015'`
5047 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5048 # But we know of no other shell where ac_cr would be empty at this
5049 # point, so we can use a bashism as a fallback.
5050 if test "x$ac_cr" = x; then
5051 eval ac_cr=\$\'\\r\'
5052 fi
5053 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5054 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5055 ac_cs_awk_cr='\\r'
5056 else
5057 ac_cs_awk_cr=$ac_cr
5058 fi
5059
5060 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5061 _ACEOF
5062
5063
5064 {
5065 echo "cat >conf$$subs.awk <<_ACEOF" &&
5066 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5067 echo "_ACEOF"
5068 } >conf$$subs.sh ||
5069 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5070 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5071 ac_delim='%!_!# '
5072 for ac_last_try in false false false false false :; do
5073 . ./conf$$subs.sh ||
5074 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5075
5076 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5077 if test $ac_delim_n = $ac_delim_num; then
5078 break
5079 elif $ac_last_try; then
5080 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5081 else
5082 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5083 fi
5084 done
5085 rm -f conf$$subs.sh
5086
5087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5088 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5089 _ACEOF
5090 sed -n '
5091 h
5092 s/^/S["/; s/!.*/"]=/
5093 p
5094 g
5095 s/^[^!]*!//
5096 :repl
5097 t repl
5098 s/'"$ac_delim"'$//
5099 t delim
5100 :nl
5101 h
5102 s/\(.\{148\}\)..*/\1/
5103 t more1
5104 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5105 p
5106 n
5107 b repl
5108 :more1
5109 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5110 p
5111 g
5112 s/.\{148\}//
5113 t nl
5114 :delim
5115 h
5116 s/\(.\{148\}\)..*/\1/
5117 t more2
5118 s/["\\]/\\&/g; s/^/"/; s/$/"/
5119 p
5120 b
5121 :more2
5122 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5123 p
5124 g
5125 s/.\{148\}//
5126 t delim
5127 ' <conf$$subs.awk | sed '
5128 /^[^""]/{
5129 N
5130 s/\n//
5131 }
5132 ' >>$CONFIG_STATUS || ac_write_fail=1
5133 rm -f conf$$subs.awk
5134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5135 _ACAWK
5136 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5137 for (key in S) S_is_set[key] = 1
5138 FS = ""
5139
5140 }
5141 {
5142 line = $ 0
5143 nfields = split(line, field, "@")
5144 substed = 0
5145 len = length(field[1])
5146 for (i = 2; i < nfields; i++) {
5147 key = field[i]
5148 keylen = length(key)
5149 if (S_is_set[key]) {
5150 value = S[key]
5151 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5152 len += length(value) + length(field[++i])
5153 substed = 1
5154 } else
5155 len += 1 + keylen
5156 }
5157
5158 print line
5159 }
5160
5161 _ACAWK
5162 _ACEOF
5163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5164 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5165 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5166 else
5167 cat
5168 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5169 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5170 _ACEOF
5171
5172 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5173 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5174 # trailing colons and then remove the whole line if VPATH becomes empty
5175 # (actually we leave an empty line to preserve line numbers).
5176 if test "x$srcdir" = x.; then
5177 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5178 h
5179 s///
5180 s/^/:/
5181 s/[ ]*$/:/
5182 s/:\$(srcdir):/:/g
5183 s/:\${srcdir}:/:/g
5184 s/:@srcdir@:/:/g
5185 s/^:*//
5186 s/:*$//
5187 x
5188 s/\(=[ ]*\).*/\1/
5189 G
5190 s/\n//
5191 s/^[^=]*=[ ]*$//
5192 }'
5193 fi
5194
5195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5196 fi # test -n "$CONFIG_FILES"
5197
5198
5199 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5200 shift
5201 for ac_tag
5202 do
5203 case $ac_tag in
5204 :[FHLC]) ac_mode=$ac_tag; continue;;
5205 esac
5206 case $ac_mode$ac_tag in
5207 :[FHL]*:*);;
5208 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5209 :[FH]-) ac_tag=-:-;;
5210 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5211 esac
5212 ac_save_IFS=$IFS
5213 IFS=:
5214 set x $ac_tag
5215 IFS=$ac_save_IFS
5216 shift
5217 ac_file=$1
5218 shift
5219
5220 case $ac_mode in
5221 :L) ac_source=$1;;
5222 :[FH])
5223 ac_file_inputs=
5224 for ac_f
5225 do
5226 case $ac_f in
5227 -) ac_f="$ac_tmp/stdin";;
5228 *) # Look for the file first in the build tree, then in the source tree
5229 # (if the path is not absolute). The absolute path cannot be DOS-style,
5230 # because $ac_f cannot contain `:'.
5231 test -f "$ac_f" ||
5232 case $ac_f in
5233 [\\/$]*) false;;
5234 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5235 esac ||
5236 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5237 esac
5238 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5239 as_fn_append ac_file_inputs " '$ac_f'"
5240 done
5241
5242 # Let's still pretend it is `configure' which instantiates (i.e., don't
5243 # use $as_me), people would be surprised to read:
5244 # /* config.h. Generated by config.status. */
5245 configure_input='Generated from '`
5246 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5247 `' by configure.'
5248 if test x"$ac_file" != x-; then
5249 configure_input="$ac_file. $configure_input"
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5251 $as_echo "$as_me: creating $ac_file" >&6;}
5252 fi
5253 # Neutralize special characters interpreted by sed in replacement strings.
5254 case $configure_input in #(
5255 *\&* | *\|* | *\\* )
5256 ac_sed_conf_input=`$as_echo "$configure_input" |
5257 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5258 *) ac_sed_conf_input=$configure_input;;
5259 esac
5260
5261 case $ac_tag in
5262 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5263 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5264 esac
5265 ;;
5266 esac
5267
5268 ac_dir=`$as_dirname -- "$ac_file" ||
5269 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5270 X"$ac_file" : 'X\(//\)[^/]' \| \
5271 X"$ac_file" : 'X\(//\)$' \| \
5272 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5273 $as_echo X"$ac_file" |
5274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5275 s//\1/
5276 q
5277 }
5278 /^X\(\/\/\)[^/].*/{
5279 s//\1/
5280 q
5281 }
5282 /^X\(\/\/\)$/{
5283 s//\1/
5284 q
5285 }
5286 /^X\(\/\).*/{
5287 s//\1/
5288 q
5289 }
5290 s/.*/./; q'`
5291 as_dir="$ac_dir"; as_fn_mkdir_p
5292 ac_builddir=.
5293
5294 case "$ac_dir" in
5295 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5296 *)
5297 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5298 # A ".." for each directory in $ac_dir_suffix.
5299 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5300 case $ac_top_builddir_sub in
5301 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5302 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5303 esac ;;
5304 esac
5305 ac_abs_top_builddir=$ac_pwd
5306 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5307 # for backward compatibility:
5308 ac_top_builddir=$ac_top_build_prefix
5309
5310 case $srcdir in
5311 .) # We are building in place.
5312 ac_srcdir=.
5313 ac_top_srcdir=$ac_top_builddir_sub
5314 ac_abs_top_srcdir=$ac_pwd ;;
5315 [\\/]* | ?:[\\/]* ) # Absolute name.
5316 ac_srcdir=$srcdir$ac_dir_suffix;
5317 ac_top_srcdir=$srcdir
5318 ac_abs_top_srcdir=$srcdir ;;
5319 *) # Relative name.
5320 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5321 ac_top_srcdir=$ac_top_build_prefix$srcdir
5322 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5323 esac
5324 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5325
5326
5327 case $ac_mode in
5328 :F)
5329 #
5330 # CONFIG_FILE
5331 #
5332
5333 case $INSTALL in
5334 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5335 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5336 esac
5337 ac_MKDIR_P=$MKDIR_P
5338 case $MKDIR_P in
5339 [\\/$]* | ?:[\\/]* ) ;;
5340 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5341 esac
5342 _ACEOF
5343
5344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5345 # If the template does not know about datarootdir, expand it.
5346 # FIXME: This hack should be removed a few years after 2.60.
5347 ac_datarootdir_hack=; ac_datarootdir_seen=
5348 ac_sed_dataroot='
5349 /datarootdir/ {
5350 p
5351 q
5352 }
5353 /@datadir@/p
5354 /@docdir@/p
5355 /@infodir@/p
5356 /@localedir@/p
5357 /@mandir@/p'
5358 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5359 *datarootdir*) ac_datarootdir_seen=yes;;
5360 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5362 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5363 _ACEOF
5364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5365 ac_datarootdir_hack='
5366 s&@datadir@&$datadir&g
5367 s&@docdir@&$docdir&g
5368 s&@infodir@&$infodir&g
5369 s&@localedir@&$localedir&g
5370 s&@mandir@&$mandir&g
5371 s&\\\${datarootdir}&$datarootdir&g' ;;
5372 esac
5373 _ACEOF
5374
5375 # Neutralize VPATH when `$srcdir' = `.'.
5376 # Shell code in configure.ac might set extrasub.
5377 # FIXME: do we really want to maintain this feature?
5378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5379 ac_sed_extra="$ac_vpsub
5380 $extrasub
5381 _ACEOF
5382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5383 :t
5384 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5385 s|@configure_input@|$ac_sed_conf_input|;t t
5386 s&@top_builddir@&$ac_top_builddir_sub&;t t
5387 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5388 s&@srcdir@&$ac_srcdir&;t t
5389 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5390 s&@top_srcdir@&$ac_top_srcdir&;t t
5391 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5392 s&@builddir@&$ac_builddir&;t t
5393 s&@abs_builddir@&$ac_abs_builddir&;t t
5394 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5395 s&@INSTALL@&$ac_INSTALL&;t t
5396 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5397 $ac_datarootdir_hack
5398 "
5399 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5400 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5401
5402 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5403 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5404 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5405 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5407 which seems to be undefined. Please make sure it is defined" >&5
5408 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5409 which seems to be undefined. Please make sure it is defined" >&2;}
5410
5411 rm -f "$ac_tmp/stdin"
5412 case $ac_file in
5413 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5414 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5415 esac \
5416 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5417 ;;
5418
5419
5420 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5421 $as_echo "$as_me: executing $ac_file commands" >&6;}
5422 ;;
5423 esac
5424
5425
5426 case $ac_file$ac_mode in
5427 "pre-inst-env":F) chmod +x pre-inst-env ;;
5428 "test-env":F) chmod +x test-env ;;
5429 "scripts/haunt":F) chmod +x scripts/haunt ;;
5430 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5431 # Older Autoconf quotes --file arguments for eval, but not when files
5432 # are listed without --file. Let's play safe and only enable the eval
5433 # if we detect the quoting.
5434 # TODO: see whether this extra hack can be removed once we start
5435 # requiring Autoconf 2.70 or later.
5436 case $CONFIG_FILES in #(
5437 *\'*) :
5438 eval set x "$CONFIG_FILES" ;; #(
5439 *) :
5440 set x $CONFIG_FILES ;; #(
5441 *) :
5442 ;;
5443 esac
5444 shift
5445 # Used to flag and report bootstrapping failures.
5446 am_rc=0
5447 for am_mf
5448 do
5449 # Strip MF so we end up with the name of the file.
5450 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
5451 # Check whether this is an Automake generated Makefile which includes
5452 # dependency-tracking related rules and includes.
5453 # Grep'ing the whole file directly is not great: AIX grep has a line
5454 # limit of 2048, but all sed's we know have understand at least 4000.
5455 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
5456 || continue
5457 am_dirpart=`$as_dirname -- "$am_mf" ||
5458 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5459 X"$am_mf" : 'X\(//\)[^/]' \| \
5460 X"$am_mf" : 'X\(//\)$' \| \
5461 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5462 $as_echo X"$am_mf" |
5463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5464 s//\1/
5465 q
5466 }
5467 /^X\(\/\/\)[^/].*/{
5468 s//\1/
5469 q
5470 }
5471 /^X\(\/\/\)$/{
5472 s//\1/
5473 q
5474 }
5475 /^X\(\/\).*/{
5476 s//\1/
5477 q
5478 }
5479 s/.*/./; q'`
5480 am_filepart=`$as_basename -- "$am_mf" ||
5481 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
5482 X"$am_mf" : 'X\(//\)$' \| \
5483 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5484 $as_echo X/"$am_mf" |
5485 sed '/^.*\/\([^/][^/]*\)\/*$/{
5486 s//\1/
5487 q
5488 }
5489 /^X\/\(\/\/\)$/{
5490 s//\1/
5491 q
5492 }
5493 /^X\/\(\/\).*/{
5494 s//\1/
5495 q
5496 }
5497 s/.*/./; q'`
5498 { echo "$as_me:$LINENO: cd "$am_dirpart" \
5499 && sed -e '/# am--include-marker/d' "$am_filepart" \
5500 | $MAKE -f - am--depfiles" >&5
5501 (cd "$am_dirpart" \
5502 && sed -e '/# am--include-marker/d' "$am_filepart" \
5503 | $MAKE -f - am--depfiles) >&5 2>&5
5504 ac_status=$?
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); } || am_rc=$?
5507 done
5508 if test $am_rc -ne 0; then
5509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5511 as_fn_error $? "Something went wrong bootstrapping makefile fragments
5512 for automatic dependency tracking. If GNU make was not used, consider
5513 re-running the configure script with MAKE=\"gmake\" (or whatever is
5514 necessary). You can also try re-running configure with the
5515 '--disable-dependency-tracking' option to at least be able to build
5516 the package (albeit without support for automatic dependency tracking).
5517 See \`config.log' for more details" "$LINENO" 5; }
5518 fi
5519 { am_dirpart=; unset am_dirpart;}
5520 { am_filepart=; unset am_filepart;}
5521 { am_mf=; unset am_mf;}
5522 { am_rc=; unset am_rc;}
5523 rm -f conftest-deps.mk
5524 }
5525 ;;
5526
5527 esac
5528 done # for ac_tag
5529
5530
5531 as_fn_exit 0
5532 _ACEOF
5533 ac_clean_files=$ac_clean_files_save
5534
5535 test $ac_write_fail = 0 ||
5536 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5537
5538
5539 # configure is writing to config.log, and then calls config.status.
5540 # config.status does its own redirection, appending to config.log.
5541 # Unfortunately, on DOS this fails, as config.log is still kept open
5542 # by configure, so config.status won't be able to write to it; its
5543 # output is simply discarded. So we exec the FD to /dev/null,
5544 # effectively closing config.log, so it can be properly (re)opened and
5545 # appended to by config.status. When coming back to configure, we
5546 # need to make the FD available again.
5547 if test "$no_create" != yes; then
5548 ac_cs_success=:
5549 ac_config_status_args=
5550 test "$silent" = yes &&
5551 ac_config_status_args="$ac_config_status_args --quiet"
5552 exec 5>/dev/null
5553 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5554 exec 5>>config.log
5555 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5556 # would make configure fail if this is the last instruction.
5557 $ac_cs_success || as_fn_exit 1
5558 fi
5559 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5561 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5562 fi
5563