Debian Codegraph @

configure

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