Imported Upstream version 1.0.28
[platform/upstream/alsa-utils.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for alsa-utils 1.0.28.
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 bug-autoconf@gnu.org 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='alsa-utils'
579 PACKAGE_TARNAME='alsa-utils'
580 PACKAGE_VERSION='1.0.28'
581 PACKAGE_STRING='alsa-utils 1.0.28'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
584
585 ac_unique_file="aplay/aplay.c"
586 ac_default_prefix=/usr
587 gt_needs=
588 # Factoring default headers for most tests.
589 ac_includes_default="\
590 #include <stdio.h>
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
593 #endif
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
596 #endif
597 #ifdef STDC_HEADERS
598 # include <stdlib.h>
599 # include <stddef.h>
600 #else
601 # ifdef HAVE_STDLIB_H
602 #  include <stdlib.h>
603 # endif
604 #endif
605 #ifdef HAVE_STRING_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 #  include <memory.h>
608 # endif
609 # include <string.h>
610 #endif
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
613 #endif
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
616 #endif
617 #ifdef HAVE_STDINT_H
618 # include <stdint.h>
619 #endif
620 #ifdef HAVE_UNISTD_H
621 # include <unistd.h>
622 #endif"
623
624 ac_subst_vars='am__EXEEXT_FALSE
625 am__EXEEXT_TRUE
626 LTLIBOBJS
627 LIBOBJS
628 ALSACTL_DAEMONSWITCH
629 ALSACTL_PIDFILE_DIR
630 ASOUND_LOCK_DIR
631 ASOUND_STATE_DIR
632 HAVE_SYSTEMD_FALSE
633 HAVE_SYSTEMD_TRUE
634 systemdsystemunitdir
635 LIBRT
636 SND_UTIL_SUBMINOR
637 SND_UTIL_MINOR
638 SND_UTIL_MAJOR
639 SND_UTIL_VERSION
640 TESTSOUND
641 mydatadir
642 CURSES_CFLAGS
643 CURSESLIB
644 CURSESINC
645 ncurses5_config
646 NCURSES_LIBS
647 NCURSES_CFLAGS
648 ncursesw5_config
649 NCURSESW_LIBS
650 NCURSESW_CFLAGS
651 udevrulesdir
652 USE_XMLTO_FALSE
653 USE_XMLTO_TRUE
654 xmlto
655 ALSALOOP_FALSE
656 ALSALOOP_TRUE
657 ALSACONF_FALSE
658 ALSACONF_TRUE
659 ALSAMIXER_FALSE
660 ALSAMIXER_TRUE
661 HAVE_SAMPLERATE_FALSE
662 HAVE_SAMPLERATE_TRUE
663 HAVE_SEQ_FALSE
664 HAVE_SEQ_TRUE
665 HAVE_RAWMIDI_FALSE
666 HAVE_RAWMIDI_TRUE
667 HAVE_MIXER_FALSE
668 HAVE_MIXER_TRUE
669 HAVE_PCM_FALSE
670 HAVE_PCM_TRUE
671 ALSA_LIBS
672 ALSA_CFLAGS
673 PKG_CONFIG_LIBDIR
674 PKG_CONFIG_PATH
675 PKG_CONFIG
676 SED
677 LN_S
678 POSUB
679 LTLIBINTL
680 LIBINTL
681 INTLLIBS
682 LTLIBICONV
683 LIBICONV
684 INTL_MACOSX_LIBS
685 EGREP
686 GREP
687 CPP
688 host_os
689 host_vendor
690 host_cpu
691 host
692 build_os
693 build_vendor
694 build_cpu
695 build
696 am__fastdepCC_FALSE
697 am__fastdepCC_TRUE
698 CCDEPMODE
699 am__nodep
700 AMDEPBACKSLASH
701 AMDEP_FALSE
702 AMDEP_TRUE
703 am__quote
704 am__include
705 DEPDIR
706 OBJEXT
707 EXEEXT
708 ac_ct_CC
709 CPPFLAGS
710 LDFLAGS
711 CFLAGS
712 CC
713 XGETTEXT_EXTRA_OPTIONS
714 MSGMERGE
715 XGETTEXT_015
716 XGETTEXT
717 GMSGFMT_015
718 MSGFMT_015
719 GMSGFMT
720 MSGFMT
721 GETTEXT_MACRO_VERSION
722 USE_NLS
723 MAINT
724 MAINTAINER_MODE_FALSE
725 MAINTAINER_MODE_TRUE
726 am__untar
727 am__tar
728 AMTAR
729 am__leading_dot
730 SET_MAKE
731 AWK
732 mkdir_p
733 MKDIR_P
734 INSTALL_STRIP_PROGRAM
735 STRIP
736 install_sh
737 MAKEINFO
738 AUTOHEADER
739 AUTOMAKE
740 AUTOCONF
741 ACLOCAL
742 VERSION
743 PACKAGE
744 CYGPATH_W
745 am__isrc
746 INSTALL_DATA
747 INSTALL_SCRIPT
748 INSTALL_PROGRAM
749 target_alias
750 host_alias
751 build_alias
752 LIBS
753 ECHO_T
754 ECHO_N
755 ECHO_C
756 DEFS
757 mandir
758 localedir
759 libdir
760 psdir
761 pdfdir
762 dvidir
763 htmldir
764 infodir
765 docdir
766 oldincludedir
767 includedir
768 localstatedir
769 sharedstatedir
770 sysconfdir
771 datadir
772 datarootdir
773 libexecdir
774 sbindir
775 bindir
776 program_transform_name
777 prefix
778 exec_prefix
779 PACKAGE_URL
780 PACKAGE_BUGREPORT
781 PACKAGE_STRING
782 PACKAGE_VERSION
783 PACKAGE_TARNAME
784 PACKAGE_NAME
785 PATH_SEPARATOR
786 SHELL'
787 ac_subst_files=''
788 ac_user_opts='
789 enable_option_checking
790 enable_maintainer_mode
791 enable_nls
792 enable_dependency_tracking
793 with_gnu_ld
794 enable_rpath
795 with_libiconv_prefix
796 with_libintl_prefix
797 with_alsa_prefix
798 with_alsa_inc_prefix
799 enable_alsatest
800 with_librt
801 enable_alsamixer
802 enable_alsaconf
803 enable_alsaloop
804 enable_xmlto
805 with_udev_rules_dir
806 with_curses
807 with_testsound
808 enable_largefile
809 with_systemdsystemunitdir
810 with_asound_state_dir
811 with_alsactl_lock_dir
812 with_alsactl_pidfile_dir
813 with_alsactl_daemonswitch
814 '
815       ac_precious_vars='build_alias
816 host_alias
817 target_alias
818 CC
819 CFLAGS
820 LDFLAGS
821 LIBS
822 CPPFLAGS
823 CPP
824 PKG_CONFIG
825 PKG_CONFIG_PATH
826 PKG_CONFIG_LIBDIR
827 NCURSESW_CFLAGS
828 NCURSESW_LIBS
829 NCURSES_CFLAGS
830 NCURSES_LIBS'
831
832
833 # Initialize some variables set by options.
834 ac_init_help=
835 ac_init_version=false
836 ac_unrecognized_opts=
837 ac_unrecognized_sep=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
840 cache_file=/dev/null
841 exec_prefix=NONE
842 no_create=
843 no_recursion=
844 prefix=NONE
845 program_prefix=NONE
846 program_suffix=NONE
847 program_transform_name=s,x,x,
848 silent=
849 site=
850 srcdir=
851 verbose=
852 x_includes=NONE
853 x_libraries=NONE
854
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir='${exec_prefix}/bin'
862 sbindir='${exec_prefix}/sbin'
863 libexecdir='${exec_prefix}/libexec'
864 datarootdir='${prefix}/share'
865 datadir='${datarootdir}'
866 sysconfdir='${prefix}/etc'
867 sharedstatedir='${prefix}/com'
868 localstatedir='${prefix}/var'
869 includedir='${prefix}/include'
870 oldincludedir='/usr/include'
871 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
872 infodir='${datarootdir}/info'
873 htmldir='${docdir}'
874 dvidir='${docdir}'
875 pdfdir='${docdir}'
876 psdir='${docdir}'
877 libdir='${exec_prefix}/lib'
878 localedir='${datarootdir}/locale'
879 mandir='${datarootdir}/man'
880
881 ac_prev=
882 ac_dashdash=
883 for ac_option
884 do
885   # If the previous option needs an argument, assign it.
886   if test -n "$ac_prev"; then
887     eval $ac_prev=\$ac_option
888     ac_prev=
889     continue
890   fi
891
892   case $ac_option in
893   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894   *=)   ac_optarg= ;;
895   *)    ac_optarg=yes ;;
896   esac
897
898   # Accept the important Cygnus configure options, so we can diagnose typos.
899
900   case $ac_dashdash$ac_option in
901   --)
902     ac_dashdash=yes ;;
903
904   -bindir | --bindir | --bindi | --bind | --bin | --bi)
905     ac_prev=bindir ;;
906   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
907     bindir=$ac_optarg ;;
908
909   -build | --build | --buil | --bui | --bu)
910     ac_prev=build_alias ;;
911   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
912     build_alias=$ac_optarg ;;
913
914   -cache-file | --cache-file | --cache-fil | --cache-fi \
915   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
916     ac_prev=cache_file ;;
917   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
918   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
919     cache_file=$ac_optarg ;;
920
921   --config-cache | -C)
922     cache_file=config.cache ;;
923
924   -datadir | --datadir | --datadi | --datad)
925     ac_prev=datadir ;;
926   -datadir=* | --datadir=* | --datadi=* | --datad=*)
927     datadir=$ac_optarg ;;
928
929   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
930   | --dataroo | --dataro | --datar)
931     ac_prev=datarootdir ;;
932   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
933   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
934     datarootdir=$ac_optarg ;;
935
936   -disable-* | --disable-*)
937     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938     # Reject names that are not valid shell variable names.
939     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940       as_fn_error $? "invalid feature name: $ac_useropt"
941     ac_useropt_orig=$ac_useropt
942     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943     case $ac_user_opts in
944       *"
945 "enable_$ac_useropt"
946 "*) ;;
947       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948          ac_unrecognized_sep=', ';;
949     esac
950     eval enable_$ac_useropt=no ;;
951
952   -docdir | --docdir | --docdi | --doc | --do)
953     ac_prev=docdir ;;
954   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
955     docdir=$ac_optarg ;;
956
957   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
958     ac_prev=dvidir ;;
959   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
960     dvidir=$ac_optarg ;;
961
962   -enable-* | --enable-*)
963     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964     # Reject names that are not valid shell variable names.
965     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966       as_fn_error $? "invalid feature name: $ac_useropt"
967     ac_useropt_orig=$ac_useropt
968     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969     case $ac_user_opts in
970       *"
971 "enable_$ac_useropt"
972 "*) ;;
973       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974          ac_unrecognized_sep=', ';;
975     esac
976     eval enable_$ac_useropt=\$ac_optarg ;;
977
978   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980   | --exec | --exe | --ex)
981     ac_prev=exec_prefix ;;
982   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
983   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
984   | --exec=* | --exe=* | --ex=*)
985     exec_prefix=$ac_optarg ;;
986
987   -gas | --gas | --ga | --g)
988     # Obsolete; use --with-gas.
989     with_gas=yes ;;
990
991   -help | --help | --hel | --he | -h)
992     ac_init_help=long ;;
993   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
994     ac_init_help=recursive ;;
995   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
996     ac_init_help=short ;;
997
998   -host | --host | --hos | --ho)
999     ac_prev=host_alias ;;
1000   -host=* | --host=* | --hos=* | --ho=*)
1001     host_alias=$ac_optarg ;;
1002
1003   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004     ac_prev=htmldir ;;
1005   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006   | --ht=*)
1007     htmldir=$ac_optarg ;;
1008
1009   -includedir | --includedir | --includedi | --included | --include \
1010   | --includ | --inclu | --incl | --inc)
1011     ac_prev=includedir ;;
1012   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013   | --includ=* | --inclu=* | --incl=* | --inc=*)
1014     includedir=$ac_optarg ;;
1015
1016   -infodir | --infodir | --infodi | --infod | --info | --inf)
1017     ac_prev=infodir ;;
1018   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1019     infodir=$ac_optarg ;;
1020
1021   -libdir | --libdir | --libdi | --libd)
1022     ac_prev=libdir ;;
1023   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1024     libdir=$ac_optarg ;;
1025
1026   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1027   | --libexe | --libex | --libe)
1028     ac_prev=libexecdir ;;
1029   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1030   | --libexe=* | --libex=* | --libe=*)
1031     libexecdir=$ac_optarg ;;
1032
1033   -localedir | --localedir | --localedi | --localed | --locale)
1034     ac_prev=localedir ;;
1035   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1036     localedir=$ac_optarg ;;
1037
1038   -localstatedir | --localstatedir | --localstatedi | --localstated \
1039   | --localstate | --localstat | --localsta | --localst | --locals)
1040     ac_prev=localstatedir ;;
1041   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1042   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1043     localstatedir=$ac_optarg ;;
1044
1045   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1046     ac_prev=mandir ;;
1047   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1048     mandir=$ac_optarg ;;
1049
1050   -nfp | --nfp | --nf)
1051     # Obsolete; use --without-fp.
1052     with_fp=no ;;
1053
1054   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1055   | --no-cr | --no-c | -n)
1056     no_create=yes ;;
1057
1058   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060     no_recursion=yes ;;
1061
1062   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1063   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1064   | --oldin | --oldi | --old | --ol | --o)
1065     ac_prev=oldincludedir ;;
1066   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1067   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1068   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1069     oldincludedir=$ac_optarg ;;
1070
1071   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1072     ac_prev=prefix ;;
1073   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1074     prefix=$ac_optarg ;;
1075
1076   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1077   | --program-pre | --program-pr | --program-p)
1078     ac_prev=program_prefix ;;
1079   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1080   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1081     program_prefix=$ac_optarg ;;
1082
1083   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1084   | --program-suf | --program-su | --program-s)
1085     ac_prev=program_suffix ;;
1086   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1087   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1088     program_suffix=$ac_optarg ;;
1089
1090   -program-transform-name | --program-transform-name \
1091   | --program-transform-nam | --program-transform-na \
1092   | --program-transform-n | --program-transform- \
1093   | --program-transform | --program-transfor \
1094   | --program-transfo | --program-transf \
1095   | --program-trans | --program-tran \
1096   | --progr-tra | --program-tr | --program-t)
1097     ac_prev=program_transform_name ;;
1098   -program-transform-name=* | --program-transform-name=* \
1099   | --program-transform-nam=* | --program-transform-na=* \
1100   | --program-transform-n=* | --program-transform-=* \
1101   | --program-transform=* | --program-transfor=* \
1102   | --program-transfo=* | --program-transf=* \
1103   | --program-trans=* | --program-tran=* \
1104   | --progr-tra=* | --program-tr=* | --program-t=*)
1105     program_transform_name=$ac_optarg ;;
1106
1107   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1108     ac_prev=pdfdir ;;
1109   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1110     pdfdir=$ac_optarg ;;
1111
1112   -psdir | --psdir | --psdi | --psd | --ps)
1113     ac_prev=psdir ;;
1114   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1115     psdir=$ac_optarg ;;
1116
1117   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1118   | -silent | --silent | --silen | --sile | --sil)
1119     silent=yes ;;
1120
1121   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1122     ac_prev=sbindir ;;
1123   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1124   | --sbi=* | --sb=*)
1125     sbindir=$ac_optarg ;;
1126
1127   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1128   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1129   | --sharedst | --shareds | --shared | --share | --shar \
1130   | --sha | --sh)
1131     ac_prev=sharedstatedir ;;
1132   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1133   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1134   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1135   | --sha=* | --sh=*)
1136     sharedstatedir=$ac_optarg ;;
1137
1138   -site | --site | --sit)
1139     ac_prev=site ;;
1140   -site=* | --site=* | --sit=*)
1141     site=$ac_optarg ;;
1142
1143   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1144     ac_prev=srcdir ;;
1145   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1146     srcdir=$ac_optarg ;;
1147
1148   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1149   | --syscon | --sysco | --sysc | --sys | --sy)
1150     ac_prev=sysconfdir ;;
1151   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1152   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1153     sysconfdir=$ac_optarg ;;
1154
1155   -target | --target | --targe | --targ | --tar | --ta | --t)
1156     ac_prev=target_alias ;;
1157   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1158     target_alias=$ac_optarg ;;
1159
1160   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1161     verbose=yes ;;
1162
1163   -version | --version | --versio | --versi | --vers | -V)
1164     ac_init_version=: ;;
1165
1166   -with-* | --with-*)
1167     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168     # Reject names that are not valid shell variable names.
1169     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170       as_fn_error $? "invalid package name: $ac_useropt"
1171     ac_useropt_orig=$ac_useropt
1172     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173     case $ac_user_opts in
1174       *"
1175 "with_$ac_useropt"
1176 "*) ;;
1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178          ac_unrecognized_sep=', ';;
1179     esac
1180     eval with_$ac_useropt=\$ac_optarg ;;
1181
1182   -without-* | --without-*)
1183     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184     # Reject names that are not valid shell variable names.
1185     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186       as_fn_error $? "invalid package name: $ac_useropt"
1187     ac_useropt_orig=$ac_useropt
1188     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189     case $ac_user_opts in
1190       *"
1191 "with_$ac_useropt"
1192 "*) ;;
1193       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194          ac_unrecognized_sep=', ';;
1195     esac
1196     eval with_$ac_useropt=no ;;
1197
1198   --x)
1199     # Obsolete; use --with-x.
1200     with_x=yes ;;
1201
1202   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1203   | --x-incl | --x-inc | --x-in | --x-i)
1204     ac_prev=x_includes ;;
1205   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1206   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1207     x_includes=$ac_optarg ;;
1208
1209   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1210   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1211     ac_prev=x_libraries ;;
1212   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1213   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214     x_libraries=$ac_optarg ;;
1215
1216   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1217 Try \`$0 --help' for more information"
1218     ;;
1219
1220   *=*)
1221     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1222     # Reject names that are not valid shell variable names.
1223     case $ac_envvar in #(
1224       '' | [0-9]* | *[!_$as_cr_alnum]* )
1225       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1226     esac
1227     eval $ac_envvar=\$ac_optarg
1228     export $ac_envvar ;;
1229
1230   *)
1231     # FIXME: should be removed in autoconf 3.0.
1232     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236     ;;
1237
1238   esac
1239 done
1240
1241 if test -n "$ac_prev"; then
1242   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1243   as_fn_error $? "missing argument to $ac_option"
1244 fi
1245
1246 if test -n "$ac_unrecognized_opts"; then
1247   case $enable_option_checking in
1248     no) ;;
1249     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1250     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251   esac
1252 fi
1253
1254 # Check all directory arguments for consistency.
1255 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256                 datadir sysconfdir sharedstatedir localstatedir includedir \
1257                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258                 libdir localedir mandir
1259 do
1260   eval ac_val=\$$ac_var
1261   # Remove trailing slashes.
1262   case $ac_val in
1263     */ )
1264       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265       eval $ac_var=\$ac_val;;
1266   esac
1267   # Be sure to have absolute directory names.
1268   case $ac_val in
1269     [\\/$]* | ?:[\\/]* )  continue;;
1270     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271   esac
1272   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1273 done
1274
1275 # There might be people who depend on the old broken behavior: `$host'
1276 # used to hold the argument of --host etc.
1277 # FIXME: To remove some day.
1278 build=$build_alias
1279 host=$host_alias
1280 target=$target_alias
1281
1282 # FIXME: To remove some day.
1283 if test "x$host_alias" != x; then
1284   if test "x$build_alias" = x; then
1285     cross_compiling=maybe
1286   elif test "x$build_alias" != "x$host_alias"; then
1287     cross_compiling=yes
1288   fi
1289 fi
1290
1291 ac_tool_prefix=
1292 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1293
1294 test "$silent" = yes && exec 6>/dev/null
1295
1296
1297 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1298 ac_ls_di=`ls -di .` &&
1299 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1300   as_fn_error $? "working directory cannot be determined"
1301 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302   as_fn_error $? "pwd does not report name of working directory"
1303
1304
1305 # Find the source files, if location was not specified.
1306 if test -z "$srcdir"; then
1307   ac_srcdir_defaulted=yes
1308   # Try the directory containing this script, then the parent directory.
1309   ac_confdir=`$as_dirname -- "$as_myself" ||
1310 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311          X"$as_myself" : 'X\(//\)[^/]' \| \
1312          X"$as_myself" : 'X\(//\)$' \| \
1313          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314 $as_echo X"$as_myself" |
1315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1316             s//\1/
1317             q
1318           }
1319           /^X\(\/\/\)[^/].*/{
1320             s//\1/
1321             q
1322           }
1323           /^X\(\/\/\)$/{
1324             s//\1/
1325             q
1326           }
1327           /^X\(\/\).*/{
1328             s//\1/
1329             q
1330           }
1331           s/.*/./; q'`
1332   srcdir=$ac_confdir
1333   if test ! -r "$srcdir/$ac_unique_file"; then
1334     srcdir=..
1335   fi
1336 else
1337   ac_srcdir_defaulted=no
1338 fi
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1340   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1342 fi
1343 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1344 ac_abs_confdir=`(
1345         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1346         pwd)`
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1349   srcdir=.
1350 fi
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1354 case $srcdir in
1355 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1356 esac
1357 for ac_var in $ac_precious_vars; do
1358   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1359   eval ac_env_${ac_var}_value=\$${ac_var}
1360   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1361   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1362 done
1363
1364 #
1365 # Report the --help message.
1366 #
1367 if test "$ac_init_help" = "long"; then
1368   # Omit some internal or obsolete options to make the list less imposing.
1369   # This message is too long to be a string in the A/UX 3.1 sh.
1370   cat <<_ACEOF
1371 \`configure' configures alsa-utils 1.0.28 to adapt to many kinds of systems.
1372
1373 Usage: $0 [OPTION]... [VAR=VALUE]...
1374
1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376 VAR=VALUE.  See below for descriptions of some of the useful variables.
1377
1378 Defaults for the options are specified in brackets.
1379
1380 Configuration:
1381   -h, --help              display this help and exit
1382       --help=short        display options specific to this package
1383       --help=recursive    display the short help of all the included packages
1384   -V, --version           display version information and exit
1385   -q, --quiet, --silent   do not print \`checking ...' messages
1386       --cache-file=FILE   cache test results in FILE [disabled]
1387   -C, --config-cache      alias for \`--cache-file=config.cache'
1388   -n, --no-create         do not create output files
1389       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1390
1391 Installation directories:
1392   --prefix=PREFIX         install architecture-independent files in PREFIX
1393                           [$ac_default_prefix]
1394   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1395                           [PREFIX]
1396
1397 By default, \`make install' will install all the files in
1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1400 for instance \`--prefix=\$HOME'.
1401
1402 For better control, use the options below.
1403
1404 Fine tuning of the installation directories:
1405   --bindir=DIR            user executables [EPREFIX/bin]
1406   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1407   --libexecdir=DIR        program executables [EPREFIX/libexec]
1408   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1409   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1410   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1411   --libdir=DIR            object code libraries [EPREFIX/lib]
1412   --includedir=DIR        C header files [PREFIX/include]
1413   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1414   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1415   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1416   --infodir=DIR           info documentation [DATAROOTDIR/info]
1417   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1418   --mandir=DIR            man documentation [DATAROOTDIR/man]
1419   --docdir=DIR            documentation root [DATAROOTDIR/doc/alsa-utils]
1420   --htmldir=DIR           html documentation [DOCDIR]
1421   --dvidir=DIR            dvi documentation [DOCDIR]
1422   --pdfdir=DIR            pdf documentation [DOCDIR]
1423   --psdir=DIR             ps documentation [DOCDIR]
1424 _ACEOF
1425
1426   cat <<\_ACEOF
1427
1428 Program names:
1429   --program-prefix=PREFIX            prepend PREFIX to installed program names
1430   --program-suffix=SUFFIX            append SUFFIX to installed program names
1431   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1432
1433 System types:
1434   --build=BUILD     configure for building on BUILD [guessed]
1435   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1436 _ACEOF
1437 fi
1438
1439 if test -n "$ac_init_help"; then
1440   case $ac_init_help in
1441      short | recursive ) echo "Configuration of alsa-utils 1.0.28:";;
1442    esac
1443   cat <<\_ACEOF
1444
1445 Optional Features:
1446   --disable-option-checking  ignore unrecognized --enable/--with options
1447   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1448   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1449   --disable-maintainer-mode
1450                           disable make rules and dependencies not useful (and
1451                           sometimes confusing) to the casual installer
1452   --disable-nls           do not use Native Language Support
1453   --enable-dependency-tracking
1454                           do not reject slow dependency extractors
1455   --disable-dependency-tracking
1456                           speeds up one-time build
1457   --disable-rpath         do not hardcode runtime library paths
1458   --disable-alsatest      Do not try to compile and run a test Alsa program
1459   --disable-alsamixer     Disable alsamixer compilation
1460   --disable-alsaconf      Disable alsaconf packaging
1461   --disable-alsaloop      Disable alsaloop packaging
1462   --disable-xmlto         Disable man page creation via xmlto
1463   --disable-largefile     omit support for large files
1464
1465 Optional Packages:
1466   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1467   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1468   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1469   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1470   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1471   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1472   --without-libintl-prefix     don't search for libintl in includedir and libdir
1473   --with-alsa-prefix=PFX  Prefix where Alsa library is installed(optional)
1474   --with-alsa-inc-prefix=PFX  Prefix where include libraries are (optional)
1475   --with-librt            Use librt for monotonic clock (default = yes)
1476   --with-udev-rules-dir=DIR
1477                           Directory where to install udev rules to
1478                           (default=auto)
1479   --with-curses=libname   Specify the curses library to use (default=auto)
1480   --with-testsound=file   give the path of test sound file for alsaconf
1481   --with-systemdsystemunitdir=DIR
1482                           Directory for systemd service files
1483   --with-asound-state-dir=DIR
1484                           Directory to place asound.state file in
1485   --with-alsactl-lock-dir=DIR
1486                           Directory to place lock files in
1487   --with-alsactl-pidfile-dir=DIR
1488                           Directory to place alsactl.pid file in
1489   --with-alsactl-daemonswitch=FILE
1490                           File to test for the daemon mode
1491
1492 Some influential environment variables:
1493   CC          C compiler command
1494   CFLAGS      C compiler flags
1495   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1496               nonstandard directory <lib dir>
1497   LIBS        libraries to pass to the linker, e.g. -l<library>
1498   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1499               you have headers in a nonstandard directory <include dir>
1500   CPP         C preprocessor
1501   PKG_CONFIG  path to pkg-config utility
1502   PKG_CONFIG_PATH
1503               directories to add to pkg-config's search path
1504   PKG_CONFIG_LIBDIR
1505               path overriding pkg-config's built-in search path
1506   NCURSESW_CFLAGS
1507               C compiler flags for NCURSESW, overriding pkg-config
1508   NCURSESW_LIBS
1509               linker flags for NCURSESW, overriding pkg-config
1510   NCURSES_CFLAGS
1511               C compiler flags for NCURSES, overriding pkg-config
1512   NCURSES_LIBS
1513               linker flags for NCURSES, overriding pkg-config
1514
1515 Use these variables to override the choices made by `configure' or to help
1516 it to find libraries and programs with nonstandard names/locations.
1517
1518 Report bugs to the package provider.
1519 _ACEOF
1520 ac_status=$?
1521 fi
1522
1523 if test "$ac_init_help" = "recursive"; then
1524   # If there are subdirs, report their specific --help.
1525   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1526     test -d "$ac_dir" ||
1527       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1528       continue
1529     ac_builddir=.
1530
1531 case "$ac_dir" in
1532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1533 *)
1534   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1535   # A ".." for each directory in $ac_dir_suffix.
1536   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1537   case $ac_top_builddir_sub in
1538   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1540   esac ;;
1541 esac
1542 ac_abs_top_builddir=$ac_pwd
1543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1544 # for backward compatibility:
1545 ac_top_builddir=$ac_top_build_prefix
1546
1547 case $srcdir in
1548   .)  # We are building in place.
1549     ac_srcdir=.
1550     ac_top_srcdir=$ac_top_builddir_sub
1551     ac_abs_top_srcdir=$ac_pwd ;;
1552   [\\/]* | ?:[\\/]* )  # Absolute name.
1553     ac_srcdir=$srcdir$ac_dir_suffix;
1554     ac_top_srcdir=$srcdir
1555     ac_abs_top_srcdir=$srcdir ;;
1556   *) # Relative name.
1557     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1558     ac_top_srcdir=$ac_top_build_prefix$srcdir
1559     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1560 esac
1561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1562
1563     cd "$ac_dir" || { ac_status=$?; continue; }
1564     # Check for guested configure.
1565     if test -f "$ac_srcdir/configure.gnu"; then
1566       echo &&
1567       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1568     elif test -f "$ac_srcdir/configure"; then
1569       echo &&
1570       $SHELL "$ac_srcdir/configure" --help=recursive
1571     else
1572       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1573     fi || ac_status=$?
1574     cd "$ac_pwd" || { ac_status=$?; break; }
1575   done
1576 fi
1577
1578 test -n "$ac_init_help" && exit $ac_status
1579 if $ac_init_version; then
1580   cat <<\_ACEOF
1581 alsa-utils configure 1.0.28
1582 generated by GNU Autoconf 2.69
1583
1584 Copyright (C) 2012 Free Software Foundation, Inc.
1585 This configure script is free software; the Free Software Foundation
1586 gives unlimited permission to copy, distribute and modify it.
1587 _ACEOF
1588   exit
1589 fi
1590
1591 ## ------------------------ ##
1592 ## Autoconf initialization. ##
1593 ## ------------------------ ##
1594
1595 # ac_fn_c_try_compile LINENO
1596 # --------------------------
1597 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1598 ac_fn_c_try_compile ()
1599 {
1600   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601   rm -f conftest.$ac_objext
1602   if { { ac_try="$ac_compile"
1603 case "(($ac_try" in
1604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605   *) ac_try_echo=$ac_try;;
1606 esac
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609   (eval "$ac_compile") 2>conftest.err
1610   ac_status=$?
1611   if test -s conftest.err; then
1612     grep -v '^ *+' conftest.err >conftest.er1
1613     cat conftest.er1 >&5
1614     mv -f conftest.er1 conftest.err
1615   fi
1616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617   test $ac_status = 0; } && {
1618          test -z "$ac_c_werror_flag" ||
1619          test ! -s conftest.err
1620        } && test -s conftest.$ac_objext; then :
1621   ac_retval=0
1622 else
1623   $as_echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.$ac_ext >&5
1625
1626         ac_retval=1
1627 fi
1628   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629   as_fn_set_status $ac_retval
1630
1631 } # ac_fn_c_try_compile
1632
1633 # ac_fn_c_try_cpp LINENO
1634 # ----------------------
1635 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1636 ac_fn_c_try_cpp ()
1637 {
1638   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639   if { { ac_try="$ac_cpp conftest.$ac_ext"
1640 case "(($ac_try" in
1641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1642   *) ac_try_echo=$ac_try;;
1643 esac
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1647   ac_status=$?
1648   if test -s conftest.err; then
1649     grep -v '^ *+' conftest.err >conftest.er1
1650     cat conftest.er1 >&5
1651     mv -f conftest.er1 conftest.err
1652   fi
1653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654   test $ac_status = 0; } > conftest.i && {
1655          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1656          test ! -s conftest.err
1657        }; then :
1658   ac_retval=0
1659 else
1660   $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.$ac_ext >&5
1662
1663     ac_retval=1
1664 fi
1665   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666   as_fn_set_status $ac_retval
1667
1668 } # ac_fn_c_try_cpp
1669
1670 # ac_fn_c_try_link LINENO
1671 # -----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded.
1673 ac_fn_c_try_link ()
1674 {
1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676   rm -f conftest.$ac_objext conftest$ac_exeext
1677   if { { ac_try="$ac_link"
1678 case "(($ac_try" in
1679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680   *) ac_try_echo=$ac_try;;
1681 esac
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684   (eval "$ac_link") 2>conftest.err
1685   ac_status=$?
1686   if test -s conftest.err; then
1687     grep -v '^ *+' conftest.err >conftest.er1
1688     cat conftest.er1 >&5
1689     mv -f conftest.er1 conftest.err
1690   fi
1691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692   test $ac_status = 0; } && {
1693          test -z "$ac_c_werror_flag" ||
1694          test ! -s conftest.err
1695        } && test -s conftest$ac_exeext && {
1696          test "$cross_compiling" = yes ||
1697          test -x conftest$ac_exeext
1698        }; then :
1699   ac_retval=0
1700 else
1701   $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1703
1704         ac_retval=1
1705 fi
1706   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1707   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1708   # interfere with the next link command; also delete a directory that is
1709   # left behind by Apple's compiler.  We do this before executing the actions.
1710   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712   as_fn_set_status $ac_retval
1713
1714 } # ac_fn_c_try_link
1715
1716 # ac_fn_c_try_run LINENO
1717 # ----------------------
1718 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1719 # that executables *can* be run.
1720 ac_fn_c_try_run ()
1721 {
1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723   if { { ac_try="$ac_link"
1724 case "(($ac_try" in
1725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726   *) ac_try_echo=$ac_try;;
1727 esac
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730   (eval "$ac_link") 2>&5
1731   ac_status=$?
1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1734   { { case "(($ac_try" in
1735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736   *) ac_try_echo=$ac_try;;
1737 esac
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740   (eval "$ac_try") 2>&5
1741   ac_status=$?
1742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743   test $ac_status = 0; }; }; then :
1744   ac_retval=0
1745 else
1746   $as_echo "$as_me: program exited with status $ac_status" >&5
1747        $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1749
1750        ac_retval=$ac_status
1751 fi
1752   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1753   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754   as_fn_set_status $ac_retval
1755
1756 } # ac_fn_c_try_run
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
1825 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1826 # -------------------------------------------------------
1827 # Tests whether HEADER exists and can be compiled using the include files in
1828 # INCLUDES, setting the cache variable VAR accordingly.
1829 ac_fn_c_check_header_compile ()
1830 {
1831   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1833 $as_echo_n "checking for $2... " >&6; }
1834 if eval \${$3+:} false; then :
1835   $as_echo_n "(cached) " >&6
1836 else
1837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h.  */
1839 $4
1840 #include <$2>
1841 _ACEOF
1842 if ac_fn_c_try_compile "$LINENO"; then :
1843   eval "$3=yes"
1844 else
1845   eval "$3=no"
1846 fi
1847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1848 fi
1849 eval ac_res=\$$3
1850                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1851 $as_echo "$ac_res" >&6; }
1852   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853
1854 } # ac_fn_c_check_header_compile
1855
1856 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1857 # -------------------------------------------------------
1858 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1859 # the include files in INCLUDES and setting the cache variable VAR
1860 # accordingly.
1861 ac_fn_c_check_header_mongrel ()
1862 {
1863   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864   if eval \${$3+:} false; then :
1865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866 $as_echo_n "checking for $2... " >&6; }
1867 if eval \${$3+:} false; then :
1868   $as_echo_n "(cached) " >&6
1869 fi
1870 eval ac_res=\$$3
1871                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 else
1874   # Is the header compilable?
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1876 $as_echo_n "checking $2 usability... " >&6; }
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h.  */
1879 $4
1880 #include <$2>
1881 _ACEOF
1882 if ac_fn_c_try_compile "$LINENO"; then :
1883   ac_header_compiler=yes
1884 else
1885   ac_header_compiler=no
1886 fi
1887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1889 $as_echo "$ac_header_compiler" >&6; }
1890
1891 # Is the header present?
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1893 $as_echo_n "checking $2 presence... " >&6; }
1894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h.  */
1896 #include <$2>
1897 _ACEOF
1898 if ac_fn_c_try_cpp "$LINENO"; then :
1899   ac_header_preproc=yes
1900 else
1901   ac_header_preproc=no
1902 fi
1903 rm -f conftest.err conftest.i conftest.$ac_ext
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1905 $as_echo "$ac_header_preproc" >&6; }
1906
1907 # So?  What about this header?
1908 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1909   yes:no: )
1910     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1911 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1912     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1913 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1914     ;;
1915   no:yes:* )
1916     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1917 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1918     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1919 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1920     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1921 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1922     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1923 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1924     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1925 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1926     ;;
1927 esac
1928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if eval \${$3+:} false; then :
1931   $as_echo_n "(cached) " >&6
1932 else
1933   eval "$3=\$ac_header_compiler"
1934 fi
1935 eval ac_res=\$$3
1936                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938 fi
1939   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940
1941 } # ac_fn_c_check_header_mongrel
1942 cat >config.log <<_ACEOF
1943 This file contains any messages produced by compilers while
1944 running configure, to aid debugging if configure makes a mistake.
1945
1946 It was created by alsa-utils $as_me 1.0.28, which was
1947 generated by GNU Autoconf 2.69.  Invocation command line was
1948
1949   $ $0 $@
1950
1951 _ACEOF
1952 exec 5>>config.log
1953 {
1954 cat <<_ASUNAME
1955 ## --------- ##
1956 ## Platform. ##
1957 ## --------- ##
1958
1959 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1960 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1961 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1962 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1963 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1964
1965 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1966 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1967
1968 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1969 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1970 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1971 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1972 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1973 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1974 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1975
1976 _ASUNAME
1977
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 for as_dir in $PATH
1980 do
1981   IFS=$as_save_IFS
1982   test -z "$as_dir" && as_dir=.
1983     $as_echo "PATH: $as_dir"
1984   done
1985 IFS=$as_save_IFS
1986
1987 } >&5
1988
1989 cat >&5 <<_ACEOF
1990
1991
1992 ## ----------- ##
1993 ## Core tests. ##
1994 ## ----------- ##
1995
1996 _ACEOF
1997
1998
1999 # Keep a trace of the command line.
2000 # Strip out --no-create and --no-recursion so they do not pile up.
2001 # Strip out --silent because we don't want to record it for future runs.
2002 # Also quote any args containing shell meta-characters.
2003 # Make two passes to allow for proper duplicate-argument suppression.
2004 ac_configure_args=
2005 ac_configure_args0=
2006 ac_configure_args1=
2007 ac_must_keep_next=false
2008 for ac_pass in 1 2
2009 do
2010   for ac_arg
2011   do
2012     case $ac_arg in
2013     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2014     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2015     | -silent | --silent | --silen | --sile | --sil)
2016       continue ;;
2017     *\'*)
2018       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2019     esac
2020     case $ac_pass in
2021     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2022     2)
2023       as_fn_append ac_configure_args1 " '$ac_arg'"
2024       if test $ac_must_keep_next = true; then
2025         ac_must_keep_next=false # Got value, back to normal.
2026       else
2027         case $ac_arg in
2028           *=* | --config-cache | -C | -disable-* | --disable-* \
2029           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2030           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2031           | -with-* | --with-* | -without-* | --without-* | --x)
2032             case "$ac_configure_args0 " in
2033               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2034             esac
2035             ;;
2036           -* ) ac_must_keep_next=true ;;
2037         esac
2038       fi
2039       as_fn_append ac_configure_args " '$ac_arg'"
2040       ;;
2041     esac
2042   done
2043 done
2044 { ac_configure_args0=; unset ac_configure_args0;}
2045 { ac_configure_args1=; unset ac_configure_args1;}
2046
2047 # When interrupted or exit'd, cleanup temporary files, and complete
2048 # config.log.  We remove comments because anyway the quotes in there
2049 # would cause problems or look ugly.
2050 # WARNING: Use '\'' to represent an apostrophe within the trap.
2051 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2052 trap 'exit_status=$?
2053   # Save into config.log some information that might help in debugging.
2054   {
2055     echo
2056
2057     $as_echo "## ---------------- ##
2058 ## Cache variables. ##
2059 ## ---------------- ##"
2060     echo
2061     # The following way of writing the cache mishandles newlines in values,
2062 (
2063   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2064     eval ac_val=\$$ac_var
2065     case $ac_val in #(
2066     *${as_nl}*)
2067       case $ac_var in #(
2068       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2069 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2070       esac
2071       case $ac_var in #(
2072       _ | IFS | as_nl) ;; #(
2073       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2074       *) { eval $ac_var=; unset $ac_var;} ;;
2075       esac ;;
2076     esac
2077   done
2078   (set) 2>&1 |
2079     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2080     *${as_nl}ac_space=\ *)
2081       sed -n \
2082         "s/'\''/'\''\\\\'\'''\''/g;
2083           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2084       ;; #(
2085     *)
2086       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2087       ;;
2088     esac |
2089     sort
2090 )
2091     echo
2092
2093     $as_echo "## ----------------- ##
2094 ## Output variables. ##
2095 ## ----------------- ##"
2096     echo
2097     for ac_var in $ac_subst_vars
2098     do
2099       eval ac_val=\$$ac_var
2100       case $ac_val in
2101       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2102       esac
2103       $as_echo "$ac_var='\''$ac_val'\''"
2104     done | sort
2105     echo
2106
2107     if test -n "$ac_subst_files"; then
2108       $as_echo "## ------------------- ##
2109 ## File substitutions. ##
2110 ## ------------------- ##"
2111       echo
2112       for ac_var in $ac_subst_files
2113       do
2114         eval ac_val=\$$ac_var
2115         case $ac_val in
2116         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2117         esac
2118         $as_echo "$ac_var='\''$ac_val'\''"
2119       done | sort
2120       echo
2121     fi
2122
2123     if test -s confdefs.h; then
2124       $as_echo "## ----------- ##
2125 ## confdefs.h. ##
2126 ## ----------- ##"
2127       echo
2128       cat confdefs.h
2129       echo
2130     fi
2131     test "$ac_signal" != 0 &&
2132       $as_echo "$as_me: caught signal $ac_signal"
2133     $as_echo "$as_me: exit $exit_status"
2134   } >&5
2135   rm -f core *.core core.conftest.* &&
2136     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2137     exit $exit_status
2138 ' 0
2139 for ac_signal in 1 2 13 15; do
2140   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2141 done
2142 ac_signal=0
2143
2144 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2145 rm -f -r conftest* confdefs.h
2146
2147 $as_echo "/* confdefs.h */" > confdefs.h
2148
2149 # Predefined preprocessor variables.
2150
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_NAME "$PACKAGE_NAME"
2153 _ACEOF
2154
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2157 _ACEOF
2158
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2161 _ACEOF
2162
2163 cat >>confdefs.h <<_ACEOF
2164 #define PACKAGE_STRING "$PACKAGE_STRING"
2165 _ACEOF
2166
2167 cat >>confdefs.h <<_ACEOF
2168 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2169 _ACEOF
2170
2171 cat >>confdefs.h <<_ACEOF
2172 #define PACKAGE_URL "$PACKAGE_URL"
2173 _ACEOF
2174
2175
2176 # Let the site file select an alternate cache file if it wants to.
2177 # Prefer an explicitly selected file to automatically selected ones.
2178 ac_site_file1=NONE
2179 ac_site_file2=NONE
2180 if test -n "$CONFIG_SITE"; then
2181   # We do not want a PATH search for config.site.
2182   case $CONFIG_SITE in #((
2183     -*)  ac_site_file1=./$CONFIG_SITE;;
2184     */*) ac_site_file1=$CONFIG_SITE;;
2185     *)   ac_site_file1=./$CONFIG_SITE;;
2186   esac
2187 elif test "x$prefix" != xNONE; then
2188   ac_site_file1=$prefix/share/config.site
2189   ac_site_file2=$prefix/etc/config.site
2190 else
2191   ac_site_file1=$ac_default_prefix/share/config.site
2192   ac_site_file2=$ac_default_prefix/etc/config.site
2193 fi
2194 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2195 do
2196   test "x$ac_site_file" = xNONE && continue
2197   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2198     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2199 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2200     sed 's/^/| /' "$ac_site_file" >&5
2201     . "$ac_site_file" \
2202       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2203 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2204 as_fn_error $? "failed to load site script $ac_site_file
2205 See \`config.log' for more details" "$LINENO" 5; }
2206   fi
2207 done
2208
2209 if test -r "$cache_file"; then
2210   # Some versions of bash will fail to source /dev/null (special files
2211   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2212   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2213     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2214 $as_echo "$as_me: loading cache $cache_file" >&6;}
2215     case $cache_file in
2216       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2217       *)                      . "./$cache_file";;
2218     esac
2219   fi
2220 else
2221   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2222 $as_echo "$as_me: creating cache $cache_file" >&6;}
2223   >$cache_file
2224 fi
2225
2226 gt_needs="$gt_needs "
2227 # Check that the precious variables saved in the cache have kept the same
2228 # value.
2229 ac_cache_corrupted=false
2230 for ac_var in $ac_precious_vars; do
2231   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2232   eval ac_new_set=\$ac_env_${ac_var}_set
2233   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2234   eval ac_new_val=\$ac_env_${ac_var}_value
2235   case $ac_old_set,$ac_new_set in
2236     set,)
2237       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2238 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2239       ac_cache_corrupted=: ;;
2240     ,set)
2241       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2242 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2243       ac_cache_corrupted=: ;;
2244     ,);;
2245     *)
2246       if test "x$ac_old_val" != "x$ac_new_val"; then
2247         # differences in whitespace do not lead to failure.
2248         ac_old_val_w=`echo x $ac_old_val`
2249         ac_new_val_w=`echo x $ac_new_val`
2250         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2251           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2252 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2253           ac_cache_corrupted=:
2254         else
2255           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2256 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2257           eval $ac_var=\$ac_old_val
2258         fi
2259         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2260 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2261         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2262 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2263       fi;;
2264   esac
2265   # Pass precious variables to config.status.
2266   if test "$ac_new_set" = set; then
2267     case $ac_new_val in
2268     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2269     *) ac_arg=$ac_var=$ac_new_val ;;
2270     esac
2271     case " $ac_configure_args " in
2272       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2273       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2274     esac
2275   fi
2276 done
2277 if $ac_cache_corrupted; then
2278   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2280   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2281 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2282   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2283 fi
2284 ## -------------------- ##
2285 ## Main body of script. ##
2286 ## -------------------- ##
2287
2288 ac_ext=c
2289 ac_cpp='$CPP $CPPFLAGS'
2290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2293
2294
2295
2296
2297 am__api_version='1.12'
2298
2299 ac_aux_dir=
2300 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2301   if test -f "$ac_dir/install-sh"; then
2302     ac_aux_dir=$ac_dir
2303     ac_install_sh="$ac_aux_dir/install-sh -c"
2304     break
2305   elif test -f "$ac_dir/install.sh"; then
2306     ac_aux_dir=$ac_dir
2307     ac_install_sh="$ac_aux_dir/install.sh -c"
2308     break
2309   elif test -f "$ac_dir/shtool"; then
2310     ac_aux_dir=$ac_dir
2311     ac_install_sh="$ac_aux_dir/shtool install -c"
2312     break
2313   fi
2314 done
2315 if test -z "$ac_aux_dir"; then
2316   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2317 fi
2318
2319 # These three variables are undocumented and unsupported,
2320 # and are intended to be withdrawn in a future Autoconf release.
2321 # They can cause serious problems if a builder's source tree is in a directory
2322 # whose full name contains unusual characters.
2323 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2324 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2325 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2326
2327
2328 # Find a good install program.  We prefer a C program (faster),
2329 # so one script is as good as another.  But avoid the broken or
2330 # incompatible versions:
2331 # SysV /etc/install, /usr/sbin/install
2332 # SunOS /usr/etc/install
2333 # IRIX /sbin/install
2334 # AIX /bin/install
2335 # AmigaOS /C/install, which installs bootblocks on floppy discs
2336 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2337 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2338 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2339 # OS/2's system install, which has a completely different semantic
2340 # ./install, which can be erroneously created by make from ./install.sh.
2341 # Reject install programs that cannot install multiple files.
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2343 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2344 if test -z "$INSTALL"; then
2345 if ${ac_cv_path_install+:} false; then :
2346   $as_echo_n "(cached) " >&6
2347 else
2348   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 for as_dir in $PATH
2350 do
2351   IFS=$as_save_IFS
2352   test -z "$as_dir" && as_dir=.
2353     # Account for people who put trailing slashes in PATH elements.
2354 case $as_dir/ in #((
2355   ./ | .// | /[cC]/* | \
2356   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2357   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2358   /usr/ucb/* ) ;;
2359   *)
2360     # OSF1 and SCO ODT 3.0 have their own names for install.
2361     # Don't use installbsd from OSF since it installs stuff as root
2362     # by default.
2363     for ac_prog in ginstall scoinst install; do
2364       for ac_exec_ext in '' $ac_executable_extensions; do
2365         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2366           if test $ac_prog = install &&
2367             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2368             # AIX install.  It has an incompatible calling convention.
2369             :
2370           elif test $ac_prog = install &&
2371             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2372             # program-specific install script used by HP pwplus--don't use.
2373             :
2374           else
2375             rm -rf conftest.one conftest.two conftest.dir
2376             echo one > conftest.one
2377             echo two > conftest.two
2378             mkdir conftest.dir
2379             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2380               test -s conftest.one && test -s conftest.two &&
2381               test -s conftest.dir/conftest.one &&
2382               test -s conftest.dir/conftest.two
2383             then
2384               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2385               break 3
2386             fi
2387           fi
2388         fi
2389       done
2390     done
2391     ;;
2392 esac
2393
2394   done
2395 IFS=$as_save_IFS
2396
2397 rm -rf conftest.one conftest.two conftest.dir
2398
2399 fi
2400   if test "${ac_cv_path_install+set}" = set; then
2401     INSTALL=$ac_cv_path_install
2402   else
2403     # As a last resort, use the slow shell script.  Don't cache a
2404     # value for INSTALL within a source directory, because that will
2405     # break other packages using the cache if that directory is
2406     # removed, or if the value is a relative name.
2407     INSTALL=$ac_install_sh
2408   fi
2409 fi
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2411 $as_echo "$INSTALL" >&6; }
2412
2413 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2414 # It thinks the first close brace ends the variable substitution.
2415 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2416
2417 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2418
2419 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2420
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2422 $as_echo_n "checking whether build environment is sane... " >&6; }
2423 # Reject unsafe characters in $srcdir or the absolute working directory
2424 # name.  Accept space and tab only in the latter.
2425 am_lf='
2426 '
2427 case `pwd` in
2428   *[\\\"\#\$\&\'\`$am_lf]*)
2429     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2430 esac
2431 case $srcdir in
2432   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2433     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2434 esac
2435
2436 # Do 'set' in a subshell so we don't clobber the current shell's
2437 # arguments.  Must try -L first in case configure is actually a
2438 # symlink; some systems play weird games with the mod time of symlinks
2439 # (eg FreeBSD returns the mod time of the symlink's containing
2440 # directory).
2441 if (
2442    am_has_slept=no
2443    for am_try in 1 2; do
2444      echo "timestamp, slept: $am_has_slept" > conftest.file
2445      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2446      if test "$*" = "X"; then
2447         # -L didn't work.
2448         set X `ls -t "$srcdir/configure" conftest.file`
2449      fi
2450      if test "$*" != "X $srcdir/configure conftest.file" \
2451         && test "$*" != "X conftest.file $srcdir/configure"; then
2452
2453         # If neither matched, then we have a broken ls.  This can happen
2454         # if, for instance, CONFIG_SHELL is bash and it inherits a
2455         # broken ls alias from the environment.  This has actually
2456         # happened.  Such a system could not be considered "sane".
2457         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2458   alias in your environment" "$LINENO" 5
2459      fi
2460      if test "$2" = conftest.file || test $am_try -eq 2; then
2461        break
2462      fi
2463      # Just in case.
2464      sleep 1
2465      am_has_slept=yes
2466    done
2467    test "$2" = conftest.file
2468    )
2469 then
2470    # Ok.
2471    :
2472 else
2473    as_fn_error $? "newly created file is older than distributed files!
2474 Check your system clock" "$LINENO" 5
2475 fi
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2477 $as_echo "yes" >&6; }
2478 # If we didn't sleep, we still need to ensure time stamps of config.status and
2479 # generated files are strictly newer.
2480 am_sleep_pid=
2481 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2482   ( sleep 1 ) &
2483   am_sleep_pid=$!
2484 fi
2485
2486 rm -f conftest.file
2487
2488 test "$program_prefix" != NONE &&
2489   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2490 # Use a double $ so make ignores it.
2491 test "$program_suffix" != NONE &&
2492   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2493 # Double any \ or $.
2494 # By default was `s,x,x', remove it if useless.
2495 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2496 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2497
2498 # expand $ac_aux_dir to an absolute path
2499 am_aux_dir=`cd $ac_aux_dir && pwd`
2500
2501 if test x"${MISSING+set}" != xset; then
2502   case $am_aux_dir in
2503   *\ * | *\     *)
2504     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2505   *)
2506     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2507   esac
2508 fi
2509 # Use eval to expand $SHELL
2510 if eval "$MISSING --run true"; then
2511   am_missing_run="$MISSING --run "
2512 else
2513   am_missing_run=
2514   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2515 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2516 fi
2517
2518 if test x"${install_sh}" != xset; then
2519   case $am_aux_dir in
2520   *\ * | *\     *)
2521     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2522   *)
2523     install_sh="\${SHELL} $am_aux_dir/install-sh"
2524   esac
2525 fi
2526
2527 # Installed binaries are usually stripped using 'strip' when the user
2528 # run "make install-strip".  However 'strip' might not be the right
2529 # tool to use in cross-compilation environments, therefore Automake
2530 # will honor the 'STRIP' environment variable to overrule this program.
2531 if test "$cross_compiling" != no; then
2532   if test -n "$ac_tool_prefix"; then
2533   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2534 set dummy ${ac_tool_prefix}strip; ac_word=$2
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2536 $as_echo_n "checking for $ac_word... " >&6; }
2537 if ${ac_cv_prog_STRIP+:} false; then :
2538   $as_echo_n "(cached) " >&6
2539 else
2540   if test -n "$STRIP"; then
2541   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2542 else
2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2544 for as_dir in $PATH
2545 do
2546   IFS=$as_save_IFS
2547   test -z "$as_dir" && as_dir=.
2548     for ac_exec_ext in '' $ac_executable_extensions; do
2549   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2550     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552     break 2
2553   fi
2554 done
2555   done
2556 IFS=$as_save_IFS
2557
2558 fi
2559 fi
2560 STRIP=$ac_cv_prog_STRIP
2561 if test -n "$STRIP"; then
2562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2563 $as_echo "$STRIP" >&6; }
2564 else
2565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2566 $as_echo "no" >&6; }
2567 fi
2568
2569
2570 fi
2571 if test -z "$ac_cv_prog_STRIP"; then
2572   ac_ct_STRIP=$STRIP
2573   # Extract the first word of "strip", so it can be a program name with args.
2574 set dummy strip; ac_word=$2
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2576 $as_echo_n "checking for $ac_word... " >&6; }
2577 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2578   $as_echo_n "(cached) " >&6
2579 else
2580   if test -n "$ac_ct_STRIP"; then
2581   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2582 else
2583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2584 for as_dir in $PATH
2585 do
2586   IFS=$as_save_IFS
2587   test -z "$as_dir" && as_dir=.
2588     for ac_exec_ext in '' $ac_executable_extensions; do
2589   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2590     ac_cv_prog_ac_ct_STRIP="strip"
2591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2592     break 2
2593   fi
2594 done
2595   done
2596 IFS=$as_save_IFS
2597
2598 fi
2599 fi
2600 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2601 if test -n "$ac_ct_STRIP"; then
2602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2603 $as_echo "$ac_ct_STRIP" >&6; }
2604 else
2605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 $as_echo "no" >&6; }
2607 fi
2608
2609   if test "x$ac_ct_STRIP" = x; then
2610     STRIP=":"
2611   else
2612     case $cross_compiling:$ac_tool_warned in
2613 yes:)
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2616 ac_tool_warned=yes ;;
2617 esac
2618     STRIP=$ac_ct_STRIP
2619   fi
2620 else
2621   STRIP="$ac_cv_prog_STRIP"
2622 fi
2623
2624 fi
2625 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2626
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2628 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2629 if test -z "$MKDIR_P"; then
2630   if ${ac_cv_path_mkdir+:} false; then :
2631   $as_echo_n "(cached) " >&6
2632 else
2633   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2635 do
2636   IFS=$as_save_IFS
2637   test -z "$as_dir" && as_dir=.
2638     for ac_prog in mkdir gmkdir; do
2639          for ac_exec_ext in '' $ac_executable_extensions; do
2640            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2641            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2642              'mkdir (GNU coreutils) '* | \
2643              'mkdir (coreutils) '* | \
2644              'mkdir (fileutils) '4.1*)
2645                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2646                break 3;;
2647            esac
2648          done
2649        done
2650   done
2651 IFS=$as_save_IFS
2652
2653 fi
2654
2655   test -d ./--version && rmdir ./--version
2656   if test "${ac_cv_path_mkdir+set}" = set; then
2657     MKDIR_P="$ac_cv_path_mkdir -p"
2658   else
2659     # As a last resort, use the slow shell script.  Don't cache a
2660     # value for MKDIR_P within a source directory, because that will
2661     # break other packages using the cache if that directory is
2662     # removed, or if the value is a relative name.
2663     MKDIR_P="$ac_install_sh -d"
2664   fi
2665 fi
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2667 $as_echo "$MKDIR_P" >&6; }
2668
2669 for ac_prog in gawk mawk nawk awk
2670 do
2671   # Extract the first word of "$ac_prog", so it can be a program name with args.
2672 set dummy $ac_prog; ac_word=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_AWK+:} false; then :
2676   $as_echo_n "(cached) " >&6
2677 else
2678   if test -n "$AWK"; then
2679   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2680 else
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682 for as_dir in $PATH
2683 do
2684   IFS=$as_save_IFS
2685   test -z "$as_dir" && as_dir=.
2686     for ac_exec_ext in '' $ac_executable_extensions; do
2687   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2688     ac_cv_prog_AWK="$ac_prog"
2689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690     break 2
2691   fi
2692 done
2693   done
2694 IFS=$as_save_IFS
2695
2696 fi
2697 fi
2698 AWK=$ac_cv_prog_AWK
2699 if test -n "$AWK"; then
2700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2701 $as_echo "$AWK" >&6; }
2702 else
2703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2704 $as_echo "no" >&6; }
2705 fi
2706
2707
2708   test -n "$AWK" && break
2709 done
2710
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2712 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2713 set x ${MAKE-make}
2714 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2715 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2716   $as_echo_n "(cached) " >&6
2717 else
2718   cat >conftest.make <<\_ACEOF
2719 SHELL = /bin/sh
2720 all:
2721         @echo '@@@%%%=$(MAKE)=@@@%%%'
2722 _ACEOF
2723 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2724 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2725   *@@@%%%=?*=@@@%%%*)
2726     eval ac_cv_prog_make_${ac_make}_set=yes;;
2727   *)
2728     eval ac_cv_prog_make_${ac_make}_set=no;;
2729 esac
2730 rm -f conftest.make
2731 fi
2732 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2734 $as_echo "yes" >&6; }
2735   SET_MAKE=
2736 else
2737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2739   SET_MAKE="MAKE=${MAKE-make}"
2740 fi
2741
2742 rm -rf .tst 2>/dev/null
2743 mkdir .tst 2>/dev/null
2744 if test -d .tst; then
2745   am__leading_dot=.
2746 else
2747   am__leading_dot=_
2748 fi
2749 rmdir .tst 2>/dev/null
2750
2751 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2752   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2753   # is not polluted with repeated "-I."
2754   am__isrc=' -I$(srcdir)'
2755   # test to see if srcdir already configured
2756   if test -f $srcdir/config.status; then
2757     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2758   fi
2759 fi
2760
2761 # test whether we have cygpath
2762 if test -z "$CYGPATH_W"; then
2763   if (cygpath --version) >/dev/null 2>/dev/null; then
2764     CYGPATH_W='cygpath -w'
2765   else
2766     CYGPATH_W=echo
2767   fi
2768 fi
2769
2770
2771 # Define the identity of the package.
2772  PACKAGE='alsa-utils'
2773  VERSION='1.0.28'
2774
2775
2776 cat >>confdefs.h <<_ACEOF
2777 #define PACKAGE "$PACKAGE"
2778 _ACEOF
2779
2780
2781 cat >>confdefs.h <<_ACEOF
2782 #define VERSION "$VERSION"
2783 _ACEOF
2784
2785 # Some tools Automake needs.
2786
2787 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2788
2789
2790 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2791
2792
2793 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2794
2795
2796 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2797
2798
2799 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2800
2801 # For better backward compatibility.  To be removed once Automake 1.9.x
2802 # dies out for good.  For more background, see:
2803 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2804 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2805 mkdir_p='$(MKDIR_P)'
2806
2807 # We need awk for the "check" target.  The system "awk" is bad on
2808 # some platforms.
2809 # Always define AMTAR for backward compatibility.  Yes, it's still used
2810 # in the wild :-(  We should find a proper way to deprecate it ...
2811 AMTAR='$${TAR-tar}'
2812
2813 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2814
2815
2816
2817
2818
2819
2820
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2822 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2823     # Check whether --enable-maintainer-mode was given.
2824 if test "${enable_maintainer_mode+set}" = set; then :
2825   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2826 else
2827   USE_MAINTAINER_MODE=yes
2828 fi
2829
2830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2831 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2832    if test $USE_MAINTAINER_MODE = yes; then
2833   MAINTAINER_MODE_TRUE=
2834   MAINTAINER_MODE_FALSE='#'
2835 else
2836   MAINTAINER_MODE_TRUE='#'
2837   MAINTAINER_MODE_FALSE=
2838 fi
2839
2840   MAINT=$MAINTAINER_MODE_TRUE
2841
2842
2843
2844
2845 mkdir_p="$MKDIR_P"
2846 case $mkdir_p in
2847   [\\/$]* | ?:[\\/]*) ;;
2848   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2849 esac
2850
2851
2852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2853 $as_echo_n "checking whether NLS is requested... " >&6; }
2854     # Check whether --enable-nls was given.
2855 if test "${enable_nls+set}" = set; then :
2856   enableval=$enable_nls; USE_NLS=$enableval
2857 else
2858   USE_NLS=yes
2859 fi
2860
2861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2862 $as_echo "$USE_NLS" >&6; }
2863
2864
2865
2866
2867       GETTEXT_MACRO_VERSION=0.18
2868
2869
2870
2871
2872 # Prepare PATH_SEPARATOR.
2873 # The user is always right.
2874 if test "${PATH_SEPARATOR+set}" != set; then
2875   echo "#! /bin/sh" >conf$$.sh
2876   echo  "exit 0"   >>conf$$.sh
2877   chmod +x conf$$.sh
2878   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2879     PATH_SEPARATOR=';'
2880   else
2881     PATH_SEPARATOR=:
2882   fi
2883   rm -f conf$$.sh
2884 fi
2885
2886 # Find out how to test for executable files. Don't use a zero-byte file,
2887 # as systems may use methods other than mode bits to determine executability.
2888 cat >conf$$.file <<_ASEOF
2889 #! /bin/sh
2890 exit 0
2891 _ASEOF
2892 chmod +x conf$$.file
2893 if test -x conf$$.file >/dev/null 2>&1; then
2894   ac_executable_p="test -x"
2895 else
2896   ac_executable_p="test -f"
2897 fi
2898 rm -f conf$$.file
2899
2900 # Extract the first word of "msgfmt", so it can be a program name with args.
2901 set dummy msgfmt; ac_word=$2
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2903 $as_echo_n "checking for $ac_word... " >&6; }
2904 if ${ac_cv_path_MSGFMT+:} false; then :
2905   $as_echo_n "(cached) " >&6
2906 else
2907   case "$MSGFMT" in
2908   [\\/]* | ?:[\\/]*)
2909     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2910     ;;
2911   *)
2912     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
2913     for ac_dir in $PATH; do
2914       IFS="$ac_save_IFS"
2915       test -z "$ac_dir" && ac_dir=.
2916       for ac_exec_ext in '' $ac_executable_extensions; do
2917         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2918           echo "$as_me: trying $ac_dir/$ac_word..." >&5
2919           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
2920      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
2921             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
2922             break 2
2923           fi
2924         fi
2925       done
2926     done
2927     IFS="$ac_save_IFS"
2928   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
2929     ;;
2930 esac
2931 fi
2932 MSGFMT="$ac_cv_path_MSGFMT"
2933 if test "$MSGFMT" != ":"; then
2934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
2935 $as_echo "$MSGFMT" >&6; }
2936 else
2937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2938 $as_echo "no" >&6; }
2939 fi
2940
2941   # Extract the first word of "gmsgfmt", so it can be a program name with args.
2942 set dummy gmsgfmt; ac_word=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if ${ac_cv_path_GMSGFMT+:} false; then :
2946   $as_echo_n "(cached) " >&6
2947 else
2948   case $GMSGFMT in
2949   [\\/]* | ?:[\\/]*)
2950   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2951   ;;
2952   *)
2953   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954 for as_dir in $PATH
2955 do
2956   IFS=$as_save_IFS
2957   test -z "$as_dir" && as_dir=.
2958     for ac_exec_ext in '' $ac_executable_extensions; do
2959   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2960     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
2961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962     break 2
2963   fi
2964 done
2965   done
2966 IFS=$as_save_IFS
2967
2968   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2969   ;;
2970 esac
2971 fi
2972 GMSGFMT=$ac_cv_path_GMSGFMT
2973 if test -n "$GMSGFMT"; then
2974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
2975 $as_echo "$GMSGFMT" >&6; }
2976 else
2977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2978 $as_echo "no" >&6; }
2979 fi
2980
2981
2982
2983     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2984     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
2985     *) MSGFMT_015=$MSGFMT ;;
2986   esac
2987
2988   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
2989     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
2990     *) GMSGFMT_015=$GMSGFMT ;;
2991   esac
2992
2993
2994
2995 # Prepare PATH_SEPARATOR.
2996 # The user is always right.
2997 if test "${PATH_SEPARATOR+set}" != set; then
2998   echo "#! /bin/sh" >conf$$.sh
2999   echo  "exit 0"   >>conf$$.sh
3000   chmod +x conf$$.sh
3001   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3002     PATH_SEPARATOR=';'
3003   else
3004     PATH_SEPARATOR=:
3005   fi
3006   rm -f conf$$.sh
3007 fi
3008
3009 # Find out how to test for executable files. Don't use a zero-byte file,
3010 # as systems may use methods other than mode bits to determine executability.
3011 cat >conf$$.file <<_ASEOF
3012 #! /bin/sh
3013 exit 0
3014 _ASEOF
3015 chmod +x conf$$.file
3016 if test -x conf$$.file >/dev/null 2>&1; then
3017   ac_executable_p="test -x"
3018 else
3019   ac_executable_p="test -f"
3020 fi
3021 rm -f conf$$.file
3022
3023 # Extract the first word of "xgettext", so it can be a program name with args.
3024 set dummy xgettext; ac_word=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if ${ac_cv_path_XGETTEXT+:} false; then :
3028   $as_echo_n "(cached) " >&6
3029 else
3030   case "$XGETTEXT" in
3031   [\\/]* | ?:[\\/]*)
3032     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3033     ;;
3034   *)
3035     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3036     for ac_dir in $PATH; do
3037       IFS="$ac_save_IFS"
3038       test -z "$ac_dir" && ac_dir=.
3039       for ac_exec_ext in '' $ac_executable_extensions; do
3040         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3041           echo "$as_me: trying $ac_dir/$ac_word..." >&5
3042           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
3043      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3044             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3045             break 2
3046           fi
3047         fi
3048       done
3049     done
3050     IFS="$ac_save_IFS"
3051   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3052     ;;
3053 esac
3054 fi
3055 XGETTEXT="$ac_cv_path_XGETTEXT"
3056 if test "$XGETTEXT" != ":"; then
3057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3058 $as_echo "$XGETTEXT" >&6; }
3059 else
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3062 fi
3063
3064     rm -f messages.po
3065
3066     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
3067     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
3068     *) XGETTEXT_015=$XGETTEXT ;;
3069   esac
3070
3071
3072
3073 # Prepare PATH_SEPARATOR.
3074 # The user is always right.
3075 if test "${PATH_SEPARATOR+set}" != set; then
3076   echo "#! /bin/sh" >conf$$.sh
3077   echo  "exit 0"   >>conf$$.sh
3078   chmod +x conf$$.sh
3079   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3080     PATH_SEPARATOR=';'
3081   else
3082     PATH_SEPARATOR=:
3083   fi
3084   rm -f conf$$.sh
3085 fi
3086
3087 # Find out how to test for executable files. Don't use a zero-byte file,
3088 # as systems may use methods other than mode bits to determine executability.
3089 cat >conf$$.file <<_ASEOF
3090 #! /bin/sh
3091 exit 0
3092 _ASEOF
3093 chmod +x conf$$.file
3094 if test -x conf$$.file >/dev/null 2>&1; then
3095   ac_executable_p="test -x"
3096 else
3097   ac_executable_p="test -f"
3098 fi
3099 rm -f conf$$.file
3100
3101 # Extract the first word of "msgmerge", so it can be a program name with args.
3102 set dummy msgmerge; ac_word=$2
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3104 $as_echo_n "checking for $ac_word... " >&6; }
3105 if ${ac_cv_path_MSGMERGE+:} false; then :
3106   $as_echo_n "(cached) " >&6
3107 else
3108   case "$MSGMERGE" in
3109   [\\/]* | ?:[\\/]*)
3110     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3111     ;;
3112   *)
3113     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3114     for ac_dir in $PATH; do
3115       IFS="$ac_save_IFS"
3116       test -z "$ac_dir" && ac_dir=.
3117       for ac_exec_ext in '' $ac_executable_extensions; do
3118         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3119           echo "$as_me: trying $ac_dir/$ac_word..." >&5
3120           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
3121             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
3122             break 2
3123           fi
3124         fi
3125       done
3126     done
3127     IFS="$ac_save_IFS"
3128   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
3129     ;;
3130 esac
3131 fi
3132 MSGMERGE="$ac_cv_path_MSGMERGE"
3133 if test "$MSGMERGE" != ":"; then
3134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3135 $as_echo "$MSGMERGE" >&6; }
3136 else
3137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3139 fi
3140
3141
3142         test -n "$localedir" || localedir='${datadir}/locale'
3143
3144
3145     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
3146
3147
3148   ac_config_commands="$ac_config_commands po-directories"
3149
3150
3151
3152       if test "X$prefix" = "XNONE"; then
3153     acl_final_prefix="$ac_default_prefix"
3154   else
3155     acl_final_prefix="$prefix"
3156   fi
3157   if test "X$exec_prefix" = "XNONE"; then
3158     acl_final_exec_prefix='${prefix}'
3159   else
3160     acl_final_exec_prefix="$exec_prefix"
3161   fi
3162   acl_save_prefix="$prefix"
3163   prefix="$acl_final_prefix"
3164   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
3165   prefix="$acl_save_prefix"
3166
3167 DEPDIR="${am__leading_dot}deps"
3168
3169 ac_config_commands="$ac_config_commands depfiles"
3170
3171
3172 am_make=${MAKE-make}
3173 cat > confinc << 'END'
3174 am__doit:
3175         @echo this is the am__doit target
3176 .PHONY: am__doit
3177 END
3178 # If we don't find an include directive, just comment out the code.
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3180 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3181 am__include="#"
3182 am__quote=
3183 _am_result=none
3184 # First try GNU make style include.
3185 echo "include confinc" > confmf
3186 # Ignore all kinds of additional output from 'make'.
3187 case `$am_make -s -f confmf 2> /dev/null` in #(
3188 *the\ am__doit\ target*)
3189   am__include=include
3190   am__quote=
3191   _am_result=GNU
3192   ;;
3193 esac
3194 # Now try BSD make style include.
3195 if test "$am__include" = "#"; then
3196    echo '.include "confinc"' > confmf
3197    case `$am_make -s -f confmf 2> /dev/null` in #(
3198    *the\ am__doit\ target*)
3199      am__include=.include
3200      am__quote="\""
3201      _am_result=BSD
3202      ;;
3203    esac
3204 fi
3205
3206
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3208 $as_echo "$_am_result" >&6; }
3209 rm -f confinc confmf
3210
3211 # Check whether --enable-dependency-tracking was given.
3212 if test "${enable_dependency_tracking+set}" = set; then :
3213   enableval=$enable_dependency_tracking;
3214 fi
3215
3216 if test "x$enable_dependency_tracking" != xno; then
3217   am_depcomp="$ac_aux_dir/depcomp"
3218   AMDEPBACKSLASH='\'
3219   am__nodep='_no'
3220 fi
3221  if test "x$enable_dependency_tracking" != xno; then
3222   AMDEP_TRUE=
3223   AMDEP_FALSE='#'
3224 else
3225   AMDEP_TRUE='#'
3226   AMDEP_FALSE=
3227 fi
3228
3229
3230 ac_ext=c
3231 ac_cpp='$CPP $CPPFLAGS'
3232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3235 if test -n "$ac_tool_prefix"; then
3236   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3237 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239 $as_echo_n "checking for $ac_word... " >&6; }
3240 if ${ac_cv_prog_CC+:} false; then :
3241   $as_echo_n "(cached) " >&6
3242 else
3243   if test -n "$CC"; then
3244   ac_cv_prog_CC="$CC" # Let the user override the test.
3245 else
3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3247 for as_dir in $PATH
3248 do
3249   IFS=$as_save_IFS
3250   test -z "$as_dir" && as_dir=.
3251     for ac_exec_ext in '' $ac_executable_extensions; do
3252   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3253     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3254     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3255     break 2
3256   fi
3257 done
3258   done
3259 IFS=$as_save_IFS
3260
3261 fi
3262 fi
3263 CC=$ac_cv_prog_CC
3264 if test -n "$CC"; then
3265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3266 $as_echo "$CC" >&6; }
3267 else
3268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3269 $as_echo "no" >&6; }
3270 fi
3271
3272
3273 fi
3274 if test -z "$ac_cv_prog_CC"; then
3275   ac_ct_CC=$CC
3276   # Extract the first word of "gcc", so it can be a program name with args.
3277 set dummy gcc; ac_word=$2
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3279 $as_echo_n "checking for $ac_word... " >&6; }
3280 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3281   $as_echo_n "(cached) " >&6
3282 else
3283   if test -n "$ac_ct_CC"; then
3284   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3285 else
3286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287 for as_dir in $PATH
3288 do
3289   IFS=$as_save_IFS
3290   test -z "$as_dir" && as_dir=.
3291     for ac_exec_ext in '' $ac_executable_extensions; do
3292   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3293     ac_cv_prog_ac_ct_CC="gcc"
3294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3295     break 2
3296   fi
3297 done
3298   done
3299 IFS=$as_save_IFS
3300
3301 fi
3302 fi
3303 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3304 if test -n "$ac_ct_CC"; then
3305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3306 $as_echo "$ac_ct_CC" >&6; }
3307 else
3308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309 $as_echo "no" >&6; }
3310 fi
3311
3312   if test "x$ac_ct_CC" = x; then
3313     CC=""
3314   else
3315     case $cross_compiling:$ac_tool_warned in
3316 yes:)
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3319 ac_tool_warned=yes ;;
3320 esac
3321     CC=$ac_ct_CC
3322   fi
3323 else
3324   CC="$ac_cv_prog_CC"
3325 fi
3326
3327 if test -z "$CC"; then
3328           if test -n "$ac_tool_prefix"; then
3329     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3330 set dummy ${ac_tool_prefix}cc; ac_word=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if ${ac_cv_prog_CC+:} false; then :
3334   $as_echo_n "(cached) " >&6
3335 else
3336   if test -n "$CC"; then
3337   ac_cv_prog_CC="$CC" # Let the user override the test.
3338 else
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 for as_dir in $PATH
3341 do
3342   IFS=$as_save_IFS
3343   test -z "$as_dir" && as_dir=.
3344     for ac_exec_ext in '' $ac_executable_extensions; do
3345   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3346     ac_cv_prog_CC="${ac_tool_prefix}cc"
3347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3348     break 2
3349   fi
3350 done
3351   done
3352 IFS=$as_save_IFS
3353
3354 fi
3355 fi
3356 CC=$ac_cv_prog_CC
3357 if test -n "$CC"; then
3358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3359 $as_echo "$CC" >&6; }
3360 else
3361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3363 fi
3364
3365
3366   fi
3367 fi
3368 if test -z "$CC"; then
3369   # Extract the first word of "cc", so it can be a program name with args.
3370 set dummy cc; ac_word=$2
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372 $as_echo_n "checking for $ac_word... " >&6; }
3373 if ${ac_cv_prog_CC+:} false; then :
3374   $as_echo_n "(cached) " >&6
3375 else
3376   if test -n "$CC"; then
3377   ac_cv_prog_CC="$CC" # Let the user override the test.
3378 else
3379   ac_prog_rejected=no
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 for as_dir in $PATH
3382 do
3383   IFS=$as_save_IFS
3384   test -z "$as_dir" && as_dir=.
3385     for ac_exec_ext in '' $ac_executable_extensions; do
3386   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3387     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3388        ac_prog_rejected=yes
3389        continue
3390      fi
3391     ac_cv_prog_CC="cc"
3392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3393     break 2
3394   fi
3395 done
3396   done
3397 IFS=$as_save_IFS
3398
3399 if test $ac_prog_rejected = yes; then
3400   # We found a bogon in the path, so make sure we never use it.
3401   set dummy $ac_cv_prog_CC
3402   shift
3403   if test $# != 0; then
3404     # We chose a different compiler from the bogus one.
3405     # However, it has the same basename, so the bogon will be chosen
3406     # first if we set CC to just the basename; use the full file name.
3407     shift
3408     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3409   fi
3410 fi
3411 fi
3412 fi
3413 CC=$ac_cv_prog_CC
3414 if test -n "$CC"; then
3415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3416 $as_echo "$CC" >&6; }
3417 else
3418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3419 $as_echo "no" >&6; }
3420 fi
3421
3422
3423 fi
3424 if test -z "$CC"; then
3425   if test -n "$ac_tool_prefix"; then
3426   for ac_prog in cl.exe
3427   do
3428     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if ${ac_cv_prog_CC+:} false; then :
3433   $as_echo_n "(cached) " >&6
3434 else
3435   if test -n "$CC"; then
3436   ac_cv_prog_CC="$CC" # Let the user override the test.
3437 else
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 for as_dir in $PATH
3440 do
3441   IFS=$as_save_IFS
3442   test -z "$as_dir" && as_dir=.
3443     for ac_exec_ext in '' $ac_executable_extensions; do
3444   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3445     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447     break 2
3448   fi
3449 done
3450   done
3451 IFS=$as_save_IFS
3452
3453 fi
3454 fi
3455 CC=$ac_cv_prog_CC
3456 if test -n "$CC"; then
3457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3458 $as_echo "$CC" >&6; }
3459 else
3460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 $as_echo "no" >&6; }
3462 fi
3463
3464
3465     test -n "$CC" && break
3466   done
3467 fi
3468 if test -z "$CC"; then
3469   ac_ct_CC=$CC
3470   for ac_prog in cl.exe
3471 do
3472   # Extract the first word of "$ac_prog", so it can be a program name with args.
3473 set dummy $ac_prog; ac_word=$2
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3475 $as_echo_n "checking for $ac_word... " >&6; }
3476 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3477   $as_echo_n "(cached) " >&6
3478 else
3479   if test -n "$ac_ct_CC"; then
3480   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3481 else
3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483 for as_dir in $PATH
3484 do
3485   IFS=$as_save_IFS
3486   test -z "$as_dir" && as_dir=.
3487     for ac_exec_ext in '' $ac_executable_extensions; do
3488   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3489     ac_cv_prog_ac_ct_CC="$ac_prog"
3490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3491     break 2
3492   fi
3493 done
3494   done
3495 IFS=$as_save_IFS
3496
3497 fi
3498 fi
3499 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3500 if test -n "$ac_ct_CC"; then
3501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3502 $as_echo "$ac_ct_CC" >&6; }
3503 else
3504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505 $as_echo "no" >&6; }
3506 fi
3507
3508
3509   test -n "$ac_ct_CC" && break
3510 done
3511
3512   if test "x$ac_ct_CC" = x; then
3513     CC=""
3514   else
3515     case $cross_compiling:$ac_tool_warned in
3516 yes:)
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3519 ac_tool_warned=yes ;;
3520 esac
3521     CC=$ac_ct_CC
3522   fi
3523 fi
3524
3525 fi
3526
3527
3528 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3530 as_fn_error $? "no acceptable C compiler found in \$PATH
3531 See \`config.log' for more details" "$LINENO" 5; }
3532
3533 # Provide some information about the compiler.
3534 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3535 set X $ac_compile
3536 ac_compiler=$2
3537 for ac_option in --version -v -V -qversion; do
3538   { { ac_try="$ac_compiler $ac_option >&5"
3539 case "(($ac_try" in
3540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541   *) ac_try_echo=$ac_try;;
3542 esac
3543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3544 $as_echo "$ac_try_echo"; } >&5
3545   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3546   ac_status=$?
3547   if test -s conftest.err; then
3548     sed '10a\
3549 ... rest of stderr output deleted ...
3550          10q' conftest.err >conftest.er1
3551     cat conftest.er1 >&5
3552   fi
3553   rm -f conftest.er1 conftest.err
3554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3555   test $ac_status = 0; }
3556 done
3557
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h.  */
3560
3561 int
3562 main ()
3563 {
3564
3565   ;
3566   return 0;
3567 }
3568 _ACEOF
3569 ac_clean_files_save=$ac_clean_files
3570 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3571 # Try to create an executable without -o first, disregard a.out.
3572 # It will help us diagnose broken compilers, and finding out an intuition
3573 # of exeext.
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3575 $as_echo_n "checking whether the C compiler works... " >&6; }
3576 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3577
3578 # The possible output files:
3579 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3580
3581 ac_rmfiles=
3582 for ac_file in $ac_files
3583 do
3584   case $ac_file in
3585     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3586     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3587   esac
3588 done
3589 rm -f $ac_rmfiles
3590
3591 if { { ac_try="$ac_link_default"
3592 case "(($ac_try" in
3593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3594   *) ac_try_echo=$ac_try;;
3595 esac
3596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3597 $as_echo "$ac_try_echo"; } >&5
3598   (eval "$ac_link_default") 2>&5
3599   ac_status=$?
3600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3601   test $ac_status = 0; }; then :
3602   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3603 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3604 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3605 # so that the user can short-circuit this test for compilers unknown to
3606 # Autoconf.
3607 for ac_file in $ac_files ''
3608 do
3609   test -f "$ac_file" || continue
3610   case $ac_file in
3611     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3612         ;;
3613     [ab].out )
3614         # We found the default executable, but exeext='' is most
3615         # certainly right.
3616         break;;
3617     *.* )
3618         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3619         then :; else
3620            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3621         fi
3622         # We set ac_cv_exeext here because the later test for it is not
3623         # safe: cross compilers may not add the suffix if given an `-o'
3624         # argument, so we may need to know it at that point already.
3625         # Even if this section looks crufty: it has the advantage of
3626         # actually working.
3627         break;;
3628     * )
3629         break;;
3630   esac
3631 done
3632 test "$ac_cv_exeext" = no && ac_cv_exeext=
3633
3634 else
3635   ac_file=''
3636 fi
3637 if test -z "$ac_file"; then :
3638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 $as_echo "no" >&6; }
3640 $as_echo "$as_me: failed program was:" >&5
3641 sed 's/^/| /' conftest.$ac_ext >&5
3642
3643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3645 as_fn_error 77 "C compiler cannot create executables
3646 See \`config.log' for more details" "$LINENO" 5; }
3647 else
3648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3649 $as_echo "yes" >&6; }
3650 fi
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3652 $as_echo_n "checking for C compiler default output file name... " >&6; }
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3654 $as_echo "$ac_file" >&6; }
3655 ac_exeext=$ac_cv_exeext
3656
3657 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3658 ac_clean_files=$ac_clean_files_save
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3660 $as_echo_n "checking for suffix of executables... " >&6; }
3661 if { { ac_try="$ac_link"
3662 case "(($ac_try" in
3663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3664   *) ac_try_echo=$ac_try;;
3665 esac
3666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3667 $as_echo "$ac_try_echo"; } >&5
3668   (eval "$ac_link") 2>&5
3669   ac_status=$?
3670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3671   test $ac_status = 0; }; then :
3672   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3673 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3674 # work properly (i.e., refer to `conftest.exe'), while it won't with
3675 # `rm'.
3676 for ac_file in conftest.exe conftest conftest.*; do
3677   test -f "$ac_file" || continue
3678   case $ac_file in
3679     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3680     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3681           break;;
3682     * ) break;;
3683   esac
3684 done
3685 else
3686   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3688 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3689 See \`config.log' for more details" "$LINENO" 5; }
3690 fi
3691 rm -f conftest conftest$ac_cv_exeext
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3693 $as_echo "$ac_cv_exeext" >&6; }
3694
3695 rm -f conftest.$ac_ext
3696 EXEEXT=$ac_cv_exeext
3697 ac_exeext=$EXEEXT
3698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h.  */
3700 #include <stdio.h>
3701 int
3702 main ()
3703 {
3704 FILE *f = fopen ("conftest.out", "w");
3705  return ferror (f) || fclose (f) != 0;
3706
3707   ;
3708   return 0;
3709 }
3710 _ACEOF
3711 ac_clean_files="$ac_clean_files conftest.out"
3712 # Check that the compiler produces executables we can run.  If not, either
3713 # the compiler is broken, or we cross compile.
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3715 $as_echo_n "checking whether we are cross compiling... " >&6; }
3716 if test "$cross_compiling" != yes; then
3717   { { ac_try="$ac_link"
3718 case "(($ac_try" in
3719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3720   *) ac_try_echo=$ac_try;;
3721 esac
3722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3723 $as_echo "$ac_try_echo"; } >&5
3724   (eval "$ac_link") 2>&5
3725   ac_status=$?
3726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3727   test $ac_status = 0; }
3728   if { ac_try='./conftest$ac_cv_exeext'
3729   { { case "(($ac_try" in
3730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3731   *) ac_try_echo=$ac_try;;
3732 esac
3733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3734 $as_echo "$ac_try_echo"; } >&5
3735   (eval "$ac_try") 2>&5
3736   ac_status=$?
3737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3738   test $ac_status = 0; }; }; then
3739     cross_compiling=no
3740   else
3741     if test "$cross_compiling" = maybe; then
3742         cross_compiling=yes
3743     else
3744         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3746 as_fn_error $? "cannot run C compiled programs.
3747 If you meant to cross compile, use \`--host'.
3748 See \`config.log' for more details" "$LINENO" 5; }
3749     fi
3750   fi
3751 fi
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3753 $as_echo "$cross_compiling" >&6; }
3754
3755 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3756 ac_clean_files=$ac_clean_files_save
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3758 $as_echo_n "checking for suffix of object files... " >&6; }
3759 if ${ac_cv_objext+:} false; then :
3760   $as_echo_n "(cached) " >&6
3761 else
3762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763 /* end confdefs.h.  */
3764
3765 int
3766 main ()
3767 {
3768
3769   ;
3770   return 0;
3771 }
3772 _ACEOF
3773 rm -f conftest.o conftest.obj
3774 if { { ac_try="$ac_compile"
3775 case "(($ac_try" in
3776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3777   *) ac_try_echo=$ac_try;;
3778 esac
3779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3780 $as_echo "$ac_try_echo"; } >&5
3781   (eval "$ac_compile") 2>&5
3782   ac_status=$?
3783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3784   test $ac_status = 0; }; then :
3785   for ac_file in conftest.o conftest.obj conftest.*; do
3786   test -f "$ac_file" || continue;
3787   case $ac_file in
3788     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3789     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3790        break;;
3791   esac
3792 done
3793 else
3794   $as_echo "$as_me: failed program was:" >&5
3795 sed 's/^/| /' conftest.$ac_ext >&5
3796
3797 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3799 as_fn_error $? "cannot compute suffix of object files: cannot compile
3800 See \`config.log' for more details" "$LINENO" 5; }
3801 fi
3802 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3803 fi
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3805 $as_echo "$ac_cv_objext" >&6; }
3806 OBJEXT=$ac_cv_objext
3807 ac_objext=$OBJEXT
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3809 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3810 if ${ac_cv_c_compiler_gnu+:} false; then :
3811   $as_echo_n "(cached) " >&6
3812 else
3813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3814 /* end confdefs.h.  */
3815
3816 int
3817 main ()
3818 {
3819 #ifndef __GNUC__
3820        choke me
3821 #endif
3822
3823   ;
3824   return 0;
3825 }
3826 _ACEOF
3827 if ac_fn_c_try_compile "$LINENO"; then :
3828   ac_compiler_gnu=yes
3829 else
3830   ac_compiler_gnu=no
3831 fi
3832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3833 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3834
3835 fi
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3837 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3838 if test $ac_compiler_gnu = yes; then
3839   GCC=yes
3840 else
3841   GCC=
3842 fi
3843 ac_test_CFLAGS=${CFLAGS+set}
3844 ac_save_CFLAGS=$CFLAGS
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3846 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3847 if ${ac_cv_prog_cc_g+:} false; then :
3848   $as_echo_n "(cached) " >&6
3849 else
3850   ac_save_c_werror_flag=$ac_c_werror_flag
3851    ac_c_werror_flag=yes
3852    ac_cv_prog_cc_g=no
3853    CFLAGS="-g"
3854    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h.  */
3856
3857 int
3858 main ()
3859 {
3860
3861   ;
3862   return 0;
3863 }
3864 _ACEOF
3865 if ac_fn_c_try_compile "$LINENO"; then :
3866   ac_cv_prog_cc_g=yes
3867 else
3868   CFLAGS=""
3869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h.  */
3871
3872 int
3873 main ()
3874 {
3875
3876   ;
3877   return 0;
3878 }
3879 _ACEOF
3880 if ac_fn_c_try_compile "$LINENO"; then :
3881
3882 else
3883   ac_c_werror_flag=$ac_save_c_werror_flag
3884          CFLAGS="-g"
3885          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886 /* end confdefs.h.  */
3887
3888 int
3889 main ()
3890 {
3891
3892   ;
3893   return 0;
3894 }
3895 _ACEOF
3896 if ac_fn_c_try_compile "$LINENO"; then :
3897   ac_cv_prog_cc_g=yes
3898 fi
3899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 fi
3901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3902 fi
3903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3904    ac_c_werror_flag=$ac_save_c_werror_flag
3905 fi
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3907 $as_echo "$ac_cv_prog_cc_g" >&6; }
3908 if test "$ac_test_CFLAGS" = set; then
3909   CFLAGS=$ac_save_CFLAGS
3910 elif test $ac_cv_prog_cc_g = yes; then
3911   if test "$GCC" = yes; then
3912     CFLAGS="-g -O2"
3913   else
3914     CFLAGS="-g"
3915   fi
3916 else
3917   if test "$GCC" = yes; then
3918     CFLAGS="-O2"
3919   else
3920     CFLAGS=
3921   fi
3922 fi
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3924 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3925 if ${ac_cv_prog_cc_c89+:} false; then :
3926   $as_echo_n "(cached) " >&6
3927 else
3928   ac_cv_prog_cc_c89=no
3929 ac_save_CC=$CC
3930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3931 /* end confdefs.h.  */
3932 #include <stdarg.h>
3933 #include <stdio.h>
3934 struct stat;
3935 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3936 struct buf { int x; };
3937 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3938 static char *e (p, i)
3939      char **p;
3940      int i;
3941 {
3942   return p[i];
3943 }
3944 static char *f (char * (*g) (char **, int), char **p, ...)
3945 {
3946   char *s;
3947   va_list v;
3948   va_start (v,p);
3949   s = g (p, va_arg (v,int));
3950   va_end (v);
3951   return s;
3952 }
3953
3954 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3955    function prototypes and stuff, but not '\xHH' hex character constants.
3956    These don't provoke an error unfortunately, instead are silently treated
3957    as 'x'.  The following induces an error, until -std is added to get
3958    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3959    array size at least.  It's necessary to write '\x00'==0 to get something
3960    that's true only with -std.  */
3961 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3962
3963 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3964    inside strings and character constants.  */
3965 #define FOO(x) 'x'
3966 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3967
3968 int test (int i, double x);
3969 struct s1 {int (*f) (int a);};
3970 struct s2 {int (*f) (double a);};
3971 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3972 int argc;
3973 char **argv;
3974 int
3975 main ()
3976 {
3977 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3978   ;
3979   return 0;
3980 }
3981 _ACEOF
3982 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3983         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3984 do
3985   CC="$ac_save_CC $ac_arg"
3986   if ac_fn_c_try_compile "$LINENO"; then :
3987   ac_cv_prog_cc_c89=$ac_arg
3988 fi
3989 rm -f core conftest.err conftest.$ac_objext
3990   test "x$ac_cv_prog_cc_c89" != "xno" && break
3991 done
3992 rm -f conftest.$ac_ext
3993 CC=$ac_save_CC
3994
3995 fi
3996 # AC_CACHE_VAL
3997 case "x$ac_cv_prog_cc_c89" in
3998   x)
3999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4000 $as_echo "none needed" >&6; } ;;
4001   xno)
4002     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4003 $as_echo "unsupported" >&6; } ;;
4004   *)
4005     CC="$CC $ac_cv_prog_cc_c89"
4006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4007 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4008 esac
4009 if test "x$ac_cv_prog_cc_c89" != xno; then :
4010
4011 fi
4012
4013 ac_ext=c
4014 ac_cpp='$CPP $CPPFLAGS'
4015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4018
4019 depcc="$CC"   am_compiler_list=
4020
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4022 $as_echo_n "checking dependency style of $depcc... " >&6; }
4023 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4024   $as_echo_n "(cached) " >&6
4025 else
4026   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4027   # We make a subdir and do the tests there.  Otherwise we can end up
4028   # making bogus files that we don't know about and never remove.  For
4029   # instance it was reported that on HP-UX the gcc test will end up
4030   # making a dummy file named 'D' -- because '-MD' means "put the output
4031   # in D".
4032   rm -rf conftest.dir
4033   mkdir conftest.dir
4034   # Copy depcomp to subdir because otherwise we won't find it if we're
4035   # using a relative directory.
4036   cp "$am_depcomp" conftest.dir
4037   cd conftest.dir
4038   # We will build objects and dependencies in a subdirectory because
4039   # it helps to detect inapplicable dependency modes.  For instance
4040   # both Tru64's cc and ICC support -MD to output dependencies as a
4041   # side effect of compilation, but ICC will put the dependencies in
4042   # the current directory while Tru64 will put them in the object
4043   # directory.
4044   mkdir sub
4045
4046   am_cv_CC_dependencies_compiler_type=none
4047   if test "$am_compiler_list" = ""; then
4048      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4049   fi
4050   am__universal=false
4051   case " $depcc " in #(
4052      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4053      esac
4054
4055   for depmode in $am_compiler_list; do
4056     # Setup a source with many dependencies, because some compilers
4057     # like to wrap large dependency lists on column 80 (with \), and
4058     # we should not choose a depcomp mode which is confused by this.
4059     #
4060     # We need to recreate these files for each test, as the compiler may
4061     # overwrite some of them when testing with obscure command lines.
4062     # This happens at least with the AIX C compiler.
4063     : > sub/conftest.c
4064     for i in 1 2 3 4 5 6; do
4065       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4066       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4067       # Solaris 10 /bin/sh.
4068       echo '/* dummy */' > sub/conftst$i.h
4069     done
4070     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4071
4072     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4073     # mode.  It turns out that the SunPro C++ compiler does not properly
4074     # handle '-M -o', and we need to detect this.  Also, some Intel
4075     # versions had trouble with output in subdirs.
4076     am__obj=sub/conftest.${OBJEXT-o}
4077     am__minus_obj="-o $am__obj"
4078     case $depmode in
4079     gcc)
4080       # This depmode causes a compiler race in universal mode.
4081       test "$am__universal" = false || continue
4082       ;;
4083     nosideeffect)
4084       # After this tag, mechanisms are not by side-effect, so they'll
4085       # only be used when explicitly requested.
4086       if test "x$enable_dependency_tracking" = xyes; then
4087         continue
4088       else
4089         break
4090       fi
4091       ;;
4092     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4093       # This compiler won't grok '-c -o', but also, the minuso test has
4094       # not run yet.  These depmodes are late enough in the game, and
4095       # so weak that their functioning should not be impacted.
4096       am__obj=conftest.${OBJEXT-o}
4097       am__minus_obj=
4098       ;;
4099     none) break ;;
4100     esac
4101     if depmode=$depmode \
4102        source=sub/conftest.c object=$am__obj \
4103        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4104        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4105          >/dev/null 2>conftest.err &&
4106        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4107        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4108        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4109        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4110       # icc doesn't choke on unknown options, it will just issue warnings
4111       # or remarks (even with -Werror).  So we grep stderr for any message
4112       # that says an option was ignored or not supported.
4113       # When given -MP, icc 7.0 and 7.1 complain thusly:
4114       #   icc: Command line warning: ignoring option '-M'; no argument required
4115       # The diagnosis changed in icc 8.0:
4116       #   icc: Command line remark: option '-MP' not supported
4117       if (grep 'ignoring option' conftest.err ||
4118           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4119         am_cv_CC_dependencies_compiler_type=$depmode
4120         break
4121       fi
4122     fi
4123   done
4124
4125   cd ..
4126   rm -rf conftest.dir
4127 else
4128   am_cv_CC_dependencies_compiler_type=none
4129 fi
4130
4131 fi
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4133 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4134 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4135
4136  if
4137   test "x$enable_dependency_tracking" != xno \
4138   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4139   am__fastdepCC_TRUE=
4140   am__fastdepCC_FALSE='#'
4141 else
4142   am__fastdepCC_TRUE='#'
4143   am__fastdepCC_FALSE=
4144 fi
4145
4146
4147 # Make sure we can run config.sub.
4148 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4149   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4150
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4152 $as_echo_n "checking build system type... " >&6; }
4153 if ${ac_cv_build+:} false; then :
4154   $as_echo_n "(cached) " >&6
4155 else
4156   ac_build_alias=$build_alias
4157 test "x$ac_build_alias" = x &&
4158   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4159 test "x$ac_build_alias" = x &&
4160   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4161 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4162   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4163
4164 fi
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4166 $as_echo "$ac_cv_build" >&6; }
4167 case $ac_cv_build in
4168 *-*-*) ;;
4169 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4170 esac
4171 build=$ac_cv_build
4172 ac_save_IFS=$IFS; IFS='-'
4173 set x $ac_cv_build
4174 shift
4175 build_cpu=$1
4176 build_vendor=$2
4177 shift; shift
4178 # Remember, the first character of IFS is used to create $*,
4179 # except with old shells:
4180 build_os=$*
4181 IFS=$ac_save_IFS
4182 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4183
4184
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4186 $as_echo_n "checking host system type... " >&6; }
4187 if ${ac_cv_host+:} false; then :
4188   $as_echo_n "(cached) " >&6
4189 else
4190   if test "x$host_alias" = x; then
4191   ac_cv_host=$ac_cv_build
4192 else
4193   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4194     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4195 fi
4196
4197 fi
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4199 $as_echo "$ac_cv_host" >&6; }
4200 case $ac_cv_host in
4201 *-*-*) ;;
4202 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4203 esac
4204 host=$ac_cv_host
4205 ac_save_IFS=$IFS; IFS='-'
4206 set x $ac_cv_host
4207 shift
4208 host_cpu=$1
4209 host_vendor=$2
4210 shift; shift
4211 # Remember, the first character of IFS is used to create $*,
4212 # except with old shells:
4213 host_os=$*
4214 IFS=$ac_save_IFS
4215 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4216
4217
4218
4219 # Check whether --with-gnu-ld was given.
4220 if test "${with_gnu_ld+set}" = set; then :
4221   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4222 else
4223   with_gnu_ld=no
4224 fi
4225
4226 # Prepare PATH_SEPARATOR.
4227 # The user is always right.
4228 if test "${PATH_SEPARATOR+set}" != set; then
4229   echo "#! /bin/sh" >conf$$.sh
4230   echo  "exit 0"   >>conf$$.sh
4231   chmod +x conf$$.sh
4232   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4233     PATH_SEPARATOR=';'
4234   else
4235     PATH_SEPARATOR=:
4236   fi
4237   rm -f conf$$.sh
4238 fi
4239 ac_prog=ld
4240 if test "$GCC" = yes; then
4241   # Check if gcc -print-prog-name=ld gives a path.
4242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4243 $as_echo_n "checking for ld used by GCC... " >&6; }
4244   case $host in
4245   *-*-mingw*)
4246     # gcc leaves a trailing carriage return which upsets mingw
4247     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4248   *)
4249     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4250   esac
4251   case $ac_prog in
4252     # Accept absolute paths.
4253     [\\/]* | [A-Za-z]:[\\/]*)
4254       re_direlt='/[^/][^/]*/\.\./'
4255       # Canonicalize the path of ld
4256       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4257       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4258         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4259       done
4260       test -z "$LD" && LD="$ac_prog"
4261       ;;
4262   "")
4263     # If it fails, then pretend we aren't using GCC.
4264     ac_prog=ld
4265     ;;
4266   *)
4267     # If it is relative, then search for the first ld in PATH.
4268     with_gnu_ld=unknown
4269     ;;
4270   esac
4271 elif test "$with_gnu_ld" = yes; then
4272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4273 $as_echo_n "checking for GNU ld... " >&6; }
4274 else
4275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4276 $as_echo_n "checking for non-GNU ld... " >&6; }
4277 fi
4278 if ${acl_cv_path_LD+:} false; then :
4279   $as_echo_n "(cached) " >&6
4280 else
4281   if test -z "$LD"; then
4282   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4283   for ac_dir in $PATH; do
4284     test -z "$ac_dir" && ac_dir=.
4285     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4286       acl_cv_path_LD="$ac_dir/$ac_prog"
4287       # Check to see if the program is GNU ld.  I'd rather use --version,
4288       # but apparently some GNU ld's only accept -v.
4289       # Break only if it was the GNU/non-GNU ld that we prefer.
4290       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4291       *GNU* | *'with BFD'*)
4292         test "$with_gnu_ld" != no && break ;;
4293       *)
4294         test "$with_gnu_ld" != yes && break ;;
4295       esac
4296     fi
4297   done
4298   IFS="$ac_save_ifs"
4299 else
4300   acl_cv_path_LD="$LD" # Let the user override the test with a path.
4301 fi
4302 fi
4303
4304 LD="$acl_cv_path_LD"
4305 if test -n "$LD"; then
4306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4307 $as_echo "$LD" >&6; }
4308 else
4309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4310 $as_echo "no" >&6; }
4311 fi
4312 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4314 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4315 if ${acl_cv_prog_gnu_ld+:} false; then :
4316   $as_echo_n "(cached) " >&6
4317 else
4318   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4319 case `$LD -v 2>&1 </dev/null` in
4320 *GNU* | *'with BFD'*)
4321   acl_cv_prog_gnu_ld=yes ;;
4322 *)
4323   acl_cv_prog_gnu_ld=no ;;
4324 esac
4325 fi
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4327 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
4328 with_gnu_ld=$acl_cv_prog_gnu_ld
4329
4330
4331
4332
4333                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4334 $as_echo_n "checking for shared library run path origin... " >&6; }
4335 if ${acl_cv_rpath+:} false; then :
4336   $as_echo_n "(cached) " >&6
4337 else
4338
4339     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4340     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4341     . ./conftest.sh
4342     rm -f ./conftest.sh
4343     acl_cv_rpath=done
4344
4345 fi
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4347 $as_echo "$acl_cv_rpath" >&6; }
4348   wl="$acl_cv_wl"
4349   acl_libext="$acl_cv_libext"
4350   acl_shlibext="$acl_cv_shlibext"
4351   acl_libname_spec="$acl_cv_libname_spec"
4352   acl_library_names_spec="$acl_cv_library_names_spec"
4353   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4354   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4355   acl_hardcode_direct="$acl_cv_hardcode_direct"
4356   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
4357     # Check whether --enable-rpath was given.
4358 if test "${enable_rpath+set}" = set; then :
4359   enableval=$enable_rpath; :
4360 else
4361   enable_rpath=yes
4362 fi
4363
4364
4365
4366 ac_ext=c
4367 ac_cpp='$CPP $CPPFLAGS'
4368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4372 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4373 # On Suns, sometimes $CPP names a directory.
4374 if test -n "$CPP" && test -d "$CPP"; then
4375   CPP=
4376 fi
4377 if test -z "$CPP"; then
4378   if ${ac_cv_prog_CPP+:} false; then :
4379   $as_echo_n "(cached) " >&6
4380 else
4381       # Double quotes because CPP needs to be expanded
4382     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4383     do
4384       ac_preproc_ok=false
4385 for ac_c_preproc_warn_flag in '' yes
4386 do
4387   # Use a header file that comes with gcc, so configuring glibc
4388   # with a fresh cross-compiler works.
4389   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4390   # <limits.h> exists even on freestanding compilers.
4391   # On the NeXT, cc -E runs the code through the compiler's parser,
4392   # not just through cpp. "Syntax error" is here to catch this case.
4393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4394 /* end confdefs.h.  */
4395 #ifdef __STDC__
4396 # include <limits.h>
4397 #else
4398 # include <assert.h>
4399 #endif
4400                      Syntax error
4401 _ACEOF
4402 if ac_fn_c_try_cpp "$LINENO"; then :
4403
4404 else
4405   # Broken: fails on valid input.
4406 continue
4407 fi
4408 rm -f conftest.err conftest.i conftest.$ac_ext
4409
4410   # OK, works on sane cases.  Now check whether nonexistent headers
4411   # can be detected and how.
4412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4413 /* end confdefs.h.  */
4414 #include <ac_nonexistent.h>
4415 _ACEOF
4416 if ac_fn_c_try_cpp "$LINENO"; then :
4417   # Broken: success on invalid input.
4418 continue
4419 else
4420   # Passes both tests.
4421 ac_preproc_ok=:
4422 break
4423 fi
4424 rm -f conftest.err conftest.i conftest.$ac_ext
4425
4426 done
4427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4428 rm -f conftest.i conftest.err conftest.$ac_ext
4429 if $ac_preproc_ok; then :
4430   break
4431 fi
4432
4433     done
4434     ac_cv_prog_CPP=$CPP
4435
4436 fi
4437   CPP=$ac_cv_prog_CPP
4438 else
4439   ac_cv_prog_CPP=$CPP
4440 fi
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4442 $as_echo "$CPP" >&6; }
4443 ac_preproc_ok=false
4444 for ac_c_preproc_warn_flag in '' yes
4445 do
4446   # Use a header file that comes with gcc, so configuring glibc
4447   # with a fresh cross-compiler works.
4448   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4449   # <limits.h> exists even on freestanding compilers.
4450   # On the NeXT, cc -E runs the code through the compiler's parser,
4451   # not just through cpp. "Syntax error" is here to catch this case.
4452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4453 /* end confdefs.h.  */
4454 #ifdef __STDC__
4455 # include <limits.h>
4456 #else
4457 # include <assert.h>
4458 #endif
4459                      Syntax error
4460 _ACEOF
4461 if ac_fn_c_try_cpp "$LINENO"; then :
4462
4463 else
4464   # Broken: fails on valid input.
4465 continue
4466 fi
4467 rm -f conftest.err conftest.i conftest.$ac_ext
4468
4469   # OK, works on sane cases.  Now check whether nonexistent headers
4470   # can be detected and how.
4471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472 /* end confdefs.h.  */
4473 #include <ac_nonexistent.h>
4474 _ACEOF
4475 if ac_fn_c_try_cpp "$LINENO"; then :
4476   # Broken: success on invalid input.
4477 continue
4478 else
4479   # Passes both tests.
4480 ac_preproc_ok=:
4481 break
4482 fi
4483 rm -f conftest.err conftest.i conftest.$ac_ext
4484
4485 done
4486 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4487 rm -f conftest.i conftest.err conftest.$ac_ext
4488 if $ac_preproc_ok; then :
4489
4490 else
4491   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4493 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4494 See \`config.log' for more details" "$LINENO" 5; }
4495 fi
4496
4497 ac_ext=c
4498 ac_cpp='$CPP $CPPFLAGS'
4499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4502
4503
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4505 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4506 if ${ac_cv_path_GREP+:} false; then :
4507   $as_echo_n "(cached) " >&6
4508 else
4509   if test -z "$GREP"; then
4510   ac_path_GREP_found=false
4511   # Loop through the user's path and test for each of PROGNAME-LIST
4512   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4514 do
4515   IFS=$as_save_IFS
4516   test -z "$as_dir" && as_dir=.
4517     for ac_prog in grep ggrep; do
4518     for ac_exec_ext in '' $ac_executable_extensions; do
4519       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4520       as_fn_executable_p "$ac_path_GREP" || continue
4521 # Check for GNU ac_path_GREP and select it if it is found.
4522   # Check for GNU $ac_path_GREP
4523 case `"$ac_path_GREP" --version 2>&1` in
4524 *GNU*)
4525   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4526 *)
4527   ac_count=0
4528   $as_echo_n 0123456789 >"conftest.in"
4529   while :
4530   do
4531     cat "conftest.in" "conftest.in" >"conftest.tmp"
4532     mv "conftest.tmp" "conftest.in"
4533     cp "conftest.in" "conftest.nl"
4534     $as_echo 'GREP' >> "conftest.nl"
4535     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4536     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4537     as_fn_arith $ac_count + 1 && ac_count=$as_val
4538     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4539       # Best one so far, save it but keep looking for a better one
4540       ac_cv_path_GREP="$ac_path_GREP"
4541       ac_path_GREP_max=$ac_count
4542     fi
4543     # 10*(2^10) chars as input seems more than enough
4544     test $ac_count -gt 10 && break
4545   done
4546   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4547 esac
4548
4549       $ac_path_GREP_found && break 3
4550     done
4551   done
4552   done
4553 IFS=$as_save_IFS
4554   if test -z "$ac_cv_path_GREP"; then
4555     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4556   fi
4557 else
4558   ac_cv_path_GREP=$GREP
4559 fi
4560
4561 fi
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4563 $as_echo "$ac_cv_path_GREP" >&6; }
4564  GREP="$ac_cv_path_GREP"
4565
4566
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4568 $as_echo_n "checking for egrep... " >&6; }
4569 if ${ac_cv_path_EGREP+:} false; then :
4570   $as_echo_n "(cached) " >&6
4571 else
4572   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4573    then ac_cv_path_EGREP="$GREP -E"
4574    else
4575      if test -z "$EGREP"; then
4576   ac_path_EGREP_found=false
4577   # Loop through the user's path and test for each of PROGNAME-LIST
4578   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4580 do
4581   IFS=$as_save_IFS
4582   test -z "$as_dir" && as_dir=.
4583     for ac_prog in egrep; do
4584     for ac_exec_ext in '' $ac_executable_extensions; do
4585       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4586       as_fn_executable_p "$ac_path_EGREP" || continue
4587 # Check for GNU ac_path_EGREP and select it if it is found.
4588   # Check for GNU $ac_path_EGREP
4589 case `"$ac_path_EGREP" --version 2>&1` in
4590 *GNU*)
4591   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4592 *)
4593   ac_count=0
4594   $as_echo_n 0123456789 >"conftest.in"
4595   while :
4596   do
4597     cat "conftest.in" "conftest.in" >"conftest.tmp"
4598     mv "conftest.tmp" "conftest.in"
4599     cp "conftest.in" "conftest.nl"
4600     $as_echo 'EGREP' >> "conftest.nl"
4601     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4602     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4603     as_fn_arith $ac_count + 1 && ac_count=$as_val
4604     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4605       # Best one so far, save it but keep looking for a better one
4606       ac_cv_path_EGREP="$ac_path_EGREP"
4607       ac_path_EGREP_max=$ac_count
4608     fi
4609     # 10*(2^10) chars as input seems more than enough
4610     test $ac_count -gt 10 && break
4611   done
4612   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4613 esac
4614
4615       $ac_path_EGREP_found && break 3
4616     done
4617   done
4618   done
4619 IFS=$as_save_IFS
4620   if test -z "$ac_cv_path_EGREP"; then
4621     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4622   fi
4623 else
4624   ac_cv_path_EGREP=$EGREP
4625 fi
4626
4627    fi
4628 fi
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4630 $as_echo "$ac_cv_path_EGREP" >&6; }
4631  EGREP="$ac_cv_path_EGREP"
4632
4633
4634
4635
4636   acl_libdirstem=lib
4637   acl_libdirstem2=
4638   case "$host_os" in
4639     solaris*)
4640                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
4641 $as_echo_n "checking for 64-bit host... " >&6; }
4642 if ${gl_cv_solaris_64bit+:} false; then :
4643   $as_echo_n "(cached) " >&6
4644 else
4645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4646 /* end confdefs.h.  */
4647
4648 #ifdef _LP64
4649 sixtyfour bits
4650 #endif
4651
4652 _ACEOF
4653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4654   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
4655   gl_cv_solaris_64bit=yes
4656 else
4657   gl_cv_solaris_64bit=no
4658 fi
4659 rm -f conftest*
4660
4661
4662 fi
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
4664 $as_echo "$gl_cv_solaris_64bit" >&6; }
4665       if test $gl_cv_solaris_64bit = yes; then
4666         acl_libdirstem=lib/64
4667         case "$host_cpu" in
4668           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
4669           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
4670         esac
4671       fi
4672       ;;
4673     *)
4674       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
4675       if test -n "$searchpath"; then
4676         acl_save_IFS="${IFS=    }"; IFS=":"
4677         for searchdir in $searchpath; do
4678           if test -d "$searchdir"; then
4679             case "$searchdir" in
4680               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
4681               */../ | */.. )
4682                 # Better ignore directories of this form. They are misleading.
4683                 ;;
4684               *) searchdir=`cd "$searchdir" && pwd`
4685                  case "$searchdir" in
4686                    */lib64 ) acl_libdirstem=lib64 ;;
4687                  esac ;;
4688             esac
4689           fi
4690         done
4691         IFS="$acl_save_IFS"
4692       fi
4693       ;;
4694   esac
4695   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708     use_additional=yes
4709
4710   acl_save_prefix="$prefix"
4711   prefix="$acl_final_prefix"
4712   acl_save_exec_prefix="$exec_prefix"
4713   exec_prefix="$acl_final_exec_prefix"
4714
4715     eval additional_includedir=\"$includedir\"
4716     eval additional_libdir=\"$libdir\"
4717
4718   exec_prefix="$acl_save_exec_prefix"
4719   prefix="$acl_save_prefix"
4720
4721
4722 # Check whether --with-libiconv-prefix was given.
4723 if test "${with_libiconv_prefix+set}" = set; then :
4724   withval=$with_libiconv_prefix;
4725     if test "X$withval" = "Xno"; then
4726       use_additional=no
4727     else
4728       if test "X$withval" = "X"; then
4729
4730   acl_save_prefix="$prefix"
4731   prefix="$acl_final_prefix"
4732   acl_save_exec_prefix="$exec_prefix"
4733   exec_prefix="$acl_final_exec_prefix"
4734
4735           eval additional_includedir=\"$includedir\"
4736           eval additional_libdir=\"$libdir\"
4737
4738   exec_prefix="$acl_save_exec_prefix"
4739   prefix="$acl_save_prefix"
4740
4741       else
4742         additional_includedir="$withval/include"
4743         additional_libdir="$withval/$acl_libdirstem"
4744         if test "$acl_libdirstem2" != "$acl_libdirstem" \
4745            && ! test -d "$withval/$acl_libdirstem"; then
4746           additional_libdir="$withval/$acl_libdirstem2"
4747         fi
4748       fi
4749     fi
4750
4751 fi
4752
4753       LIBICONV=
4754   LTLIBICONV=
4755   INCICONV=
4756   LIBICONV_PREFIX=
4757       HAVE_LIBICONV=
4758   rpathdirs=
4759   ltrpathdirs=
4760   names_already_handled=
4761   names_next_round='iconv '
4762   while test -n "$names_next_round"; do
4763     names_this_round="$names_next_round"
4764     names_next_round=
4765     for name in $names_this_round; do
4766       already_handled=
4767       for n in $names_already_handled; do
4768         if test "$n" = "$name"; then
4769           already_handled=yes
4770           break
4771         fi
4772       done
4773       if test -z "$already_handled"; then
4774         names_already_handled="$names_already_handled $name"
4775                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4776         eval value=\"\$HAVE_LIB$uppername\"
4777         if test -n "$value"; then
4778           if test "$value" = yes; then
4779             eval value=\"\$LIB$uppername\"
4780             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4781             eval value=\"\$LTLIB$uppername\"
4782             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4783           else
4784                                     :
4785           fi
4786         else
4787                               found_dir=
4788           found_la=
4789           found_so=
4790           found_a=
4791           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
4792           if test -n "$acl_shlibext"; then
4793             shrext=".$acl_shlibext"             # typically: shrext=.so
4794           else
4795             shrext=
4796           fi
4797           if test $use_additional = yes; then
4798             dir="$additional_libdir"
4799                                     if test -n "$acl_shlibext"; then
4800               if test -f "$dir/$libname$shrext"; then
4801                 found_dir="$dir"
4802                 found_so="$dir/$libname$shrext"
4803               else
4804                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4805                   ver=`(cd "$dir" && \
4806                         for f in "$libname$shrext".*; do echo "$f"; done \
4807                         | sed -e "s,^$libname$shrext\\\\.,," \
4808                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4809                         | sed 1q ) 2>/dev/null`
4810                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4811                     found_dir="$dir"
4812                     found_so="$dir/$libname$shrext.$ver"
4813                   fi
4814                 else
4815                   eval library_names=\"$acl_library_names_spec\"
4816                   for f in $library_names; do
4817                     if test -f "$dir/$f"; then
4818                       found_dir="$dir"
4819                       found_so="$dir/$f"
4820                       break
4821                     fi
4822                   done
4823                 fi
4824               fi
4825             fi
4826                         if test "X$found_dir" = "X"; then
4827               if test -f "$dir/$libname.$acl_libext"; then
4828                 found_dir="$dir"
4829                 found_a="$dir/$libname.$acl_libext"
4830               fi
4831             fi
4832             if test "X$found_dir" != "X"; then
4833               if test -f "$dir/$libname.la"; then
4834                 found_la="$dir/$libname.la"
4835               fi
4836             fi
4837           fi
4838           if test "X$found_dir" = "X"; then
4839             for x in $LDFLAGS $LTLIBICONV; do
4840
4841   acl_save_prefix="$prefix"
4842   prefix="$acl_final_prefix"
4843   acl_save_exec_prefix="$exec_prefix"
4844   exec_prefix="$acl_final_exec_prefix"
4845   eval x=\"$x\"
4846   exec_prefix="$acl_save_exec_prefix"
4847   prefix="$acl_save_prefix"
4848
4849               case "$x" in
4850                 -L*)
4851                   dir=`echo "X$x" | sed -e 's/^X-L//'`
4852                                     if test -n "$acl_shlibext"; then
4853                     if test -f "$dir/$libname$shrext"; then
4854                       found_dir="$dir"
4855                       found_so="$dir/$libname$shrext"
4856                     else
4857                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
4858                         ver=`(cd "$dir" && \
4859                               for f in "$libname$shrext".*; do echo "$f"; done \
4860                               | sed -e "s,^$libname$shrext\\\\.,," \
4861                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
4862                               | sed 1q ) 2>/dev/null`
4863                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
4864                           found_dir="$dir"
4865                           found_so="$dir/$libname$shrext.$ver"
4866                         fi
4867                       else
4868                         eval library_names=\"$acl_library_names_spec\"
4869                         for f in $library_names; do
4870                           if test -f "$dir/$f"; then
4871                             found_dir="$dir"
4872                             found_so="$dir/$f"
4873                             break
4874                           fi
4875                         done
4876                       fi
4877                     fi
4878                   fi
4879                                     if test "X$found_dir" = "X"; then
4880                     if test -f "$dir/$libname.$acl_libext"; then
4881                       found_dir="$dir"
4882                       found_a="$dir/$libname.$acl_libext"
4883                     fi
4884                   fi
4885                   if test "X$found_dir" != "X"; then
4886                     if test -f "$dir/$libname.la"; then
4887                       found_la="$dir/$libname.la"
4888                     fi
4889                   fi
4890                   ;;
4891               esac
4892               if test "X$found_dir" != "X"; then
4893                 break
4894               fi
4895             done
4896           fi
4897           if test "X$found_dir" != "X"; then
4898                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
4899             if test "X$found_so" != "X"; then
4900                                                         if test "$enable_rpath" = no \
4901                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
4902                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
4903                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4904               else
4905                                                                                 haveit=
4906                 for x in $ltrpathdirs; do
4907                   if test "X$x" = "X$found_dir"; then
4908                     haveit=yes
4909                     break
4910                   fi
4911                 done
4912                 if test -z "$haveit"; then
4913                   ltrpathdirs="$ltrpathdirs $found_dir"
4914                 fi
4915                                 if test "$acl_hardcode_direct" = yes; then
4916                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4917                 else
4918                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
4919                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4920                                                             haveit=
4921                     for x in $rpathdirs; do
4922                       if test "X$x" = "X$found_dir"; then
4923                         haveit=yes
4924                         break
4925                       fi
4926                     done
4927                     if test -z "$haveit"; then
4928                       rpathdirs="$rpathdirs $found_dir"
4929                     fi
4930                   else
4931                                                                                 haveit=
4932                     for x in $LDFLAGS $LIBICONV; do
4933
4934   acl_save_prefix="$prefix"
4935   prefix="$acl_final_prefix"
4936   acl_save_exec_prefix="$exec_prefix"
4937   exec_prefix="$acl_final_exec_prefix"
4938   eval x=\"$x\"
4939   exec_prefix="$acl_save_exec_prefix"
4940   prefix="$acl_save_prefix"
4941
4942                       if test "X$x" = "X-L$found_dir"; then
4943                         haveit=yes
4944                         break
4945                       fi
4946                     done
4947                     if test -z "$haveit"; then
4948                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
4949                     fi
4950                     if test "$acl_hardcode_minus_L" != no; then
4951                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
4952                     else
4953                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
4954                     fi
4955                   fi
4956                 fi
4957               fi
4958             else
4959               if test "X$found_a" != "X"; then
4960                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
4961               else
4962                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
4963               fi
4964             fi
4965                         additional_includedir=
4966             case "$found_dir" in
4967               */$acl_libdirstem | */$acl_libdirstem/)
4968                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
4969                 if test "$name" = 'iconv'; then
4970                   LIBICONV_PREFIX="$basedir"
4971                 fi
4972                 additional_includedir="$basedir/include"
4973                 ;;
4974               */$acl_libdirstem2 | */$acl_libdirstem2/)
4975                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
4976                 if test "$name" = 'iconv'; then
4977                   LIBICONV_PREFIX="$basedir"
4978                 fi
4979                 additional_includedir="$basedir/include"
4980                 ;;
4981             esac
4982             if test "X$additional_includedir" != "X"; then
4983                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
4984                 haveit=
4985                 if test "X$additional_includedir" = "X/usr/local/include"; then
4986                   if test -n "$GCC"; then
4987                     case $host_os in
4988                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4989                     esac
4990                   fi
4991                 fi
4992                 if test -z "$haveit"; then
4993                   for x in $CPPFLAGS $INCICONV; do
4994
4995   acl_save_prefix="$prefix"
4996   prefix="$acl_final_prefix"
4997   acl_save_exec_prefix="$exec_prefix"
4998   exec_prefix="$acl_final_exec_prefix"
4999   eval x=\"$x\"
5000   exec_prefix="$acl_save_exec_prefix"
5001   prefix="$acl_save_prefix"
5002
5003                     if test "X$x" = "X-I$additional_includedir"; then
5004                       haveit=yes
5005                       break
5006                     fi
5007                   done
5008                   if test -z "$haveit"; then
5009                     if test -d "$additional_includedir"; then
5010                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5011                     fi
5012                   fi
5013                 fi
5014               fi
5015             fi
5016                         if test -n "$found_la"; then
5017                                                         save_libdir="$libdir"
5018               case "$found_la" in
5019                 */* | *\\*) . "$found_la" ;;
5020                 *) . "./$found_la" ;;
5021               esac
5022               libdir="$save_libdir"
5023                             for dep in $dependency_libs; do
5024                 case "$dep" in
5025                   -L*)
5026                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5027                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5028                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5029                       haveit=
5030                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5031                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5032                         if test -n "$GCC"; then
5033                           case $host_os in
5034                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5035                           esac
5036                         fi
5037                       fi
5038                       if test -z "$haveit"; then
5039                         haveit=
5040                         for x in $LDFLAGS $LIBICONV; do
5041
5042   acl_save_prefix="$prefix"
5043   prefix="$acl_final_prefix"
5044   acl_save_exec_prefix="$exec_prefix"
5045   exec_prefix="$acl_final_exec_prefix"
5046   eval x=\"$x\"
5047   exec_prefix="$acl_save_exec_prefix"
5048   prefix="$acl_save_prefix"
5049
5050                           if test "X$x" = "X-L$additional_libdir"; then
5051                             haveit=yes
5052                             break
5053                           fi
5054                         done
5055                         if test -z "$haveit"; then
5056                           if test -d "$additional_libdir"; then
5057                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5058                           fi
5059                         fi
5060                         haveit=
5061                         for x in $LDFLAGS $LTLIBICONV; do
5062
5063   acl_save_prefix="$prefix"
5064   prefix="$acl_final_prefix"
5065   acl_save_exec_prefix="$exec_prefix"
5066   exec_prefix="$acl_final_exec_prefix"
5067   eval x=\"$x\"
5068   exec_prefix="$acl_save_exec_prefix"
5069   prefix="$acl_save_prefix"
5070
5071                           if test "X$x" = "X-L$additional_libdir"; then
5072                             haveit=yes
5073                             break
5074                           fi
5075                         done
5076                         if test -z "$haveit"; then
5077                           if test -d "$additional_libdir"; then
5078                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5079                           fi
5080                         fi
5081                       fi
5082                     fi
5083                     ;;
5084                   -R*)
5085                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
5086                     if test "$enable_rpath" != no; then
5087                                                                   haveit=
5088                       for x in $rpathdirs; do
5089                         if test "X$x" = "X$dir"; then
5090                           haveit=yes
5091                           break
5092                         fi
5093                       done
5094                       if test -z "$haveit"; then
5095                         rpathdirs="$rpathdirs $dir"
5096                       fi
5097                                                                   haveit=
5098                       for x in $ltrpathdirs; do
5099                         if test "X$x" = "X$dir"; then
5100                           haveit=yes
5101                           break
5102                         fi
5103                       done
5104                       if test -z "$haveit"; then
5105                         ltrpathdirs="$ltrpathdirs $dir"
5106                       fi
5107                     fi
5108                     ;;
5109                   -l*)
5110                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5111                     ;;
5112                   *.la)
5113                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5114                     ;;
5115                   *)
5116                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5117                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5118                     ;;
5119                 esac
5120               done
5121             fi
5122           else
5123                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5124             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5125           fi
5126         fi
5127       fi
5128     done
5129   done
5130   if test "X$rpathdirs" != "X"; then
5131     if test -n "$acl_hardcode_libdir_separator"; then
5132                         alldirs=
5133       for found_dir in $rpathdirs; do
5134         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5135       done
5136             acl_save_libdir="$libdir"
5137       libdir="$alldirs"
5138       eval flag=\"$acl_hardcode_libdir_flag_spec\"
5139       libdir="$acl_save_libdir"
5140       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5141     else
5142             for found_dir in $rpathdirs; do
5143         acl_save_libdir="$libdir"
5144         libdir="$found_dir"
5145         eval flag=\"$acl_hardcode_libdir_flag_spec\"
5146         libdir="$acl_save_libdir"
5147         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5148       done
5149     fi
5150   fi
5151   if test "X$ltrpathdirs" != "X"; then
5152             for found_dir in $ltrpathdirs; do
5153       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5154     done
5155   fi
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
5188 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
5189 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
5190   $as_echo_n "(cached) " >&6
5191 else
5192   gt_save_LIBS="$LIBS"
5193      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5194      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5195 /* end confdefs.h.  */
5196 #include <CoreFoundation/CFPreferences.h>
5197 int
5198 main ()
5199 {
5200 CFPreferencesCopyAppValue(NULL, NULL)
5201   ;
5202   return 0;
5203 }
5204 _ACEOF
5205 if ac_fn_c_try_link "$LINENO"; then :
5206   gt_cv_func_CFPreferencesCopyAppValue=yes
5207 else
5208   gt_cv_func_CFPreferencesCopyAppValue=no
5209 fi
5210 rm -f core conftest.err conftest.$ac_objext \
5211     conftest$ac_exeext conftest.$ac_ext
5212      LIBS="$gt_save_LIBS"
5213 fi
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
5215 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
5216   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
5217
5218 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
5219
5220   fi
5221     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
5222 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
5223 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
5224   $as_echo_n "(cached) " >&6
5225 else
5226   gt_save_LIBS="$LIBS"
5227      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
5228      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h.  */
5230 #include <CoreFoundation/CFLocale.h>
5231 int
5232 main ()
5233 {
5234 CFLocaleCopyCurrent();
5235   ;
5236   return 0;
5237 }
5238 _ACEOF
5239 if ac_fn_c_try_link "$LINENO"; then :
5240   gt_cv_func_CFLocaleCopyCurrent=yes
5241 else
5242   gt_cv_func_CFLocaleCopyCurrent=no
5243 fi
5244 rm -f core conftest.err conftest.$ac_objext \
5245     conftest$ac_exeext conftest.$ac_ext
5246      LIBS="$gt_save_LIBS"
5247 fi
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
5249 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
5250   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5251
5252 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
5253
5254   fi
5255   INTL_MACOSX_LIBS=
5256   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
5257     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
5258   fi
5259
5260
5261
5262
5263
5264
5265   LIBINTL=
5266   LTLIBINTL=
5267   POSUB=
5268
5269     case " $gt_needs " in
5270     *" need-formatstring-macros "*) gt_api_version=3 ;;
5271     *" need-ngettext "*) gt_api_version=2 ;;
5272     *) gt_api_version=1 ;;
5273   esac
5274   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
5275   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
5276
5277     if test "$USE_NLS" = "yes"; then
5278     gt_use_preinstalled_gnugettext=no
5279
5280
5281         if test $gt_api_version -ge 3; then
5282           gt_revision_test_code='
5283 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
5284 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
5285 #endif
5286 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
5287 '
5288         else
5289           gt_revision_test_code=
5290         fi
5291         if test $gt_api_version -ge 2; then
5292           gt_expression_test_code=' + * ngettext ("", "", 0)'
5293         else
5294           gt_expression_test_code=
5295         fi
5296
5297         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5298 $as_echo_n "checking for GNU gettext in libc... " >&6; }
5299 if eval \${$gt_func_gnugettext_libc+:} false; then :
5300   $as_echo_n "(cached) " >&6
5301 else
5302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h.  */
5304 #include <libintl.h>
5305 $gt_revision_test_code
5306 extern int _nl_msg_cat_cntr;
5307 extern int *_nl_domain_bindings;
5308 int
5309 main ()
5310 {
5311 bindtextdomain ("", "");
5312 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
5313   ;
5314   return 0;
5315 }
5316 _ACEOF
5317 if ac_fn_c_try_link "$LINENO"; then :
5318   eval "$gt_func_gnugettext_libc=yes"
5319 else
5320   eval "$gt_func_gnugettext_libc=no"
5321 fi
5322 rm -f core conftest.err conftest.$ac_objext \
5323     conftest$ac_exeext conftest.$ac_ext
5324 fi
5325 eval ac_res=\$$gt_func_gnugettext_libc
5326                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5327 $as_echo "$ac_res" >&6; }
5328
5329         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
5330
5331
5332
5333
5334
5335           am_save_CPPFLAGS="$CPPFLAGS"
5336
5337   for element in $INCICONV; do
5338     haveit=
5339     for x in $CPPFLAGS; do
5340
5341   acl_save_prefix="$prefix"
5342   prefix="$acl_final_prefix"
5343   acl_save_exec_prefix="$exec_prefix"
5344   exec_prefix="$acl_final_exec_prefix"
5345   eval x=\"$x\"
5346   exec_prefix="$acl_save_exec_prefix"
5347   prefix="$acl_save_prefix"
5348
5349       if test "X$x" = "X$element"; then
5350         haveit=yes
5351         break
5352       fi
5353     done
5354     if test -z "$haveit"; then
5355       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5356     fi
5357   done
5358
5359
5360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5361 $as_echo_n "checking for iconv... " >&6; }
5362 if ${am_cv_func_iconv+:} false; then :
5363   $as_echo_n "(cached) " >&6
5364 else
5365
5366     am_cv_func_iconv="no, consider installing GNU libiconv"
5367     am_cv_lib_iconv=no
5368     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h.  */
5370 #include <stdlib.h>
5371 #include <iconv.h>
5372 int
5373 main ()
5374 {
5375 iconv_t cd = iconv_open("","");
5376        iconv(cd,NULL,NULL,NULL,NULL);
5377        iconv_close(cd);
5378   ;
5379   return 0;
5380 }
5381 _ACEOF
5382 if ac_fn_c_try_link "$LINENO"; then :
5383   am_cv_func_iconv=yes
5384 fi
5385 rm -f core conftest.err conftest.$ac_objext \
5386     conftest$ac_exeext conftest.$ac_ext
5387     if test "$am_cv_func_iconv" != yes; then
5388       am_save_LIBS="$LIBS"
5389       LIBS="$LIBS $LIBICONV"
5390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h.  */
5392 #include <stdlib.h>
5393 #include <iconv.h>
5394 int
5395 main ()
5396 {
5397 iconv_t cd = iconv_open("","");
5398          iconv(cd,NULL,NULL,NULL,NULL);
5399          iconv_close(cd);
5400   ;
5401   return 0;
5402 }
5403 _ACEOF
5404 if ac_fn_c_try_link "$LINENO"; then :
5405   am_cv_lib_iconv=yes
5406         am_cv_func_iconv=yes
5407 fi
5408 rm -f core conftest.err conftest.$ac_objext \
5409     conftest$ac_exeext conftest.$ac_ext
5410       LIBS="$am_save_LIBS"
5411     fi
5412
5413 fi
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5415 $as_echo "$am_cv_func_iconv" >&6; }
5416   if test "$am_cv_func_iconv" = yes; then
5417     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
5418 $as_echo_n "checking for working iconv... " >&6; }
5419 if ${am_cv_func_iconv_works+:} false; then :
5420   $as_echo_n "(cached) " >&6
5421 else
5422
5423             am_save_LIBS="$LIBS"
5424       if test $am_cv_lib_iconv = yes; then
5425         LIBS="$LIBS $LIBICONV"
5426       fi
5427       if test "$cross_compiling" = yes; then :
5428   case "$host_os" in
5429            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
5430            *)            am_cv_func_iconv_works="guessing yes" ;;
5431          esac
5432 else
5433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h.  */
5435
5436 #include <iconv.h>
5437 #include <string.h>
5438 int main ()
5439 {
5440   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
5441      returns.  */
5442   {
5443     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
5444     if (cd_utf8_to_88591 != (iconv_t)(-1))
5445       {
5446         static const char input[] = "\342\202\254"; /* EURO SIGN */
5447         char buf[10];
5448         const char *inptr = input;
5449         size_t inbytesleft = strlen (input);
5450         char *outptr = buf;
5451         size_t outbytesleft = sizeof (buf);
5452         size_t res = iconv (cd_utf8_to_88591,
5453                             (char **) &inptr, &inbytesleft,
5454                             &outptr, &outbytesleft);
5455         if (res == 0)
5456           return 1;
5457       }
5458   }
5459   /* Test against Solaris 10 bug: Failures are not distinguishable from
5460      successful returns.  */
5461   {
5462     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
5463     if (cd_ascii_to_88591 != (iconv_t)(-1))
5464       {
5465         static const char input[] = "\263";
5466         char buf[10];
5467         const char *inptr = input;
5468         size_t inbytesleft = strlen (input);
5469         char *outptr = buf;
5470         size_t outbytesleft = sizeof (buf);
5471         size_t res = iconv (cd_ascii_to_88591,
5472                             (char **) &inptr, &inbytesleft,
5473                             &outptr, &outbytesleft);
5474         if (res == 0)
5475           return 1;
5476       }
5477   }
5478 #if 0 /* This bug could be worked around by the caller.  */
5479   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
5480   {
5481     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
5482     if (cd_88591_to_utf8 != (iconv_t)(-1))
5483       {
5484         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
5485         char buf[50];
5486         const char *inptr = input;
5487         size_t inbytesleft = strlen (input);
5488         char *outptr = buf;
5489         size_t outbytesleft = sizeof (buf);
5490         size_t res = iconv (cd_88591_to_utf8,
5491                             (char **) &inptr, &inbytesleft,
5492                             &outptr, &outbytesleft);
5493         if ((int)res > 0)
5494           return 1;
5495       }
5496   }
5497 #endif
5498   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
5499      provided.  */
5500   if (/* Try standardized names.  */
5501       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
5502       /* Try IRIX, OSF/1 names.  */
5503       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
5504       /* Try AIX names.  */
5505       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
5506       /* Try HP-UX names.  */
5507       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
5508     return 1;
5509   return 0;
5510 }
5511 _ACEOF
5512 if ac_fn_c_try_run "$LINENO"; then :
5513   am_cv_func_iconv_works=yes
5514 else
5515   am_cv_func_iconv_works=no
5516 fi
5517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5518   conftest.$ac_objext conftest.beam conftest.$ac_ext
5519 fi
5520
5521       LIBS="$am_save_LIBS"
5522
5523 fi
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
5525 $as_echo "$am_cv_func_iconv_works" >&6; }
5526     case "$am_cv_func_iconv_works" in
5527       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
5528       *)   am_func_iconv=yes ;;
5529     esac
5530   else
5531     am_func_iconv=no am_cv_lib_iconv=no
5532   fi
5533   if test "$am_func_iconv" = yes; then
5534
5535 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
5536
5537   fi
5538   if test "$am_cv_lib_iconv" = yes; then
5539     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5540 $as_echo_n "checking how to link with libiconv... " >&6; }
5541     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5542 $as_echo "$LIBICONV" >&6; }
5543   else
5544             CPPFLAGS="$am_save_CPPFLAGS"
5545     LIBICONV=
5546     LTLIBICONV=
5547   fi
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559     use_additional=yes
5560
5561   acl_save_prefix="$prefix"
5562   prefix="$acl_final_prefix"
5563   acl_save_exec_prefix="$exec_prefix"
5564   exec_prefix="$acl_final_exec_prefix"
5565
5566     eval additional_includedir=\"$includedir\"
5567     eval additional_libdir=\"$libdir\"
5568
5569   exec_prefix="$acl_save_exec_prefix"
5570   prefix="$acl_save_prefix"
5571
5572
5573 # Check whether --with-libintl-prefix was given.
5574 if test "${with_libintl_prefix+set}" = set; then :
5575   withval=$with_libintl_prefix;
5576     if test "X$withval" = "Xno"; then
5577       use_additional=no
5578     else
5579       if test "X$withval" = "X"; then
5580
5581   acl_save_prefix="$prefix"
5582   prefix="$acl_final_prefix"
5583   acl_save_exec_prefix="$exec_prefix"
5584   exec_prefix="$acl_final_exec_prefix"
5585
5586           eval additional_includedir=\"$includedir\"
5587           eval additional_libdir=\"$libdir\"
5588
5589   exec_prefix="$acl_save_exec_prefix"
5590   prefix="$acl_save_prefix"
5591
5592       else
5593         additional_includedir="$withval/include"
5594         additional_libdir="$withval/$acl_libdirstem"
5595         if test "$acl_libdirstem2" != "$acl_libdirstem" \
5596            && ! test -d "$withval/$acl_libdirstem"; then
5597           additional_libdir="$withval/$acl_libdirstem2"
5598         fi
5599       fi
5600     fi
5601
5602 fi
5603
5604       LIBINTL=
5605   LTLIBINTL=
5606   INCINTL=
5607   LIBINTL_PREFIX=
5608       HAVE_LIBINTL=
5609   rpathdirs=
5610   ltrpathdirs=
5611   names_already_handled=
5612   names_next_round='intl '
5613   while test -n "$names_next_round"; do
5614     names_this_round="$names_next_round"
5615     names_next_round=
5616     for name in $names_this_round; do
5617       already_handled=
5618       for n in $names_already_handled; do
5619         if test "$n" = "$name"; then
5620           already_handled=yes
5621           break
5622         fi
5623       done
5624       if test -z "$already_handled"; then
5625         names_already_handled="$names_already_handled $name"
5626                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5627         eval value=\"\$HAVE_LIB$uppername\"
5628         if test -n "$value"; then
5629           if test "$value" = yes; then
5630             eval value=\"\$LIB$uppername\"
5631             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5632             eval value=\"\$LTLIB$uppername\"
5633             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5634           else
5635                                     :
5636           fi
5637         else
5638                               found_dir=
5639           found_la=
5640           found_so=
5641           found_a=
5642           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
5643           if test -n "$acl_shlibext"; then
5644             shrext=".$acl_shlibext"             # typically: shrext=.so
5645           else
5646             shrext=
5647           fi
5648           if test $use_additional = yes; then
5649             dir="$additional_libdir"
5650                                     if test -n "$acl_shlibext"; then
5651               if test -f "$dir/$libname$shrext"; then
5652                 found_dir="$dir"
5653                 found_so="$dir/$libname$shrext"
5654               else
5655                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5656                   ver=`(cd "$dir" && \
5657                         for f in "$libname$shrext".*; do echo "$f"; done \
5658                         | sed -e "s,^$libname$shrext\\\\.,," \
5659                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5660                         | sed 1q ) 2>/dev/null`
5661                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5662                     found_dir="$dir"
5663                     found_so="$dir/$libname$shrext.$ver"
5664                   fi
5665                 else
5666                   eval library_names=\"$acl_library_names_spec\"
5667                   for f in $library_names; do
5668                     if test -f "$dir/$f"; then
5669                       found_dir="$dir"
5670                       found_so="$dir/$f"
5671                       break
5672                     fi
5673                   done
5674                 fi
5675               fi
5676             fi
5677                         if test "X$found_dir" = "X"; then
5678               if test -f "$dir/$libname.$acl_libext"; then
5679                 found_dir="$dir"
5680                 found_a="$dir/$libname.$acl_libext"
5681               fi
5682             fi
5683             if test "X$found_dir" != "X"; then
5684               if test -f "$dir/$libname.la"; then
5685                 found_la="$dir/$libname.la"
5686               fi
5687             fi
5688           fi
5689           if test "X$found_dir" = "X"; then
5690             for x in $LDFLAGS $LTLIBINTL; do
5691
5692   acl_save_prefix="$prefix"
5693   prefix="$acl_final_prefix"
5694   acl_save_exec_prefix="$exec_prefix"
5695   exec_prefix="$acl_final_exec_prefix"
5696   eval x=\"$x\"
5697   exec_prefix="$acl_save_exec_prefix"
5698   prefix="$acl_save_prefix"
5699
5700               case "$x" in
5701                 -L*)
5702                   dir=`echo "X$x" | sed -e 's/^X-L//'`
5703                                     if test -n "$acl_shlibext"; then
5704                     if test -f "$dir/$libname$shrext"; then
5705                       found_dir="$dir"
5706                       found_so="$dir/$libname$shrext"
5707                     else
5708                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
5709                         ver=`(cd "$dir" && \
5710                               for f in "$libname$shrext".*; do echo "$f"; done \
5711                               | sed -e "s,^$libname$shrext\\\\.,," \
5712                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
5713                               | sed 1q ) 2>/dev/null`
5714                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
5715                           found_dir="$dir"
5716                           found_so="$dir/$libname$shrext.$ver"
5717                         fi
5718                       else
5719                         eval library_names=\"$acl_library_names_spec\"
5720                         for f in $library_names; do
5721                           if test -f "$dir/$f"; then
5722                             found_dir="$dir"
5723                             found_so="$dir/$f"
5724                             break
5725                           fi
5726                         done
5727                       fi
5728                     fi
5729                   fi
5730                                     if test "X$found_dir" = "X"; then
5731                     if test -f "$dir/$libname.$acl_libext"; then
5732                       found_dir="$dir"
5733                       found_a="$dir/$libname.$acl_libext"
5734                     fi
5735                   fi
5736                   if test "X$found_dir" != "X"; then
5737                     if test -f "$dir/$libname.la"; then
5738                       found_la="$dir/$libname.la"
5739                     fi
5740                   fi
5741                   ;;
5742               esac
5743               if test "X$found_dir" != "X"; then
5744                 break
5745               fi
5746             done
5747           fi
5748           if test "X$found_dir" != "X"; then
5749                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5750             if test "X$found_so" != "X"; then
5751                                                         if test "$enable_rpath" = no \
5752                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
5753                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
5754                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5755               else
5756                                                                                 haveit=
5757                 for x in $ltrpathdirs; do
5758                   if test "X$x" = "X$found_dir"; then
5759                     haveit=yes
5760                     break
5761                   fi
5762                 done
5763                 if test -z "$haveit"; then
5764                   ltrpathdirs="$ltrpathdirs $found_dir"
5765                 fi
5766                                 if test "$acl_hardcode_direct" = yes; then
5767                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5768                 else
5769                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
5770                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5771                                                             haveit=
5772                     for x in $rpathdirs; do
5773                       if test "X$x" = "X$found_dir"; then
5774                         haveit=yes
5775                         break
5776                       fi
5777                     done
5778                     if test -z "$haveit"; then
5779                       rpathdirs="$rpathdirs $found_dir"
5780                     fi
5781                   else
5782                                                                                 haveit=
5783                     for x in $LDFLAGS $LIBINTL; do
5784
5785   acl_save_prefix="$prefix"
5786   prefix="$acl_final_prefix"
5787   acl_save_exec_prefix="$exec_prefix"
5788   exec_prefix="$acl_final_exec_prefix"
5789   eval x=\"$x\"
5790   exec_prefix="$acl_save_exec_prefix"
5791   prefix="$acl_save_prefix"
5792
5793                       if test "X$x" = "X-L$found_dir"; then
5794                         haveit=yes
5795                         break
5796                       fi
5797                     done
5798                     if test -z "$haveit"; then
5799                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5800                     fi
5801                     if test "$acl_hardcode_minus_L" != no; then
5802                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5803                     else
5804                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5805                     fi
5806                   fi
5807                 fi
5808               fi
5809             else
5810               if test "X$found_a" != "X"; then
5811                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5812               else
5813                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5814               fi
5815             fi
5816                         additional_includedir=
5817             case "$found_dir" in
5818               */$acl_libdirstem | */$acl_libdirstem/)
5819                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
5820                 if test "$name" = 'intl'; then
5821                   LIBINTL_PREFIX="$basedir"
5822                 fi
5823                 additional_includedir="$basedir/include"
5824                 ;;
5825               */$acl_libdirstem2 | */$acl_libdirstem2/)
5826                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
5827                 if test "$name" = 'intl'; then
5828                   LIBINTL_PREFIX="$basedir"
5829                 fi
5830                 additional_includedir="$basedir/include"
5831                 ;;
5832             esac
5833             if test "X$additional_includedir" != "X"; then
5834                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
5835                 haveit=
5836                 if test "X$additional_includedir" = "X/usr/local/include"; then
5837                   if test -n "$GCC"; then
5838                     case $host_os in
5839                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5840                     esac
5841                   fi
5842                 fi
5843                 if test -z "$haveit"; then
5844                   for x in $CPPFLAGS $INCINTL; do
5845
5846   acl_save_prefix="$prefix"
5847   prefix="$acl_final_prefix"
5848   acl_save_exec_prefix="$exec_prefix"
5849   exec_prefix="$acl_final_exec_prefix"
5850   eval x=\"$x\"
5851   exec_prefix="$acl_save_exec_prefix"
5852   prefix="$acl_save_prefix"
5853
5854                     if test "X$x" = "X-I$additional_includedir"; then
5855                       haveit=yes
5856                       break
5857                     fi
5858                   done
5859                   if test -z "$haveit"; then
5860                     if test -d "$additional_includedir"; then
5861                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5862                     fi
5863                   fi
5864                 fi
5865               fi
5866             fi
5867                         if test -n "$found_la"; then
5868                                                         save_libdir="$libdir"
5869               case "$found_la" in
5870                 */* | *\\*) . "$found_la" ;;
5871                 *) . "./$found_la" ;;
5872               esac
5873               libdir="$save_libdir"
5874                             for dep in $dependency_libs; do
5875                 case "$dep" in
5876                   -L*)
5877                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5878                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
5879                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
5880                       haveit=
5881                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
5882                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
5883                         if test -n "$GCC"; then
5884                           case $host_os in
5885                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
5886                           esac
5887                         fi
5888                       fi
5889                       if test -z "$haveit"; then
5890                         haveit=
5891                         for x in $LDFLAGS $LIBINTL; do
5892
5893   acl_save_prefix="$prefix"
5894   prefix="$acl_final_prefix"
5895   acl_save_exec_prefix="$exec_prefix"
5896   exec_prefix="$acl_final_exec_prefix"
5897   eval x=\"$x\"
5898   exec_prefix="$acl_save_exec_prefix"
5899   prefix="$acl_save_prefix"
5900
5901                           if test "X$x" = "X-L$additional_libdir"; then
5902                             haveit=yes
5903                             break
5904                           fi
5905                         done
5906                         if test -z "$haveit"; then
5907                           if test -d "$additional_libdir"; then
5908                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5909                           fi
5910                         fi
5911                         haveit=
5912                         for x in $LDFLAGS $LTLIBINTL; do
5913
5914   acl_save_prefix="$prefix"
5915   prefix="$acl_final_prefix"
5916   acl_save_exec_prefix="$exec_prefix"
5917   exec_prefix="$acl_final_exec_prefix"
5918   eval x=\"$x\"
5919   exec_prefix="$acl_save_exec_prefix"
5920   prefix="$acl_save_prefix"
5921
5922                           if test "X$x" = "X-L$additional_libdir"; then
5923                             haveit=yes
5924                             break
5925                           fi
5926                         done
5927                         if test -z "$haveit"; then
5928                           if test -d "$additional_libdir"; then
5929                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5930                           fi
5931                         fi
5932                       fi
5933                     fi
5934                     ;;
5935                   -R*)
5936                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
5937                     if test "$enable_rpath" != no; then
5938                                                                   haveit=
5939                       for x in $rpathdirs; do
5940                         if test "X$x" = "X$dir"; then
5941                           haveit=yes
5942                           break
5943                         fi
5944                       done
5945                       if test -z "$haveit"; then
5946                         rpathdirs="$rpathdirs $dir"
5947                       fi
5948                                                                   haveit=
5949                       for x in $ltrpathdirs; do
5950                         if test "X$x" = "X$dir"; then
5951                           haveit=yes
5952                           break
5953                         fi
5954                       done
5955                       if test -z "$haveit"; then
5956                         ltrpathdirs="$ltrpathdirs $dir"
5957                       fi
5958                     fi
5959                     ;;
5960                   -l*)
5961                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5962                     ;;
5963                   *.la)
5964                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5965                     ;;
5966                   *)
5967                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5968                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5969                     ;;
5970                 esac
5971               done
5972             fi
5973           else
5974                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5975             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5976           fi
5977         fi
5978       fi
5979     done
5980   done
5981   if test "X$rpathdirs" != "X"; then
5982     if test -n "$acl_hardcode_libdir_separator"; then
5983                         alldirs=
5984       for found_dir in $rpathdirs; do
5985         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
5986       done
5987             acl_save_libdir="$libdir"
5988       libdir="$alldirs"
5989       eval flag=\"$acl_hardcode_libdir_flag_spec\"
5990       libdir="$acl_save_libdir"
5991       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5992     else
5993             for found_dir in $rpathdirs; do
5994         acl_save_libdir="$libdir"
5995         libdir="$found_dir"
5996         eval flag=\"$acl_hardcode_libdir_flag_spec\"
5997         libdir="$acl_save_libdir"
5998         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5999       done
6000     fi
6001   fi
6002   if test "X$ltrpathdirs" != "X"; then
6003             for found_dir in $ltrpathdirs; do
6004       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
6005     done
6006   fi
6007
6008
6009
6010
6011
6012
6013           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
6014 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
6015 if eval \${$gt_func_gnugettext_libintl+:} false; then :
6016   $as_echo_n "(cached) " >&6
6017 else
6018   gt_save_CPPFLAGS="$CPPFLAGS"
6019             CPPFLAGS="$CPPFLAGS $INCINTL"
6020             gt_save_LIBS="$LIBS"
6021             LIBS="$LIBS $LIBINTL"
6022                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6023 /* end confdefs.h.  */
6024 #include <libintl.h>
6025 $gt_revision_test_code
6026 extern int _nl_msg_cat_cntr;
6027 extern
6028 #ifdef __cplusplus
6029 "C"
6030 #endif
6031 const char *_nl_expand_alias (const char *);
6032 int
6033 main ()
6034 {
6035 bindtextdomain ("", "");
6036 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6037   ;
6038   return 0;
6039 }
6040 _ACEOF
6041 if ac_fn_c_try_link "$LINENO"; then :
6042   eval "$gt_func_gnugettext_libintl=yes"
6043 else
6044   eval "$gt_func_gnugettext_libintl=no"
6045 fi
6046 rm -f core conftest.err conftest.$ac_objext \
6047     conftest$ac_exeext conftest.$ac_ext
6048                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
6049               LIBS="$LIBS $LIBICONV"
6050               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6051 /* end confdefs.h.  */
6052 #include <libintl.h>
6053 $gt_revision_test_code
6054 extern int _nl_msg_cat_cntr;
6055 extern
6056 #ifdef __cplusplus
6057 "C"
6058 #endif
6059 const char *_nl_expand_alias (const char *);
6060 int
6061 main ()
6062 {
6063 bindtextdomain ("", "");
6064 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
6065   ;
6066   return 0;
6067 }
6068 _ACEOF
6069 if ac_fn_c_try_link "$LINENO"; then :
6070   LIBINTL="$LIBINTL $LIBICONV"
6071                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
6072                 eval "$gt_func_gnugettext_libintl=yes"
6073
6074 fi
6075 rm -f core conftest.err conftest.$ac_objext \
6076     conftest$ac_exeext conftest.$ac_ext
6077             fi
6078             CPPFLAGS="$gt_save_CPPFLAGS"
6079             LIBS="$gt_save_LIBS"
6080 fi
6081 eval ac_res=\$$gt_func_gnugettext_libintl
6082                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6083 $as_echo "$ac_res" >&6; }
6084         fi
6085
6086                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
6087            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
6088                 && test "$PACKAGE" != gettext-runtime \
6089                 && test "$PACKAGE" != gettext-tools; }; then
6090           gt_use_preinstalled_gnugettext=yes
6091         else
6092                     LIBINTL=
6093           LTLIBINTL=
6094           INCINTL=
6095         fi
6096
6097
6098
6099     if test -n "$INTL_MACOSX_LIBS"; then
6100       if test "$gt_use_preinstalled_gnugettext" = "yes" \
6101          || test "$nls_cv_use_gnu_gettext" = "yes"; then
6102                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
6103         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
6104       fi
6105     fi
6106
6107     if test "$gt_use_preinstalled_gnugettext" = "yes" \
6108        || test "$nls_cv_use_gnu_gettext" = "yes"; then
6109
6110 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6111
6112     else
6113       USE_NLS=no
6114     fi
6115   fi
6116
6117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
6118 $as_echo_n "checking whether to use NLS... " >&6; }
6119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6120 $as_echo "$USE_NLS" >&6; }
6121   if test "$USE_NLS" = "yes"; then
6122     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
6123 $as_echo_n "checking where the gettext function comes from... " >&6; }
6124     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6125       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6126         gt_source="external libintl"
6127       else
6128         gt_source="libc"
6129       fi
6130     else
6131       gt_source="included intl directory"
6132     fi
6133     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
6134 $as_echo "$gt_source" >&6; }
6135   fi
6136
6137   if test "$USE_NLS" = "yes"; then
6138
6139     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
6140       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
6141         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
6142 $as_echo_n "checking how to link with libintl... " >&6; }
6143         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
6144 $as_echo "$LIBINTL" >&6; }
6145
6146   for element in $INCINTL; do
6147     haveit=
6148     for x in $CPPFLAGS; do
6149
6150   acl_save_prefix="$prefix"
6151   prefix="$acl_final_prefix"
6152   acl_save_exec_prefix="$exec_prefix"
6153   exec_prefix="$acl_final_exec_prefix"
6154   eval x=\"$x\"
6155   exec_prefix="$acl_save_exec_prefix"
6156   prefix="$acl_save_prefix"
6157
6158       if test "X$x" = "X$element"; then
6159         haveit=yes
6160         break
6161       fi
6162     done
6163     if test -z "$haveit"; then
6164       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
6165     fi
6166   done
6167
6168       fi
6169
6170
6171 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6172
6173
6174 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
6175
6176     fi
6177
6178         POSUB=po
6179   fi
6180
6181
6182
6183     INTLLIBS="$LIBINTL"
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193 if test "x$target" != "x$host" -a -z "`echo $CC | grep -e '-gcc'`";
6194 then
6195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cross-compiler" >&5
6196 $as_echo_n "checking for cross-compiler... " >&6; }
6197
6198   which ${program_prefix}gcc >/dev/null 2>&1 && CC=${program_prefix}gcc
6199   which ${target_cpu}-${target_os}-gcc >/dev/null 2>&1 \
6200   && CC=${target_cpu}-${target-os}-gcc
6201   which ${target_cpu}-${target_vendor}-${target_os}-gcc >/dev/null 2>&1 \
6202   && CC=${target_cpu}-${target_vendor}-${target_os}-gcc
6203
6204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6205 $as_echo "$CC" >&6; }
6206 fi
6207
6208 ac_ext=c
6209 ac_cpp='$CPP $CPPFLAGS'
6210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6213 if test -n "$ac_tool_prefix"; then
6214   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6215 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6217 $as_echo_n "checking for $ac_word... " >&6; }
6218 if ${ac_cv_prog_CC+:} false; then :
6219   $as_echo_n "(cached) " >&6
6220 else
6221   if test -n "$CC"; then
6222   ac_cv_prog_CC="$CC" # Let the user override the test.
6223 else
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6225 for as_dir in $PATH
6226 do
6227   IFS=$as_save_IFS
6228   test -z "$as_dir" && as_dir=.
6229     for ac_exec_ext in '' $ac_executable_extensions; do
6230   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6231     ac_cv_prog_CC="${ac_tool_prefix}gcc"
6232     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233     break 2
6234   fi
6235 done
6236   done
6237 IFS=$as_save_IFS
6238
6239 fi
6240 fi
6241 CC=$ac_cv_prog_CC
6242 if test -n "$CC"; then
6243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6244 $as_echo "$CC" >&6; }
6245 else
6246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6247 $as_echo "no" >&6; }
6248 fi
6249
6250
6251 fi
6252 if test -z "$ac_cv_prog_CC"; then
6253   ac_ct_CC=$CC
6254   # Extract the first word of "gcc", so it can be a program name with args.
6255 set dummy gcc; ac_word=$2
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257 $as_echo_n "checking for $ac_word... " >&6; }
6258 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6259   $as_echo_n "(cached) " >&6
6260 else
6261   if test -n "$ac_ct_CC"; then
6262   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6263 else
6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6265 for as_dir in $PATH
6266 do
6267   IFS=$as_save_IFS
6268   test -z "$as_dir" && as_dir=.
6269     for ac_exec_ext in '' $ac_executable_extensions; do
6270   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6271     ac_cv_prog_ac_ct_CC="gcc"
6272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273     break 2
6274   fi
6275 done
6276   done
6277 IFS=$as_save_IFS
6278
6279 fi
6280 fi
6281 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6282 if test -n "$ac_ct_CC"; then
6283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6284 $as_echo "$ac_ct_CC" >&6; }
6285 else
6286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6287 $as_echo "no" >&6; }
6288 fi
6289
6290   if test "x$ac_ct_CC" = x; then
6291     CC=""
6292   else
6293     case $cross_compiling:$ac_tool_warned in
6294 yes:)
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6297 ac_tool_warned=yes ;;
6298 esac
6299     CC=$ac_ct_CC
6300   fi
6301 else
6302   CC="$ac_cv_prog_CC"
6303 fi
6304
6305 if test -z "$CC"; then
6306           if test -n "$ac_tool_prefix"; then
6307     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6308 set dummy ${ac_tool_prefix}cc; ac_word=$2
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6310 $as_echo_n "checking for $ac_word... " >&6; }
6311 if ${ac_cv_prog_CC+:} false; then :
6312   $as_echo_n "(cached) " >&6
6313 else
6314   if test -n "$CC"; then
6315   ac_cv_prog_CC="$CC" # Let the user override the test.
6316 else
6317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6318 for as_dir in $PATH
6319 do
6320   IFS=$as_save_IFS
6321   test -z "$as_dir" && as_dir=.
6322     for ac_exec_ext in '' $ac_executable_extensions; do
6323   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6324     ac_cv_prog_CC="${ac_tool_prefix}cc"
6325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6326     break 2
6327   fi
6328 done
6329   done
6330 IFS=$as_save_IFS
6331
6332 fi
6333 fi
6334 CC=$ac_cv_prog_CC
6335 if test -n "$CC"; then
6336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6337 $as_echo "$CC" >&6; }
6338 else
6339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340 $as_echo "no" >&6; }
6341 fi
6342
6343
6344   fi
6345 fi
6346 if test -z "$CC"; then
6347   # Extract the first word of "cc", so it can be a program name with args.
6348 set dummy cc; ac_word=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if ${ac_cv_prog_CC+:} false; then :
6352   $as_echo_n "(cached) " >&6
6353 else
6354   if test -n "$CC"; then
6355   ac_cv_prog_CC="$CC" # Let the user override the test.
6356 else
6357   ac_prog_rejected=no
6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 for as_dir in $PATH
6360 do
6361   IFS=$as_save_IFS
6362   test -z "$as_dir" && as_dir=.
6363     for ac_exec_ext in '' $ac_executable_extensions; do
6364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6365     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6366        ac_prog_rejected=yes
6367        continue
6368      fi
6369     ac_cv_prog_CC="cc"
6370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6371     break 2
6372   fi
6373 done
6374   done
6375 IFS=$as_save_IFS
6376
6377 if test $ac_prog_rejected = yes; then
6378   # We found a bogon in the path, so make sure we never use it.
6379   set dummy $ac_cv_prog_CC
6380   shift
6381   if test $# != 0; then
6382     # We chose a different compiler from the bogus one.
6383     # However, it has the same basename, so the bogon will be chosen
6384     # first if we set CC to just the basename; use the full file name.
6385     shift
6386     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6387   fi
6388 fi
6389 fi
6390 fi
6391 CC=$ac_cv_prog_CC
6392 if test -n "$CC"; then
6393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6394 $as_echo "$CC" >&6; }
6395 else
6396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6397 $as_echo "no" >&6; }
6398 fi
6399
6400
6401 fi
6402 if test -z "$CC"; then
6403   if test -n "$ac_tool_prefix"; then
6404   for ac_prog in cl.exe
6405   do
6406     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6407 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if ${ac_cv_prog_CC+:} false; then :
6411   $as_echo_n "(cached) " >&6
6412 else
6413   if test -n "$CC"; then
6414   ac_cv_prog_CC="$CC" # Let the user override the test.
6415 else
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH
6418 do
6419   IFS=$as_save_IFS
6420   test -z "$as_dir" && as_dir=.
6421     for ac_exec_ext in '' $ac_executable_extensions; do
6422   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6423     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425     break 2
6426   fi
6427 done
6428   done
6429 IFS=$as_save_IFS
6430
6431 fi
6432 fi
6433 CC=$ac_cv_prog_CC
6434 if test -n "$CC"; then
6435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6436 $as_echo "$CC" >&6; }
6437 else
6438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6440 fi
6441
6442
6443     test -n "$CC" && break
6444   done
6445 fi
6446 if test -z "$CC"; then
6447   ac_ct_CC=$CC
6448   for ac_prog in cl.exe
6449 do
6450   # Extract the first word of "$ac_prog", so it can be a program name with args.
6451 set dummy $ac_prog; ac_word=$2
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6453 $as_echo_n "checking for $ac_word... " >&6; }
6454 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6455   $as_echo_n "(cached) " >&6
6456 else
6457   if test -n "$ac_ct_CC"; then
6458   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6459 else
6460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6461 for as_dir in $PATH
6462 do
6463   IFS=$as_save_IFS
6464   test -z "$as_dir" && as_dir=.
6465     for ac_exec_ext in '' $ac_executable_extensions; do
6466   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6467     ac_cv_prog_ac_ct_CC="$ac_prog"
6468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6469     break 2
6470   fi
6471 done
6472   done
6473 IFS=$as_save_IFS
6474
6475 fi
6476 fi
6477 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6478 if test -n "$ac_ct_CC"; then
6479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6480 $as_echo "$ac_ct_CC" >&6; }
6481 else
6482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6483 $as_echo "no" >&6; }
6484 fi
6485
6486
6487   test -n "$ac_ct_CC" && break
6488 done
6489
6490   if test "x$ac_ct_CC" = x; then
6491     CC=""
6492   else
6493     case $cross_compiling:$ac_tool_warned in
6494 yes:)
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6497 ac_tool_warned=yes ;;
6498 esac
6499     CC=$ac_ct_CC
6500   fi
6501 fi
6502
6503 fi
6504
6505
6506 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6508 as_fn_error $? "no acceptable C compiler found in \$PATH
6509 See \`config.log' for more details" "$LINENO" 5; }
6510
6511 # Provide some information about the compiler.
6512 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6513 set X $ac_compile
6514 ac_compiler=$2
6515 for ac_option in --version -v -V -qversion; do
6516   { { ac_try="$ac_compiler $ac_option >&5"
6517 case "(($ac_try" in
6518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6519   *) ac_try_echo=$ac_try;;
6520 esac
6521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6522 $as_echo "$ac_try_echo"; } >&5
6523   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6524   ac_status=$?
6525   if test -s conftest.err; then
6526     sed '10a\
6527 ... rest of stderr output deleted ...
6528          10q' conftest.err >conftest.er1
6529     cat conftest.er1 >&5
6530   fi
6531   rm -f conftest.er1 conftest.err
6532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6533   test $ac_status = 0; }
6534 done
6535
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6537 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6538 if ${ac_cv_c_compiler_gnu+:} false; then :
6539   $as_echo_n "(cached) " >&6
6540 else
6541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6542 /* end confdefs.h.  */
6543
6544 int
6545 main ()
6546 {
6547 #ifndef __GNUC__
6548        choke me
6549 #endif
6550
6551   ;
6552   return 0;
6553 }
6554 _ACEOF
6555 if ac_fn_c_try_compile "$LINENO"; then :
6556   ac_compiler_gnu=yes
6557 else
6558   ac_compiler_gnu=no
6559 fi
6560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6561 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6562
6563 fi
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6565 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6566 if test $ac_compiler_gnu = yes; then
6567   GCC=yes
6568 else
6569   GCC=
6570 fi
6571 ac_test_CFLAGS=${CFLAGS+set}
6572 ac_save_CFLAGS=$CFLAGS
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6574 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6575 if ${ac_cv_prog_cc_g+:} false; then :
6576   $as_echo_n "(cached) " >&6
6577 else
6578   ac_save_c_werror_flag=$ac_c_werror_flag
6579    ac_c_werror_flag=yes
6580    ac_cv_prog_cc_g=no
6581    CFLAGS="-g"
6582    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h.  */
6584
6585 int
6586 main ()
6587 {
6588
6589   ;
6590   return 0;
6591 }
6592 _ACEOF
6593 if ac_fn_c_try_compile "$LINENO"; then :
6594   ac_cv_prog_cc_g=yes
6595 else
6596   CFLAGS=""
6597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h.  */
6599
6600 int
6601 main ()
6602 {
6603
6604   ;
6605   return 0;
6606 }
6607 _ACEOF
6608 if ac_fn_c_try_compile "$LINENO"; then :
6609
6610 else
6611   ac_c_werror_flag=$ac_save_c_werror_flag
6612          CFLAGS="-g"
6613          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6614 /* end confdefs.h.  */
6615
6616 int
6617 main ()
6618 {
6619
6620   ;
6621   return 0;
6622 }
6623 _ACEOF
6624 if ac_fn_c_try_compile "$LINENO"; then :
6625   ac_cv_prog_cc_g=yes
6626 fi
6627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6628 fi
6629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6630 fi
6631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6632    ac_c_werror_flag=$ac_save_c_werror_flag
6633 fi
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6635 $as_echo "$ac_cv_prog_cc_g" >&6; }
6636 if test "$ac_test_CFLAGS" = set; then
6637   CFLAGS=$ac_save_CFLAGS
6638 elif test $ac_cv_prog_cc_g = yes; then
6639   if test "$GCC" = yes; then
6640     CFLAGS="-g -O2"
6641   else
6642     CFLAGS="-g"
6643   fi
6644 else
6645   if test "$GCC" = yes; then
6646     CFLAGS="-O2"
6647   else
6648     CFLAGS=
6649   fi
6650 fi
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6652 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6653 if ${ac_cv_prog_cc_c89+:} false; then :
6654   $as_echo_n "(cached) " >&6
6655 else
6656   ac_cv_prog_cc_c89=no
6657 ac_save_CC=$CC
6658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6659 /* end confdefs.h.  */
6660 #include <stdarg.h>
6661 #include <stdio.h>
6662 struct stat;
6663 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6664 struct buf { int x; };
6665 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6666 static char *e (p, i)
6667      char **p;
6668      int i;
6669 {
6670   return p[i];
6671 }
6672 static char *f (char * (*g) (char **, int), char **p, ...)
6673 {
6674   char *s;
6675   va_list v;
6676   va_start (v,p);
6677   s = g (p, va_arg (v,int));
6678   va_end (v);
6679   return s;
6680 }
6681
6682 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6683    function prototypes and stuff, but not '\xHH' hex character constants.
6684    These don't provoke an error unfortunately, instead are silently treated
6685    as 'x'.  The following induces an error, until -std is added to get
6686    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6687    array size at least.  It's necessary to write '\x00'==0 to get something
6688    that's true only with -std.  */
6689 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6690
6691 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6692    inside strings and character constants.  */
6693 #define FOO(x) 'x'
6694 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6695
6696 int test (int i, double x);
6697 struct s1 {int (*f) (int a);};
6698 struct s2 {int (*f) (double a);};
6699 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6700 int argc;
6701 char **argv;
6702 int
6703 main ()
6704 {
6705 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6706   ;
6707   return 0;
6708 }
6709 _ACEOF
6710 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6711         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6712 do
6713   CC="$ac_save_CC $ac_arg"
6714   if ac_fn_c_try_compile "$LINENO"; then :
6715   ac_cv_prog_cc_c89=$ac_arg
6716 fi
6717 rm -f core conftest.err conftest.$ac_objext
6718   test "x$ac_cv_prog_cc_c89" != "xno" && break
6719 done
6720 rm -f conftest.$ac_ext
6721 CC=$ac_save_CC
6722
6723 fi
6724 # AC_CACHE_VAL
6725 case "x$ac_cv_prog_cc_c89" in
6726   x)
6727     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6728 $as_echo "none needed" >&6; } ;;
6729   xno)
6730     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6731 $as_echo "unsupported" >&6; } ;;
6732   *)
6733     CC="$CC $ac_cv_prog_cc_c89"
6734     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6735 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6736 esac
6737 if test "x$ac_cv_prog_cc_c89" != xno; then :
6738
6739 fi
6740
6741 ac_ext=c
6742 ac_cpp='$CPP $CPPFLAGS'
6743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6746
6747 depcc="$CC"   am_compiler_list=
6748
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6750 $as_echo_n "checking dependency style of $depcc... " >&6; }
6751 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6752   $as_echo_n "(cached) " >&6
6753 else
6754   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6755   # We make a subdir and do the tests there.  Otherwise we can end up
6756   # making bogus files that we don't know about and never remove.  For
6757   # instance it was reported that on HP-UX the gcc test will end up
6758   # making a dummy file named 'D' -- because '-MD' means "put the output
6759   # in D".
6760   rm -rf conftest.dir
6761   mkdir conftest.dir
6762   # Copy depcomp to subdir because otherwise we won't find it if we're
6763   # using a relative directory.
6764   cp "$am_depcomp" conftest.dir
6765   cd conftest.dir
6766   # We will build objects and dependencies in a subdirectory because
6767   # it helps to detect inapplicable dependency modes.  For instance
6768   # both Tru64's cc and ICC support -MD to output dependencies as a
6769   # side effect of compilation, but ICC will put the dependencies in
6770   # the current directory while Tru64 will put them in the object
6771   # directory.
6772   mkdir sub
6773
6774   am_cv_CC_dependencies_compiler_type=none
6775   if test "$am_compiler_list" = ""; then
6776      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6777   fi
6778   am__universal=false
6779   case " $depcc " in #(
6780      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6781      esac
6782
6783   for depmode in $am_compiler_list; do
6784     # Setup a source with many dependencies, because some compilers
6785     # like to wrap large dependency lists on column 80 (with \), and
6786     # we should not choose a depcomp mode which is confused by this.
6787     #
6788     # We need to recreate these files for each test, as the compiler may
6789     # overwrite some of them when testing with obscure command lines.
6790     # This happens at least with the AIX C compiler.
6791     : > sub/conftest.c
6792     for i in 1 2 3 4 5 6; do
6793       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6794       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6795       # Solaris 10 /bin/sh.
6796       echo '/* dummy */' > sub/conftst$i.h
6797     done
6798     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6799
6800     # We check with '-c' and '-o' for the sake of the "dashmstdout"
6801     # mode.  It turns out that the SunPro C++ compiler does not properly
6802     # handle '-M -o', and we need to detect this.  Also, some Intel
6803     # versions had trouble with output in subdirs.
6804     am__obj=sub/conftest.${OBJEXT-o}
6805     am__minus_obj="-o $am__obj"
6806     case $depmode in
6807     gcc)
6808       # This depmode causes a compiler race in universal mode.
6809       test "$am__universal" = false || continue
6810       ;;
6811     nosideeffect)
6812       # After this tag, mechanisms are not by side-effect, so they'll
6813       # only be used when explicitly requested.
6814       if test "x$enable_dependency_tracking" = xyes; then
6815         continue
6816       else
6817         break
6818       fi
6819       ;;
6820     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6821       # This compiler won't grok '-c -o', but also, the minuso test has
6822       # not run yet.  These depmodes are late enough in the game, and
6823       # so weak that their functioning should not be impacted.
6824       am__obj=conftest.${OBJEXT-o}
6825       am__minus_obj=
6826       ;;
6827     none) break ;;
6828     esac
6829     if depmode=$depmode \
6830        source=sub/conftest.c object=$am__obj \
6831        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6832        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6833          >/dev/null 2>conftest.err &&
6834        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6835        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6836        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6837        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6838       # icc doesn't choke on unknown options, it will just issue warnings
6839       # or remarks (even with -Werror).  So we grep stderr for any message
6840       # that says an option was ignored or not supported.
6841       # When given -MP, icc 7.0 and 7.1 complain thusly:
6842       #   icc: Command line warning: ignoring option '-M'; no argument required
6843       # The diagnosis changed in icc 8.0:
6844       #   icc: Command line remark: option '-MP' not supported
6845       if (grep 'ignoring option' conftest.err ||
6846           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6847         am_cv_CC_dependencies_compiler_type=$depmode
6848         break
6849       fi
6850     fi
6851   done
6852
6853   cd ..
6854   rm -rf conftest.dir
6855 else
6856   am_cv_CC_dependencies_compiler_type=none
6857 fi
6858
6859 fi
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6861 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6862 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6863
6864  if
6865   test "x$enable_dependency_tracking" != xno \
6866   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6867   am__fastdepCC_TRUE=
6868   am__fastdepCC_FALSE='#'
6869 else
6870   am__fastdepCC_TRUE='#'
6871   am__fastdepCC_FALSE=
6872 fi
6873
6874
6875
6876
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6878 $as_echo_n "checking whether ln -s works... " >&6; }
6879 LN_S=$as_ln_s
6880 if test "$LN_S" = "ln -s"; then
6881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6882 $as_echo "yes" >&6; }
6883 else
6884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6885 $as_echo "no, using $LN_S" >&6; }
6886 fi
6887
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6889 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6890 if ${ac_cv_path_SED+:} false; then :
6891   $as_echo_n "(cached) " >&6
6892 else
6893             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6894      for ac_i in 1 2 3 4 5 6 7; do
6895        ac_script="$ac_script$as_nl$ac_script"
6896      done
6897      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6898      { ac_script=; unset ac_script;}
6899      if test -z "$SED"; then
6900   ac_path_SED_found=false
6901   # Loop through the user's path and test for each of PROGNAME-LIST
6902   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 for as_dir in $PATH
6904 do
6905   IFS=$as_save_IFS
6906   test -z "$as_dir" && as_dir=.
6907     for ac_prog in sed gsed; do
6908     for ac_exec_ext in '' $ac_executable_extensions; do
6909       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6910       as_fn_executable_p "$ac_path_SED" || continue
6911 # Check for GNU ac_path_SED and select it if it is found.
6912   # Check for GNU $ac_path_SED
6913 case `"$ac_path_SED" --version 2>&1` in
6914 *GNU*)
6915   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6916 *)
6917   ac_count=0
6918   $as_echo_n 0123456789 >"conftest.in"
6919   while :
6920   do
6921     cat "conftest.in" "conftest.in" >"conftest.tmp"
6922     mv "conftest.tmp" "conftest.in"
6923     cp "conftest.in" "conftest.nl"
6924     $as_echo '' >> "conftest.nl"
6925     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6926     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6927     as_fn_arith $ac_count + 1 && ac_count=$as_val
6928     if test $ac_count -gt ${ac_path_SED_max-0}; then
6929       # Best one so far, save it but keep looking for a better one
6930       ac_cv_path_SED="$ac_path_SED"
6931       ac_path_SED_max=$ac_count
6932     fi
6933     # 10*(2^10) chars as input seems more than enough
6934     test $ac_count -gt 10 && break
6935   done
6936   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6937 esac
6938
6939       $ac_path_SED_found && break 3
6940     done
6941   done
6942   done
6943 IFS=$as_save_IFS
6944   if test -z "$ac_cv_path_SED"; then
6945     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6946   fi
6947 else
6948   ac_cv_path_SED=$SED
6949 fi
6950
6951 fi
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6953 $as_echo "$ac_cv_path_SED" >&6; }
6954  SED="$ac_cv_path_SED"
6955   rm -f conftest.sed
6956
6957
6958
6959
6960
6961
6962
6963 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6964         if test -n "$ac_tool_prefix"; then
6965   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6966 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6968 $as_echo_n "checking for $ac_word... " >&6; }
6969 if ${ac_cv_path_PKG_CONFIG+:} false; then :
6970   $as_echo_n "(cached) " >&6
6971 else
6972   case $PKG_CONFIG in
6973   [\\/]* | ?:[\\/]*)
6974   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6975   ;;
6976   *)
6977   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $PATH
6979 do
6980   IFS=$as_save_IFS
6981   test -z "$as_dir" && as_dir=.
6982     for ac_exec_ext in '' $ac_executable_extensions; do
6983   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986     break 2
6987   fi
6988 done
6989   done
6990 IFS=$as_save_IFS
6991
6992   ;;
6993 esac
6994 fi
6995 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6996 if test -n "$PKG_CONFIG"; then
6997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6998 $as_echo "$PKG_CONFIG" >&6; }
6999 else
7000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7001 $as_echo "no" >&6; }
7002 fi
7003
7004
7005 fi
7006 if test -z "$ac_cv_path_PKG_CONFIG"; then
7007   ac_pt_PKG_CONFIG=$PKG_CONFIG
7008   # Extract the first word of "pkg-config", so it can be a program name with args.
7009 set dummy pkg-config; ac_word=$2
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7011 $as_echo_n "checking for $ac_word... " >&6; }
7012 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7013   $as_echo_n "(cached) " >&6
7014 else
7015   case $ac_pt_PKG_CONFIG in
7016   [\\/]* | ?:[\\/]*)
7017   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7018   ;;
7019   *)
7020   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 for as_dir in $PATH
7022 do
7023   IFS=$as_save_IFS
7024   test -z "$as_dir" && as_dir=.
7025     for ac_exec_ext in '' $ac_executable_extensions; do
7026   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7027     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029     break 2
7030   fi
7031 done
7032   done
7033 IFS=$as_save_IFS
7034
7035   ;;
7036 esac
7037 fi
7038 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7039 if test -n "$ac_pt_PKG_CONFIG"; then
7040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7041 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7042 else
7043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7044 $as_echo "no" >&6; }
7045 fi
7046
7047   if test "x$ac_pt_PKG_CONFIG" = x; then
7048     PKG_CONFIG=""
7049   else
7050     case $cross_compiling:$ac_tool_warned in
7051 yes:)
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7054 ac_tool_warned=yes ;;
7055 esac
7056     PKG_CONFIG=$ac_pt_PKG_CONFIG
7057   fi
7058 else
7059   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7060 fi
7061
7062 fi
7063 if test -n "$PKG_CONFIG"; then
7064         _pkg_min_version=0.9.0
7065         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7066 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7067         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7068                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7069 $as_echo "yes" >&6; }
7070         else
7071                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7072 $as_echo "no" >&6; }
7073                 PKG_CONFIG=""
7074         fi
7075 fi
7076 alsa_save_CFLAGS="$CFLAGS"
7077 alsa_save_LDFLAGS="$LDFLAGS"
7078 alsa_save_LIBS="$LIBS"
7079 alsa_found=yes
7080
7081
7082 # Check whether --with-alsa-prefix was given.
7083 if test "${with_alsa_prefix+set}" = set; then :
7084   withval=$with_alsa_prefix; alsa_prefix="$withval"
7085 else
7086   alsa_prefix=""
7087 fi
7088
7089
7090
7091 # Check whether --with-alsa-inc-prefix was given.
7092 if test "${with_alsa_inc_prefix+set}" = set; then :
7093   withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
7094 else
7095   alsa_inc_prefix=""
7096 fi
7097
7098
7099 # Check whether --enable-alsatest was given.
7100 if test "${enable_alsatest+set}" = set; then :
7101   enableval=$enable_alsatest; enable_alsatest="$enableval"
7102 else
7103   enable_alsatest=yes
7104 fi
7105
7106
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
7108 $as_echo_n "checking for ALSA CFLAGS... " >&6; }
7109 if test "$alsa_inc_prefix" != "" ; then
7110         ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
7111         CFLAGS="$CFLAGS -I$alsa_inc_prefix"
7112 fi
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
7114 $as_echo "$ALSA_CFLAGS" >&6; }
7115
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
7117 $as_echo_n "checking for ALSA LDFLAGS... " >&6; }
7118 if test "$alsa_prefix" != "" ; then
7119         ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
7120         LDFLAGS="$LDFLAGS $ALSA_LIBS"
7121 fi
7122
7123 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
7124 LIBS="$ALSA_LIBS $LIBS"
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
7126 $as_echo "$ALSA_LIBS" >&6; }
7127
7128 if test "x$enable_alsatest" = "xyes"; then
7129 min_alsa_version=1.0.27
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
7131 $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
7132 no_alsa=""
7133     alsa_min_major_version=`echo $min_alsa_version | \
7134            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7135     alsa_min_minor_version=`echo $min_alsa_version | \
7136            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7137     alsa_min_micro_version=`echo $min_alsa_version | \
7138            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7139
7140
7141 ac_ext=c
7142 ac_cpp='$CPP $CPPFLAGS'
7143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7146
7147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7148 /* end confdefs.h.  */
7149
7150 #include <alsa/asoundlib.h>
7151
7152 int
7153 main ()
7154 {
7155
7156 /* ensure backward compatibility */
7157 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
7158 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
7159 #endif
7160 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
7161 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
7162 #endif
7163 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
7164 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
7165 #endif
7166
7167 #  if(SND_LIB_MAJOR > $alsa_min_major_version)
7168   exit(0);
7169 #  else
7170 #    if(SND_LIB_MAJOR < $alsa_min_major_version)
7171 #       error not present
7172 #    endif
7173
7174 #   if(SND_LIB_MINOR > $alsa_min_minor_version)
7175   exit(0);
7176 #   else
7177 #     if(SND_LIB_MINOR < $alsa_min_minor_version)
7178 #          error not present
7179 #      endif
7180
7181 #      if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
7182 #        error not present
7183 #      endif
7184 #    endif
7185 #  endif
7186 exit(0);
7187
7188   ;
7189   return 0;
7190 }
7191 _ACEOF
7192 if ac_fn_c_try_compile "$LINENO"; then :
7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
7194 $as_echo "found." >&6; }
7195 else
7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
7197 $as_echo "not present." >&6; }
7198    as_fn_error $? "Sufficiently new version of libasound not found." "$LINENO" 5
7199    alsa_found=no
7200
7201 fi
7202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7203 ac_ext=c
7204 ac_cpp='$CPP $CPPFLAGS'
7205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7208
7209 fi
7210
7211 if test "x$enable_alsatest" = "xyes"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5
7213 $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; }
7214 if ${ac_cv_lib_asound_snd_ctl_open+:} false; then :
7215   $as_echo_n "(cached) " >&6
7216 else
7217   ac_check_lib_save_LIBS=$LIBS
7218 LIBS="-lasound  $LIBS"
7219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7220 /* end confdefs.h.  */
7221
7222 /* Override any GCC internal prototype to avoid an error.
7223    Use char because int might match the return type of a GCC
7224    builtin and then its argument prototype would still apply.  */
7225 #ifdef __cplusplus
7226 extern "C"
7227 #endif
7228 char snd_ctl_open ();
7229 int
7230 main ()
7231 {
7232 return snd_ctl_open ();
7233   ;
7234   return 0;
7235 }
7236 _ACEOF
7237 if ac_fn_c_try_link "$LINENO"; then :
7238   ac_cv_lib_asound_snd_ctl_open=yes
7239 else
7240   ac_cv_lib_asound_snd_ctl_open=no
7241 fi
7242 rm -f core conftest.err conftest.$ac_objext \
7243     conftest$ac_exeext conftest.$ac_ext
7244 LIBS=$ac_check_lib_save_LIBS
7245 fi
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5
7247 $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; }
7248 if test "x$ac_cv_lib_asound_snd_ctl_open" = xyes; then :
7249   cat >>confdefs.h <<_ACEOF
7250 #define HAVE_LIBASOUND 1
7251 _ACEOF
7252
7253   LIBS="-lasound $LIBS"
7254
7255 else
7256   as_fn_error $? "No linkable libasound was found." "$LINENO" 5
7257          alsa_found=no
7258
7259 fi
7260
7261 fi
7262
7263 if test "x$alsa_found" = "xyes" ; then
7264    :
7265    LIBS=`echo $LIBS | sed 's/-lasound//g'`
7266    LIBS=`echo $LIBS | sed 's/  //'`
7267    LIBS="-lasound $LIBS"
7268 fi
7269 if test "x$alsa_found" = "xno" ; then
7270    :
7271    CFLAGS="$alsa_save_CFLAGS"
7272    LDFLAGS="$alsa_save_LDFLAGS"
7273    LIBS="$alsa_save_LIBS"
7274    ALSA_CFLAGS=""
7275    ALSA_LIBS=""
7276 fi
7277
7278
7279
7280
7281 if test "x$enable_alsatest" = "xyes"; then
7282 ac_fn_c_check_func "$LINENO" "snd_ctl_elem_add_enumerated" "ac_cv_func_snd_ctl_elem_add_enumerated"
7283 if test "x$ac_cv_func_snd_ctl_elem_add_enumerated" = xyes; then :
7284
7285 else
7286   as_fn_error $? "No user enum control support in alsa-lib" "$LINENO" 5
7287 fi
7288
7289 fi
7290
7291 for ac_header in alsa/pcm.h
7292 do :
7293   ac_fn_c_check_header_compile "$LINENO" "alsa/pcm.h" "ac_cv_header_alsa_pcm_h" "#include <alsa/asoundlib.h>
7294 "
7295 if test "x$ac_cv_header_alsa_pcm_h" = xyes; then :
7296   cat >>confdefs.h <<_ACEOF
7297 #define HAVE_ALSA_PCM_H 1
7298 _ACEOF
7299  have_pcm="yes"
7300 else
7301   have_pcm="no"
7302 fi
7303
7304 done
7305
7306 for ac_header in alsa/mixer.h
7307 do :
7308   ac_fn_c_check_header_compile "$LINENO" "alsa/mixer.h" "ac_cv_header_alsa_mixer_h" "#include <alsa/asoundlib.h>
7309 "
7310 if test "x$ac_cv_header_alsa_mixer_h" = xyes; then :
7311   cat >>confdefs.h <<_ACEOF
7312 #define HAVE_ALSA_MIXER_H 1
7313 _ACEOF
7314  have_mixer="yes"
7315 else
7316   have_mixer="no"
7317 fi
7318
7319 done
7320
7321 for ac_header in alsa/rawmidi.h
7322 do :
7323   ac_fn_c_check_header_compile "$LINENO" "alsa/rawmidi.h" "ac_cv_header_alsa_rawmidi_h" "#include <alsa/asoundlib.h>
7324 "
7325 if test "x$ac_cv_header_alsa_rawmidi_h" = xyes; then :
7326   cat >>confdefs.h <<_ACEOF
7327 #define HAVE_ALSA_RAWMIDI_H 1
7328 _ACEOF
7329  have_rawmidi="yes"
7330 else
7331   have_rawmidi="no"
7332 fi
7333
7334 done
7335
7336 for ac_header in alsa/seq.h
7337 do :
7338   ac_fn_c_check_header_compile "$LINENO" "alsa/seq.h" "ac_cv_header_alsa_seq_h" "#include <alsa/asoundlib.h>
7339 "
7340 if test "x$ac_cv_header_alsa_seq_h" = xyes; then :
7341   cat >>confdefs.h <<_ACEOF
7342 #define HAVE_ALSA_SEQ_H 1
7343 _ACEOF
7344  have_seq="yes"
7345 else
7346   have_seq="no"
7347 fi
7348
7349 done
7350
7351 for ac_header in samplerate.h
7352 do :
7353   ac_fn_c_check_header_compile "$LINENO" "samplerate.h" "ac_cv_header_samplerate_h" "#include <samplerate.h>
7354 "
7355 if test "x$ac_cv_header_samplerate_h" = xyes; then :
7356   cat >>confdefs.h <<_ACEOF
7357 #define HAVE_SAMPLERATE_H 1
7358 _ACEOF
7359  have_samplerate="yes"
7360 else
7361   have_samplerate="no"
7362 fi
7363
7364 done
7365
7366
7367  if test "$have_pcm" = "yes"; then
7368   HAVE_PCM_TRUE=
7369   HAVE_PCM_FALSE='#'
7370 else
7371   HAVE_PCM_TRUE='#'
7372   HAVE_PCM_FALSE=
7373 fi
7374
7375  if test "$have_mixer" = "yes"; then
7376   HAVE_MIXER_TRUE=
7377   HAVE_MIXER_FALSE='#'
7378 else
7379   HAVE_MIXER_TRUE='#'
7380   HAVE_MIXER_FALSE=
7381 fi
7382
7383  if test "$have_rawmidi" = "yes"; then
7384   HAVE_RAWMIDI_TRUE=
7385   HAVE_RAWMIDI_FALSE='#'
7386 else
7387   HAVE_RAWMIDI_TRUE='#'
7388   HAVE_RAWMIDI_FALSE=
7389 fi
7390
7391  if test "$have_seq" = "yes"; then
7392   HAVE_SEQ_TRUE=
7393   HAVE_SEQ_FALSE='#'
7394 else
7395   HAVE_SEQ_TRUE='#'
7396   HAVE_SEQ_FALSE=
7397 fi
7398
7399  if test "$have_samplerate" = "yes"; then
7400   HAVE_SAMPLERATE_TRUE=
7401   HAVE_SAMPLERATE_FALSE='#'
7402 else
7403   HAVE_SAMPLERATE_TRUE='#'
7404   HAVE_SAMPLERATE_FALSE=
7405 fi
7406
7407
7408 LIBRT=""
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for librt" >&5
7410 $as_echo_n "checking for librt... " >&6; }
7411
7412 # Check whether --with-librt was given.
7413 if test "${with_librt+set}" = set; then :
7414   withval=$with_librt;  have_librt="$withval"
7415 else
7416    have_librt="yes"
7417 fi
7418
7419 if test "$have_librt" = "yes"; then
7420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
7421 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
7422 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
7423   $as_echo_n "(cached) " >&6
7424 else
7425   ac_check_lib_save_LIBS=$LIBS
7426 LIBS="-lrt  $LIBS"
7427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7428 /* end confdefs.h.  */
7429
7430 /* Override any GCC internal prototype to avoid an error.
7431    Use char because int might match the return type of a GCC
7432    builtin and then its argument prototype would still apply.  */
7433 #ifdef __cplusplus
7434 extern "C"
7435 #endif
7436 char clock_gettime ();
7437 int
7438 main ()
7439 {
7440 return clock_gettime ();
7441   ;
7442   return 0;
7443 }
7444 _ACEOF
7445 if ac_fn_c_try_link "$LINENO"; then :
7446   ac_cv_lib_rt_clock_gettime=yes
7447 else
7448   ac_cv_lib_rt_clock_gettime=no
7449 fi
7450 rm -f core conftest.err conftest.$ac_objext \
7451     conftest$ac_exeext conftest.$ac_ext
7452 LIBS=$ac_check_lib_save_LIBS
7453 fi
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
7455 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
7456 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
7457   HAVE_LIBRT="yes"
7458 fi
7459
7460   if test "$HAVE_LIBRT" = "yes" ; then
7461     LIBRT="-lrt"
7462
7463 $as_echo "#define HAVE_LIBRT 1" >>confdefs.h
7464
7465
7466 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
7467
7468   fi
7469 else
7470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 $as_echo "no" >&6; }
7472 fi
7473
7474 CURSESINC=""
7475 CURSESLIB=""
7476 CURSES_CFLAGS=""
7477 alsamixer=
7478 if test "$have_mixer" = "yes"; then
7479 # Check whether --enable-alsamixer was given.
7480 if test "${enable_alsamixer+set}" = set; then :
7481   enableval=$enable_alsamixer; case "${enableval}" in
7482        yes) alsamixer=true ;;
7483        no)  alsamixer=false ;;
7484        *) as_fn_error $? "bad value ${enableval} for --enable-alsamixer" "$LINENO" 5 ;;
7485      esac
7486 else
7487   alsamixer=true
7488 fi
7489
7490 fi
7491  if test x$alsamixer = xtrue; then
7492   ALSAMIXER_TRUE=
7493   ALSAMIXER_FALSE='#'
7494 else
7495   ALSAMIXER_TRUE='#'
7496   ALSAMIXER_FALSE=
7497 fi
7498
7499
7500 # Check whether --enable-alsaconf was given.
7501 if test "${enable_alsaconf+set}" = set; then :
7502   enableval=$enable_alsaconf; case "${enableval}" in
7503        yes) alsaconf=true ;;
7504        no)  alsaconf=false ;;
7505        *) as_fn_error $? "bad value ${enableval} for --enable-alsaconf" "$LINENO" 5 ;;
7506      esac
7507 else
7508   alsaconf=true
7509 fi
7510
7511  if test x$alsaconf = xtrue; then
7512   ALSACONF_TRUE=
7513   ALSACONF_FALSE='#'
7514 else
7515   ALSACONF_TRUE='#'
7516   ALSACONF_FALSE=
7517 fi
7518
7519
7520 # Check whether --enable-alsaloop was given.
7521 if test "${enable_alsaloop+set}" = set; then :
7522   enableval=$enable_alsaloop; case "${enableval}" in
7523        yes) alsaloop=true ;;
7524        no)  alsaloop=false ;;
7525        *) as_fn_error $? "bad value ${enableval} for --enable-alsaloop" "$LINENO" 5 ;;
7526      esac
7527 else
7528   alsaloop=true
7529 fi
7530
7531  if test x$alsaloop = xtrue; then
7532   ALSALOOP_TRUE=
7533   ALSALOOP_FALSE='#'
7534 else
7535   ALSALOOP_TRUE='#'
7536   ALSALOOP_FALSE=
7537 fi
7538
7539
7540 xmlto=""
7541 # Check whether --enable-xmlto was given.
7542 if test "${enable_xmlto+set}" = set; then :
7543   enableval=$enable_xmlto; xmlto="$enableval"
7544 else
7545   xmlto="yes"
7546 fi
7547
7548 if test "$xmlto" = "yes"; then
7549   # Extract the first word of "xmlto", so it can be a program name with args.
7550 set dummy xmlto; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7552 $as_echo_n "checking for $ac_word... " >&6; }
7553 if ${ac_cv_prog_xmlto+:} false; then :
7554   $as_echo_n "(cached) " >&6
7555 else
7556   if test -n "$xmlto"; then
7557   ac_cv_prog_xmlto="$xmlto" # Let the user override the test.
7558 else
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 for as_dir in $PATH
7561 do
7562   IFS=$as_save_IFS
7563   test -z "$as_dir" && as_dir=.
7564     for ac_exec_ext in '' $ac_executable_extensions; do
7565   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7566     ac_cv_prog_xmlto="yes"
7567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568     break 2
7569   fi
7570 done
7571   done
7572 IFS=$as_save_IFS
7573
7574 fi
7575 fi
7576 xmlto=$ac_cv_prog_xmlto
7577 if test -n "$xmlto"; then
7578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto" >&5
7579 $as_echo "$xmlto" >&6; }
7580 else
7581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7583 fi
7584
7585
7586 fi
7587  if test x"$xmlto" = xyes; then
7588   USE_XMLTO_TRUE=
7589   USE_XMLTO_FALSE='#'
7590 else
7591   USE_XMLTO_TRUE='#'
7592   USE_XMLTO_FALSE=
7593 fi
7594
7595
7596
7597 # Check whether --with-udev-rules-dir was given.
7598 if test "${with_udev_rules_dir+set}" = set; then :
7599   withval=$with_udev_rules_dir; udevrulesdir="$withval"
7600 else
7601   udevdir=$($PKG_CONFIG udev --variable=udevdir)
7602         if test "x$udevdir" = "x"; then
7603             udevrulesdir="/lib/udev/rules.d"
7604         else
7605             udevrulesdir="$udevdir/rules.d"
7606         fi
7607 fi
7608
7609
7610
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7612 $as_echo_n "checking for ANSI C header files... " >&6; }
7613 if ${ac_cv_header_stdc+:} false; then :
7614   $as_echo_n "(cached) " >&6
7615 else
7616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7617 /* end confdefs.h.  */
7618 #include <stdlib.h>
7619 #include <stdarg.h>
7620 #include <string.h>
7621 #include <float.h>
7622
7623 int
7624 main ()
7625 {
7626
7627   ;
7628   return 0;
7629 }
7630 _ACEOF
7631 if ac_fn_c_try_compile "$LINENO"; then :
7632   ac_cv_header_stdc=yes
7633 else
7634   ac_cv_header_stdc=no
7635 fi
7636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7637
7638 if test $ac_cv_header_stdc = yes; then
7639   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7641 /* end confdefs.h.  */
7642 #include <string.h>
7643
7644 _ACEOF
7645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7646   $EGREP "memchr" >/dev/null 2>&1; then :
7647
7648 else
7649   ac_cv_header_stdc=no
7650 fi
7651 rm -f conftest*
7652
7653 fi
7654
7655 if test $ac_cv_header_stdc = yes; then
7656   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7658 /* end confdefs.h.  */
7659 #include <stdlib.h>
7660
7661 _ACEOF
7662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7663   $EGREP "free" >/dev/null 2>&1; then :
7664
7665 else
7666   ac_cv_header_stdc=no
7667 fi
7668 rm -f conftest*
7669
7670 fi
7671
7672 if test $ac_cv_header_stdc = yes; then
7673   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7674   if test "$cross_compiling" = yes; then :
7675   :
7676 else
7677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7678 /* end confdefs.h.  */
7679 #include <ctype.h>
7680 #include <stdlib.h>
7681 #if ((' ' & 0x0FF) == 0x020)
7682 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7683 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7684 #else
7685 # define ISLOWER(c) \
7686                    (('a' <= (c) && (c) <= 'i') \
7687                      || ('j' <= (c) && (c) <= 'r') \
7688                      || ('s' <= (c) && (c) <= 'z'))
7689 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7690 #endif
7691
7692 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7693 int
7694 main ()
7695 {
7696   int i;
7697   for (i = 0; i < 256; i++)
7698     if (XOR (islower (i), ISLOWER (i))
7699         || toupper (i) != TOUPPER (i))
7700       return 2;
7701   return 0;
7702 }
7703 _ACEOF
7704 if ac_fn_c_try_run "$LINENO"; then :
7705
7706 else
7707   ac_cv_header_stdc=no
7708 fi
7709 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7710   conftest.$ac_objext conftest.beam conftest.$ac_ext
7711 fi
7712
7713 fi
7714 fi
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7716 $as_echo "$ac_cv_header_stdc" >&6; }
7717 if test $ac_cv_header_stdc = yes; then
7718
7719 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7720
7721 fi
7722
7723 if test x$alsamixer = xtrue; then
7724
7725 # Check whether --with-curses was given.
7726 if test "${with_curses+set}" = set; then :
7727   withval=$with_curses; curseslib="$withval"
7728 else
7729   curseslib="auto"
7730 fi
7731
7732   CURSESLIBDIR=""
7733   NCURSESLIBSUFFIX=""
7734   CURSES_NLS="no"
7735   if test "$curseslib" = "ncursesw" -o \( "$curseslib" = "auto" -a "$USE_NLS" = "yes" \); then
7736
7737 pkg_failed=no
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NCURSESW" >&5
7739 $as_echo_n "checking for NCURSESW... " >&6; }
7740
7741 if test -n "$NCURSESW_CFLAGS"; then
7742     pkg_cv_NCURSESW_CFLAGS="$NCURSESW_CFLAGS"
7743  elif test -n "$PKG_CONFIG"; then
7744     if test -n "$PKG_CONFIG" && \
7745     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5
7746   ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
7747   ac_status=$?
7748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7749   test $ac_status = 0; }; then
7750   pkg_cv_NCURSESW_CFLAGS=`$PKG_CONFIG --cflags "ncursesw" 2>/dev/null`
7751 else
7752   pkg_failed=yes
7753 fi
7754  else
7755     pkg_failed=untried
7756 fi
7757 if test -n "$NCURSESW_LIBS"; then
7758     pkg_cv_NCURSESW_LIBS="$NCURSESW_LIBS"
7759  elif test -n "$PKG_CONFIG"; then
7760     if test -n "$PKG_CONFIG" && \
7761     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncursesw\""; } >&5
7762   ($PKG_CONFIG --exists --print-errors "ncursesw") 2>&5
7763   ac_status=$?
7764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7765   test $ac_status = 0; }; then
7766   pkg_cv_NCURSESW_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null`
7767 else
7768   pkg_failed=yes
7769 fi
7770  else
7771     pkg_failed=untried
7772 fi
7773
7774
7775
7776 if test $pkg_failed = yes; then
7777         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7778 $as_echo "no" >&6; }
7779
7780 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7781         _pkg_short_errors_supported=yes
7782 else
7783         _pkg_short_errors_supported=no
7784 fi
7785         if test $_pkg_short_errors_supported = yes; then
7786                 NCURSESW_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ncursesw" 2>&1`
7787         else
7788                 NCURSESW_PKG_ERRORS=`$PKG_CONFIG --print-errors "ncursesw" 2>&1`
7789         fi
7790         # Put the nasty error message in config.log where it belongs
7791         echo "$NCURSESW_PKG_ERRORS" >&5
7792
7793
7794         # Extract the first word of "ncursesw5-config", so it can be a program name with args.
7795 set dummy ncursesw5-config; ac_word=$2
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7797 $as_echo_n "checking for $ac_word... " >&6; }
7798 if ${ac_cv_prog_ncursesw5_config+:} false; then :
7799   $as_echo_n "(cached) " >&6
7800 else
7801   if test -n "$ncursesw5_config"; then
7802   ac_cv_prog_ncursesw5_config="$ncursesw5_config" # Let the user override the test.
7803 else
7804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7805 for as_dir in $PATH
7806 do
7807   IFS=$as_save_IFS
7808   test -z "$as_dir" && as_dir=.
7809     for ac_exec_ext in '' $ac_executable_extensions; do
7810   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7811     ac_cv_prog_ncursesw5_config="yes"
7812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7813     break 2
7814   fi
7815 done
7816   done
7817 IFS=$as_save_IFS
7818
7819 fi
7820 fi
7821 ncursesw5_config=$ac_cv_prog_ncursesw5_config
7822 if test -n "$ncursesw5_config"; then
7823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ncursesw5_config" >&5
7824 $as_echo "$ncursesw5_config" >&6; }
7825 else
7826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7827 $as_echo "no" >&6; }
7828 fi
7829
7830
7831         if test "$ncursesw5_config" = "yes"; then
7832           CURSESINC="<ncurses.h>"
7833           CURSESLIB=`ncursesw5-config --libs`
7834           CURSESLIBDIR=`ncursesw5-config --libdir`
7835           CURSES_CFLAGS=`ncursesw5-config --cflags`
7836           curseslib="ncursesw"
7837         else
7838           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
7839 $as_echo_n "checking for initscr in -lncursesw... " >&6; }
7840 if ${ac_cv_lib_ncursesw_initscr+:} false; then :
7841   $as_echo_n "(cached) " >&6
7842 else
7843   ac_check_lib_save_LIBS=$LIBS
7844 LIBS="-lncursesw  $LIBS"
7845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7846 /* end confdefs.h.  */
7847
7848 /* Override any GCC internal prototype to avoid an error.
7849    Use char because int might match the return type of a GCC
7850    builtin and then its argument prototype would still apply.  */
7851 #ifdef __cplusplus
7852 extern "C"
7853 #endif
7854 char initscr ();
7855 int
7856 main ()
7857 {
7858 return initscr ();
7859   ;
7860   return 0;
7861 }
7862 _ACEOF
7863 if ac_fn_c_try_link "$LINENO"; then :
7864   ac_cv_lib_ncursesw_initscr=yes
7865 else
7866   ac_cv_lib_ncursesw_initscr=no
7867 fi
7868 rm -f core conftest.err conftest.$ac_objext \
7869     conftest$ac_exeext conftest.$ac_ext
7870 LIBS=$ac_check_lib_save_LIBS
7871 fi
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
7873 $as_echo "$ac_cv_lib_ncursesw_initscr" >&6; }
7874 if test "x$ac_cv_lib_ncursesw_initscr" = xyes; then :
7875    CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw"
7876 fi
7877
7878         fi
7879
7880 elif test $pkg_failed = untried; then
7881         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7882 $as_echo "no" >&6; }
7883
7884         # Extract the first word of "ncursesw5-config", so it can be a program name with args.
7885 set dummy ncursesw5-config; ac_word=$2
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7887 $as_echo_n "checking for $ac_word... " >&6; }
7888 if ${ac_cv_prog_ncursesw5_config+:} false; then :
7889   $as_echo_n "(cached) " >&6
7890 else
7891   if test -n "$ncursesw5_config"; then
7892   ac_cv_prog_ncursesw5_config="$ncursesw5_config" # Let the user override the test.
7893 else
7894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7895 for as_dir in $PATH
7896 do
7897   IFS=$as_save_IFS
7898   test -z "$as_dir" && as_dir=.
7899     for ac_exec_ext in '' $ac_executable_extensions; do
7900   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7901     ac_cv_prog_ncursesw5_config="yes"
7902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7903     break 2
7904   fi
7905 done
7906   done
7907 IFS=$as_save_IFS
7908
7909 fi
7910 fi
7911 ncursesw5_config=$ac_cv_prog_ncursesw5_config
7912 if test -n "$ncursesw5_config"; then
7913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ncursesw5_config" >&5
7914 $as_echo "$ncursesw5_config" >&6; }
7915 else
7916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7917 $as_echo "no" >&6; }
7918 fi
7919
7920
7921         if test "$ncursesw5_config" = "yes"; then
7922           CURSESINC="<ncurses.h>"
7923           CURSESLIB=`ncursesw5-config --libs`
7924           CURSESLIBDIR=`ncursesw5-config --libdir`
7925           CURSES_CFLAGS=`ncursesw5-config --cflags`
7926           curseslib="ncursesw"
7927         else
7928           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncursesw" >&5
7929 $as_echo_n "checking for initscr in -lncursesw... " >&6; }
7930 if ${ac_cv_lib_ncursesw_initscr+:} false; then :
7931   $as_echo_n "(cached) " >&6
7932 else
7933   ac_check_lib_save_LIBS=$LIBS
7934 LIBS="-lncursesw  $LIBS"
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h.  */
7937
7938 /* Override any GCC internal prototype to avoid an error.
7939    Use char because int might match the return type of a GCC
7940    builtin and then its argument prototype would still apply.  */
7941 #ifdef __cplusplus
7942 extern "C"
7943 #endif
7944 char initscr ();
7945 int
7946 main ()
7947 {
7948 return initscr ();
7949   ;
7950   return 0;
7951 }
7952 _ACEOF
7953 if ac_fn_c_try_link "$LINENO"; then :
7954   ac_cv_lib_ncursesw_initscr=yes
7955 else
7956   ac_cv_lib_ncursesw_initscr=no
7957 fi
7958 rm -f core conftest.err conftest.$ac_objext \
7959     conftest$ac_exeext conftest.$ac_ext
7960 LIBS=$ac_check_lib_save_LIBS
7961 fi
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_initscr" >&5
7963 $as_echo "$ac_cv_lib_ncursesw_initscr" >&6; }
7964 if test "x$ac_cv_lib_ncursesw_initscr" = xyes; then :
7965    CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw"
7966 fi
7967
7968         fi
7969
7970 else
7971         NCURSESW_CFLAGS=$pkg_cv_NCURSESW_CFLAGS
7972         NCURSESW_LIBS=$pkg_cv_NCURSESW_LIBS
7973         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7974 $as_echo "yes" >&6; }
7975
7976         CURSESINC="<ncurses.h>"
7977         CURSESLIB="${NCURSESW_LIBS}"
7978         CURSESLIBDIR=
7979         CURSES_CFLAGS="${NCURSESW_CFLAGS}"
7980         curseslib="ncursesw"
7981
7982 fi
7983     if test -n "$CURSESINC"; then
7984       NCURSESLIBSUFFIX="w"
7985       CURSES_NLS="yes"
7986     fi
7987   fi
7988   if test "$curseslib" = "ncurses" -o "$curseslib" = "auto"; then
7989
7990 pkg_failed=no
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NCURSES" >&5
7992 $as_echo_n "checking for NCURSES... " >&6; }
7993
7994 if test -n "$NCURSES_CFLAGS"; then
7995     pkg_cv_NCURSES_CFLAGS="$NCURSES_CFLAGS"
7996  elif test -n "$PKG_CONFIG"; then
7997     if test -n "$PKG_CONFIG" && \
7998     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
7999   ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
8000   ac_status=$?
8001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8002   test $ac_status = 0; }; then
8003   pkg_cv_NCURSES_CFLAGS=`$PKG_CONFIG --cflags "ncurses" 2>/dev/null`
8004 else
8005   pkg_failed=yes
8006 fi
8007  else
8008     pkg_failed=untried
8009 fi
8010 if test -n "$NCURSES_LIBS"; then
8011     pkg_cv_NCURSES_LIBS="$NCURSES_LIBS"
8012  elif test -n "$PKG_CONFIG"; then
8013     if test -n "$PKG_CONFIG" && \
8014     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ncurses\""; } >&5
8015   ($PKG_CONFIG --exists --print-errors "ncurses") 2>&5
8016   ac_status=$?
8017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8018   test $ac_status = 0; }; then
8019   pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncurses" 2>/dev/null`
8020 else
8021   pkg_failed=yes
8022 fi
8023  else
8024     pkg_failed=untried
8025 fi
8026
8027
8028
8029 if test $pkg_failed = yes; then
8030         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8032
8033 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8034         _pkg_short_errors_supported=yes
8035 else
8036         _pkg_short_errors_supported=no
8037 fi
8038         if test $_pkg_short_errors_supported = yes; then
8039                 NCURSES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ncurses" 2>&1`
8040         else
8041                 NCURSES_PKG_ERRORS=`$PKG_CONFIG --print-errors "ncurses" 2>&1`
8042         fi
8043         # Put the nasty error message in config.log where it belongs
8044         echo "$NCURSES_PKG_ERRORS" >&5
8045
8046
8047         # Extract the first word of "ncurses5-config", so it can be a program name with args.
8048 set dummy ncurses5-config; ac_word=$2
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8050 $as_echo_n "checking for $ac_word... " >&6; }
8051 if ${ac_cv_prog_ncurses5_config+:} false; then :
8052   $as_echo_n "(cached) " >&6
8053 else
8054   if test -n "$ncurses5_config"; then
8055   ac_cv_prog_ncurses5_config="$ncurses5_config" # Let the user override the test.
8056 else
8057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8058 for as_dir in $PATH
8059 do
8060   IFS=$as_save_IFS
8061   test -z "$as_dir" && as_dir=.
8062     for ac_exec_ext in '' $ac_executable_extensions; do
8063   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8064     ac_cv_prog_ncurses5_config="yes"
8065     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8066     break 2
8067   fi
8068 done
8069   done
8070 IFS=$as_save_IFS
8071
8072 fi
8073 fi
8074 ncurses5_config=$ac_cv_prog_ncurses5_config
8075 if test -n "$ncurses5_config"; then
8076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ncurses5_config" >&5
8077 $as_echo "$ncurses5_config" >&6; }
8078 else
8079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8080 $as_echo "no" >&6; }
8081 fi
8082
8083
8084         if test "$ncurses5_config" = "yes"; then
8085           CURSESINC="<ncurses.h>"
8086           CURSESLIB=`ncurses5-config --libs`
8087           CURSESLIBDIR=`ncurses5-config --libdir`
8088           CURSES_CFLAGS=`ncurses5-config --cflags`
8089           curseslib="ncurses"
8090         else
8091           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
8092 $as_echo_n "checking for initscr in -lncurses... " >&6; }
8093 if ${ac_cv_lib_ncurses_initscr+:} false; then :
8094   $as_echo_n "(cached) " >&6
8095 else
8096   ac_check_lib_save_LIBS=$LIBS
8097 LIBS="-lncurses  $LIBS"
8098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h.  */
8100
8101 /* Override any GCC internal prototype to avoid an error.
8102    Use char because int might match the return type of a GCC
8103    builtin and then its argument prototype would still apply.  */
8104 #ifdef __cplusplus
8105 extern "C"
8106 #endif
8107 char initscr ();
8108 int
8109 main ()
8110 {
8111 return initscr ();
8112   ;
8113   return 0;
8114 }
8115 _ACEOF
8116 if ac_fn_c_try_link "$LINENO"; then :
8117   ac_cv_lib_ncurses_initscr=yes
8118 else
8119   ac_cv_lib_ncurses_initscr=no
8120 fi
8121 rm -f core conftest.err conftest.$ac_objext \
8122     conftest$ac_exeext conftest.$ac_ext
8123 LIBS=$ac_check_lib_save_LIBS
8124 fi
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
8126 $as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
8127 if test "x$ac_cv_lib_ncurses_initscr" = xyes; then :
8128    CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses"
8129 fi
8130
8131         fi
8132
8133 elif test $pkg_failed = untried; then
8134         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8135 $as_echo "no" >&6; }
8136
8137         # Extract the first word of "ncurses5-config", so it can be a program name with args.
8138 set dummy ncurses5-config; ac_word=$2
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8140 $as_echo_n "checking for $ac_word... " >&6; }
8141 if ${ac_cv_prog_ncurses5_config+:} false; then :
8142   $as_echo_n "(cached) " >&6
8143 else
8144   if test -n "$ncurses5_config"; then
8145   ac_cv_prog_ncurses5_config="$ncurses5_config" # Let the user override the test.
8146 else
8147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8148 for as_dir in $PATH
8149 do
8150   IFS=$as_save_IFS
8151   test -z "$as_dir" && as_dir=.
8152     for ac_exec_ext in '' $ac_executable_extensions; do
8153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8154     ac_cv_prog_ncurses5_config="yes"
8155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8156     break 2
8157   fi
8158 done
8159   done
8160 IFS=$as_save_IFS
8161
8162 fi
8163 fi
8164 ncurses5_config=$ac_cv_prog_ncurses5_config
8165 if test -n "$ncurses5_config"; then
8166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ncurses5_config" >&5
8167 $as_echo "$ncurses5_config" >&6; }
8168 else
8169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8170 $as_echo "no" >&6; }
8171 fi
8172
8173
8174         if test "$ncurses5_config" = "yes"; then
8175           CURSESINC="<ncurses.h>"
8176           CURSESLIB=`ncurses5-config --libs`
8177           CURSESLIBDIR=`ncurses5-config --libdir`
8178           CURSES_CFLAGS=`ncurses5-config --cflags`
8179           curseslib="ncurses"
8180         else
8181           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lncurses" >&5
8182 $as_echo_n "checking for initscr in -lncurses... " >&6; }
8183 if ${ac_cv_lib_ncurses_initscr+:} false; then :
8184   $as_echo_n "(cached) " >&6
8185 else
8186   ac_check_lib_save_LIBS=$LIBS
8187 LIBS="-lncurses  $LIBS"
8188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8189 /* end confdefs.h.  */
8190
8191 /* Override any GCC internal prototype to avoid an error.
8192    Use char because int might match the return type of a GCC
8193    builtin and then its argument prototype would still apply.  */
8194 #ifdef __cplusplus
8195 extern "C"
8196 #endif
8197 char initscr ();
8198 int
8199 main ()
8200 {
8201 return initscr ();
8202   ;
8203   return 0;
8204 }
8205 _ACEOF
8206 if ac_fn_c_try_link "$LINENO"; then :
8207   ac_cv_lib_ncurses_initscr=yes
8208 else
8209   ac_cv_lib_ncurses_initscr=no
8210 fi
8211 rm -f core conftest.err conftest.$ac_objext \
8212     conftest$ac_exeext conftest.$ac_ext
8213 LIBS=$ac_check_lib_save_LIBS
8214 fi
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_initscr" >&5
8216 $as_echo "$ac_cv_lib_ncurses_initscr" >&6; }
8217 if test "x$ac_cv_lib_ncurses_initscr" = xyes; then :
8218    CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses"
8219 fi
8220
8221         fi
8222
8223 else
8224         NCURSES_CFLAGS=$pkg_cv_NCURSES_CFLAGS
8225         NCURSES_LIBS=$pkg_cv_NCURSES_LIBS
8226         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8227 $as_echo "yes" >&6; }
8228
8229         CURSESINC="<ncurses.h>"
8230         CURSESLIB="${NCURSES_LIBS}"
8231         CURSESLIBDIR=
8232         CURSES_CFLAGS="${NCURSES_CFLAGS}"
8233         curseslib="ncurses"
8234
8235 fi
8236   fi
8237   if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then
8238     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for initscr in -lcurses" >&5
8239 $as_echo_n "checking for initscr in -lcurses... " >&6; }
8240 if ${ac_cv_lib_curses_initscr+:} false; then :
8241   $as_echo_n "(cached) " >&6
8242 else
8243   ac_check_lib_save_LIBS=$LIBS
8244 LIBS="-lcurses  $LIBS"
8245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h.  */
8247
8248 /* Override any GCC internal prototype to avoid an error.
8249    Use char because int might match the return type of a GCC
8250    builtin and then its argument prototype would still apply.  */
8251 #ifdef __cplusplus
8252 extern "C"
8253 #endif
8254 char initscr ();
8255 int
8256 main ()
8257 {
8258 return initscr ();
8259   ;
8260   return 0;
8261 }
8262 _ACEOF
8263 if ac_fn_c_try_link "$LINENO"; then :
8264   ac_cv_lib_curses_initscr=yes
8265 else
8266   ac_cv_lib_curses_initscr=no
8267 fi
8268 rm -f core conftest.err conftest.$ac_objext \
8269     conftest$ac_exeext conftest.$ac_ext
8270 LIBS=$ac_check_lib_save_LIBS
8271 fi
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_initscr" >&5
8273 $as_echo "$ac_cv_lib_curses_initscr" >&6; }
8274 if test "x$ac_cv_lib_curses_initscr" = xyes; then :
8275    CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; curseslib="curses"
8276 fi
8277
8278   fi
8279   if test -z "$CURSESINC"; then
8280      as_fn_error $? "this packages requires a curses library" "$LINENO" 5
8281   fi
8282
8283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curses library" >&5
8284 $as_echo_n "checking for curses library... " >&6; }
8285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curseslib" >&5
8286 $as_echo "$curseslib" >&6; }
8287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curses header name" >&5
8288 $as_echo_n "checking for curses header name... " >&6; }
8289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURSESINC" >&5
8290 $as_echo "$CURSESINC" >&6; }
8291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curses compiler flags" >&5
8292 $as_echo_n "checking for curses compiler flags... " >&6; }
8293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURSES_CFLAGS" >&5
8294 $as_echo "$CURSES_CFLAGS" >&6; }
8295
8296         if test -n "$CURSESLIBDIR"; then
8297     if test "-L$CURSESLIBDIR " = "$(echo $CURSESLIB | cut -c-$((${#CURSESLIBDIR}+3)) )"; then
8298       CURSESLIB="$(echo $CURSESLIB | cut -c$((${#CURSESLIBDIR}+4))-)"
8299     fi
8300   fi
8301
8302   saved_CFLAGS="$CFLAGS"
8303   saved_LDFLAGS="$LDFLAGS"
8304   saved_LIBS="$LIBS"
8305   CFLAGS="$CFLAGS $CURSES_CFLAGS"
8306   if test -n "$CURSESLIBDIR"; then
8307     LDFLAGS="$LDFLAGS -L$CURSESLIBDIR"
8308   fi
8309   LIBS="$CURSESLIB $LIBS"
8310
8311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8312 /* end confdefs.h.  */
8313 #include <panel.h>
8314 int
8315 main ()
8316 {
8317 set_escdelay(100);
8318   ;
8319   return 0;
8320 }
8321 _ACEOF
8322 if ac_fn_c_try_link "$LINENO"; then :
8323   HAVE_CURSES_ESCDELAY="yes"
8324 fi
8325 rm -f core conftest.err conftest.$ac_objext \
8326     conftest$ac_exeext conftest.$ac_ext
8327   if test "$HAVE_CURSES_ESCDELAY" = "yes"; then
8328
8329 $as_echo "#define HAVE_CURSES_ESCDELAY 1" >>confdefs.h
8330
8331   fi
8332
8333   if test "$USE_NLS" = "yes"; then
8334     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curses NLS support" >&5
8335 $as_echo_n "checking for curses NLS support... " >&6; }
8336                     if test "$curseslib" = "curses"; then
8337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8338 /* end confdefs.h.  */
8339
8340           #define _XOPEN_SOURCE 1
8341           #define _XOPEN_SOURCE_EXTENDED 1
8342           #include <curses.h>
8343
8344 int
8345 main ()
8346 {
8347
8348           cchar_t wc;
8349           setcchar(&wc, L"x", A_NORMAL, 0, 0);
8350
8351   ;
8352   return 0;
8353 }
8354 _ACEOF
8355 if ac_fn_c_try_link "$LINENO"; then :
8356   CURSES_NLS="yes"
8357 fi
8358 rm -f core conftest.err conftest.$ac_objext \
8359     conftest$ac_exeext conftest.$ac_ext
8360     fi
8361     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURSES_NLS" >&5
8362 $as_echo "$CURSES_NLS" >&6; }
8363     if test "$CURSES_NLS" = "yes"; then
8364
8365 $as_echo "#define ENABLE_NLS_IN_CURSES 1" >>confdefs.h
8366
8367     fi
8368   fi
8369
8370   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8371 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8372                   inttypes.h stdint.h unistd.h
8373 do :
8374   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8375 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8376 "
8377 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8378   cat >>confdefs.h <<_ACEOF
8379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8380 _ACEOF
8381
8382 fi
8383
8384 done
8385
8386
8387 for ac_header in panel.h menu.h form.h
8388 do :
8389   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8390 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8391 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8392   cat >>confdefs.h <<_ACEOF
8393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8394 _ACEOF
8395
8396 else
8397   as_fn_error $? "required curses helper header not found" "$LINENO" 5
8398 fi
8399
8400 done
8401
8402   as_ac_Lib=`$as_echo "ac_cv_lib_panel$NCURSESLIBSUFFIX''_new_panel" | $as_tr_sh`
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for new_panel in -lpanel$NCURSESLIBSUFFIX" >&5
8404 $as_echo_n "checking for new_panel in -lpanel$NCURSESLIBSUFFIX... " >&6; }
8405 if eval \${$as_ac_Lib+:} false; then :
8406   $as_echo_n "(cached) " >&6
8407 else
8408   ac_check_lib_save_LIBS=$LIBS
8409 LIBS="-lpanel$NCURSESLIBSUFFIX  $LIBS"
8410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h.  */
8412
8413 /* Override any GCC internal prototype to avoid an error.
8414    Use char because int might match the return type of a GCC
8415    builtin and then its argument prototype would still apply.  */
8416 #ifdef __cplusplus
8417 extern "C"
8418 #endif
8419 char new_panel ();
8420 int
8421 main ()
8422 {
8423 return new_panel ();
8424   ;
8425   return 0;
8426 }
8427 _ACEOF
8428 if ac_fn_c_try_link "$LINENO"; then :
8429   eval "$as_ac_Lib=yes"
8430 else
8431   eval "$as_ac_Lib=no"
8432 fi
8433 rm -f core conftest.err conftest.$ac_objext \
8434     conftest$ac_exeext conftest.$ac_ext
8435 LIBS=$ac_check_lib_save_LIBS
8436 fi
8437 eval ac_res=\$$as_ac_Lib
8438                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8439 $as_echo "$ac_res" >&6; }
8440 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
8441   CURSESLIB="-lpanel$NCURSESLIBSUFFIX $CURSESLIB"
8442 else
8443   as_fn_error $? "panel$NCURSESLIBSUFFIX library not found" "$LINENO" 5
8444 fi
8445
8446   as_ac_Lib=`$as_echo "ac_cv_lib_menu$NCURSESLIBSUFFIX''_new_menu" | $as_tr_sh`
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for new_menu in -lmenu$NCURSESLIBSUFFIX" >&5
8448 $as_echo_n "checking for new_menu in -lmenu$NCURSESLIBSUFFIX... " >&6; }
8449 if eval \${$as_ac_Lib+:} false; then :
8450   $as_echo_n "(cached) " >&6
8451 else
8452   ac_check_lib_save_LIBS=$LIBS
8453 LIBS="-lmenu$NCURSESLIBSUFFIX  $LIBS"
8454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8455 /* end confdefs.h.  */
8456
8457 /* Override any GCC internal prototype to avoid an error.
8458    Use char because int might match the return type of a GCC
8459    builtin and then its argument prototype would still apply.  */
8460 #ifdef __cplusplus
8461 extern "C"
8462 #endif
8463 char new_menu ();
8464 int
8465 main ()
8466 {
8467 return new_menu ();
8468   ;
8469   return 0;
8470 }
8471 _ACEOF
8472 if ac_fn_c_try_link "$LINENO"; then :
8473   eval "$as_ac_Lib=yes"
8474 else
8475   eval "$as_ac_Lib=no"
8476 fi
8477 rm -f core conftest.err conftest.$ac_objext \
8478     conftest$ac_exeext conftest.$ac_ext
8479 LIBS=$ac_check_lib_save_LIBS
8480 fi
8481 eval ac_res=\$$as_ac_Lib
8482                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8483 $as_echo "$ac_res" >&6; }
8484 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
8485   CURSESLIB="-lmenu$NCURSESLIBSUFFIX $CURSESLIB"
8486 else
8487   as_fn_error $? "menu$NCURSESLIBSUFFIX library not found" "$LINENO" 5
8488 fi
8489
8490   as_ac_Lib=`$as_echo "ac_cv_lib_form$NCURSESLIBSUFFIX''_new_form" | $as_tr_sh`
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for new_form in -lform$NCURSESLIBSUFFIX" >&5
8492 $as_echo_n "checking for new_form in -lform$NCURSESLIBSUFFIX... " >&6; }
8493 if eval \${$as_ac_Lib+:} false; then :
8494   $as_echo_n "(cached) " >&6
8495 else
8496   ac_check_lib_save_LIBS=$LIBS
8497 LIBS="-lform$NCURSESLIBSUFFIX  $LIBS"
8498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8499 /* end confdefs.h.  */
8500
8501 /* Override any GCC internal prototype to avoid an error.
8502    Use char because int might match the return type of a GCC
8503    builtin and then its argument prototype would still apply.  */
8504 #ifdef __cplusplus
8505 extern "C"
8506 #endif
8507 char new_form ();
8508 int
8509 main ()
8510 {
8511 return new_form ();
8512   ;
8513   return 0;
8514 }
8515 _ACEOF
8516 if ac_fn_c_try_link "$LINENO"; then :
8517   eval "$as_ac_Lib=yes"
8518 else
8519   eval "$as_ac_Lib=no"
8520 fi
8521 rm -f core conftest.err conftest.$ac_objext \
8522     conftest$ac_exeext conftest.$ac_ext
8523 LIBS=$ac_check_lib_save_LIBS
8524 fi
8525 eval ac_res=\$$as_ac_Lib
8526                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8527 $as_echo "$ac_res" >&6; }
8528 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
8529   CURSESLIB="-lform$NCURSESLIBSUFFIX $CURSESLIB"
8530 else
8531   as_fn_error $? "form$NCURSESLIBSUFFIX library not found" "$LINENO" 5
8532 fi
8533
8534
8535   CFLAGS="$saved_CFLAGS"
8536   LDFLAGS="$saved_LDFLAGS"
8537   LIBS="$saved_LIBS"
8538
8539   if test -n "$CURSESLIBDIR"; then
8540     CURSESLIB="-L$CURSESLIBDIR $CURSESLIB"
8541   fi
8542
8543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curses linker flags" >&5
8544 $as_echo_n "checking for curses linker flags... " >&6; }
8545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURSESLIB" >&5
8546 $as_echo "$CURSESLIB" >&6; }
8547 fi
8548
8549
8550
8551
8552
8553 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8554
8555 eval dir="$datadir"
8556 case "$dir" in
8557 /*) ;;
8558 *) dir="$prefix/share"
8559 esac
8560
8561 soundsdir="$dir/sounds/alsa"
8562
8563 cat >>confdefs.h <<_ACEOF
8564 #define SOUNDSDIR "$soundsdir"
8565 _ACEOF
8566
8567
8568 mydatadir="$dir/alsa"
8569
8570 cat >>confdefs.h <<_ACEOF
8571 #define DATADIR "$mydatadir"
8572 _ACEOF
8573
8574
8575
8576
8577 # Check whether --with-testsound was given.
8578 if test "${with_testsound+set}" = set; then :
8579   withval=$with_testsound; TESTSOUND="$withval"
8580 else
8581   TESTSOUND="$dir/test.wav"
8582 fi
8583
8584
8585
8586 ac_config_headers="$ac_config_headers include/aconfig.h"
8587
8588
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
8590 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
8591 if ${ac_cv_c_const+:} false; then :
8592   $as_echo_n "(cached) " >&6
8593 else
8594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h.  */
8596
8597 int
8598 main ()
8599 {
8600
8601 #ifndef __cplusplus
8602   /* Ultrix mips cc rejects this sort of thing.  */
8603   typedef int charset[2];
8604   const charset cs = { 0, 0 };
8605   /* SunOS 4.1.1 cc rejects this.  */
8606   char const *const *pcpcc;
8607   char **ppc;
8608   /* NEC SVR4.0.2 mips cc rejects this.  */
8609   struct point {int x, y;};
8610   static struct point const zero = {0,0};
8611   /* AIX XL C 1.02.0.0 rejects this.
8612      It does not let you subtract one const X* pointer from another in
8613      an arm of an if-expression whose if-part is not a constant
8614      expression */
8615   const char *g = "string";
8616   pcpcc = &g + (g ? g-g : 0);
8617   /* HPUX 7.0 cc rejects these. */
8618   ++pcpcc;
8619   ppc = (char**) pcpcc;
8620   pcpcc = (char const *const *) ppc;
8621   { /* SCO 3.2v4 cc rejects this sort of thing.  */
8622     char tx;
8623     char *t = &tx;
8624     char const *s = 0 ? (char *) 0 : (char const *) 0;
8625
8626     *t++ = 0;
8627     if (s) return 0;
8628   }
8629   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
8630     int x[] = {25, 17};
8631     const int *foo = &x[0];
8632     ++foo;
8633   }
8634   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8635     typedef const int *iptr;
8636     iptr p = 0;
8637     ++p;
8638   }
8639   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
8640        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8641     struct s { int j; const int *ap[3]; } bx;
8642     struct s *b = &bx; b->j = 5;
8643   }
8644   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8645     const int foo = 10;
8646     if (!foo) return 0;
8647   }
8648   return !cs[0] && !zero.x;
8649 #endif
8650
8651   ;
8652   return 0;
8653 }
8654 _ACEOF
8655 if ac_fn_c_try_compile "$LINENO"; then :
8656   ac_cv_c_const=yes
8657 else
8658   ac_cv_c_const=no
8659 fi
8660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8661 fi
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
8663 $as_echo "$ac_cv_c_const" >&6; }
8664 if test $ac_cv_c_const = no; then
8665
8666 $as_echo "#define const /**/" >>confdefs.h
8667
8668 fi
8669
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
8671 $as_echo_n "checking for inline... " >&6; }
8672 if ${ac_cv_c_inline+:} false; then :
8673   $as_echo_n "(cached) " >&6
8674 else
8675   ac_cv_c_inline=no
8676 for ac_kw in inline __inline__ __inline; do
8677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h.  */
8679 #ifndef __cplusplus
8680 typedef int foo_t;
8681 static $ac_kw foo_t static_foo () {return 0; }
8682 $ac_kw foo_t foo () {return 0; }
8683 #endif
8684
8685 _ACEOF
8686 if ac_fn_c_try_compile "$LINENO"; then :
8687   ac_cv_c_inline=$ac_kw
8688 fi
8689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8690   test "$ac_cv_c_inline" != no && break
8691 done
8692
8693 fi
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
8695 $as_echo "$ac_cv_c_inline" >&6; }
8696
8697 case $ac_cv_c_inline in
8698   inline | yes) ;;
8699   *)
8700     case $ac_cv_c_inline in
8701       no) ac_val=;;
8702       *) ac_val=$ac_cv_c_inline;;
8703     esac
8704     cat >>confdefs.h <<_ACEOF
8705 #ifndef __cplusplus
8706 #define inline $ac_val
8707 #endif
8708 _ACEOF
8709     ;;
8710 esac
8711
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
8713 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
8714 if ${ac_cv_header_time+:} false; then :
8715   $as_echo_n "(cached) " >&6
8716 else
8717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h.  */
8719 #include <sys/types.h>
8720 #include <sys/time.h>
8721 #include <time.h>
8722
8723 int
8724 main ()
8725 {
8726 if ((struct tm *) 0)
8727 return 0;
8728   ;
8729   return 0;
8730 }
8731 _ACEOF
8732 if ac_fn_c_try_compile "$LINENO"; then :
8733   ac_cv_header_time=yes
8734 else
8735   ac_cv_header_time=no
8736 fi
8737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8738 fi
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
8740 $as_echo "$ac_cv_header_time" >&6; }
8741 if test $ac_cv_header_time = yes; then
8742
8743 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
8744
8745 fi
8746
8747
8748 if test $ac_cv_c_compiler_gnu = yes; then
8749     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
8750 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
8751 if ${ac_cv_prog_gcc_traditional+:} false; then :
8752   $as_echo_n "(cached) " >&6
8753 else
8754     ac_pattern="Autoconf.*'x'"
8755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h.  */
8757 #include <sgtty.h>
8758 Autoconf TIOCGETP
8759 _ACEOF
8760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8761   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
8762   ac_cv_prog_gcc_traditional=yes
8763 else
8764   ac_cv_prog_gcc_traditional=no
8765 fi
8766 rm -f conftest*
8767
8768
8769   if test $ac_cv_prog_gcc_traditional = no; then
8770     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h.  */
8772 #include <termio.h>
8773 Autoconf TCGETA
8774 _ACEOF
8775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8776   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
8777   ac_cv_prog_gcc_traditional=yes
8778 fi
8779 rm -f conftest*
8780
8781   fi
8782 fi
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
8784 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
8785   if test $ac_cv_prog_gcc_traditional = yes; then
8786     CC="$CC -traditional"
8787   fi
8788 fi
8789
8790
8791 # Check whether --enable-largefile was given.
8792 if test "${enable_largefile+set}" = set; then :
8793   enableval=$enable_largefile;
8794 fi
8795
8796 if test "$enable_largefile" != no; then
8797
8798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
8799 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
8800 if ${ac_cv_sys_largefile_CC+:} false; then :
8801   $as_echo_n "(cached) " >&6
8802 else
8803   ac_cv_sys_largefile_CC=no
8804      if test "$GCC" != yes; then
8805        ac_save_CC=$CC
8806        while :; do
8807          # IRIX 6.2 and later do not support large files by default,
8808          # so use the C compiler's -n32 option if that helps.
8809          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8810 /* end confdefs.h.  */
8811 #include <sys/types.h>
8812  /* Check that off_t can represent 2**63 - 1 correctly.
8813     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8814     since some C++ compilers masquerading as C compilers
8815     incorrectly reject 9223372036854775807.  */
8816 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8817   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8818                        && LARGE_OFF_T % 2147483647 == 1)
8819                       ? 1 : -1];
8820 int
8821 main ()
8822 {
8823
8824   ;
8825   return 0;
8826 }
8827 _ACEOF
8828          if ac_fn_c_try_compile "$LINENO"; then :
8829   break
8830 fi
8831 rm -f core conftest.err conftest.$ac_objext
8832          CC="$CC -n32"
8833          if ac_fn_c_try_compile "$LINENO"; then :
8834   ac_cv_sys_largefile_CC=' -n32'; break
8835 fi
8836 rm -f core conftest.err conftest.$ac_objext
8837          break
8838        done
8839        CC=$ac_save_CC
8840        rm -f conftest.$ac_ext
8841     fi
8842 fi
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
8844 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
8845   if test "$ac_cv_sys_largefile_CC" != no; then
8846     CC=$CC$ac_cv_sys_largefile_CC
8847   fi
8848
8849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
8850 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
8851 if ${ac_cv_sys_file_offset_bits+:} false; then :
8852   $as_echo_n "(cached) " >&6
8853 else
8854   while :; do
8855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8856 /* end confdefs.h.  */
8857 #include <sys/types.h>
8858  /* Check that off_t can represent 2**63 - 1 correctly.
8859     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8860     since some C++ compilers masquerading as C compilers
8861     incorrectly reject 9223372036854775807.  */
8862 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8863   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8864                        && LARGE_OFF_T % 2147483647 == 1)
8865                       ? 1 : -1];
8866 int
8867 main ()
8868 {
8869
8870   ;
8871   return 0;
8872 }
8873 _ACEOF
8874 if ac_fn_c_try_compile "$LINENO"; then :
8875   ac_cv_sys_file_offset_bits=no; break
8876 fi
8877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8879 /* end confdefs.h.  */
8880 #define _FILE_OFFSET_BITS 64
8881 #include <sys/types.h>
8882  /* Check that off_t can represent 2**63 - 1 correctly.
8883     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8884     since some C++ compilers masquerading as C compilers
8885     incorrectly reject 9223372036854775807.  */
8886 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8887   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8888                        && LARGE_OFF_T % 2147483647 == 1)
8889                       ? 1 : -1];
8890 int
8891 main ()
8892 {
8893
8894   ;
8895   return 0;
8896 }
8897 _ACEOF
8898 if ac_fn_c_try_compile "$LINENO"; then :
8899   ac_cv_sys_file_offset_bits=64; break
8900 fi
8901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8902   ac_cv_sys_file_offset_bits=unknown
8903   break
8904 done
8905 fi
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8907 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
8908 case $ac_cv_sys_file_offset_bits in #(
8909   no | unknown) ;;
8910   *)
8911 cat >>confdefs.h <<_ACEOF
8912 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
8913 _ACEOF
8914 ;;
8915 esac
8916 rm -rf conftest*
8917   if test $ac_cv_sys_file_offset_bits = unknown; then
8918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8919 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
8920 if ${ac_cv_sys_large_files+:} false; then :
8921   $as_echo_n "(cached) " >&6
8922 else
8923   while :; do
8924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8925 /* end confdefs.h.  */
8926 #include <sys/types.h>
8927  /* Check that off_t can represent 2**63 - 1 correctly.
8928     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8929     since some C++ compilers masquerading as C compilers
8930     incorrectly reject 9223372036854775807.  */
8931 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8932   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8933                        && LARGE_OFF_T % 2147483647 == 1)
8934                       ? 1 : -1];
8935 int
8936 main ()
8937 {
8938
8939   ;
8940   return 0;
8941 }
8942 _ACEOF
8943 if ac_fn_c_try_compile "$LINENO"; then :
8944   ac_cv_sys_large_files=no; break
8945 fi
8946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8948 /* end confdefs.h.  */
8949 #define _LARGE_FILES 1
8950 #include <sys/types.h>
8951  /* Check that off_t can represent 2**63 - 1 correctly.
8952     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8953     since some C++ compilers masquerading as C compilers
8954     incorrectly reject 9223372036854775807.  */
8955 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8956   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8957                        && LARGE_OFF_T % 2147483647 == 1)
8958                       ? 1 : -1];
8959 int
8960 main ()
8961 {
8962
8963   ;
8964   return 0;
8965 }
8966 _ACEOF
8967 if ac_fn_c_try_compile "$LINENO"; then :
8968   ac_cv_sys_large_files=1; break
8969 fi
8970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8971   ac_cv_sys_large_files=unknown
8972   break
8973 done
8974 fi
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8976 $as_echo "$ac_cv_sys_large_files" >&6; }
8977 case $ac_cv_sys_large_files in #(
8978   no | unknown) ;;
8979   *)
8980 cat >>confdefs.h <<_ACEOF
8981 #define _LARGE_FILES $ac_cv_sys_large_files
8982 _ACEOF
8983 ;;
8984 esac
8985 rm -rf conftest*
8986   fi
8987
8988
8989 fi
8990
8991
8992
8993 SND_UTIL_VERSION=$VERSION
8994 echo $VERSION > $srcdir/version
8995
8996 cat >>confdefs.h <<_ACEOF
8997 #define VERSION "$SND_UTIL_VERSION"
8998 _ACEOF
8999
9000
9001 SND_UTIL_MAJOR=`echo $VERSION | cut -d . -f 1`
9002
9003 SND_UTIL_MINOR=`echo $VERSION | cut -d . -f 2`
9004
9005 SND_UTIL_SUBMINOR=`echo $VERSION | cut -d . -f 3 | sed -e 's/pre[0-9]*//g'`
9006
9007
9008
9009
9010
9011
9012 # Check whether --with-systemdsystemunitdir was given.
9013 if test "${with_systemdsystemunitdir+set}" = set; then :
9014   withval=$with_systemdsystemunitdir;
9015 else
9016   with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
9017 fi
9018
9019 if test "x$with_systemdsystemunitdir" != xno; then
9020         systemdsystemunitdir=$with_systemdsystemunitdir
9021
9022 fi
9023  if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
9024   HAVE_SYSTEMD_TRUE=
9025   HAVE_SYSTEMD_FALSE='#'
9026 else
9027   HAVE_SYSTEMD_TRUE='#'
9028   HAVE_SYSTEMD_FALSE=
9029 fi
9030
9031
9032
9033 # Check whether --with-asound-state-dir was given.
9034 if test "${with_asound_state_dir+set}" = set; then :
9035   withval=$with_asound_state_dir; ASOUND_STATE_DIR="$withval"
9036 else
9037   ASOUND_STATE_DIR="/var/lib/alsa"
9038 fi
9039
9040
9041
9042
9043 # Check whether --with-alsactl-lock-dir was given.
9044 if test "${with_alsactl_lock_dir+set}" = set; then :
9045   withval=$with_alsactl_lock_dir; ASOUND_LOCK_DIR="$withval"
9046 else
9047   ASOUND_LOCK_DIR="/var/lock"
9048 fi
9049
9050
9051
9052
9053 # Check whether --with-alsactl-pidfile-dir was given.
9054 if test "${with_alsactl_pidfile_dir+set}" = set; then :
9055   withval=$with_alsactl_pidfile_dir; ALSACTL_PIDFILE_DIR="$withval"
9056 else
9057   ALSACTL_PIDFILE_DIR="/var/run"
9058 fi
9059
9060
9061
9062
9063 # Check whether --with-alsactl-daemonswitch was given.
9064 if test "${with_alsactl_daemonswitch+set}" = set; then :
9065   withval=$with_alsactl_daemonswitch; ALSACTL_DAEMONSWITCH="$withval"
9066 else
9067   ALSACTL_DAEMONSWITCH="/etc/alsa/state-daemon.conf"
9068 fi
9069
9070
9071
9072 ac_config_files="$ac_config_files Makefile alsactl/Makefile alsactl/init/Makefile alsamixer/Makefile amidi/Makefile amixer/Makefile m4/Makefile po/Makefile.in alsaconf/alsaconf alsaconf/Makefile alsaconf/po/Makefile alsaucm/Makefile aplay/Makefile include/Makefile iecset/Makefile utils/Makefile utils/alsa-utils.spec seq/Makefile seq/aconnect/Makefile seq/aplaymidi/Makefile seq/aseqdump/Makefile seq/aseqnet/Makefile speaker-test/Makefile speaker-test/samples/Makefile alsaloop/Makefile"
9073
9074 cat >confcache <<\_ACEOF
9075 # This file is a shell script that caches the results of configure
9076 # tests run on this system so they can be shared between configure
9077 # scripts and configure runs, see configure's option --config-cache.
9078 # It is not useful on other systems.  If it contains results you don't
9079 # want to keep, you may remove or edit it.
9080 #
9081 # config.status only pays attention to the cache file if you give it
9082 # the --recheck option to rerun configure.
9083 #
9084 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9085 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9086 # following values.
9087
9088 _ACEOF
9089
9090 # The following way of writing the cache mishandles newlines in values,
9091 # but we know of no workaround that is simple, portable, and efficient.
9092 # So, we kill variables containing newlines.
9093 # Ultrix sh set writes to stderr and can't be redirected directly,
9094 # and sets the high bit in the cache file unless we assign to the vars.
9095 (
9096   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9097     eval ac_val=\$$ac_var
9098     case $ac_val in #(
9099     *${as_nl}*)
9100       case $ac_var in #(
9101       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
9102 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9103       esac
9104       case $ac_var in #(
9105       _ | IFS | as_nl) ;; #(
9106       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
9107       *) { eval $ac_var=; unset $ac_var;} ;;
9108       esac ;;
9109     esac
9110   done
9111
9112   (set) 2>&1 |
9113     case $as_nl`(ac_space=' '; set) 2>&1` in #(
9114     *${as_nl}ac_space=\ *)
9115       # `set' does not quote correctly, so add quotes: double-quote
9116       # substitution turns \\\\ into \\, and sed turns \\ into \.
9117       sed -n \
9118         "s/'/'\\\\''/g;
9119           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9120       ;; #(
9121     *)
9122       # `set' quotes correctly as required by POSIX, so do not add quotes.
9123       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9124       ;;
9125     esac |
9126     sort
9127 ) |
9128   sed '
9129      /^ac_cv_env_/b end
9130      t clear
9131      :clear
9132      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9133      t end
9134      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9135      :end' >>confcache
9136 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
9137   if test -w "$cache_file"; then
9138     if test "x$cache_file" != "x/dev/null"; then
9139       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
9140 $as_echo "$as_me: updating cache $cache_file" >&6;}
9141       if test ! -f "$cache_file" || test -h "$cache_file"; then
9142         cat confcache >"$cache_file"
9143       else
9144         case $cache_file in #(
9145         */* | ?:*)
9146           mv -f confcache "$cache_file"$$ &&
9147           mv -f "$cache_file"$$ "$cache_file" ;; #(
9148         *)
9149           mv -f confcache "$cache_file" ;;
9150         esac
9151       fi
9152     fi
9153   else
9154     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
9155 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9156   fi
9157 fi
9158 rm -f confcache
9159
9160 test "x$prefix" = xNONE && prefix=$ac_default_prefix
9161 # Let make expand exec_prefix.
9162 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9163
9164 DEFS=-DHAVE_CONFIG_H
9165
9166 ac_libobjs=
9167 ac_ltlibobjs=
9168 U=
9169 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9170   # 1. Remove the extension, and $U if already installed.
9171   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
9172   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
9173   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
9174   #    will be set to the directory where LIBOBJS objects are built.
9175   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9176   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
9177 done
9178 LIBOBJS=$ac_libobjs
9179
9180 LTLIBOBJS=$ac_ltlibobjs
9181
9182
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
9184 $as_echo_n "checking that generated files are newer than configure... " >&6; }
9185    if test -n "$am_sleep_pid"; then
9186      # Hide warnings about reused PIDs.
9187      wait $am_sleep_pid 2>/dev/null
9188    fi
9189    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
9190 $as_echo "done" >&6; }
9191  if test -n "$EXEEXT"; then
9192   am__EXEEXT_TRUE=
9193   am__EXEEXT_FALSE='#'
9194 else
9195   am__EXEEXT_TRUE='#'
9196   am__EXEEXT_FALSE=
9197 fi
9198
9199 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9200   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
9201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9202 fi
9203 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9204   as_fn_error $? "conditional \"AMDEP\" was never defined.
9205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9206 fi
9207 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9208   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9210 fi
9211 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9212   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
9213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9214 fi
9215 if test -z "${HAVE_PCM_TRUE}" && test -z "${HAVE_PCM_FALSE}"; then
9216   as_fn_error $? "conditional \"HAVE_PCM\" was never defined.
9217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9218 fi
9219 if test -z "${HAVE_MIXER_TRUE}" && test -z "${HAVE_MIXER_FALSE}"; then
9220   as_fn_error $? "conditional \"HAVE_MIXER\" was never defined.
9221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9222 fi
9223 if test -z "${HAVE_RAWMIDI_TRUE}" && test -z "${HAVE_RAWMIDI_FALSE}"; then
9224   as_fn_error $? "conditional \"HAVE_RAWMIDI\" was never defined.
9225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9226 fi
9227 if test -z "${HAVE_SEQ_TRUE}" && test -z "${HAVE_SEQ_FALSE}"; then
9228   as_fn_error $? "conditional \"HAVE_SEQ\" was never defined.
9229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9230 fi
9231 if test -z "${HAVE_SAMPLERATE_TRUE}" && test -z "${HAVE_SAMPLERATE_FALSE}"; then
9232   as_fn_error $? "conditional \"HAVE_SAMPLERATE\" was never defined.
9233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9234 fi
9235 if test -z "${ALSAMIXER_TRUE}" && test -z "${ALSAMIXER_FALSE}"; then
9236   as_fn_error $? "conditional \"ALSAMIXER\" was never defined.
9237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9238 fi
9239 if test -z "${ALSACONF_TRUE}" && test -z "${ALSACONF_FALSE}"; then
9240   as_fn_error $? "conditional \"ALSACONF\" was never defined.
9241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9242 fi
9243 if test -z "${ALSALOOP_TRUE}" && test -z "${ALSALOOP_FALSE}"; then
9244   as_fn_error $? "conditional \"ALSALOOP\" was never defined.
9245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9246 fi
9247 if test -z "${USE_XMLTO_TRUE}" && test -z "${USE_XMLTO_FALSE}"; then
9248   as_fn_error $? "conditional \"USE_XMLTO\" was never defined.
9249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9250 fi
9251 if test -z "${HAVE_SYSTEMD_TRUE}" && test -z "${HAVE_SYSTEMD_FALSE}"; then
9252   as_fn_error $? "conditional \"HAVE_SYSTEMD\" was never defined.
9253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
9254 fi
9255
9256 : "${CONFIG_STATUS=./config.status}"
9257 ac_write_fail=0
9258 ac_clean_files_save=$ac_clean_files
9259 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
9261 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9262 as_write_fail=0
9263 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
9264 #! $SHELL
9265 # Generated by $as_me.
9266 # Run this file to recreate the current configuration.
9267 # Compiler output produced by configure, useful for debugging
9268 # configure, is in config.log if it exists.
9269
9270 debug=false
9271 ac_cs_recheck=false
9272 ac_cs_silent=false
9273
9274 SHELL=\${CONFIG_SHELL-$SHELL}
9275 export SHELL
9276 _ASEOF
9277 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
9278 ## -------------------- ##
9279 ## M4sh Initialization. ##
9280 ## -------------------- ##
9281
9282 # Be more Bourne compatible
9283 DUALCASE=1; export DUALCASE # for MKS sh
9284 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
9285   emulate sh
9286   NULLCMD=:
9287   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9288   # is contrary to our usage.  Disable this feature.
9289   alias -g '${1+"$@"}'='"$@"'
9290   setopt NO_GLOB_SUBST
9291 else
9292   case `(set -o) 2>/dev/null` in #(
9293   *posix*) :
9294     set -o posix ;; #(
9295   *) :
9296      ;;
9297 esac
9298 fi
9299
9300
9301 as_nl='
9302 '
9303 export as_nl
9304 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9305 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9306 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9307 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9308 # Prefer a ksh shell builtin over an external printf program on Solaris,
9309 # but without wasting forks for bash or zsh.
9310 if test -z "$BASH_VERSION$ZSH_VERSION" \
9311     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
9312   as_echo='print -r --'
9313   as_echo_n='print -rn --'
9314 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9315   as_echo='printf %s\n'
9316   as_echo_n='printf %s'
9317 else
9318   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9319     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
9320     as_echo_n='/usr/ucb/echo -n'
9321   else
9322     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9323     as_echo_n_body='eval
9324       arg=$1;
9325       case $arg in #(
9326       *"$as_nl"*)
9327         expr "X$arg" : "X\\(.*\\)$as_nl";
9328         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9329       esac;
9330       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
9331     '
9332     export as_echo_n_body
9333     as_echo_n='sh -c $as_echo_n_body as_echo'
9334   fi
9335   export as_echo_body
9336   as_echo='sh -c $as_echo_body as_echo'
9337 fi
9338
9339 # The user is always right.
9340 if test "${PATH_SEPARATOR+set}" != set; then
9341   PATH_SEPARATOR=:
9342   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9343     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9344       PATH_SEPARATOR=';'
9345   }
9346 fi
9347
9348
9349 # IFS
9350 # We need space, tab and new line, in precisely that order.  Quoting is
9351 # there to prevent editors from complaining about space-tab.
9352 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9353 # splitting by setting IFS to empty value.)
9354 IFS=" ""        $as_nl"
9355
9356 # Find who we are.  Look in the path if we contain no directory separator.
9357 as_myself=
9358 case $0 in #((
9359   *[\\/]* ) as_myself=$0 ;;
9360   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361 for as_dir in $PATH
9362 do
9363   IFS=$as_save_IFS
9364   test -z "$as_dir" && as_dir=.
9365     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9366   done
9367 IFS=$as_save_IFS
9368
9369      ;;
9370 esac
9371 # We did not find ourselves, most probably we were run as `sh COMMAND'
9372 # in which case we are not to be found in the path.
9373 if test "x$as_myself" = x; then
9374   as_myself=$0
9375 fi
9376 if test ! -f "$as_myself"; then
9377   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9378   exit 1
9379 fi
9380
9381 # Unset variables that we do not need and which cause bugs (e.g. in
9382 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
9383 # suppresses any "Segmentation fault" message there.  '((' could
9384 # trigger a bug in pdksh 5.2.14.
9385 for as_var in BASH_ENV ENV MAIL MAILPATH
9386 do eval test x\${$as_var+set} = xset \
9387   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
9388 done
9389 PS1='$ '
9390 PS2='> '
9391 PS4='+ '
9392
9393 # NLS nuisances.
9394 LC_ALL=C
9395 export LC_ALL
9396 LANGUAGE=C
9397 export LANGUAGE
9398
9399 # CDPATH.
9400 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9401
9402
9403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
9404 # ----------------------------------------
9405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
9406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
9407 # script with STATUS, using 1 if that was 0.
9408 as_fn_error ()
9409 {
9410   as_status=$1; test $as_status -eq 0 && as_status=1
9411   if test "$4"; then
9412     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
9413     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
9414   fi
9415   $as_echo "$as_me: error: $2" >&2
9416   as_fn_exit $as_status
9417 } # as_fn_error
9418
9419
9420 # as_fn_set_status STATUS
9421 # -----------------------
9422 # Set $? to STATUS, without forking.
9423 as_fn_set_status ()
9424 {
9425   return $1
9426 } # as_fn_set_status
9427
9428 # as_fn_exit STATUS
9429 # -----------------
9430 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
9431 as_fn_exit ()
9432 {
9433   set +e
9434   as_fn_set_status $1
9435   exit $1
9436 } # as_fn_exit
9437
9438 # as_fn_unset VAR
9439 # ---------------
9440 # Portably unset VAR.
9441 as_fn_unset ()
9442 {
9443   { eval $1=; unset $1;}
9444 }
9445 as_unset=as_fn_unset
9446 # as_fn_append VAR VALUE
9447 # ----------------------
9448 # Append the text in VALUE to the end of the definition contained in VAR. Take
9449 # advantage of any shell optimizations that allow amortized linear growth over
9450 # repeated appends, instead of the typical quadratic growth present in naive
9451 # implementations.
9452 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
9453   eval 'as_fn_append ()
9454   {
9455     eval $1+=\$2
9456   }'
9457 else
9458   as_fn_append ()
9459   {
9460     eval $1=\$$1\$2
9461   }
9462 fi # as_fn_append
9463
9464 # as_fn_arith ARG...
9465 # ------------------
9466 # Perform arithmetic evaluation on the ARGs, and store the result in the
9467 # global $as_val. Take advantage of shells that can avoid forks. The arguments
9468 # must be portable across $(()) and expr.
9469 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
9470   eval 'as_fn_arith ()
9471   {
9472     as_val=$(( $* ))
9473   }'
9474 else
9475   as_fn_arith ()
9476   {
9477     as_val=`expr "$@" || test $? -eq 1`
9478   }
9479 fi # as_fn_arith
9480
9481
9482 if expr a : '\(a\)' >/dev/null 2>&1 &&
9483    test "X`expr 00001 : '.*\(...\)'`" = X001; then
9484   as_expr=expr
9485 else
9486   as_expr=false
9487 fi
9488
9489 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9490   as_basename=basename
9491 else
9492   as_basename=false
9493 fi
9494
9495 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9496   as_dirname=dirname
9497 else
9498   as_dirname=false
9499 fi
9500
9501 as_me=`$as_basename -- "$0" ||
9502 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9503          X"$0" : 'X\(//\)$' \| \
9504          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9505 $as_echo X/"$0" |
9506     sed '/^.*\/\([^/][^/]*\)\/*$/{
9507             s//\1/
9508             q
9509           }
9510           /^X\/\(\/\/\)$/{
9511             s//\1/
9512             q
9513           }
9514           /^X\/\(\/\).*/{
9515             s//\1/
9516             q
9517           }
9518           s/.*/./; q'`
9519
9520 # Avoid depending upon Character Ranges.
9521 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9522 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9523 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9524 as_cr_digits='0123456789'
9525 as_cr_alnum=$as_cr_Letters$as_cr_digits
9526
9527 ECHO_C= ECHO_N= ECHO_T=
9528 case `echo -n x` in #(((((
9529 -n*)
9530   case `echo 'xy\c'` in
9531   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
9532   xy)  ECHO_C='\c';;
9533   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
9534        ECHO_T=' ';;
9535   esac;;
9536 *)
9537   ECHO_N='-n';;
9538 esac
9539
9540 rm -f conf$$ conf$$.exe conf$$.file
9541 if test -d conf$$.dir; then
9542   rm -f conf$$.dir/conf$$.file
9543 else
9544   rm -f conf$$.dir
9545   mkdir conf$$.dir 2>/dev/null
9546 fi
9547 if (echo >conf$$.file) 2>/dev/null; then
9548   if ln -s conf$$.file conf$$ 2>/dev/null; then
9549     as_ln_s='ln -s'
9550     # ... but there are two gotchas:
9551     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9552     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9553     # In both cases, we have to default to `cp -pR'.
9554     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9555       as_ln_s='cp -pR'
9556   elif ln conf$$.file conf$$ 2>/dev/null; then
9557     as_ln_s=ln
9558   else
9559     as_ln_s='cp -pR'
9560   fi
9561 else
9562   as_ln_s='cp -pR'
9563 fi
9564 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9565 rmdir conf$$.dir 2>/dev/null
9566
9567
9568 # as_fn_mkdir_p
9569 # -------------
9570 # Create "$as_dir" as a directory, including parents if necessary.
9571 as_fn_mkdir_p ()
9572 {
9573
9574   case $as_dir in #(
9575   -*) as_dir=./$as_dir;;
9576   esac
9577   test -d "$as_dir" || eval $as_mkdir_p || {
9578     as_dirs=
9579     while :; do
9580       case $as_dir in #(
9581       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
9582       *) as_qdir=$as_dir;;
9583       esac
9584       as_dirs="'$as_qdir' $as_dirs"
9585       as_dir=`$as_dirname -- "$as_dir" ||
9586 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9587          X"$as_dir" : 'X\(//\)[^/]' \| \
9588          X"$as_dir" : 'X\(//\)$' \| \
9589          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9590 $as_echo X"$as_dir" |
9591     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9592             s//\1/
9593             q
9594           }
9595           /^X\(\/\/\)[^/].*/{
9596             s//\1/
9597             q
9598           }
9599           /^X\(\/\/\)$/{
9600             s//\1/
9601             q
9602           }
9603           /^X\(\/\).*/{
9604             s//\1/
9605             q
9606           }
9607           s/.*/./; q'`
9608       test -d "$as_dir" && break
9609     done
9610     test -z "$as_dirs" || eval "mkdir $as_dirs"
9611   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
9612
9613
9614 } # as_fn_mkdir_p
9615 if mkdir -p . 2>/dev/null; then
9616   as_mkdir_p='mkdir -p "$as_dir"'
9617 else
9618   test -d ./-p && rmdir ./-p
9619   as_mkdir_p=false
9620 fi
9621
9622
9623 # as_fn_executable_p FILE
9624 # -----------------------
9625 # Test if FILE is an executable regular file.
9626 as_fn_executable_p ()
9627 {
9628   test -f "$1" && test -x "$1"
9629 } # as_fn_executable_p
9630 as_test_x='test -x'
9631 as_executable_p=as_fn_executable_p
9632
9633 # Sed expression to map a string onto a valid CPP name.
9634 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9635
9636 # Sed expression to map a string onto a valid variable name.
9637 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9638
9639
9640 exec 6>&1
9641 ## ----------------------------------- ##
9642 ## Main body of $CONFIG_STATUS script. ##
9643 ## ----------------------------------- ##
9644 _ASEOF
9645 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
9646
9647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9648 # Save the log message, to keep $0 and so on meaningful, and to
9649 # report actual input values of CONFIG_FILES etc. instead of their
9650 # values after options handling.
9651 ac_log="
9652 This file was extended by alsa-utils $as_me 1.0.28, which was
9653 generated by GNU Autoconf 2.69.  Invocation command line was
9654
9655   CONFIG_FILES    = $CONFIG_FILES
9656   CONFIG_HEADERS  = $CONFIG_HEADERS
9657   CONFIG_LINKS    = $CONFIG_LINKS
9658   CONFIG_COMMANDS = $CONFIG_COMMANDS
9659   $ $0 $@
9660
9661 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9662 "
9663
9664 _ACEOF
9665
9666 case $ac_config_files in *"
9667 "*) set x $ac_config_files; shift; ac_config_files=$*;;
9668 esac
9669
9670 case $ac_config_headers in *"
9671 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
9672 esac
9673
9674
9675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9676 # Files that config.status was made for.
9677 config_files="$ac_config_files"
9678 config_headers="$ac_config_headers"
9679 config_commands="$ac_config_commands"
9680
9681 _ACEOF
9682
9683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9684 ac_cs_usage="\
9685 \`$as_me' instantiates files and other configuration actions
9686 from templates according to the current configuration.  Unless the files
9687 and actions are specified as TAGs, all are instantiated by default.
9688
9689 Usage: $0 [OPTION]... [TAG]...
9690
9691   -h, --help       print this help, then exit
9692   -V, --version    print version number and configuration settings, then exit
9693       --config     print configuration, then exit
9694   -q, --quiet, --silent
9695                    do not print progress messages
9696   -d, --debug      don't remove temporary files
9697       --recheck    update $as_me by reconfiguring in the same conditions
9698       --file=FILE[:TEMPLATE]
9699                    instantiate the configuration file FILE
9700       --header=FILE[:TEMPLATE]
9701                    instantiate the configuration header FILE
9702
9703 Configuration files:
9704 $config_files
9705
9706 Configuration headers:
9707 $config_headers
9708
9709 Configuration commands:
9710 $config_commands
9711
9712 Report bugs to the package provider."
9713
9714 _ACEOF
9715 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9716 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
9717 ac_cs_version="\\
9718 alsa-utils config.status 1.0.28
9719 configured by $0, generated by GNU Autoconf 2.69,
9720   with options \\"\$ac_cs_config\\"
9721
9722 Copyright (C) 2012 Free Software Foundation, Inc.
9723 This config.status script is free software; the Free Software Foundation
9724 gives unlimited permission to copy, distribute and modify it."
9725
9726 ac_pwd='$ac_pwd'
9727 srcdir='$srcdir'
9728 INSTALL='$INSTALL'
9729 MKDIR_P='$MKDIR_P'
9730 AWK='$AWK'
9731 test -n "\$AWK" || AWK=awk
9732 _ACEOF
9733
9734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9735 # The default lists apply if the user does not specify any file.
9736 ac_need_defaults=:
9737 while test $# != 0
9738 do
9739   case $1 in
9740   --*=?*)
9741     ac_option=`expr "X$1" : 'X\([^=]*\)='`
9742     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9743     ac_shift=:
9744     ;;
9745   --*=)
9746     ac_option=`expr "X$1" : 'X\([^=]*\)='`
9747     ac_optarg=
9748     ac_shift=:
9749     ;;
9750   *)
9751     ac_option=$1
9752     ac_optarg=$2
9753     ac_shift=shift
9754     ;;
9755   esac
9756
9757   case $ac_option in
9758   # Handling of the options.
9759   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9760     ac_cs_recheck=: ;;
9761   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9762     $as_echo "$ac_cs_version"; exit ;;
9763   --config | --confi | --conf | --con | --co | --c )
9764     $as_echo "$ac_cs_config"; exit ;;
9765   --debug | --debu | --deb | --de | --d | -d )
9766     debug=: ;;
9767   --file | --fil | --fi | --f )
9768     $ac_shift
9769     case $ac_optarg in
9770     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9771     '') as_fn_error $? "missing file argument" ;;
9772     esac
9773     as_fn_append CONFIG_FILES " '$ac_optarg'"
9774     ac_need_defaults=false;;
9775   --header | --heade | --head | --hea )
9776     $ac_shift
9777     case $ac_optarg in
9778     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
9779     esac
9780     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
9781     ac_need_defaults=false;;
9782   --he | --h)
9783     # Conflict between --help and --header
9784     as_fn_error $? "ambiguous option: \`$1'
9785 Try \`$0 --help' for more information.";;
9786   --help | --hel | -h )
9787     $as_echo "$ac_cs_usage"; exit ;;
9788   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9789   | -silent | --silent | --silen | --sile | --sil | --si | --s)
9790     ac_cs_silent=: ;;
9791
9792   # This is an error.
9793   -*) as_fn_error $? "unrecognized option: \`$1'
9794 Try \`$0 --help' for more information." ;;
9795
9796   *) as_fn_append ac_config_targets " $1"
9797      ac_need_defaults=false ;;
9798
9799   esac
9800   shift
9801 done
9802
9803 ac_configure_extra_args=
9804
9805 if $ac_cs_silent; then
9806   exec 6>/dev/null
9807   ac_configure_extra_args="$ac_configure_extra_args --silent"
9808 fi
9809
9810 _ACEOF
9811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9812 if \$ac_cs_recheck; then
9813   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9814   shift
9815   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
9816   CONFIG_SHELL='$SHELL'
9817   export CONFIG_SHELL
9818   exec "\$@"
9819 fi
9820
9821 _ACEOF
9822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9823 exec 5>>config.log
9824 {
9825   echo
9826   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9827 ## Running $as_me. ##
9828 _ASBOX
9829   $as_echo "$ac_log"
9830 } >&5
9831
9832 _ACEOF
9833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9834 #
9835 # INIT-COMMANDS
9836 #
9837 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
9838     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
9839     # from automake < 1.5.
9840     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
9841     # Capture the value of LINGUAS because we need it to compute CATALOGS.
9842     LINGUAS="${LINGUAS-%UNSET%}"
9843
9844 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9845
9846 _ACEOF
9847
9848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9849
9850 # Handling of arguments.
9851 for ac_config_target in $ac_config_targets
9852 do
9853   case $ac_config_target in
9854     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9855     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9856     "include/aconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS include/aconfig.h" ;;
9857     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9858     "alsactl/Makefile") CONFIG_FILES="$CONFIG_FILES alsactl/Makefile" ;;
9859     "alsactl/init/Makefile") CONFIG_FILES="$CONFIG_FILES alsactl/init/Makefile" ;;
9860     "alsamixer/Makefile") CONFIG_FILES="$CONFIG_FILES alsamixer/Makefile" ;;
9861     "amidi/Makefile") CONFIG_FILES="$CONFIG_FILES amidi/Makefile" ;;
9862     "amixer/Makefile") CONFIG_FILES="$CONFIG_FILES amixer/Makefile" ;;
9863     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
9864     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9865     "alsaconf/alsaconf") CONFIG_FILES="$CONFIG_FILES alsaconf/alsaconf" ;;
9866     "alsaconf/Makefile") CONFIG_FILES="$CONFIG_FILES alsaconf/Makefile" ;;
9867     "alsaconf/po/Makefile") CONFIG_FILES="$CONFIG_FILES alsaconf/po/Makefile" ;;
9868     "alsaucm/Makefile") CONFIG_FILES="$CONFIG_FILES alsaucm/Makefile" ;;
9869     "aplay/Makefile") CONFIG_FILES="$CONFIG_FILES aplay/Makefile" ;;
9870     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
9871     "iecset/Makefile") CONFIG_FILES="$CONFIG_FILES iecset/Makefile" ;;
9872     "utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
9873     "utils/alsa-utils.spec") CONFIG_FILES="$CONFIG_FILES utils/alsa-utils.spec" ;;
9874     "seq/Makefile") CONFIG_FILES="$CONFIG_FILES seq/Makefile" ;;
9875     "seq/aconnect/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aconnect/Makefile" ;;
9876     "seq/aplaymidi/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aplaymidi/Makefile" ;;
9877     "seq/aseqdump/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aseqdump/Makefile" ;;
9878     "seq/aseqnet/Makefile") CONFIG_FILES="$CONFIG_FILES seq/aseqnet/Makefile" ;;
9879     "speaker-test/Makefile") CONFIG_FILES="$CONFIG_FILES speaker-test/Makefile" ;;
9880     "speaker-test/samples/Makefile") CONFIG_FILES="$CONFIG_FILES speaker-test/samples/Makefile" ;;
9881     "alsaloop/Makefile") CONFIG_FILES="$CONFIG_FILES alsaloop/Makefile" ;;
9882
9883   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
9884   esac
9885 done
9886
9887
9888 # If the user did not use the arguments to specify the items to instantiate,
9889 # then the envvar interface is used.  Set only those that are not.
9890 # We use the long form for the default assignment because of an extremely
9891 # bizarre bug on SunOS 4.1.3.
9892 if $ac_need_defaults; then
9893   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9894   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9895   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9896 fi
9897
9898 # Have a temporary directory for convenience.  Make it in the build tree
9899 # simply because there is no reason against having it here, and in addition,
9900 # creating and moving files from /tmp can sometimes cause problems.
9901 # Hook for its removal unless debugging.
9902 # Note that there is a small window in which the directory will not be cleaned:
9903 # after its creation but before its name has been assigned to `$tmp'.
9904 $debug ||
9905 {
9906   tmp= ac_tmp=
9907   trap 'exit_status=$?
9908   : "${ac_tmp:=$tmp}"
9909   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
9910 ' 0
9911   trap 'as_fn_exit 1' 1 2 13 15
9912 }
9913 # Create a (secure) tmp directory for tmp files.
9914
9915 {
9916   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9917   test -d "$tmp"
9918 }  ||
9919 {
9920   tmp=./conf$$-$RANDOM
9921   (umask 077 && mkdir "$tmp")
9922 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
9923 ac_tmp=$tmp
9924
9925 # Set up the scripts for CONFIG_FILES section.
9926 # No need to generate them if there are no CONFIG_FILES.
9927 # This happens for instance with `./config.status config.h'.
9928 if test -n "$CONFIG_FILES"; then
9929
9930
9931 ac_cr=`echo X | tr X '\015'`
9932 # On cygwin, bash can eat \r inside `` if the user requested igncr.
9933 # But we know of no other shell where ac_cr would be empty at this
9934 # point, so we can use a bashism as a fallback.
9935 if test "x$ac_cr" = x; then
9936   eval ac_cr=\$\'\\r\'
9937 fi
9938 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
9939 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
9940   ac_cs_awk_cr='\\r'
9941 else
9942   ac_cs_awk_cr=$ac_cr
9943 fi
9944
9945 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
9946 _ACEOF
9947
9948
9949 {
9950   echo "cat >conf$$subs.awk <<_ACEOF" &&
9951   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
9952   echo "_ACEOF"
9953 } >conf$$subs.sh ||
9954   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9955 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
9956 ac_delim='%!_!# '
9957 for ac_last_try in false false false false false :; do
9958   . ./conf$$subs.sh ||
9959     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9960
9961   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
9962   if test $ac_delim_n = $ac_delim_num; then
9963     break
9964   elif $ac_last_try; then
9965     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9966   else
9967     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9968   fi
9969 done
9970 rm -f conf$$subs.sh
9971
9972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9973 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9974 _ACEOF
9975 sed -n '
9976 h
9977 s/^/S["/; s/!.*/"]=/
9978 p
9979 g
9980 s/^[^!]*!//
9981 :repl
9982 t repl
9983 s/'"$ac_delim"'$//
9984 t delim
9985 :nl
9986 h
9987 s/\(.\{148\}\)..*/\1/
9988 t more1
9989 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9990 p
9991 n
9992 b repl
9993 :more1
9994 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9995 p
9996 g
9997 s/.\{148\}//
9998 t nl
9999 :delim
10000 h
10001 s/\(.\{148\}\)..*/\1/
10002 t more2
10003 s/["\\]/\\&/g; s/^/"/; s/$/"/
10004 p
10005 b
10006 :more2
10007 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
10008 p
10009 g
10010 s/.\{148\}//
10011 t delim
10012 ' <conf$$subs.awk | sed '
10013 /^[^""]/{
10014   N
10015   s/\n//
10016 }
10017 ' >>$CONFIG_STATUS || ac_write_fail=1
10018 rm -f conf$$subs.awk
10019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10020 _ACAWK
10021 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
10022   for (key in S) S_is_set[key] = 1
10023   FS = "\a"
10024
10025 }
10026 {
10027   line = $ 0
10028   nfields = split(line, field, "@")
10029   substed = 0
10030   len = length(field[1])
10031   for (i = 2; i < nfields; i++) {
10032     key = field[i]
10033     keylen = length(key)
10034     if (S_is_set[key]) {
10035       value = S[key]
10036       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10037       len += length(value) + length(field[++i])
10038       substed = 1
10039     } else
10040       len += 1 + keylen
10041   }
10042
10043   print line
10044 }
10045
10046 _ACAWK
10047 _ACEOF
10048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10049 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10050   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
10051 else
10052   cat
10053 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
10054   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
10055 _ACEOF
10056
10057 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
10058 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
10059 # trailing colons and then remove the whole line if VPATH becomes empty
10060 # (actually we leave an empty line to preserve line numbers).
10061 if test "x$srcdir" = x.; then
10062   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
10063 h
10064 s///
10065 s/^/:/
10066 s/[      ]*$/:/
10067 s/:\$(srcdir):/:/g
10068 s/:\${srcdir}:/:/g
10069 s/:@srcdir@:/:/g
10070 s/^:*//
10071 s/:*$//
10072 x
10073 s/\(=[   ]*\).*/\1/
10074 G
10075 s/\n//
10076 s/^[^=]*=[       ]*$//
10077 }'
10078 fi
10079
10080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10081 fi # test -n "$CONFIG_FILES"
10082
10083 # Set up the scripts for CONFIG_HEADERS section.
10084 # No need to generate them if there are no CONFIG_HEADERS.
10085 # This happens for instance with `./config.status Makefile'.
10086 if test -n "$CONFIG_HEADERS"; then
10087 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
10088 BEGIN {
10089 _ACEOF
10090
10091 # Transform confdefs.h into an awk script `defines.awk', embedded as
10092 # here-document in config.status, that substitutes the proper values into
10093 # config.h.in to produce config.h.
10094
10095 # Create a delimiter string that does not exist in confdefs.h, to ease
10096 # handling of long lines.
10097 ac_delim='%!_!# '
10098 for ac_last_try in false false :; do
10099   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
10100   if test -z "$ac_tt"; then
10101     break
10102   elif $ac_last_try; then
10103     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
10104   else
10105     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
10106   fi
10107 done
10108
10109 # For the awk script, D is an array of macro values keyed by name,
10110 # likewise P contains macro parameters if any.  Preserve backslash
10111 # newline sequences.
10112
10113 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10114 sed -n '
10115 s/.\{148\}/&'"$ac_delim"'/g
10116 t rset
10117 :rset
10118 s/^[     ]*#[    ]*define[       ][      ]*/ /
10119 t def
10120 d
10121 :def
10122 s/\\$//
10123 t bsnl
10124 s/["\\]/\\&/g
10125 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10126 D["\1"]=" \3"/p
10127 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
10128 d
10129 :bsnl
10130 s/["\\]/\\&/g
10131 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
10132 D["\1"]=" \3\\\\\\n"\\/p
10133 t cont
10134 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
10135 t cont
10136 d
10137 :cont
10138 n
10139 s/.\{148\}/&'"$ac_delim"'/g
10140 t clear
10141 :clear
10142 s/\\$//
10143 t bsnlc
10144 s/["\\]/\\&/g; s/^/"/; s/$/"/p
10145 d
10146 :bsnlc
10147 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
10148 b cont
10149 ' <confdefs.h | sed '
10150 s/'"$ac_delim"'/"\\\
10151 "/g' >>$CONFIG_STATUS || ac_write_fail=1
10152
10153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10154   for (key in D) D_is_set[key] = 1
10155   FS = "\a"
10156 }
10157 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10158   line = \$ 0
10159   split(line, arg, " ")
10160   if (arg[1] == "#") {
10161     defundef = arg[2]
10162     mac1 = arg[3]
10163   } else {
10164     defundef = substr(arg[1], 2)
10165     mac1 = arg[2]
10166   }
10167   split(mac1, mac2, "(") #)
10168   macro = mac2[1]
10169   prefix = substr(line, 1, index(line, defundef) - 1)
10170   if (D_is_set[macro]) {
10171     # Preserve the white space surrounding the "#".
10172     print prefix "define", macro P[macro] D[macro]
10173     next
10174   } else {
10175     # Replace #undef with comments.  This is necessary, for example,
10176     # in the case of _POSIX_SOURCE, which is predefined and required
10177     # on some systems where configure will not decide to define it.
10178     if (defundef == "undef") {
10179       print "/*", prefix defundef, macro, "*/"
10180       next
10181     }
10182   }
10183 }
10184 { print }
10185 _ACAWK
10186 _ACEOF
10187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10188   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
10189 fi # test -n "$CONFIG_HEADERS"
10190
10191
10192 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
10193 shift
10194 for ac_tag
10195 do
10196   case $ac_tag in
10197   :[FHLC]) ac_mode=$ac_tag; continue;;
10198   esac
10199   case $ac_mode$ac_tag in
10200   :[FHL]*:*);;
10201   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
10202   :[FH]-) ac_tag=-:-;;
10203   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10204   esac
10205   ac_save_IFS=$IFS
10206   IFS=:
10207   set x $ac_tag
10208   IFS=$ac_save_IFS
10209   shift
10210   ac_file=$1
10211   shift
10212
10213   case $ac_mode in
10214   :L) ac_source=$1;;
10215   :[FH])
10216     ac_file_inputs=
10217     for ac_f
10218     do
10219       case $ac_f in
10220       -) ac_f="$ac_tmp/stdin";;
10221       *) # Look for the file first in the build tree, then in the source tree
10222          # (if the path is not absolute).  The absolute path cannot be DOS-style,
10223          # because $ac_f cannot contain `:'.
10224          test -f "$ac_f" ||
10225            case $ac_f in
10226            [\\/$]*) false;;
10227            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10228            esac ||
10229            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
10230       esac
10231       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10232       as_fn_append ac_file_inputs " '$ac_f'"
10233     done
10234
10235     # Let's still pretend it is `configure' which instantiates (i.e., don't
10236     # use $as_me), people would be surprised to read:
10237     #    /* config.h.  Generated by config.status.  */
10238     configure_input='Generated from '`
10239           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10240         `' by configure.'
10241     if test x"$ac_file" != x-; then
10242       configure_input="$ac_file.  $configure_input"
10243       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
10244 $as_echo "$as_me: creating $ac_file" >&6;}
10245     fi
10246     # Neutralize special characters interpreted by sed in replacement strings.
10247     case $configure_input in #(
10248     *\&* | *\|* | *\\* )
10249        ac_sed_conf_input=`$as_echo "$configure_input" |
10250        sed 's/[\\\\&|]/\\\\&/g'`;; #(
10251     *) ac_sed_conf_input=$configure_input;;
10252     esac
10253
10254     case $ac_tag in
10255     *:-:* | *:-) cat >"$ac_tmp/stdin" \
10256       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
10257     esac
10258     ;;
10259   esac
10260
10261   ac_dir=`$as_dirname -- "$ac_file" ||
10262 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10263          X"$ac_file" : 'X\(//\)[^/]' \| \
10264          X"$ac_file" : 'X\(//\)$' \| \
10265          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10266 $as_echo X"$ac_file" |
10267     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10268             s//\1/
10269             q
10270           }
10271           /^X\(\/\/\)[^/].*/{
10272             s//\1/
10273             q
10274           }
10275           /^X\(\/\/\)$/{
10276             s//\1/
10277             q
10278           }
10279           /^X\(\/\).*/{
10280             s//\1/
10281             q
10282           }
10283           s/.*/./; q'`
10284   as_dir="$ac_dir"; as_fn_mkdir_p
10285   ac_builddir=.
10286
10287 case "$ac_dir" in
10288 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
10289 *)
10290   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10291   # A ".." for each directory in $ac_dir_suffix.
10292   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10293   case $ac_top_builddir_sub in
10294   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
10295   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
10296   esac ;;
10297 esac
10298 ac_abs_top_builddir=$ac_pwd
10299 ac_abs_builddir=$ac_pwd$ac_dir_suffix
10300 # for backward compatibility:
10301 ac_top_builddir=$ac_top_build_prefix
10302
10303 case $srcdir in
10304   .)  # We are building in place.
10305     ac_srcdir=.
10306     ac_top_srcdir=$ac_top_builddir_sub
10307     ac_abs_top_srcdir=$ac_pwd ;;
10308   [\\/]* | ?:[\\/]* )  # Absolute name.
10309     ac_srcdir=$srcdir$ac_dir_suffix;
10310     ac_top_srcdir=$srcdir
10311     ac_abs_top_srcdir=$srcdir ;;
10312   *) # Relative name.
10313     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
10314     ac_top_srcdir=$ac_top_build_prefix$srcdir
10315     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
10316 esac
10317 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
10318
10319
10320   case $ac_mode in
10321   :F)
10322   #
10323   # CONFIG_FILE
10324   #
10325
10326   case $INSTALL in
10327   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10328   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
10329   esac
10330   ac_MKDIR_P=$MKDIR_P
10331   case $MKDIR_P in
10332   [\\/$]* | ?:[\\/]* ) ;;
10333   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
10334   esac
10335 _ACEOF
10336
10337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10338 # If the template does not know about datarootdir, expand it.
10339 # FIXME: This hack should be removed a few years after 2.60.
10340 ac_datarootdir_hack=; ac_datarootdir_seen=
10341 ac_sed_dataroot='
10342 /datarootdir/ {
10343   p
10344   q
10345 }
10346 /@datadir@/p
10347 /@docdir@/p
10348 /@infodir@/p
10349 /@localedir@/p
10350 /@mandir@/p'
10351 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10352 *datarootdir*) ac_datarootdir_seen=yes;;
10353 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
10354   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10355 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10356 _ACEOF
10357 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10358   ac_datarootdir_hack='
10359   s&@datadir@&$datadir&g
10360   s&@docdir@&$docdir&g
10361   s&@infodir@&$infodir&g
10362   s&@localedir@&$localedir&g
10363   s&@mandir@&$mandir&g
10364   s&\\\${datarootdir}&$datarootdir&g' ;;
10365 esac
10366 _ACEOF
10367
10368 # Neutralize VPATH when `$srcdir' = `.'.
10369 # Shell code in configure.ac might set extrasub.
10370 # FIXME: do we really want to maintain this feature?
10371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10372 ac_sed_extra="$ac_vpsub
10373 $extrasub
10374 _ACEOF
10375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10376 :t
10377 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10378 s|@configure_input@|$ac_sed_conf_input|;t t
10379 s&@top_builddir@&$ac_top_builddir_sub&;t t
10380 s&@top_build_prefix@&$ac_top_build_prefix&;t t
10381 s&@srcdir@&$ac_srcdir&;t t
10382 s&@abs_srcdir@&$ac_abs_srcdir&;t t
10383 s&@top_srcdir@&$ac_top_srcdir&;t t
10384 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
10385 s&@builddir@&$ac_builddir&;t t
10386 s&@abs_builddir@&$ac_abs_builddir&;t t
10387 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
10388 s&@INSTALL@&$ac_INSTALL&;t t
10389 s&@MKDIR_P@&$ac_MKDIR_P&;t t
10390 $ac_datarootdir_hack
10391 "
10392 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
10393   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10394
10395 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10396   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
10397   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
10398       "$ac_tmp/out"`; test -z "$ac_out"; } &&
10399   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10400 which seems to be undefined.  Please make sure it is defined" >&5
10401 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
10402 which seems to be undefined.  Please make sure it is defined" >&2;}
10403
10404   rm -f "$ac_tmp/stdin"
10405   case $ac_file in
10406   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
10407   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
10408   esac \
10409   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10410  ;;
10411   :H)
10412   #
10413   # CONFIG_HEADER
10414   #
10415   if test x"$ac_file" != x-; then
10416     {
10417       $as_echo "/* $configure_input  */" \
10418       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
10419     } >"$ac_tmp/config.h" \
10420       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10421     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
10422       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
10423 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10424     else
10425       rm -f "$ac_file"
10426       mv "$ac_tmp/config.h" "$ac_file" \
10427         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
10428     fi
10429   else
10430     $as_echo "/* $configure_input  */" \
10431       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
10432       || as_fn_error $? "could not create -" "$LINENO" 5
10433   fi
10434 # Compute "$ac_file"'s index in $config_headers.
10435 _am_arg="$ac_file"
10436 _am_stamp_count=1
10437 for _am_header in $config_headers :; do
10438   case $_am_header in
10439     $_am_arg | $_am_arg:* )
10440       break ;;
10441     * )
10442       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10443   esac
10444 done
10445 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10446 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10447          X"$_am_arg" : 'X\(//\)[^/]' \| \
10448          X"$_am_arg" : 'X\(//\)$' \| \
10449          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10450 $as_echo X"$_am_arg" |
10451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10452             s//\1/
10453             q
10454           }
10455           /^X\(\/\/\)[^/].*/{
10456             s//\1/
10457             q
10458           }
10459           /^X\(\/\/\)$/{
10460             s//\1/
10461             q
10462           }
10463           /^X\(\/\).*/{
10464             s//\1/
10465             q
10466           }
10467           s/.*/./; q'`/stamp-h$_am_stamp_count
10468  ;;
10469
10470   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
10471 $as_echo "$as_me: executing $ac_file commands" >&6;}
10472  ;;
10473   esac
10474
10475
10476   case $ac_file$ac_mode in
10477     "po-directories":C)
10478     for ac_file in $CONFIG_FILES; do
10479       # Support "outfile[:infile[:infile...]]"
10480       case "$ac_file" in
10481         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
10482       esac
10483       # PO directories have a Makefile.in generated from Makefile.in.in.
10484       case "$ac_file" in */Makefile.in)
10485         # Adjust a relative srcdir.
10486         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
10487         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
10488         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
10489         # In autoconf-2.13 it is called $ac_given_srcdir.
10490         # In autoconf-2.50 it is called $srcdir.
10491         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
10492         case "$ac_given_srcdir" in
10493           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
10494           /*) top_srcdir="$ac_given_srcdir" ;;
10495           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
10496         esac
10497         # Treat a directory as a PO directory if and only if it has a
10498         # POTFILES.in file. This allows packages to have multiple PO
10499         # directories under different names or in different locations.
10500         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
10501           rm -f "$ac_dir/POTFILES"
10502           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
10503           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
10504           POMAKEFILEDEPS="POTFILES.in"
10505           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
10506           # on $ac_dir but don't depend on user-specified configuration
10507           # parameters.
10508           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
10509             # The LINGUAS file contains the set of available languages.
10510             if test -n "$OBSOLETE_ALL_LINGUAS"; then
10511               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
10512             fi
10513             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
10514             # Hide the ALL_LINGUAS assigment from automake < 1.5.
10515             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
10516             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
10517           else
10518             # The set of available languages was given in configure.in.
10519             # Hide the ALL_LINGUAS assigment from automake < 1.5.
10520             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
10521           fi
10522           # Compute POFILES
10523           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
10524           # Compute UPDATEPOFILES
10525           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
10526           # Compute DUMMYPOFILES
10527           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
10528           # Compute GMOFILES
10529           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
10530           case "$ac_given_srcdir" in
10531             .) srcdirpre= ;;
10532             *) srcdirpre='$(srcdir)/' ;;
10533           esac
10534           POFILES=
10535           UPDATEPOFILES=
10536           DUMMYPOFILES=
10537           GMOFILES=
10538           for lang in $ALL_LINGUAS; do
10539             POFILES="$POFILES $srcdirpre$lang.po"
10540             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
10541             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
10542             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
10543           done
10544           # CATALOGS depends on both $ac_dir and the user's LINGUAS
10545           # environment variable.
10546           INST_LINGUAS=
10547           if test -n "$ALL_LINGUAS"; then
10548             for presentlang in $ALL_LINGUAS; do
10549               useit=no
10550               if test "%UNSET%" != "$LINGUAS"; then
10551                 desiredlanguages="$LINGUAS"
10552               else
10553                 desiredlanguages="$ALL_LINGUAS"
10554               fi
10555               for desiredlang in $desiredlanguages; do
10556                 # Use the presentlang catalog if desiredlang is
10557                 #   a. equal to presentlang, or
10558                 #   b. a variant of presentlang (because in this case,
10559                 #      presentlang can be used as a fallback for messages
10560                 #      which are not translated in the desiredlang catalog).
10561                 case "$desiredlang" in
10562                   "$presentlang"*) useit=yes;;
10563                 esac
10564               done
10565               if test $useit = yes; then
10566                 INST_LINGUAS="$INST_LINGUAS $presentlang"
10567               fi
10568             done
10569           fi
10570           CATALOGS=
10571           if test -n "$INST_LINGUAS"; then
10572             for lang in $INST_LINGUAS; do
10573               CATALOGS="$CATALOGS $lang.gmo"
10574             done
10575           fi
10576           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
10577           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
10578           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
10579             if test -f "$f"; then
10580               case "$f" in
10581                 *.orig | *.bak | *~) ;;
10582                 *) cat "$f" >> "$ac_dir/Makefile" ;;
10583               esac
10584             fi
10585           done
10586         fi
10587         ;;
10588       esac
10589     done ;;
10590     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
10591   # Autoconf 2.62 quotes --file arguments for eval, but not when files
10592   # are listed without --file.  Let's play safe and only enable the eval
10593   # if we detect the quoting.
10594   case $CONFIG_FILES in
10595   *\'*) eval set x "$CONFIG_FILES" ;;
10596   *)   set x $CONFIG_FILES ;;
10597   esac
10598   shift
10599   for mf
10600   do
10601     # Strip MF so we end up with the name of the file.
10602     mf=`echo "$mf" | sed -e 's/:.*$//'`
10603     # Check whether this is an Automake generated Makefile or not.
10604     # We used to match only the files named 'Makefile.in', but
10605     # some people rename them; so instead we look at the file content.
10606     # Grep'ing the first line is not enough: some people post-process
10607     # each Makefile.in and add a new line on top of each file to say so.
10608     # Grep'ing the whole file is not good either: AIX grep has a line
10609     # limit of 2048, but all sed's we know have understand at least 4000.
10610     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
10611       dirpart=`$as_dirname -- "$mf" ||
10612 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10613          X"$mf" : 'X\(//\)[^/]' \| \
10614          X"$mf" : 'X\(//\)$' \| \
10615          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10616 $as_echo X"$mf" |
10617     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10618             s//\1/
10619             q
10620           }
10621           /^X\(\/\/\)[^/].*/{
10622             s//\1/
10623             q
10624           }
10625           /^X\(\/\/\)$/{
10626             s//\1/
10627             q
10628           }
10629           /^X\(\/\).*/{
10630             s//\1/
10631             q
10632           }
10633           s/.*/./; q'`
10634     else
10635       continue
10636     fi
10637     # Extract the definition of DEPDIR, am__include, and am__quote
10638     # from the Makefile without running 'make'.
10639     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10640     test -z "$DEPDIR" && continue
10641     am__include=`sed -n 's/^am__include = //p' < "$mf"`
10642     test -z "am__include" && continue
10643     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10644     # Find all dependency output files, they are included files with
10645     # $(DEPDIR) in their names.  We invoke sed twice because it is the
10646     # simplest approach to changing $(DEPDIR) to its actual value in the
10647     # expansion.
10648     for file in `sed -n "
10649       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10650          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
10651       # Make sure the directory exists.
10652       test -f "$dirpart/$file" && continue
10653       fdir=`$as_dirname -- "$file" ||
10654 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10655          X"$file" : 'X\(//\)[^/]' \| \
10656          X"$file" : 'X\(//\)$' \| \
10657          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10658 $as_echo X"$file" |
10659     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10660             s//\1/
10661             q
10662           }
10663           /^X\(\/\/\)[^/].*/{
10664             s//\1/
10665             q
10666           }
10667           /^X\(\/\/\)$/{
10668             s//\1/
10669             q
10670           }
10671           /^X\(\/\).*/{
10672             s//\1/
10673             q
10674           }
10675           s/.*/./; q'`
10676       as_dir=$dirpart/$fdir; as_fn_mkdir_p
10677       # echo "creating $dirpart/$file"
10678       echo '# dummy' > "$dirpart/$file"
10679     done
10680   done
10681 }
10682  ;;
10683
10684   esac
10685 done # for ac_tag
10686
10687
10688 as_fn_exit 0
10689 _ACEOF
10690 ac_clean_files=$ac_clean_files_save
10691
10692 test $ac_write_fail = 0 ||
10693   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
10694
10695
10696 # configure is writing to config.log, and then calls config.status.
10697 # config.status does its own redirection, appending to config.log.
10698 # Unfortunately, on DOS this fails, as config.log is still kept open
10699 # by configure, so config.status won't be able to write to it; its
10700 # output is simply discarded.  So we exec the FD to /dev/null,
10701 # effectively closing config.log, so it can be properly (re)opened and
10702 # appended to by config.status.  When coming back to configure, we
10703 # need to make the FD available again.
10704 if test "$no_create" != yes; then
10705   ac_cs_success=:
10706   ac_config_status_args=
10707   test "$silent" = yes &&
10708     ac_config_status_args="$ac_config_status_args --quiet"
10709   exec 5>/dev/null
10710   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10711   exec 5>>config.log
10712   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10713   # would make configure fail if this is the last instruction.
10714   $ac_cs_success || as_fn_exit 1
10715 fi
10716 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
10717   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
10718 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
10719 fi
10720