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