tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

configure (335509B)


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