Debian Codegraph @

configure

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