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