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