1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for mp3splt 2.6.2.
4#
5# Report bugs to <mtrotta@users.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: mtrotta@users.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='mp3splt'
582PACKAGE_TARNAME='mp3splt'
583PACKAGE_VERSION='2.6.2'
584PACKAGE_STRING='mp3splt 2.6.2'
585PACKAGE_BUGREPORT='mtrotta@users.sourceforge.net'
586PACKAGE_URL=''
587
588ac_unique_file="src/mp3splt.c"
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
629DO_FLAC_SYMLINK_FALSE
630DO_FLAC_SYMLINK_TRUE
631DO_OGG_SYMLINK_FALSE
632DO_OGG_SYMLINK_TRUE
633LIBMP3SPLT_LIBS
634LIBMP3SPLT_CFLAGS
635PKG_CONFIG_LIBDIR
636PKG_CONFIG_PATH
637PKG_CONFIG
638WIN32_FALSE
639WIN32_TRUE
640POSUB
641LTLIBINTL
642LIBINTL
643INTLLIBS
644LTLIBICONV
645LIBICONV
646host_os
647host_vendor
648host_cpu
649host
650build_os
651build_vendor
652build_cpu
653build
654MSGMERGE
655XGETTEXT
656GMSGFMT
657MSGFMT
658USE_NLS
659MKINSTALLDIRS
660EGREP
661GREP
662CPP
663LN_S
664am__fastdepCC_FALSE
665am__fastdepCC_TRUE
666CCDEPMODE
667am__nodep
668AMDEPBACKSLASH
669AMDEP_FALSE
670AMDEP_TRUE
671am__quote
672am__include
673DEPDIR
674OBJEXT
675EXEEXT
676ac_ct_CC
677CPPFLAGS
678LDFLAGS
679CFLAGS
680CC
681MAINT
682MAINTAINER_MODE_FALSE
683MAINTAINER_MODE_TRUE
684AM_BACKSLASH
685AM_DEFAULT_VERBOSITY
686AM_DEFAULT_V
687AM_V
688am__untar
689am__tar
690AMTAR
691am__leading_dot
692SET_MAKE
693AWK
694mkdir_p
695MKDIR_P
696INSTALL_STRIP_PROGRAM
697STRIP
698install_sh
699MAKEINFO
700AUTOHEADER
701AUTOMAKE
702AUTOCONF
703ACLOCAL
704VERSION
705PACKAGE
706CYGPATH_W
707am__isrc
708INSTALL_DATA
709INSTALL_SCRIPT
710INSTALL_PROGRAM
711target_alias
712host_alias
713build_alias
714LIBS
715ECHO_T
716ECHO_N
717ECHO_C
718DEFS
719mandir
720localedir
721libdir
722psdir
723pdfdir
724dvidir
725htmldir
726infodir
727docdir
728oldincludedir
729includedir
730localstatedir
731sharedstatedir
732sysconfdir
733datadir
734datarootdir
735libexecdir
736sbindir
737bindir
738program_transform_name
739prefix
740exec_prefix
741PACKAGE_URL
742PACKAGE_BUGREPORT
743PACKAGE_STRING
744PACKAGE_VERSION
745PACKAGE_TARNAME
746PACKAGE_NAME
747PATH_SEPARATOR
748SHELL'
749ac_subst_files=''
750ac_user_opts='
751enable_option_checking
752enable_silent_rules
753enable_maintainer_mode
754enable_dependency_tracking
755enable_nls
756with_gnu_ld
757enable_rpath
758with_libiconv_prefix
759with_libintl_prefix
760enable_oggsplt_symlink
761enable_flacsplt_symlink
762enable_c_debug
763enable_optimise
764enable_extra_warnings
765'
766      ac_precious_vars='build_alias
767host_alias
768target_alias
769CC
770CFLAGS
771LDFLAGS
772LIBS
773CPPFLAGS
774CPP
775PKG_CONFIG
776PKG_CONFIG_PATH
777PKG_CONFIG_LIBDIR
778LIBMP3SPLT_CFLAGS
779LIBMP3SPLT_LIBS'
780
781
782# Initialize some variables set by options.
783ac_init_help=
784ac_init_version=false
785ac_unrecognized_opts=
786ac_unrecognized_sep=
787# The variables have the same names as the options, with
788# dashes changed to underlines.
789cache_file=/dev/null
790exec_prefix=NONE
791no_create=
792no_recursion=
793prefix=NONE
794program_prefix=NONE
795program_suffix=NONE
796program_transform_name=s,x,x,
797silent=
798site=
799srcdir=
800verbose=
801x_includes=NONE
802x_libraries=NONE
803
804# Installation directory options.
805# These are left unexpanded so users can "make install exec_prefix=/foo"
806# and all the variables that are supposed to be based on exec_prefix
807# by default will actually change.
808# Use braces instead of parens because sh, perl, etc. also accept them.
809# (The list follows the same order as the GNU Coding Standards.)
810bindir='${exec_prefix}/bin'
811sbindir='${exec_prefix}/sbin'
812libexecdir='${exec_prefix}/libexec'
813datarootdir='${prefix}/share'
814datadir='${datarootdir}'
815sysconfdir='${prefix}/etc'
816sharedstatedir='${prefix}/com'
817localstatedir='${prefix}/var'
818includedir='${prefix}/include'
819oldincludedir='/usr/include'
820docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
821infodir='${datarootdir}/info'
822htmldir='${docdir}'
823dvidir='${docdir}'
824pdfdir='${docdir}'
825psdir='${docdir}'
826libdir='${exec_prefix}/lib'
827localedir='${datarootdir}/locale'
828mandir='${datarootdir}/man'
829
830ac_prev=
831ac_dashdash=
832for ac_option
833do
834  # If the previous option needs an argument, assign it.
835  if test -n "$ac_prev"; then
836    eval $ac_prev=\$ac_option
837    ac_prev=
838    continue
839  fi
840
841  case $ac_option in
842  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
843  *=)   ac_optarg= ;;
844  *)    ac_optarg=yes ;;
845  esac
846
847  # Accept the important Cygnus configure options, so we can diagnose typos.
848
849  case $ac_dashdash$ac_option in
850  --)
851    ac_dashdash=yes ;;
852
853  -bindir | --bindir | --bindi | --bind | --bin | --bi)
854    ac_prev=bindir ;;
855  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
856    bindir=$ac_optarg ;;
857
858  -build | --build | --buil | --bui | --bu)
859    ac_prev=build_alias ;;
860  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
861    build_alias=$ac_optarg ;;
862
863  -cache-file | --cache-file | --cache-fil | --cache-fi \
864  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
865    ac_prev=cache_file ;;
866  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
867  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
868    cache_file=$ac_optarg ;;
869
870  --config-cache | -C)
871    cache_file=config.cache ;;
872
873  -datadir | --datadir | --datadi | --datad)
874    ac_prev=datadir ;;
875  -datadir=* | --datadir=* | --datadi=* | --datad=*)
876    datadir=$ac_optarg ;;
877
878  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
879  | --dataroo | --dataro | --datar)
880    ac_prev=datarootdir ;;
881  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
882  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
883    datarootdir=$ac_optarg ;;
884
885  -disable-* | --disable-*)
886    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
887    # Reject names that are not valid shell variable names.
888    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
889      as_fn_error $? "invalid feature name: $ac_useropt"
890    ac_useropt_orig=$ac_useropt
891    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
892    case $ac_user_opts in
893      *"
894"enable_$ac_useropt"
895"*) ;;
896      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
897	 ac_unrecognized_sep=', ';;
898    esac
899    eval enable_$ac_useropt=no ;;
900
901  -docdir | --docdir | --docdi | --doc | --do)
902    ac_prev=docdir ;;
903  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904    docdir=$ac_optarg ;;
905
906  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907    ac_prev=dvidir ;;
908  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909    dvidir=$ac_optarg ;;
910
911  -enable-* | --enable-*)
912    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913    # Reject names that are not valid shell variable names.
914    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
915      as_fn_error $? "invalid feature name: $ac_useropt"
916    ac_useropt_orig=$ac_useropt
917    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
918    case $ac_user_opts in
919      *"
920"enable_$ac_useropt"
921"*) ;;
922      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
923	 ac_unrecognized_sep=', ';;
924    esac
925    eval enable_$ac_useropt=\$ac_optarg ;;
926
927  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
928  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
929  | --exec | --exe | --ex)
930    ac_prev=exec_prefix ;;
931  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
932  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
933  | --exec=* | --exe=* | --ex=*)
934    exec_prefix=$ac_optarg ;;
935
936  -gas | --gas | --ga | --g)
937    # Obsolete; use --with-gas.
938    with_gas=yes ;;
939
940  -help | --help | --hel | --he | -h)
941    ac_init_help=long ;;
942  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
943    ac_init_help=recursive ;;
944  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
945    ac_init_help=short ;;
946
947  -host | --host | --hos | --ho)
948    ac_prev=host_alias ;;
949  -host=* | --host=* | --hos=* | --ho=*)
950    host_alias=$ac_optarg ;;
951
952  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
953    ac_prev=htmldir ;;
954  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
955  | --ht=*)
956    htmldir=$ac_optarg ;;
957
958  -includedir | --includedir | --includedi | --included | --include \
959  | --includ | --inclu | --incl | --inc)
960    ac_prev=includedir ;;
961  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
962  | --includ=* | --inclu=* | --incl=* | --inc=*)
963    includedir=$ac_optarg ;;
964
965  -infodir | --infodir | --infodi | --infod | --info | --inf)
966    ac_prev=infodir ;;
967  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
968    infodir=$ac_optarg ;;
969
970  -libdir | --libdir | --libdi | --libd)
971    ac_prev=libdir ;;
972  -libdir=* | --libdir=* | --libdi=* | --libd=*)
973    libdir=$ac_optarg ;;
974
975  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
976  | --libexe | --libex | --libe)
977    ac_prev=libexecdir ;;
978  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
979  | --libexe=* | --libex=* | --libe=*)
980    libexecdir=$ac_optarg ;;
981
982  -localedir | --localedir | --localedi | --localed | --locale)
983    ac_prev=localedir ;;
984  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
985    localedir=$ac_optarg ;;
986
987  -localstatedir | --localstatedir | --localstatedi | --localstated \
988  | --localstate | --localstat | --localsta | --localst | --locals)
989    ac_prev=localstatedir ;;
990  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
991  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
992    localstatedir=$ac_optarg ;;
993
994  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
995    ac_prev=mandir ;;
996  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
997    mandir=$ac_optarg ;;
998
999  -nfp | --nfp | --nf)
1000    # Obsolete; use --without-fp.
1001    with_fp=no ;;
1002
1003  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1004  | --no-cr | --no-c | -n)
1005    no_create=yes ;;
1006
1007  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1008  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1009    no_recursion=yes ;;
1010
1011  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1012  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1013  | --oldin | --oldi | --old | --ol | --o)
1014    ac_prev=oldincludedir ;;
1015  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1016  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1017  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1018    oldincludedir=$ac_optarg ;;
1019
1020  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1021    ac_prev=prefix ;;
1022  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1023    prefix=$ac_optarg ;;
1024
1025  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1026  | --program-pre | --program-pr | --program-p)
1027    ac_prev=program_prefix ;;
1028  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1029  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1030    program_prefix=$ac_optarg ;;
1031
1032  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1033  | --program-suf | --program-su | --program-s)
1034    ac_prev=program_suffix ;;
1035  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1036  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1037    program_suffix=$ac_optarg ;;
1038
1039  -program-transform-name | --program-transform-name \
1040  | --program-transform-nam | --program-transform-na \
1041  | --program-transform-n | --program-transform- \
1042  | --program-transform | --program-transfor \
1043  | --program-transfo | --program-transf \
1044  | --program-trans | --program-tran \
1045  | --progr-tra | --program-tr | --program-t)
1046    ac_prev=program_transform_name ;;
1047  -program-transform-name=* | --program-transform-name=* \
1048  | --program-transform-nam=* | --program-transform-na=* \
1049  | --program-transform-n=* | --program-transform-=* \
1050  | --program-transform=* | --program-transfor=* \
1051  | --program-transfo=* | --program-transf=* \
1052  | --program-trans=* | --program-tran=* \
1053  | --progr-tra=* | --program-tr=* | --program-t=*)
1054    program_transform_name=$ac_optarg ;;
1055
1056  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1057    ac_prev=pdfdir ;;
1058  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1059    pdfdir=$ac_optarg ;;
1060
1061  -psdir | --psdir | --psdi | --psd | --ps)
1062    ac_prev=psdir ;;
1063  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1064    psdir=$ac_optarg ;;
1065
1066  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067  | -silent | --silent | --silen | --sile | --sil)
1068    silent=yes ;;
1069
1070  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1071    ac_prev=sbindir ;;
1072  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1073  | --sbi=* | --sb=*)
1074    sbindir=$ac_optarg ;;
1075
1076  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1077  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1078  | --sharedst | --shareds | --shared | --share | --shar \
1079  | --sha | --sh)
1080    ac_prev=sharedstatedir ;;
1081  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1082  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1083  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1084  | --sha=* | --sh=*)
1085    sharedstatedir=$ac_optarg ;;
1086
1087  -site | --site | --sit)
1088    ac_prev=site ;;
1089  -site=* | --site=* | --sit=*)
1090    site=$ac_optarg ;;
1091
1092  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1093    ac_prev=srcdir ;;
1094  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1095    srcdir=$ac_optarg ;;
1096
1097  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1098  | --syscon | --sysco | --sysc | --sys | --sy)
1099    ac_prev=sysconfdir ;;
1100  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1101  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1102    sysconfdir=$ac_optarg ;;
1103
1104  -target | --target | --targe | --targ | --tar | --ta | --t)
1105    ac_prev=target_alias ;;
1106  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1107    target_alias=$ac_optarg ;;
1108
1109  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1110    verbose=yes ;;
1111
1112  -version | --version | --versio | --versi | --vers | -V)
1113    ac_init_version=: ;;
1114
1115  -with-* | --with-*)
1116    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1117    # Reject names that are not valid shell variable names.
1118    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119      as_fn_error $? "invalid package name: $ac_useropt"
1120    ac_useropt_orig=$ac_useropt
1121    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122    case $ac_user_opts in
1123      *"
1124"with_$ac_useropt"
1125"*) ;;
1126      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1127	 ac_unrecognized_sep=', ';;
1128    esac
1129    eval with_$ac_useropt=\$ac_optarg ;;
1130
1131  -without-* | --without-*)
1132    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1133    # Reject names that are not valid shell variable names.
1134    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135      as_fn_error $? "invalid package name: $ac_useropt"
1136    ac_useropt_orig=$ac_useropt
1137    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138    case $ac_user_opts in
1139      *"
1140"with_$ac_useropt"
1141"*) ;;
1142      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1143	 ac_unrecognized_sep=', ';;
1144    esac
1145    eval with_$ac_useropt=no ;;
1146
1147  --x)
1148    # Obsolete; use --with-x.
1149    with_x=yes ;;
1150
1151  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1152  | --x-incl | --x-inc | --x-in | --x-i)
1153    ac_prev=x_includes ;;
1154  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1155  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1156    x_includes=$ac_optarg ;;
1157
1158  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1159  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1160    ac_prev=x_libraries ;;
1161  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1162  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1163    x_libraries=$ac_optarg ;;
1164
1165  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1166Try \`$0 --help' for more information"
1167    ;;
1168
1169  *=*)
1170    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1171    # Reject names that are not valid shell variable names.
1172    case $ac_envvar in #(
1173      '' | [0-9]* | *[!_$as_cr_alnum]* )
1174      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1175    esac
1176    eval $ac_envvar=\$ac_optarg
1177    export $ac_envvar ;;
1178
1179  *)
1180    # FIXME: should be removed in autoconf 3.0.
1181    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1182    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1183      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1184    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1185    ;;
1186
1187  esac
1188done
1189
1190if test -n "$ac_prev"; then
1191  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1192  as_fn_error $? "missing argument to $ac_option"
1193fi
1194
1195if test -n "$ac_unrecognized_opts"; then
1196  case $enable_option_checking in
1197    no) ;;
1198    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1199    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200  esac
1201fi
1202
1203# Check all directory arguments for consistency.
1204for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1205		datadir sysconfdir sharedstatedir localstatedir includedir \
1206		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1207		libdir localedir mandir
1208do
1209  eval ac_val=\$$ac_var
1210  # Remove trailing slashes.
1211  case $ac_val in
1212    */ )
1213      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1214      eval $ac_var=\$ac_val;;
1215  esac
1216  # Be sure to have absolute directory names.
1217  case $ac_val in
1218    [\\/$]* | ?:[\\/]* )  continue;;
1219    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1220  esac
1221  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1222done
1223
1224# There might be people who depend on the old broken behavior: `$host'
1225# used to hold the argument of --host etc.
1226# FIXME: To remove some day.
1227build=$build_alias
1228host=$host_alias
1229target=$target_alias
1230
1231# FIXME: To remove some day.
1232if test "x$host_alias" != x; then
1233  if test "x$build_alias" = x; then
1234    cross_compiling=maybe
1235  elif test "x$build_alias" != "x$host_alias"; then
1236    cross_compiling=yes
1237  fi
1238fi
1239
1240ac_tool_prefix=
1241test -n "$host_alias" && ac_tool_prefix=$host_alias-
1242
1243test "$silent" = yes && exec 6>/dev/null
1244
1245
1246ac_pwd=`pwd` && test -n "$ac_pwd" &&
1247ac_ls_di=`ls -di .` &&
1248ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1249  as_fn_error $? "working directory cannot be determined"
1250test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251  as_fn_error $? "pwd does not report name of working directory"
1252
1253
1254# Find the source files, if location was not specified.
1255if test -z "$srcdir"; then
1256  ac_srcdir_defaulted=yes
1257  # Try the directory containing this script, then the parent directory.
1258  ac_confdir=`$as_dirname -- "$as_myself" ||
1259$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1260	 X"$as_myself" : 'X\(//\)[^/]' \| \
1261	 X"$as_myself" : 'X\(//\)$' \| \
1262	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1263$as_echo X"$as_myself" |
1264    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1265	    s//\1/
1266	    q
1267	  }
1268	  /^X\(\/\/\)[^/].*/{
1269	    s//\1/
1270	    q
1271	  }
1272	  /^X\(\/\/\)$/{
1273	    s//\1/
1274	    q
1275	  }
1276	  /^X\(\/\).*/{
1277	    s//\1/
1278	    q
1279	  }
1280	  s/.*/./; q'`
1281  srcdir=$ac_confdir
1282  if test ! -r "$srcdir/$ac_unique_file"; then
1283    srcdir=..
1284  fi
1285else
1286  ac_srcdir_defaulted=no
1287fi
1288if test ! -r "$srcdir/$ac_unique_file"; then
1289  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1290  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1291fi
1292ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1293ac_abs_confdir=`(
1294	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1295	pwd)`
1296# When building in place, set srcdir=.
1297if test "$ac_abs_confdir" = "$ac_pwd"; then
1298  srcdir=.
1299fi
1300# Remove unnecessary trailing slashes from srcdir.
1301# Double slashes in file names in object file debugging info
1302# mess up M-x gdb in Emacs.
1303case $srcdir in
1304*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1305esac
1306for ac_var in $ac_precious_vars; do
1307  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1308  eval ac_env_${ac_var}_value=\$${ac_var}
1309  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1310  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1311done
1312
1313#
1314# Report the --help message.
1315#
1316if test "$ac_init_help" = "long"; then
1317  # Omit some internal or obsolete options to make the list less imposing.
1318  # This message is too long to be a string in the A/UX 3.1 sh.
1319  cat <<_ACEOF
1320\`configure' configures mp3splt 2.6.2 to adapt to many kinds of systems.
1321
1322Usage: $0 [OPTION]... [VAR=VALUE]...
1323
1324To assign environment variables (e.g., CC, CFLAGS...), specify them as
1325VAR=VALUE.  See below for descriptions of some of the useful variables.
1326
1327Defaults for the options are specified in brackets.
1328
1329Configuration:
1330  -h, --help              display this help and exit
1331      --help=short        display options specific to this package
1332      --help=recursive    display the short help of all the included packages
1333  -V, --version           display version information and exit
1334  -q, --quiet, --silent   do not print \`checking ...' messages
1335      --cache-file=FILE   cache test results in FILE [disabled]
1336  -C, --config-cache      alias for \`--cache-file=config.cache'
1337  -n, --no-create         do not create output files
1338      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1339
1340Installation directories:
1341  --prefix=PREFIX         install architecture-independent files in PREFIX
1342                          [$ac_default_prefix]
1343  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1344                          [PREFIX]
1345
1346By default, \`make install' will install all the files in
1347\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1348an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1349for instance \`--prefix=\$HOME'.
1350
1351For better control, use the options below.
1352
1353Fine tuning of the installation directories:
1354  --bindir=DIR            user executables [EPREFIX/bin]
1355  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1356  --libexecdir=DIR        program executables [EPREFIX/libexec]
1357  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1358  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1359  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1360  --libdir=DIR            object code libraries [EPREFIX/lib]
1361  --includedir=DIR        C header files [PREFIX/include]
1362  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1363  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1364  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1365  --infodir=DIR           info documentation [DATAROOTDIR/info]
1366  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1367  --mandir=DIR            man documentation [DATAROOTDIR/man]
1368  --docdir=DIR            documentation root [DATAROOTDIR/doc/mp3splt]
1369  --htmldir=DIR           html documentation [DOCDIR]
1370  --dvidir=DIR            dvi documentation [DOCDIR]
1371  --pdfdir=DIR            pdf documentation [DOCDIR]
1372  --psdir=DIR             ps documentation [DOCDIR]
1373_ACEOF
1374
1375  cat <<\_ACEOF
1376
1377Program names:
1378  --program-prefix=PREFIX            prepend PREFIX to installed program names
1379  --program-suffix=SUFFIX            append SUFFIX to installed program names
1380  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1381
1382System types:
1383  --build=BUILD     configure for building on BUILD [guessed]
1384  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1385_ACEOF
1386fi
1387
1388if test -n "$ac_init_help"; then
1389  case $ac_init_help in
1390     short | recursive ) echo "Configuration of mp3splt 2.6.2:";;
1391   esac
1392  cat <<\_ACEOF
1393
1394Optional Features:
1395  --disable-option-checking  ignore unrecognized --enable/--with options
1396  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1397  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1398  --enable-silent-rules   less verbose build output (undo: "make V=1")
1399  --disable-silent-rules  verbose build output (undo: "make V=0")
1400  --disable-maintainer-mode
1401                          disable make rules and dependencies not useful (and
1402                          sometimes confusing) to the casual installer
1403  --enable-dependency-tracking
1404                          do not reject slow dependency extractors
1405  --disable-dependency-tracking
1406                          speeds up one-time build
1407  --disable-nls           do not use Native Language Support
1408  --disable-rpath         do not hardcode runtime library paths
1409  --enable-oggsplt_symlink
1410                          Enable symlink of oggsplt to mp3splt.
1411  --enable-flacsplt_symlink
1412                          Enable symlink of flacsplt to mp3splt.
1413  --enable-c-debug        Enable debugging symbols.
1414  --enable-optimise       Enable O3 optimise.
1415  --enable-extra-warnings Enable extra warnings.
1416
1417Optional Packages:
1418  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1419  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1420  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1421  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1422  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1423  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1424  --without-libintl-prefix     don't search for libintl in includedir and libdir
1425
1426Some influential environment variables:
1427  CC          C compiler command
1428  CFLAGS      C compiler flags
1429  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1430              nonstandard directory <lib dir>
1431  LIBS        libraries to pass to the linker, e.g. -l<library>
1432  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1433              you have headers in a nonstandard directory <include dir>
1434  CPP         C preprocessor
1435  PKG_CONFIG  path to pkg-config utility
1436  PKG_CONFIG_PATH
1437              directories to add to pkg-config's search path
1438  PKG_CONFIG_LIBDIR
1439              path overriding pkg-config's built-in search path
1440  LIBMP3SPLT_CFLAGS
1441              C compiler flags for LIBMP3SPLT, overriding pkg-config
1442  LIBMP3SPLT_LIBS
1443              linker flags for LIBMP3SPLT, overriding pkg-config
1444
1445Use these variables to override the choices made by `configure' or to help
1446it to find libraries and programs with nonstandard names/locations.
1447
1448Report bugs to <mtrotta@users.sourceforge.net>.
1449_ACEOF
1450ac_status=$?
1451fi
1452
1453if test "$ac_init_help" = "recursive"; then
1454  # If there are subdirs, report their specific --help.
1455  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1456    test -d "$ac_dir" ||
1457      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1458      continue
1459    ac_builddir=.
1460
1461case "$ac_dir" in
1462.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1463*)
1464  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1465  # A ".." for each directory in $ac_dir_suffix.
1466  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1467  case $ac_top_builddir_sub in
1468  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1470  esac ;;
1471esac
1472ac_abs_top_builddir=$ac_pwd
1473ac_abs_builddir=$ac_pwd$ac_dir_suffix
1474# for backward compatibility:
1475ac_top_builddir=$ac_top_build_prefix
1476
1477case $srcdir in
1478  .)  # We are building in place.
1479    ac_srcdir=.
1480    ac_top_srcdir=$ac_top_builddir_sub
1481    ac_abs_top_srcdir=$ac_pwd ;;
1482  [\\/]* | ?:[\\/]* )  # Absolute name.
1483    ac_srcdir=$srcdir$ac_dir_suffix;
1484    ac_top_srcdir=$srcdir
1485    ac_abs_top_srcdir=$srcdir ;;
1486  *) # Relative name.
1487    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1488    ac_top_srcdir=$ac_top_build_prefix$srcdir
1489    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1490esac
1491ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1492
1493    cd "$ac_dir" || { ac_status=$?; continue; }
1494    # Check for guested configure.
1495    if test -f "$ac_srcdir/configure.gnu"; then
1496      echo &&
1497      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1498    elif test -f "$ac_srcdir/configure"; then
1499      echo &&
1500      $SHELL "$ac_srcdir/configure" --help=recursive
1501    else
1502      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1503    fi || ac_status=$?
1504    cd "$ac_pwd" || { ac_status=$?; break; }
1505  done
1506fi
1507
1508test -n "$ac_init_help" && exit $ac_status
1509if $ac_init_version; then
1510  cat <<\_ACEOF
1511mp3splt configure 2.6.2
1512generated by GNU Autoconf 2.69
1513
1514Copyright (C) 2012 Free Software Foundation, Inc.
1515This configure script is free software; the Free Software Foundation
1516gives unlimited permission to copy, distribute and modify it.
1517_ACEOF
1518  exit
1519fi
1520
1521## ------------------------ ##
1522## Autoconf initialization. ##
1523## ------------------------ ##
1524
1525# ac_fn_c_try_compile LINENO
1526# --------------------------
1527# Try to compile conftest.$ac_ext, and return whether this succeeded.
1528ac_fn_c_try_compile ()
1529{
1530  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531  rm -f conftest.$ac_objext
1532  if { { ac_try="$ac_compile"
1533case "(($ac_try" in
1534  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1535  *) ac_try_echo=$ac_try;;
1536esac
1537eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1538$as_echo "$ac_try_echo"; } >&5
1539  (eval "$ac_compile") 2>conftest.err
1540  ac_status=$?
1541  if test -s conftest.err; then
1542    grep -v '^ *+' conftest.err >conftest.er1
1543    cat conftest.er1 >&5
1544    mv -f conftest.er1 conftest.err
1545  fi
1546  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547  test $ac_status = 0; } && {
1548	 test -z "$ac_c_werror_flag" ||
1549	 test ! -s conftest.err
1550       } && test -s conftest.$ac_objext; then :
1551  ac_retval=0
1552else
1553  $as_echo "$as_me: failed program was:" >&5
1554sed 's/^/| /' conftest.$ac_ext >&5
1555
1556	ac_retval=1
1557fi
1558  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1559  as_fn_set_status $ac_retval
1560
1561} # ac_fn_c_try_compile
1562
1563# ac_fn_c_try_cpp LINENO
1564# ----------------------
1565# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1566ac_fn_c_try_cpp ()
1567{
1568  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569  if { { ac_try="$ac_cpp conftest.$ac_ext"
1570case "(($ac_try" in
1571  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1572  *) ac_try_echo=$ac_try;;
1573esac
1574eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1575$as_echo "$ac_try_echo"; } >&5
1576  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1577  ac_status=$?
1578  if test -s conftest.err; then
1579    grep -v '^ *+' conftest.err >conftest.er1
1580    cat conftest.er1 >&5
1581    mv -f conftest.er1 conftest.err
1582  fi
1583  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1584  test $ac_status = 0; } > conftest.i && {
1585	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1586	 test ! -s conftest.err
1587       }; then :
1588  ac_retval=0
1589else
1590  $as_echo "$as_me: failed program was:" >&5
1591sed 's/^/| /' conftest.$ac_ext >&5
1592
1593    ac_retval=1
1594fi
1595  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1596  as_fn_set_status $ac_retval
1597
1598} # ac_fn_c_try_cpp
1599
1600# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1601# -------------------------------------------------------
1602# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1603# the include files in INCLUDES and setting the cache variable VAR
1604# accordingly.
1605ac_fn_c_check_header_mongrel ()
1606{
1607  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608  if eval \${$3+:} false; then :
1609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1610$as_echo_n "checking for $2... " >&6; }
1611if eval \${$3+:} false; then :
1612  $as_echo_n "(cached) " >&6
1613fi
1614eval ac_res=\$$3
1615	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1616$as_echo "$ac_res" >&6; }
1617else
1618  # Is the header compilable?
1619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1620$as_echo_n "checking $2 usability... " >&6; }
1621cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622/* end confdefs.h.  */
1623$4
1624#include <$2>
1625_ACEOF
1626if ac_fn_c_try_compile "$LINENO"; then :
1627  ac_header_compiler=yes
1628else
1629  ac_header_compiler=no
1630fi
1631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1633$as_echo "$ac_header_compiler" >&6; }
1634
1635# Is the header present?
1636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1637$as_echo_n "checking $2 presence... " >&6; }
1638cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1639/* end confdefs.h.  */
1640#include <$2>
1641_ACEOF
1642if ac_fn_c_try_cpp "$LINENO"; then :
1643  ac_header_preproc=yes
1644else
1645  ac_header_preproc=no
1646fi
1647rm -f conftest.err conftest.i conftest.$ac_ext
1648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1649$as_echo "$ac_header_preproc" >&6; }
1650
1651# So?  What about this header?
1652case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1653  yes:no: )
1654    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1655$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1656    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1657$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1658    ;;
1659  no:yes:* )
1660    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1661$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1662    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1663$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1664    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1665$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1666    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1667$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1668    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1669$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1670( $as_echo "## -------------------------------------------- ##
1671## Report this to mtrotta@users.sourceforge.net ##
1672## -------------------------------------------- ##"
1673     ) | sed "s/^/$as_me: WARNING:     /" >&2
1674    ;;
1675esac
1676  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677$as_echo_n "checking for $2... " >&6; }
1678if eval \${$3+:} false; then :
1679  $as_echo_n "(cached) " >&6
1680else
1681  eval "$3=\$ac_header_compiler"
1682fi
1683eval ac_res=\$$3
1684	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685$as_echo "$ac_res" >&6; }
1686fi
1687  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688
1689} # ac_fn_c_check_header_mongrel
1690
1691# ac_fn_c_try_run LINENO
1692# ----------------------
1693# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1694# that executables *can* be run.
1695ac_fn_c_try_run ()
1696{
1697  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698  if { { ac_try="$ac_link"
1699case "(($ac_try" in
1700  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701  *) ac_try_echo=$ac_try;;
1702esac
1703eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704$as_echo "$ac_try_echo"; } >&5
1705  (eval "$ac_link") 2>&5
1706  ac_status=$?
1707  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1709  { { case "(($ac_try" in
1710  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711  *) ac_try_echo=$ac_try;;
1712esac
1713eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714$as_echo "$ac_try_echo"; } >&5
1715  (eval "$ac_try") 2>&5
1716  ac_status=$?
1717  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718  test $ac_status = 0; }; }; then :
1719  ac_retval=0
1720else
1721  $as_echo "$as_me: program exited with status $ac_status" >&5
1722       $as_echo "$as_me: failed program was:" >&5
1723sed 's/^/| /' conftest.$ac_ext >&5
1724
1725       ac_retval=$ac_status
1726fi
1727  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729  as_fn_set_status $ac_retval
1730
1731} # ac_fn_c_try_run
1732
1733# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1734# -------------------------------------------------------
1735# Tests whether HEADER exists and can be compiled using the include files in
1736# INCLUDES, setting the cache variable VAR accordingly.
1737ac_fn_c_check_header_compile ()
1738{
1739  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741$as_echo_n "checking for $2... " >&6; }
1742if eval \${$3+:} false; then :
1743  $as_echo_n "(cached) " >&6
1744else
1745  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746/* end confdefs.h.  */
1747$4
1748#include <$2>
1749_ACEOF
1750if ac_fn_c_try_compile "$LINENO"; then :
1751  eval "$3=yes"
1752else
1753  eval "$3=no"
1754fi
1755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1756fi
1757eval ac_res=\$$3
1758	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759$as_echo "$ac_res" >&6; }
1760  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761
1762} # ac_fn_c_check_header_compile
1763
1764# ac_fn_c_try_link LINENO
1765# -----------------------
1766# Try to link conftest.$ac_ext, and return whether this succeeded.
1767ac_fn_c_try_link ()
1768{
1769  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770  rm -f conftest.$ac_objext conftest$ac_exeext
1771  if { { ac_try="$ac_link"
1772case "(($ac_try" in
1773  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1774  *) ac_try_echo=$ac_try;;
1775esac
1776eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777$as_echo "$ac_try_echo"; } >&5
1778  (eval "$ac_link") 2>conftest.err
1779  ac_status=$?
1780  if test -s conftest.err; then
1781    grep -v '^ *+' conftest.err >conftest.er1
1782    cat conftest.er1 >&5
1783    mv -f conftest.er1 conftest.err
1784  fi
1785  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786  test $ac_status = 0; } && {
1787	 test -z "$ac_c_werror_flag" ||
1788	 test ! -s conftest.err
1789       } && test -s conftest$ac_exeext && {
1790	 test "$cross_compiling" = yes ||
1791	 test -x conftest$ac_exeext
1792       }; then :
1793  ac_retval=0
1794else
1795  $as_echo "$as_me: failed program was:" >&5
1796sed 's/^/| /' conftest.$ac_ext >&5
1797
1798	ac_retval=1
1799fi
1800  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1801  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1802  # interfere with the next link command; also delete a directory that is
1803  # left behind by Apple's compiler.  We do this before executing the actions.
1804  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806  as_fn_set_status $ac_retval
1807
1808} # ac_fn_c_try_link
1809
1810# ac_fn_c_check_func LINENO FUNC VAR
1811# ----------------------------------
1812# Tests whether FUNC exists, setting the cache variable VAR accordingly
1813ac_fn_c_check_func ()
1814{
1815  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817$as_echo_n "checking for $2... " >&6; }
1818if eval \${$3+:} false; then :
1819  $as_echo_n "(cached) " >&6
1820else
1821  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822/* end confdefs.h.  */
1823/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1824   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1825#define $2 innocuous_$2
1826
1827/* System header to define __stub macros and hopefully few prototypes,
1828    which can conflict with char $2 (); below.
1829    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1830    <limits.h> exists even on freestanding compilers.  */
1831
1832#ifdef __STDC__
1833# include <limits.h>
1834#else
1835# include <assert.h>
1836#endif
1837
1838#undef $2
1839
1840/* Override any GCC internal prototype to avoid an error.
1841   Use char because int might match the return type of a GCC
1842   builtin and then its argument prototype would still apply.  */
1843#ifdef __cplusplus
1844extern "C"
1845#endif
1846char $2 ();
1847/* The GNU C library defines this for functions which it implements
1848    to always fail with ENOSYS.  Some functions are actually named
1849    something starting with __ and the normal name is an alias.  */
1850#if defined __stub_$2 || defined __stub___$2
1851choke me
1852#endif
1853
1854int
1855main ()
1856{
1857return $2 ();
1858  ;
1859  return 0;
1860}
1861_ACEOF
1862if ac_fn_c_try_link "$LINENO"; then :
1863  eval "$3=yes"
1864else
1865  eval "$3=no"
1866fi
1867rm -f core conftest.err conftest.$ac_objext \
1868    conftest$ac_exeext conftest.$ac_ext
1869fi
1870eval ac_res=\$$3
1871	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872$as_echo "$ac_res" >&6; }
1873  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1874
1875} # ac_fn_c_check_func
1876cat >config.log <<_ACEOF
1877This file contains any messages produced by compilers while
1878running configure, to aid debugging if configure makes a mistake.
1879
1880It was created by mp3splt $as_me 2.6.2, which was
1881generated by GNU Autoconf 2.69.  Invocation command line was
1882
1883  $ $0 $@
1884
1885_ACEOF
1886exec 5>>config.log
1887{
1888cat <<_ASUNAME
1889## --------- ##
1890## Platform. ##
1891## --------- ##
1892
1893hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1894uname -m = `(uname -m) 2>/dev/null || echo unknown`
1895uname -r = `(uname -r) 2>/dev/null || echo unknown`
1896uname -s = `(uname -s) 2>/dev/null || echo unknown`
1897uname -v = `(uname -v) 2>/dev/null || echo unknown`
1898
1899/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1900/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1901
1902/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1903/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1904/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1905/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1906/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1907/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1908/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1909
1910_ASUNAME
1911
1912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913for as_dir in $PATH
1914do
1915  IFS=$as_save_IFS
1916  test -z "$as_dir" && as_dir=.
1917    $as_echo "PATH: $as_dir"
1918  done
1919IFS=$as_save_IFS
1920
1921} >&5
1922
1923cat >&5 <<_ACEOF
1924
1925
1926## ----------- ##
1927## Core tests. ##
1928## ----------- ##
1929
1930_ACEOF
1931
1932
1933# Keep a trace of the command line.
1934# Strip out --no-create and --no-recursion so they do not pile up.
1935# Strip out --silent because we don't want to record it for future runs.
1936# Also quote any args containing shell meta-characters.
1937# Make two passes to allow for proper duplicate-argument suppression.
1938ac_configure_args=
1939ac_configure_args0=
1940ac_configure_args1=
1941ac_must_keep_next=false
1942for ac_pass in 1 2
1943do
1944  for ac_arg
1945  do
1946    case $ac_arg in
1947    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1948    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1949    | -silent | --silent | --silen | --sile | --sil)
1950      continue ;;
1951    *\'*)
1952      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1953    esac
1954    case $ac_pass in
1955    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1956    2)
1957      as_fn_append ac_configure_args1 " '$ac_arg'"
1958      if test $ac_must_keep_next = true; then
1959	ac_must_keep_next=false # Got value, back to normal.
1960      else
1961	case $ac_arg in
1962	  *=* | --config-cache | -C | -disable-* | --disable-* \
1963	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1964	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1965	  | -with-* | --with-* | -without-* | --without-* | --x)
1966	    case "$ac_configure_args0 " in
1967	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1968	    esac
1969	    ;;
1970	  -* ) ac_must_keep_next=true ;;
1971	esac
1972      fi
1973      as_fn_append ac_configure_args " '$ac_arg'"
1974      ;;
1975    esac
1976  done
1977done
1978{ ac_configure_args0=; unset ac_configure_args0;}
1979{ ac_configure_args1=; unset ac_configure_args1;}
1980
1981# When interrupted or exit'd, cleanup temporary files, and complete
1982# config.log.  We remove comments because anyway the quotes in there
1983# would cause problems or look ugly.
1984# WARNING: Use '\'' to represent an apostrophe within the trap.
1985# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1986trap 'exit_status=$?
1987  # Save into config.log some information that might help in debugging.
1988  {
1989    echo
1990
1991    $as_echo "## ---------------- ##
1992## Cache variables. ##
1993## ---------------- ##"
1994    echo
1995    # The following way of writing the cache mishandles newlines in values,
1996(
1997  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1998    eval ac_val=\$$ac_var
1999    case $ac_val in #(
2000    *${as_nl}*)
2001      case $ac_var in #(
2002      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2003$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2004      esac
2005      case $ac_var in #(
2006      _ | IFS | as_nl) ;; #(
2007      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2008      *) { eval $ac_var=; unset $ac_var;} ;;
2009      esac ;;
2010    esac
2011  done
2012  (set) 2>&1 |
2013    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2014    *${as_nl}ac_space=\ *)
2015      sed -n \
2016	"s/'\''/'\''\\\\'\'''\''/g;
2017	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2018      ;; #(
2019    *)
2020      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2021      ;;
2022    esac |
2023    sort
2024)
2025    echo
2026
2027    $as_echo "## ----------------- ##
2028## Output variables. ##
2029## ----------------- ##"
2030    echo
2031    for ac_var in $ac_subst_vars
2032    do
2033      eval ac_val=\$$ac_var
2034      case $ac_val in
2035      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2036      esac
2037      $as_echo "$ac_var='\''$ac_val'\''"
2038    done | sort
2039    echo
2040
2041    if test -n "$ac_subst_files"; then
2042      $as_echo "## ------------------- ##
2043## File substitutions. ##
2044## ------------------- ##"
2045      echo
2046      for ac_var in $ac_subst_files
2047      do
2048	eval ac_val=\$$ac_var
2049	case $ac_val in
2050	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2051	esac
2052	$as_echo "$ac_var='\''$ac_val'\''"
2053      done | sort
2054      echo
2055    fi
2056
2057    if test -s confdefs.h; then
2058      $as_echo "## ----------- ##
2059## confdefs.h. ##
2060## ----------- ##"
2061      echo
2062      cat confdefs.h
2063      echo
2064    fi
2065    test "$ac_signal" != 0 &&
2066      $as_echo "$as_me: caught signal $ac_signal"
2067    $as_echo "$as_me: exit $exit_status"
2068  } >&5
2069  rm -f core *.core core.conftest.* &&
2070    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2071    exit $exit_status
2072' 0
2073for ac_signal in 1 2 13 15; do
2074  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2075done
2076ac_signal=0
2077
2078# confdefs.h avoids OS command line length limits that DEFS can exceed.
2079rm -f -r conftest* confdefs.h
2080
2081$as_echo "/* confdefs.h */" > confdefs.h
2082
2083# Predefined preprocessor variables.
2084
2085cat >>confdefs.h <<_ACEOF
2086#define PACKAGE_NAME "$PACKAGE_NAME"
2087_ACEOF
2088
2089cat >>confdefs.h <<_ACEOF
2090#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2091_ACEOF
2092
2093cat >>confdefs.h <<_ACEOF
2094#define PACKAGE_VERSION "$PACKAGE_VERSION"
2095_ACEOF
2096
2097cat >>confdefs.h <<_ACEOF
2098#define PACKAGE_STRING "$PACKAGE_STRING"
2099_ACEOF
2100
2101cat >>confdefs.h <<_ACEOF
2102#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2103_ACEOF
2104
2105cat >>confdefs.h <<_ACEOF
2106#define PACKAGE_URL "$PACKAGE_URL"
2107_ACEOF
2108
2109
2110# Let the site file select an alternate cache file if it wants to.
2111# Prefer an explicitly selected file to automatically selected ones.
2112ac_site_file1=NONE
2113ac_site_file2=NONE
2114if test -n "$CONFIG_SITE"; then
2115  # We do not want a PATH search for config.site.
2116  case $CONFIG_SITE in #((
2117    -*)  ac_site_file1=./$CONFIG_SITE;;
2118    */*) ac_site_file1=$CONFIG_SITE;;
2119    *)   ac_site_file1=./$CONFIG_SITE;;
2120  esac
2121elif test "x$prefix" != xNONE; then
2122  ac_site_file1=$prefix/share/config.site
2123  ac_site_file2=$prefix/etc/config.site
2124else
2125  ac_site_file1=$ac_default_prefix/share/config.site
2126  ac_site_file2=$ac_default_prefix/etc/config.site
2127fi
2128for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2129do
2130  test "x$ac_site_file" = xNONE && continue
2131  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2132    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2133$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2134    sed 's/^/| /' "$ac_site_file" >&5
2135    . "$ac_site_file" \
2136      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2137$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2138as_fn_error $? "failed to load site script $ac_site_file
2139See \`config.log' for more details" "$LINENO" 5; }
2140  fi
2141done
2142
2143if test -r "$cache_file"; then
2144  # Some versions of bash will fail to source /dev/null (special files
2145  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2146  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2147    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2148$as_echo "$as_me: loading cache $cache_file" >&6;}
2149    case $cache_file in
2150      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2151      *)                      . "./$cache_file";;
2152    esac
2153  fi
2154else
2155  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2156$as_echo "$as_me: creating cache $cache_file" >&6;}
2157  >$cache_file
2158fi
2159
2160# Check that the precious variables saved in the cache have kept the same
2161# value.
2162ac_cache_corrupted=false
2163for ac_var in $ac_precious_vars; do
2164  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2165  eval ac_new_set=\$ac_env_${ac_var}_set
2166  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2167  eval ac_new_val=\$ac_env_${ac_var}_value
2168  case $ac_old_set,$ac_new_set in
2169    set,)
2170      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2171$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2172      ac_cache_corrupted=: ;;
2173    ,set)
2174      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2175$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2176      ac_cache_corrupted=: ;;
2177    ,);;
2178    *)
2179      if test "x$ac_old_val" != "x$ac_new_val"; then
2180	# differences in whitespace do not lead to failure.
2181	ac_old_val_w=`echo x $ac_old_val`
2182	ac_new_val_w=`echo x $ac_new_val`
2183	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2184	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2185$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2186	  ac_cache_corrupted=:
2187	else
2188	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2189$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2190	  eval $ac_var=\$ac_old_val
2191	fi
2192	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2193$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2194	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2195$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2196      fi;;
2197  esac
2198  # Pass precious variables to config.status.
2199  if test "$ac_new_set" = set; then
2200    case $ac_new_val in
2201    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2202    *) ac_arg=$ac_var=$ac_new_val ;;
2203    esac
2204    case " $ac_configure_args " in
2205      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2206      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2207    esac
2208  fi
2209done
2210if $ac_cache_corrupted; then
2211  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2214$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2215  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2216fi
2217## -------------------- ##
2218## Main body of script. ##
2219## -------------------- ##
2220
2221ac_ext=c
2222ac_cpp='$CPP $CPPFLAGS'
2223ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2224ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2225ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226
2227
2228
2229
2230am__api_version='1.14'
2231
2232ac_aux_dir=
2233for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2234  if test -f "$ac_dir/install-sh"; then
2235    ac_aux_dir=$ac_dir
2236    ac_install_sh="$ac_aux_dir/install-sh -c"
2237    break
2238  elif test -f "$ac_dir/install.sh"; then
2239    ac_aux_dir=$ac_dir
2240    ac_install_sh="$ac_aux_dir/install.sh -c"
2241    break
2242  elif test -f "$ac_dir/shtool"; then
2243    ac_aux_dir=$ac_dir
2244    ac_install_sh="$ac_aux_dir/shtool install -c"
2245    break
2246  fi
2247done
2248if test -z "$ac_aux_dir"; then
2249  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2250fi
2251
2252# These three variables are undocumented and unsupported,
2253# and are intended to be withdrawn in a future Autoconf release.
2254# They can cause serious problems if a builder's source tree is in a directory
2255# whose full name contains unusual characters.
2256ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2257ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2258ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2259
2260
2261# Find a good install program.  We prefer a C program (faster),
2262# so one script is as good as another.  But avoid the broken or
2263# incompatible versions:
2264# SysV /etc/install, /usr/sbin/install
2265# SunOS /usr/etc/install
2266# IRIX /sbin/install
2267# AIX /bin/install
2268# AmigaOS /C/install, which installs bootblocks on floppy discs
2269# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2270# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2271# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2272# OS/2's system install, which has a completely different semantic
2273# ./install, which can be erroneously created by make from ./install.sh.
2274# Reject install programs that cannot install multiple files.
2275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2276$as_echo_n "checking for a BSD-compatible install... " >&6; }
2277if test -z "$INSTALL"; then
2278if ${ac_cv_path_install+:} false; then :
2279  $as_echo_n "(cached) " >&6
2280else
2281  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282for as_dir in $PATH
2283do
2284  IFS=$as_save_IFS
2285  test -z "$as_dir" && as_dir=.
2286    # Account for people who put trailing slashes in PATH elements.
2287case $as_dir/ in #((
2288  ./ | .// | /[cC]/* | \
2289  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2290  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2291  /usr/ucb/* ) ;;
2292  *)
2293    # OSF1 and SCO ODT 3.0 have their own names for install.
2294    # Don't use installbsd from OSF since it installs stuff as root
2295    # by default.
2296    for ac_prog in ginstall scoinst install; do
2297      for ac_exec_ext in '' $ac_executable_extensions; do
2298	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2299	  if test $ac_prog = install &&
2300	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2301	    # AIX install.  It has an incompatible calling convention.
2302	    :
2303	  elif test $ac_prog = install &&
2304	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2305	    # program-specific install script used by HP pwplus--don't use.
2306	    :
2307	  else
2308	    rm -rf conftest.one conftest.two conftest.dir
2309	    echo one > conftest.one
2310	    echo two > conftest.two
2311	    mkdir conftest.dir
2312	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2313	      test -s conftest.one && test -s conftest.two &&
2314	      test -s conftest.dir/conftest.one &&
2315	      test -s conftest.dir/conftest.two
2316	    then
2317	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2318	      break 3
2319	    fi
2320	  fi
2321	fi
2322      done
2323    done
2324    ;;
2325esac
2326
2327  done
2328IFS=$as_save_IFS
2329
2330rm -rf conftest.one conftest.two conftest.dir
2331
2332fi
2333  if test "${ac_cv_path_install+set}" = set; then
2334    INSTALL=$ac_cv_path_install
2335  else
2336    # As a last resort, use the slow shell script.  Don't cache a
2337    # value for INSTALL within a source directory, because that will
2338    # break other packages using the cache if that directory is
2339    # removed, or if the value is a relative name.
2340    INSTALL=$ac_install_sh
2341  fi
2342fi
2343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2344$as_echo "$INSTALL" >&6; }
2345
2346# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2347# It thinks the first close brace ends the variable substitution.
2348test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2349
2350test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2351
2352test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2353
2354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2355$as_echo_n "checking whether build environment is sane... " >&6; }
2356# Reject unsafe characters in $srcdir or the absolute working directory
2357# name.  Accept space and tab only in the latter.
2358am_lf='
2359'
2360case `pwd` in
2361  *[\\\"\#\$\&\'\`$am_lf]*)
2362    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2363esac
2364case $srcdir in
2365  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2366    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2367esac
2368
2369# Do 'set' in a subshell so we don't clobber the current shell's
2370# arguments.  Must try -L first in case configure is actually a
2371# symlink; some systems play weird games with the mod time of symlinks
2372# (eg FreeBSD returns the mod time of the symlink's containing
2373# directory).
2374if (
2375   am_has_slept=no
2376   for am_try in 1 2; do
2377     echo "timestamp, slept: $am_has_slept" > conftest.file
2378     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2379     if test "$*" = "X"; then
2380	# -L didn't work.
2381	set X `ls -t "$srcdir/configure" conftest.file`
2382     fi
2383     if test "$*" != "X $srcdir/configure conftest.file" \
2384	&& test "$*" != "X conftest.file $srcdir/configure"; then
2385
2386	# If neither matched, then we have a broken ls.  This can happen
2387	# if, for instance, CONFIG_SHELL is bash and it inherits a
2388	# broken ls alias from the environment.  This has actually
2389	# happened.  Such a system could not be considered "sane".
2390	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2391  alias in your environment" "$LINENO" 5
2392     fi
2393     if test "$2" = conftest.file || test $am_try -eq 2; then
2394       break
2395     fi
2396     # Just in case.
2397     sleep 1
2398     am_has_slept=yes
2399   done
2400   test "$2" = conftest.file
2401   )
2402then
2403   # Ok.
2404   :
2405else
2406   as_fn_error $? "newly created file is older than distributed files!
2407Check your system clock" "$LINENO" 5
2408fi
2409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2410$as_echo "yes" >&6; }
2411# If we didn't sleep, we still need to ensure time stamps of config.status and
2412# generated files are strictly newer.
2413am_sleep_pid=
2414if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2415  ( sleep 1 ) &
2416  am_sleep_pid=$!
2417fi
2418
2419rm -f conftest.file
2420
2421test "$program_prefix" != NONE &&
2422  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2423# Use a double $ so make ignores it.
2424test "$program_suffix" != NONE &&
2425  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2426# Double any \ or $.
2427# By default was `s,x,x', remove it if useless.
2428ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2429program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2430
2431# expand $ac_aux_dir to an absolute path
2432am_aux_dir=`cd $ac_aux_dir && pwd`
2433
2434if test x"${MISSING+set}" != xset; then
2435  case $am_aux_dir in
2436  *\ * | *\	*)
2437    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2438  *)
2439    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2440  esac
2441fi
2442# Use eval to expand $SHELL
2443if eval "$MISSING --is-lightweight"; then
2444  am_missing_run="$MISSING "
2445else
2446  am_missing_run=
2447  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2448$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2449fi
2450
2451if test x"${install_sh}" != xset; then
2452  case $am_aux_dir in
2453  *\ * | *\	*)
2454    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2455  *)
2456    install_sh="\${SHELL} $am_aux_dir/install-sh"
2457  esac
2458fi
2459
2460# Installed binaries are usually stripped using 'strip' when the user
2461# run "make install-strip".  However 'strip' might not be the right
2462# tool to use in cross-compilation environments, therefore Automake
2463# will honor the 'STRIP' environment variable to overrule this program.
2464if test "$cross_compiling" != no; then
2465  if test -n "$ac_tool_prefix"; then
2466  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2467set dummy ${ac_tool_prefix}strip; ac_word=$2
2468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2469$as_echo_n "checking for $ac_word... " >&6; }
2470if ${ac_cv_prog_STRIP+:} false; then :
2471  $as_echo_n "(cached) " >&6
2472else
2473  if test -n "$STRIP"; then
2474  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2475else
2476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477for as_dir in $PATH
2478do
2479  IFS=$as_save_IFS
2480  test -z "$as_dir" && as_dir=.
2481    for ac_exec_ext in '' $ac_executable_extensions; do
2482  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2483    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2484    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485    break 2
2486  fi
2487done
2488  done
2489IFS=$as_save_IFS
2490
2491fi
2492fi
2493STRIP=$ac_cv_prog_STRIP
2494if test -n "$STRIP"; then
2495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2496$as_echo "$STRIP" >&6; }
2497else
2498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2499$as_echo "no" >&6; }
2500fi
2501
2502
2503fi
2504if test -z "$ac_cv_prog_STRIP"; then
2505  ac_ct_STRIP=$STRIP
2506  # Extract the first word of "strip", so it can be a program name with args.
2507set dummy strip; ac_word=$2
2508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2509$as_echo_n "checking for $ac_word... " >&6; }
2510if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2511  $as_echo_n "(cached) " >&6
2512else
2513  if test -n "$ac_ct_STRIP"; then
2514  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2515else
2516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2517for as_dir in $PATH
2518do
2519  IFS=$as_save_IFS
2520  test -z "$as_dir" && as_dir=.
2521    for ac_exec_ext in '' $ac_executable_extensions; do
2522  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2523    ac_cv_prog_ac_ct_STRIP="strip"
2524    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2525    break 2
2526  fi
2527done
2528  done
2529IFS=$as_save_IFS
2530
2531fi
2532fi
2533ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2534if test -n "$ac_ct_STRIP"; then
2535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2536$as_echo "$ac_ct_STRIP" >&6; }
2537else
2538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2539$as_echo "no" >&6; }
2540fi
2541
2542  if test "x$ac_ct_STRIP" = x; then
2543    STRIP=":"
2544  else
2545    case $cross_compiling:$ac_tool_warned in
2546yes:)
2547{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2548$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2549ac_tool_warned=yes ;;
2550esac
2551    STRIP=$ac_ct_STRIP
2552  fi
2553else
2554  STRIP="$ac_cv_prog_STRIP"
2555fi
2556
2557fi
2558INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2559
2560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2561$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2562if test -z "$MKDIR_P"; then
2563  if ${ac_cv_path_mkdir+:} false; then :
2564  $as_echo_n "(cached) " >&6
2565else
2566  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2568do
2569  IFS=$as_save_IFS
2570  test -z "$as_dir" && as_dir=.
2571    for ac_prog in mkdir gmkdir; do
2572	 for ac_exec_ext in '' $ac_executable_extensions; do
2573	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2574	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2575	     'mkdir (GNU coreutils) '* | \
2576	     'mkdir (coreutils) '* | \
2577	     'mkdir (fileutils) '4.1*)
2578	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2579	       break 3;;
2580	   esac
2581	 done
2582       done
2583  done
2584IFS=$as_save_IFS
2585
2586fi
2587
2588  test -d ./--version && rmdir ./--version
2589  if test "${ac_cv_path_mkdir+set}" = set; then
2590    MKDIR_P="$ac_cv_path_mkdir -p"
2591  else
2592    # As a last resort, use the slow shell script.  Don't cache a
2593    # value for MKDIR_P within a source directory, because that will
2594    # break other packages using the cache if that directory is
2595    # removed, or if the value is a relative name.
2596    MKDIR_P="$ac_install_sh -d"
2597  fi
2598fi
2599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2600$as_echo "$MKDIR_P" >&6; }
2601
2602for ac_prog in gawk mawk nawk awk
2603do
2604  # Extract the first word of "$ac_prog", so it can be a program name with args.
2605set dummy $ac_prog; ac_word=$2
2606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2607$as_echo_n "checking for $ac_word... " >&6; }
2608if ${ac_cv_prog_AWK+:} false; then :
2609  $as_echo_n "(cached) " >&6
2610else
2611  if test -n "$AWK"; then
2612  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2613else
2614as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615for as_dir in $PATH
2616do
2617  IFS=$as_save_IFS
2618  test -z "$as_dir" && as_dir=.
2619    for ac_exec_ext in '' $ac_executable_extensions; do
2620  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2621    ac_cv_prog_AWK="$ac_prog"
2622    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2623    break 2
2624  fi
2625done
2626  done
2627IFS=$as_save_IFS
2628
2629fi
2630fi
2631AWK=$ac_cv_prog_AWK
2632if test -n "$AWK"; then
2633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2634$as_echo "$AWK" >&6; }
2635else
2636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2637$as_echo "no" >&6; }
2638fi
2639
2640
2641  test -n "$AWK" && break
2642done
2643
2644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2645$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2646set x ${MAKE-make}
2647ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2648if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2649  $as_echo_n "(cached) " >&6
2650else
2651  cat >conftest.make <<\_ACEOF
2652SHELL = /bin/sh
2653all:
2654	@echo '@@@%%%=$(MAKE)=@@@%%%'
2655_ACEOF
2656# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2657case `${MAKE-make} -f conftest.make 2>/dev/null` in
2658  *@@@%%%=?*=@@@%%%*)
2659    eval ac_cv_prog_make_${ac_make}_set=yes;;
2660  *)
2661    eval ac_cv_prog_make_${ac_make}_set=no;;
2662esac
2663rm -f conftest.make
2664fi
2665if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2667$as_echo "yes" >&6; }
2668  SET_MAKE=
2669else
2670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2671$as_echo "no" >&6; }
2672  SET_MAKE="MAKE=${MAKE-make}"
2673fi
2674
2675rm -rf .tst 2>/dev/null
2676mkdir .tst 2>/dev/null
2677if test -d .tst; then
2678  am__leading_dot=.
2679else
2680  am__leading_dot=_
2681fi
2682rmdir .tst 2>/dev/null
2683
2684# Check whether --enable-silent-rules was given.
2685if test "${enable_silent_rules+set}" = set; then :
2686  enableval=$enable_silent_rules;
2687fi
2688
2689case $enable_silent_rules in # (((
2690  yes) AM_DEFAULT_VERBOSITY=0;;
2691   no) AM_DEFAULT_VERBOSITY=1;;
2692    *) AM_DEFAULT_VERBOSITY=1;;
2693esac
2694am_make=${MAKE-make}
2695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2696$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2697if ${am_cv_make_support_nested_variables+:} false; then :
2698  $as_echo_n "(cached) " >&6
2699else
2700  if $as_echo 'TRUE=$(BAR$(V))
2701BAR0=false
2702BAR1=true
2703V=1
2704am__doit:
2705	@$(TRUE)
2706.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2707  am_cv_make_support_nested_variables=yes
2708else
2709  am_cv_make_support_nested_variables=no
2710fi
2711fi
2712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2713$as_echo "$am_cv_make_support_nested_variables" >&6; }
2714if test $am_cv_make_support_nested_variables = yes; then
2715    AM_V='$(V)'
2716  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2717else
2718  AM_V=$AM_DEFAULT_VERBOSITY
2719  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2720fi
2721AM_BACKSLASH='\'
2722
2723if test "`cd $srcdir && pwd`" != "`pwd`"; then
2724  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2725  # is not polluted with repeated "-I."
2726  am__isrc=' -I$(srcdir)'
2727  # test to see if srcdir already configured
2728  if test -f $srcdir/config.status; then
2729    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2730  fi
2731fi
2732
2733# test whether we have cygpath
2734if test -z "$CYGPATH_W"; then
2735  if (cygpath --version) >/dev/null 2>/dev/null; then
2736    CYGPATH_W='cygpath -w'
2737  else
2738    CYGPATH_W=echo
2739  fi
2740fi
2741
2742
2743# Define the identity of the package.
2744 PACKAGE='mp3splt'
2745 VERSION='2.6.2'
2746
2747
2748cat >>confdefs.h <<_ACEOF
2749#define PACKAGE "$PACKAGE"
2750_ACEOF
2751
2752
2753cat >>confdefs.h <<_ACEOF
2754#define VERSION "$VERSION"
2755_ACEOF
2756
2757# Some tools Automake needs.
2758
2759ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2760
2761
2762AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2763
2764
2765AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2766
2767
2768AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2769
2770
2771MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2772
2773# For better backward compatibility.  To be removed once Automake 1.9.x
2774# dies out for good.  For more background, see:
2775# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2776# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2777mkdir_p='$(MKDIR_P)'
2778
2779# We need awk for the "check" target.  The system "awk" is bad on
2780# some platforms.
2781# Always define AMTAR for backward compatibility.  Yes, it's still used
2782# in the wild :-(  We should find a proper way to deprecate it ...
2783AMTAR='$${TAR-tar}'
2784
2785
2786# We'll loop over all known methods to create a tar archive until one works.
2787_am_tools='gnutar  pax cpio none'
2788
2789am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2790
2791
2792
2793
2794
2795
2796# POSIX will say in a future version that running "rm -f" with no argument
2797# is OK; and we want to be able to make that assumption in our Makefile
2798# recipes.  So use an aggressive probe to check that the usage we want is
2799# actually supported "in the wild" to an acceptable degree.
2800# See automake bug#10828.
2801# To make any issue more visible, cause the running configure to be aborted
2802# by default if the 'rm' program in use doesn't match our expectations; the
2803# user can still override this though.
2804if rm -f && rm -fr && rm -rf; then : OK; else
2805  cat >&2 <<'END'
2806Oops!
2807
2808Your 'rm' program seems unable to run without file operands specified
2809on the command line, even when the '-f' option is present.  This is contrary
2810to the behaviour of most rm programs out there, and not conforming with
2811the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2812
2813Please tell bug-automake@gnu.org about your system, including the value
2814of your $PATH and any error possibly output before this message.  This
2815can help us improve future automake versions.
2816
2817END
2818  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2819    echo 'Configuration will proceed anyway, since you have set the' >&2
2820    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2821    echo >&2
2822  else
2823    cat >&2 <<'END'
2824Aborting the configuration process, to ensure you take notice of the issue.
2825
2826You can download and install GNU coreutils to get an 'rm' implementation
2827that behaves properly: <http://www.gnu.org/software/coreutils/>.
2828
2829If you want to complete the configuration process using your problematic
2830'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2831to "yes", and re-run configure.
2832
2833END
2834    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2835  fi
2836fi
2837
2838ac_config_headers="$ac_config_headers config.h"
2839
2840
2841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2842$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2843    # Check whether --enable-maintainer-mode was given.
2844if test "${enable_maintainer_mode+set}" = set; then :
2845  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2846else
2847  USE_MAINTAINER_MODE=yes
2848fi
2849
2850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2851$as_echo "$USE_MAINTAINER_MODE" >&6; }
2852   if test $USE_MAINTAINER_MODE = yes; then
2853  MAINTAINER_MODE_TRUE=
2854  MAINTAINER_MODE_FALSE='#'
2855else
2856  MAINTAINER_MODE_TRUE='#'
2857  MAINTAINER_MODE_FALSE=
2858fi
2859
2860  MAINT=$MAINTAINER_MODE_TRUE
2861
2862
2863
2864#################################################
2865# Check for programs
2866#################################################
2867
2868ac_ext=c
2869ac_cpp='$CPP $CPPFLAGS'
2870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2871ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2872ac_compiler_gnu=$ac_cv_c_compiler_gnu
2873if test -n "$ac_tool_prefix"; then
2874  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2875set dummy ${ac_tool_prefix}gcc; ac_word=$2
2876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877$as_echo_n "checking for $ac_word... " >&6; }
2878if ${ac_cv_prog_CC+:} false; then :
2879  $as_echo_n "(cached) " >&6
2880else
2881  if test -n "$CC"; then
2882  ac_cv_prog_CC="$CC" # Let the user override the test.
2883else
2884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885for as_dir in $PATH
2886do
2887  IFS=$as_save_IFS
2888  test -z "$as_dir" && as_dir=.
2889    for ac_exec_ext in '' $ac_executable_extensions; do
2890  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2891    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2892    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2893    break 2
2894  fi
2895done
2896  done
2897IFS=$as_save_IFS
2898
2899fi
2900fi
2901CC=$ac_cv_prog_CC
2902if test -n "$CC"; then
2903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2904$as_echo "$CC" >&6; }
2905else
2906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907$as_echo "no" >&6; }
2908fi
2909
2910
2911fi
2912if test -z "$ac_cv_prog_CC"; then
2913  ac_ct_CC=$CC
2914  # Extract the first word of "gcc", so it can be a program name with args.
2915set dummy gcc; ac_word=$2
2916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2917$as_echo_n "checking for $ac_word... " >&6; }
2918if ${ac_cv_prog_ac_ct_CC+:} false; then :
2919  $as_echo_n "(cached) " >&6
2920else
2921  if test -n "$ac_ct_CC"; then
2922  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2923else
2924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925for as_dir in $PATH
2926do
2927  IFS=$as_save_IFS
2928  test -z "$as_dir" && as_dir=.
2929    for ac_exec_ext in '' $ac_executable_extensions; do
2930  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2931    ac_cv_prog_ac_ct_CC="gcc"
2932    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933    break 2
2934  fi
2935done
2936  done
2937IFS=$as_save_IFS
2938
2939fi
2940fi
2941ac_ct_CC=$ac_cv_prog_ac_ct_CC
2942if test -n "$ac_ct_CC"; then
2943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2944$as_echo "$ac_ct_CC" >&6; }
2945else
2946  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947$as_echo "no" >&6; }
2948fi
2949
2950  if test "x$ac_ct_CC" = x; then
2951    CC=""
2952  else
2953    case $cross_compiling:$ac_tool_warned in
2954yes:)
2955{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2956$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2957ac_tool_warned=yes ;;
2958esac
2959    CC=$ac_ct_CC
2960  fi
2961else
2962  CC="$ac_cv_prog_CC"
2963fi
2964
2965if test -z "$CC"; then
2966          if test -n "$ac_tool_prefix"; then
2967    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2968set dummy ${ac_tool_prefix}cc; ac_word=$2
2969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970$as_echo_n "checking for $ac_word... " >&6; }
2971if ${ac_cv_prog_CC+:} false; then :
2972  $as_echo_n "(cached) " >&6
2973else
2974  if test -n "$CC"; then
2975  ac_cv_prog_CC="$CC" # Let the user override the test.
2976else
2977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978for as_dir in $PATH
2979do
2980  IFS=$as_save_IFS
2981  test -z "$as_dir" && as_dir=.
2982    for ac_exec_ext in '' $ac_executable_extensions; do
2983  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2984    ac_cv_prog_CC="${ac_tool_prefix}cc"
2985    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2986    break 2
2987  fi
2988done
2989  done
2990IFS=$as_save_IFS
2991
2992fi
2993fi
2994CC=$ac_cv_prog_CC
2995if test -n "$CC"; then
2996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2997$as_echo "$CC" >&6; }
2998else
2999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000$as_echo "no" >&6; }
3001fi
3002
3003
3004  fi
3005fi
3006if test -z "$CC"; then
3007  # Extract the first word of "cc", so it can be a program name with args.
3008set dummy cc; ac_word=$2
3009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010$as_echo_n "checking for $ac_word... " >&6; }
3011if ${ac_cv_prog_CC+:} false; then :
3012  $as_echo_n "(cached) " >&6
3013else
3014  if test -n "$CC"; then
3015  ac_cv_prog_CC="$CC" # Let the user override the test.
3016else
3017  ac_prog_rejected=no
3018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019for as_dir in $PATH
3020do
3021  IFS=$as_save_IFS
3022  test -z "$as_dir" && as_dir=.
3023    for ac_exec_ext in '' $ac_executable_extensions; do
3024  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3025    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3026       ac_prog_rejected=yes
3027       continue
3028     fi
3029    ac_cv_prog_CC="cc"
3030    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031    break 2
3032  fi
3033done
3034  done
3035IFS=$as_save_IFS
3036
3037if test $ac_prog_rejected = yes; then
3038  # We found a bogon in the path, so make sure we never use it.
3039  set dummy $ac_cv_prog_CC
3040  shift
3041  if test $# != 0; then
3042    # We chose a different compiler from the bogus one.
3043    # However, it has the same basename, so the bogon will be chosen
3044    # first if we set CC to just the basename; use the full file name.
3045    shift
3046    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3047  fi
3048fi
3049fi
3050fi
3051CC=$ac_cv_prog_CC
3052if test -n "$CC"; then
3053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3054$as_echo "$CC" >&6; }
3055else
3056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057$as_echo "no" >&6; }
3058fi
3059
3060
3061fi
3062if test -z "$CC"; then
3063  if test -n "$ac_tool_prefix"; then
3064  for ac_prog in cl.exe
3065  do
3066    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3067set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3069$as_echo_n "checking for $ac_word... " >&6; }
3070if ${ac_cv_prog_CC+:} false; then :
3071  $as_echo_n "(cached) " >&6
3072else
3073  if test -n "$CC"; then
3074  ac_cv_prog_CC="$CC" # Let the user override the test.
3075else
3076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077for as_dir in $PATH
3078do
3079  IFS=$as_save_IFS
3080  test -z "$as_dir" && as_dir=.
3081    for ac_exec_ext in '' $ac_executable_extensions; do
3082  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3083    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3084    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3085    break 2
3086  fi
3087done
3088  done
3089IFS=$as_save_IFS
3090
3091fi
3092fi
3093CC=$ac_cv_prog_CC
3094if test -n "$CC"; then
3095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3096$as_echo "$CC" >&6; }
3097else
3098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3099$as_echo "no" >&6; }
3100fi
3101
3102
3103    test -n "$CC" && break
3104  done
3105fi
3106if test -z "$CC"; then
3107  ac_ct_CC=$CC
3108  for ac_prog in cl.exe
3109do
3110  # Extract the first word of "$ac_prog", so it can be a program name with args.
3111set dummy $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_ac_ct_CC+:} false; then :
3115  $as_echo_n "(cached) " >&6
3116else
3117  if test -n "$ac_ct_CC"; then
3118  ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="$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
3137ac_ct_CC=$ac_cv_prog_ac_ct_CC
3138if test -n "$ac_ct_CC"; then
3139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3140$as_echo "$ac_ct_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 "$ac_ct_CC" && break
3148done
3149
3150  if test "x$ac_ct_CC" = x; then
3151    CC=""
3152  else
3153    case $cross_compiling:$ac_tool_warned in
3154yes:)
3155{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3156$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3157ac_tool_warned=yes ;;
3158esac
3159    CC=$ac_ct_CC
3160  fi
3161fi
3162
3163fi
3164
3165
3166test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3167$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3168as_fn_error $? "no acceptable C compiler found in \$PATH
3169See \`config.log' for more details" "$LINENO" 5; }
3170
3171# Provide some information about the compiler.
3172$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3173set X $ac_compile
3174ac_compiler=$2
3175for ac_option in --version -v -V -qversion; do
3176  { { ac_try="$ac_compiler $ac_option >&5"
3177case "(($ac_try" in
3178  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3179  *) ac_try_echo=$ac_try;;
3180esac
3181eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3182$as_echo "$ac_try_echo"; } >&5
3183  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3184  ac_status=$?
3185  if test -s conftest.err; then
3186    sed '10a\
3187... rest of stderr output deleted ...
3188         10q' conftest.err >conftest.er1
3189    cat conftest.er1 >&5
3190  fi
3191  rm -f conftest.er1 conftest.err
3192  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3193  test $ac_status = 0; }
3194done
3195
3196cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197/* end confdefs.h.  */
3198
3199int
3200main ()
3201{
3202
3203  ;
3204  return 0;
3205}
3206_ACEOF
3207ac_clean_files_save=$ac_clean_files
3208ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3209# Try to create an executable without -o first, disregard a.out.
3210# It will help us diagnose broken compilers, and finding out an intuition
3211# of exeext.
3212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3213$as_echo_n "checking whether the C compiler works... " >&6; }
3214ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3215
3216# The possible output files:
3217ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3218
3219ac_rmfiles=
3220for ac_file in $ac_files
3221do
3222  case $ac_file in
3223    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3224    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3225  esac
3226done
3227rm -f $ac_rmfiles
3228
3229if { { ac_try="$ac_link_default"
3230case "(($ac_try" in
3231  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232  *) ac_try_echo=$ac_try;;
3233esac
3234eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3235$as_echo "$ac_try_echo"; } >&5
3236  (eval "$ac_link_default") 2>&5
3237  ac_status=$?
3238  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3239  test $ac_status = 0; }; then :
3240  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3241# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3242# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3243# so that the user can short-circuit this test for compilers unknown to
3244# Autoconf.
3245for ac_file in $ac_files ''
3246do
3247  test -f "$ac_file" || continue
3248  case $ac_file in
3249    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3250	;;
3251    [ab].out )
3252	# We found the default executable, but exeext='' is most
3253	# certainly right.
3254	break;;
3255    *.* )
3256	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3257	then :; else
3258	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3259	fi
3260	# We set ac_cv_exeext here because the later test for it is not
3261	# safe: cross compilers may not add the suffix if given an `-o'
3262	# argument, so we may need to know it at that point already.
3263	# Even if this section looks crufty: it has the advantage of
3264	# actually working.
3265	break;;
3266    * )
3267	break;;
3268  esac
3269done
3270test "$ac_cv_exeext" = no && ac_cv_exeext=
3271
3272else
3273  ac_file=''
3274fi
3275if test -z "$ac_file"; then :
3276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3277$as_echo "no" >&6; }
3278$as_echo "$as_me: failed program was:" >&5
3279sed 's/^/| /' conftest.$ac_ext >&5
3280
3281{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3282$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3283as_fn_error 77 "C compiler cannot create executables
3284See \`config.log' for more details" "$LINENO" 5; }
3285else
3286  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3287$as_echo "yes" >&6; }
3288fi
3289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3290$as_echo_n "checking for C compiler default output file name... " >&6; }
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3292$as_echo "$ac_file" >&6; }
3293ac_exeext=$ac_cv_exeext
3294
3295rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3296ac_clean_files=$ac_clean_files_save
3297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3298$as_echo_n "checking for suffix of executables... " >&6; }
3299if { { ac_try="$ac_link"
3300case "(($ac_try" in
3301  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302  *) ac_try_echo=$ac_try;;
3303esac
3304eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3305$as_echo "$ac_try_echo"; } >&5
3306  (eval "$ac_link") 2>&5
3307  ac_status=$?
3308  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3309  test $ac_status = 0; }; then :
3310  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3311# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3312# work properly (i.e., refer to `conftest.exe'), while it won't with
3313# `rm'.
3314for ac_file in conftest.exe conftest conftest.*; do
3315  test -f "$ac_file" || continue
3316  case $ac_file in
3317    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3318    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3319	  break;;
3320    * ) break;;
3321  esac
3322done
3323else
3324  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3325$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3326as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3327See \`config.log' for more details" "$LINENO" 5; }
3328fi
3329rm -f conftest conftest$ac_cv_exeext
3330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3331$as_echo "$ac_cv_exeext" >&6; }
3332
3333rm -f conftest.$ac_ext
3334EXEEXT=$ac_cv_exeext
3335ac_exeext=$EXEEXT
3336cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337/* end confdefs.h.  */
3338#include <stdio.h>
3339int
3340main ()
3341{
3342FILE *f = fopen ("conftest.out", "w");
3343 return ferror (f) || fclose (f) != 0;
3344
3345  ;
3346  return 0;
3347}
3348_ACEOF
3349ac_clean_files="$ac_clean_files conftest.out"
3350# Check that the compiler produces executables we can run.  If not, either
3351# the compiler is broken, or we cross compile.
3352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3353$as_echo_n "checking whether we are cross compiling... " >&6; }
3354if test "$cross_compiling" != yes; then
3355  { { ac_try="$ac_link"
3356case "(($ac_try" in
3357  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358  *) ac_try_echo=$ac_try;;
3359esac
3360eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3361$as_echo "$ac_try_echo"; } >&5
3362  (eval "$ac_link") 2>&5
3363  ac_status=$?
3364  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3365  test $ac_status = 0; }
3366  if { ac_try='./conftest$ac_cv_exeext'
3367  { { case "(($ac_try" in
3368  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3369  *) ac_try_echo=$ac_try;;
3370esac
3371eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3372$as_echo "$ac_try_echo"; } >&5
3373  (eval "$ac_try") 2>&5
3374  ac_status=$?
3375  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3376  test $ac_status = 0; }; }; then
3377    cross_compiling=no
3378  else
3379    if test "$cross_compiling" = maybe; then
3380	cross_compiling=yes
3381    else
3382	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3384as_fn_error $? "cannot run C compiled programs.
3385If you meant to cross compile, use \`--host'.
3386See \`config.log' for more details" "$LINENO" 5; }
3387    fi
3388  fi
3389fi
3390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3391$as_echo "$cross_compiling" >&6; }
3392
3393rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3394ac_clean_files=$ac_clean_files_save
3395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3396$as_echo_n "checking for suffix of object files... " >&6; }
3397if ${ac_cv_objext+:} false; then :
3398  $as_echo_n "(cached) " >&6
3399else
3400  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3401/* end confdefs.h.  */
3402
3403int
3404main ()
3405{
3406
3407  ;
3408  return 0;
3409}
3410_ACEOF
3411rm -f conftest.o conftest.obj
3412if { { ac_try="$ac_compile"
3413case "(($ac_try" in
3414  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415  *) ac_try_echo=$ac_try;;
3416esac
3417eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418$as_echo "$ac_try_echo"; } >&5
3419  (eval "$ac_compile") 2>&5
3420  ac_status=$?
3421  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422  test $ac_status = 0; }; then :
3423  for ac_file in conftest.o conftest.obj conftest.*; do
3424  test -f "$ac_file" || continue;
3425  case $ac_file in
3426    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3427    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3428       break;;
3429  esac
3430done
3431else
3432  $as_echo "$as_me: failed program was:" >&5
3433sed 's/^/| /' conftest.$ac_ext >&5
3434
3435{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437as_fn_error $? "cannot compute suffix of object files: cannot compile
3438See \`config.log' for more details" "$LINENO" 5; }
3439fi
3440rm -f conftest.$ac_cv_objext conftest.$ac_ext
3441fi
3442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3443$as_echo "$ac_cv_objext" >&6; }
3444OBJEXT=$ac_cv_objext
3445ac_objext=$OBJEXT
3446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3447$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3448if ${ac_cv_c_compiler_gnu+:} false; then :
3449  $as_echo_n "(cached) " >&6
3450else
3451  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452/* end confdefs.h.  */
3453
3454int
3455main ()
3456{
3457#ifndef __GNUC__
3458       choke me
3459#endif
3460
3461  ;
3462  return 0;
3463}
3464_ACEOF
3465if ac_fn_c_try_compile "$LINENO"; then :
3466  ac_compiler_gnu=yes
3467else
3468  ac_compiler_gnu=no
3469fi
3470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471ac_cv_c_compiler_gnu=$ac_compiler_gnu
3472
3473fi
3474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3475$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3476if test $ac_compiler_gnu = yes; then
3477  GCC=yes
3478else
3479  GCC=
3480fi
3481ac_test_CFLAGS=${CFLAGS+set}
3482ac_save_CFLAGS=$CFLAGS
3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3484$as_echo_n "checking whether $CC accepts -g... " >&6; }
3485if ${ac_cv_prog_cc_g+:} false; then :
3486  $as_echo_n "(cached) " >&6
3487else
3488  ac_save_c_werror_flag=$ac_c_werror_flag
3489   ac_c_werror_flag=yes
3490   ac_cv_prog_cc_g=no
3491   CFLAGS="-g"
3492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493/* end confdefs.h.  */
3494
3495int
3496main ()
3497{
3498
3499  ;
3500  return 0;
3501}
3502_ACEOF
3503if ac_fn_c_try_compile "$LINENO"; then :
3504  ac_cv_prog_cc_g=yes
3505else
3506  CFLAGS=""
3507      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508/* end confdefs.h.  */
3509
3510int
3511main ()
3512{
3513
3514  ;
3515  return 0;
3516}
3517_ACEOF
3518if ac_fn_c_try_compile "$LINENO"; then :
3519
3520else
3521  ac_c_werror_flag=$ac_save_c_werror_flag
3522	 CFLAGS="-g"
3523	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524/* end confdefs.h.  */
3525
3526int
3527main ()
3528{
3529
3530  ;
3531  return 0;
3532}
3533_ACEOF
3534if ac_fn_c_try_compile "$LINENO"; then :
3535  ac_cv_prog_cc_g=yes
3536fi
3537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538fi
3539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540fi
3541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542   ac_c_werror_flag=$ac_save_c_werror_flag
3543fi
3544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3545$as_echo "$ac_cv_prog_cc_g" >&6; }
3546if test "$ac_test_CFLAGS" = set; then
3547  CFLAGS=$ac_save_CFLAGS
3548elif test $ac_cv_prog_cc_g = yes; then
3549  if test "$GCC" = yes; then
3550    CFLAGS="-g -O2"
3551  else
3552    CFLAGS="-g"
3553  fi
3554else
3555  if test "$GCC" = yes; then
3556    CFLAGS="-O2"
3557  else
3558    CFLAGS=
3559  fi
3560fi
3561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3562$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3563if ${ac_cv_prog_cc_c89+:} false; then :
3564  $as_echo_n "(cached) " >&6
3565else
3566  ac_cv_prog_cc_c89=no
3567ac_save_CC=$CC
3568cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569/* end confdefs.h.  */
3570#include <stdarg.h>
3571#include <stdio.h>
3572struct stat;
3573/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3574struct buf { int x; };
3575FILE * (*rcsopen) (struct buf *, struct stat *, int);
3576static char *e (p, i)
3577     char **p;
3578     int i;
3579{
3580  return p[i];
3581}
3582static char *f (char * (*g) (char **, int), char **p, ...)
3583{
3584  char *s;
3585  va_list v;
3586  va_start (v,p);
3587  s = g (p, va_arg (v,int));
3588  va_end (v);
3589  return s;
3590}
3591
3592/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3593   function prototypes and stuff, but not '\xHH' hex character constants.
3594   These don't provoke an error unfortunately, instead are silently treated
3595   as 'x'.  The following induces an error, until -std is added to get
3596   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3597   array size at least.  It's necessary to write '\x00'==0 to get something
3598   that's true only with -std.  */
3599int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3600
3601/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3602   inside strings and character constants.  */
3603#define FOO(x) 'x'
3604int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3605
3606int test (int i, double x);
3607struct s1 {int (*f) (int a);};
3608struct s2 {int (*f) (double a);};
3609int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3610int argc;
3611char **argv;
3612int
3613main ()
3614{
3615return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3616  ;
3617  return 0;
3618}
3619_ACEOF
3620for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3621	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3622do
3623  CC="$ac_save_CC $ac_arg"
3624  if ac_fn_c_try_compile "$LINENO"; then :
3625  ac_cv_prog_cc_c89=$ac_arg
3626fi
3627rm -f core conftest.err conftest.$ac_objext
3628  test "x$ac_cv_prog_cc_c89" != "xno" && break
3629done
3630rm -f conftest.$ac_ext
3631CC=$ac_save_CC
3632
3633fi
3634# AC_CACHE_VAL
3635case "x$ac_cv_prog_cc_c89" in
3636  x)
3637    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3638$as_echo "none needed" >&6; } ;;
3639  xno)
3640    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3641$as_echo "unsupported" >&6; } ;;
3642  *)
3643    CC="$CC $ac_cv_prog_cc_c89"
3644    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3645$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3646esac
3647if test "x$ac_cv_prog_cc_c89" != xno; then :
3648
3649fi
3650
3651ac_ext=c
3652ac_cpp='$CPP $CPPFLAGS'
3653ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3654ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3655ac_compiler_gnu=$ac_cv_c_compiler_gnu
3656
3657ac_ext=c
3658ac_cpp='$CPP $CPPFLAGS'
3659ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3660ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3661ac_compiler_gnu=$ac_cv_c_compiler_gnu
3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3663$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3664if ${am_cv_prog_cc_c_o+:} false; then :
3665  $as_echo_n "(cached) " >&6
3666else
3667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3668/* end confdefs.h.  */
3669
3670int
3671main ()
3672{
3673
3674  ;
3675  return 0;
3676}
3677_ACEOF
3678  # Make sure it works both with $CC and with simple cc.
3679  # Following AC_PROG_CC_C_O, we do the test twice because some
3680  # compilers refuse to overwrite an existing .o file with -o,
3681  # though they will create one.
3682  am_cv_prog_cc_c_o=yes
3683  for am_i in 1 2; do
3684    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3685   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3686   ac_status=$?
3687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688   (exit $ac_status); } \
3689         && test -f conftest2.$ac_objext; then
3690      : OK
3691    else
3692      am_cv_prog_cc_c_o=no
3693      break
3694    fi
3695  done
3696  rm -f core conftest*
3697  unset am_i
3698fi
3699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3700$as_echo "$am_cv_prog_cc_c_o" >&6; }
3701if test "$am_cv_prog_cc_c_o" != yes; then
3702   # Losing compiler, so override with the script.
3703   # FIXME: It is wrong to rewrite CC.
3704   # But if we don't then we get into trouble of one sort or another.
3705   # A longer-term fix would be to have automake use am__CC in this case,
3706   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3707   CC="$am_aux_dir/compile $CC"
3708fi
3709ac_ext=c
3710ac_cpp='$CPP $CPPFLAGS'
3711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3713ac_compiler_gnu=$ac_cv_c_compiler_gnu
3714
3715DEPDIR="${am__leading_dot}deps"
3716
3717ac_config_commands="$ac_config_commands depfiles"
3718
3719
3720am_make=${MAKE-make}
3721cat > confinc << 'END'
3722am__doit:
3723	@echo this is the am__doit target
3724.PHONY: am__doit
3725END
3726# If we don't find an include directive, just comment out the code.
3727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3728$as_echo_n "checking for style of include used by $am_make... " >&6; }
3729am__include="#"
3730am__quote=
3731_am_result=none
3732# First try GNU make style include.
3733echo "include confinc" > confmf
3734# Ignore all kinds of additional output from 'make'.
3735case `$am_make -s -f confmf 2> /dev/null` in #(
3736*the\ am__doit\ target*)
3737  am__include=include
3738  am__quote=
3739  _am_result=GNU
3740  ;;
3741esac
3742# Now try BSD make style include.
3743if test "$am__include" = "#"; then
3744   echo '.include "confinc"' > confmf
3745   case `$am_make -s -f confmf 2> /dev/null` in #(
3746   *the\ am__doit\ target*)
3747     am__include=.include
3748     am__quote="\""
3749     _am_result=BSD
3750     ;;
3751   esac
3752fi
3753
3754
3755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3756$as_echo "$_am_result" >&6; }
3757rm -f confinc confmf
3758
3759# Check whether --enable-dependency-tracking was given.
3760if test "${enable_dependency_tracking+set}" = set; then :
3761  enableval=$enable_dependency_tracking;
3762fi
3763
3764if test "x$enable_dependency_tracking" != xno; then
3765  am_depcomp="$ac_aux_dir/depcomp"
3766  AMDEPBACKSLASH='\'
3767  am__nodep='_no'
3768fi
3769 if test "x$enable_dependency_tracking" != xno; then
3770  AMDEP_TRUE=
3771  AMDEP_FALSE='#'
3772else
3773  AMDEP_TRUE='#'
3774  AMDEP_FALSE=
3775fi
3776
3777
3778
3779depcc="$CC"   am_compiler_list=
3780
3781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3782$as_echo_n "checking dependency style of $depcc... " >&6; }
3783if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3784  $as_echo_n "(cached) " >&6
3785else
3786  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3787  # We make a subdir and do the tests there.  Otherwise we can end up
3788  # making bogus files that we don't know about and never remove.  For
3789  # instance it was reported that on HP-UX the gcc test will end up
3790  # making a dummy file named 'D' -- because '-MD' means "put the output
3791  # in D".
3792  rm -rf conftest.dir
3793  mkdir conftest.dir
3794  # Copy depcomp to subdir because otherwise we won't find it if we're
3795  # using a relative directory.
3796  cp "$am_depcomp" conftest.dir
3797  cd conftest.dir
3798  # We will build objects and dependencies in a subdirectory because
3799  # it helps to detect inapplicable dependency modes.  For instance
3800  # both Tru64's cc and ICC support -MD to output dependencies as a
3801  # side effect of compilation, but ICC will put the dependencies in
3802  # the current directory while Tru64 will put them in the object
3803  # directory.
3804  mkdir sub
3805
3806  am_cv_CC_dependencies_compiler_type=none
3807  if test "$am_compiler_list" = ""; then
3808     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3809  fi
3810  am__universal=false
3811  case " $depcc " in #(
3812     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3813     esac
3814
3815  for depmode in $am_compiler_list; do
3816    # Setup a source with many dependencies, because some compilers
3817    # like to wrap large dependency lists on column 80 (with \), and
3818    # we should not choose a depcomp mode which is confused by this.
3819    #
3820    # We need to recreate these files for each test, as the compiler may
3821    # overwrite some of them when testing with obscure command lines.
3822    # This happens at least with the AIX C compiler.
3823    : > sub/conftest.c
3824    for i in 1 2 3 4 5 6; do
3825      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3826      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3827      # Solaris 10 /bin/sh.
3828      echo '/* dummy */' > sub/conftst$i.h
3829    done
3830    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3831
3832    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3833    # mode.  It turns out that the SunPro C++ compiler does not properly
3834    # handle '-M -o', and we need to detect this.  Also, some Intel
3835    # versions had trouble with output in subdirs.
3836    am__obj=sub/conftest.${OBJEXT-o}
3837    am__minus_obj="-o $am__obj"
3838    case $depmode in
3839    gcc)
3840      # This depmode causes a compiler race in universal mode.
3841      test "$am__universal" = false || continue
3842      ;;
3843    nosideeffect)
3844      # After this tag, mechanisms are not by side-effect, so they'll
3845      # only be used when explicitly requested.
3846      if test "x$enable_dependency_tracking" = xyes; then
3847	continue
3848      else
3849	break
3850      fi
3851      ;;
3852    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3853      # This compiler won't grok '-c -o', but also, the minuso test has
3854      # not run yet.  These depmodes are late enough in the game, and
3855      # so weak that their functioning should not be impacted.
3856      am__obj=conftest.${OBJEXT-o}
3857      am__minus_obj=
3858      ;;
3859    none) break ;;
3860    esac
3861    if depmode=$depmode \
3862       source=sub/conftest.c object=$am__obj \
3863       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3864       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3865         >/dev/null 2>conftest.err &&
3866       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3867       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3868       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3869       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3870      # icc doesn't choke on unknown options, it will just issue warnings
3871      # or remarks (even with -Werror).  So we grep stderr for any message
3872      # that says an option was ignored or not supported.
3873      # When given -MP, icc 7.0 and 7.1 complain thusly:
3874      #   icc: Command line warning: ignoring option '-M'; no argument required
3875      # The diagnosis changed in icc 8.0:
3876      #   icc: Command line remark: option '-MP' not supported
3877      if (grep 'ignoring option' conftest.err ||
3878          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3879        am_cv_CC_dependencies_compiler_type=$depmode
3880        break
3881      fi
3882    fi
3883  done
3884
3885  cd ..
3886  rm -rf conftest.dir
3887else
3888  am_cv_CC_dependencies_compiler_type=none
3889fi
3890
3891fi
3892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3893$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3894CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3895
3896 if
3897  test "x$enable_dependency_tracking" != xno \
3898  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3899  am__fastdepCC_TRUE=
3900  am__fastdepCC_FALSE='#'
3901else
3902  am__fastdepCC_TRUE='#'
3903  am__fastdepCC_FALSE=
3904fi
3905
3906
3907
3908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3909$as_echo_n "checking whether ln -s works... " >&6; }
3910LN_S=$as_ln_s
3911if test "$LN_S" = "ln -s"; then
3912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3913$as_echo "yes" >&6; }
3914else
3915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3916$as_echo "no, using $LN_S" >&6; }
3917fi
3918
3919
3920
3921ac_ext=c
3922ac_cpp='$CPP $CPPFLAGS'
3923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3925ac_compiler_gnu=$ac_cv_c_compiler_gnu
3926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3927$as_echo_n "checking how to run the C preprocessor... " >&6; }
3928# On Suns, sometimes $CPP names a directory.
3929if test -n "$CPP" && test -d "$CPP"; then
3930  CPP=
3931fi
3932if test -z "$CPP"; then
3933  if ${ac_cv_prog_CPP+:} false; then :
3934  $as_echo_n "(cached) " >&6
3935else
3936      # Double quotes because CPP needs to be expanded
3937    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3938    do
3939      ac_preproc_ok=false
3940for ac_c_preproc_warn_flag in '' yes
3941do
3942  # Use a header file that comes with gcc, so configuring glibc
3943  # with a fresh cross-compiler works.
3944  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3945  # <limits.h> exists even on freestanding compilers.
3946  # On the NeXT, cc -E runs the code through the compiler's parser,
3947  # not just through cpp. "Syntax error" is here to catch this case.
3948  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949/* end confdefs.h.  */
3950#ifdef __STDC__
3951# include <limits.h>
3952#else
3953# include <assert.h>
3954#endif
3955		     Syntax error
3956_ACEOF
3957if ac_fn_c_try_cpp "$LINENO"; then :
3958
3959else
3960  # Broken: fails on valid input.
3961continue
3962fi
3963rm -f conftest.err conftest.i conftest.$ac_ext
3964
3965  # OK, works on sane cases.  Now check whether nonexistent headers
3966  # can be detected and how.
3967  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968/* end confdefs.h.  */
3969#include <ac_nonexistent.h>
3970_ACEOF
3971if ac_fn_c_try_cpp "$LINENO"; then :
3972  # Broken: success on invalid input.
3973continue
3974else
3975  # Passes both tests.
3976ac_preproc_ok=:
3977break
3978fi
3979rm -f conftest.err conftest.i conftest.$ac_ext
3980
3981done
3982# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3983rm -f conftest.i conftest.err conftest.$ac_ext
3984if $ac_preproc_ok; then :
3985  break
3986fi
3987
3988    done
3989    ac_cv_prog_CPP=$CPP
3990
3991fi
3992  CPP=$ac_cv_prog_CPP
3993else
3994  ac_cv_prog_CPP=$CPP
3995fi
3996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3997$as_echo "$CPP" >&6; }
3998ac_preproc_ok=false
3999for ac_c_preproc_warn_flag in '' yes
4000do
4001  # Use a header file that comes with gcc, so configuring glibc
4002  # with a fresh cross-compiler works.
4003  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4004  # <limits.h> exists even on freestanding compilers.
4005  # On the NeXT, cc -E runs the code through the compiler's parser,
4006  # not just through cpp. "Syntax error" is here to catch this case.
4007  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4008/* end confdefs.h.  */
4009#ifdef __STDC__
4010# include <limits.h>
4011#else
4012# include <assert.h>
4013#endif
4014		     Syntax error
4015_ACEOF
4016if ac_fn_c_try_cpp "$LINENO"; then :
4017
4018else
4019  # Broken: fails on valid input.
4020continue
4021fi
4022rm -f conftest.err conftest.i conftest.$ac_ext
4023
4024  # OK, works on sane cases.  Now check whether nonexistent headers
4025  # can be detected and how.
4026  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027/* end confdefs.h.  */
4028#include <ac_nonexistent.h>
4029_ACEOF
4030if ac_fn_c_try_cpp "$LINENO"; then :
4031  # Broken: success on invalid input.
4032continue
4033else
4034  # Passes both tests.
4035ac_preproc_ok=:
4036break
4037fi
4038rm -f conftest.err conftest.i conftest.$ac_ext
4039
4040done
4041# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4042rm -f conftest.i conftest.err conftest.$ac_ext
4043if $ac_preproc_ok; then :
4044
4045else
4046  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4047$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4048as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4049See \`config.log' for more details" "$LINENO" 5; }
4050fi
4051
4052ac_ext=c
4053ac_cpp='$CPP $CPPFLAGS'
4054ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4055ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4056ac_compiler_gnu=$ac_cv_c_compiler_gnu
4057
4058
4059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4060$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4061if ${ac_cv_path_GREP+:} false; then :
4062  $as_echo_n "(cached) " >&6
4063else
4064  if test -z "$GREP"; then
4065  ac_path_GREP_found=false
4066  # Loop through the user's path and test for each of PROGNAME-LIST
4067  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4068for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4069do
4070  IFS=$as_save_IFS
4071  test -z "$as_dir" && as_dir=.
4072    for ac_prog in grep ggrep; do
4073    for ac_exec_ext in '' $ac_executable_extensions; do
4074      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4075      as_fn_executable_p "$ac_path_GREP" || continue
4076# Check for GNU ac_path_GREP and select it if it is found.
4077  # Check for GNU $ac_path_GREP
4078case `"$ac_path_GREP" --version 2>&1` in
4079*GNU*)
4080  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4081*)
4082  ac_count=0
4083  $as_echo_n 0123456789 >"conftest.in"
4084  while :
4085  do
4086    cat "conftest.in" "conftest.in" >"conftest.tmp"
4087    mv "conftest.tmp" "conftest.in"
4088    cp "conftest.in" "conftest.nl"
4089    $as_echo 'GREP' >> "conftest.nl"
4090    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4091    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4092    as_fn_arith $ac_count + 1 && ac_count=$as_val
4093    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4094      # Best one so far, save it but keep looking for a better one
4095      ac_cv_path_GREP="$ac_path_GREP"
4096      ac_path_GREP_max=$ac_count
4097    fi
4098    # 10*(2^10) chars as input seems more than enough
4099    test $ac_count -gt 10 && break
4100  done
4101  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4102esac
4103
4104      $ac_path_GREP_found && break 3
4105    done
4106  done
4107  done
4108IFS=$as_save_IFS
4109  if test -z "$ac_cv_path_GREP"; then
4110    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4111  fi
4112else
4113  ac_cv_path_GREP=$GREP
4114fi
4115
4116fi
4117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4118$as_echo "$ac_cv_path_GREP" >&6; }
4119 GREP="$ac_cv_path_GREP"
4120
4121
4122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4123$as_echo_n "checking for egrep... " >&6; }
4124if ${ac_cv_path_EGREP+:} false; then :
4125  $as_echo_n "(cached) " >&6
4126else
4127  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4128   then ac_cv_path_EGREP="$GREP -E"
4129   else
4130     if test -z "$EGREP"; then
4131  ac_path_EGREP_found=false
4132  # Loop through the user's path and test for each of PROGNAME-LIST
4133  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4135do
4136  IFS=$as_save_IFS
4137  test -z "$as_dir" && as_dir=.
4138    for ac_prog in egrep; do
4139    for ac_exec_ext in '' $ac_executable_extensions; do
4140      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4141      as_fn_executable_p "$ac_path_EGREP" || continue
4142# Check for GNU ac_path_EGREP and select it if it is found.
4143  # Check for GNU $ac_path_EGREP
4144case `"$ac_path_EGREP" --version 2>&1` in
4145*GNU*)
4146  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4147*)
4148  ac_count=0
4149  $as_echo_n 0123456789 >"conftest.in"
4150  while :
4151  do
4152    cat "conftest.in" "conftest.in" >"conftest.tmp"
4153    mv "conftest.tmp" "conftest.in"
4154    cp "conftest.in" "conftest.nl"
4155    $as_echo 'EGREP' >> "conftest.nl"
4156    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4157    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4158    as_fn_arith $ac_count + 1 && ac_count=$as_val
4159    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4160      # Best one so far, save it but keep looking for a better one
4161      ac_cv_path_EGREP="$ac_path_EGREP"
4162      ac_path_EGREP_max=$ac_count
4163    fi
4164    # 10*(2^10) chars as input seems more than enough
4165    test $ac_count -gt 10 && break
4166  done
4167  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4168esac
4169
4170      $ac_path_EGREP_found && break 3
4171    done
4172  done
4173  done
4174IFS=$as_save_IFS
4175  if test -z "$ac_cv_path_EGREP"; then
4176    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4177  fi
4178else
4179  ac_cv_path_EGREP=$EGREP
4180fi
4181
4182   fi
4183fi
4184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4185$as_echo "$ac_cv_path_EGREP" >&6; }
4186 EGREP="$ac_cv_path_EGREP"
4187
4188
4189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4190$as_echo_n "checking for ANSI C header files... " >&6; }
4191if ${ac_cv_header_stdc+:} false; then :
4192  $as_echo_n "(cached) " >&6
4193else
4194  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195/* end confdefs.h.  */
4196#include <stdlib.h>
4197#include <stdarg.h>
4198#include <string.h>
4199#include <float.h>
4200
4201int
4202main ()
4203{
4204
4205  ;
4206  return 0;
4207}
4208_ACEOF
4209if ac_fn_c_try_compile "$LINENO"; then :
4210  ac_cv_header_stdc=yes
4211else
4212  ac_cv_header_stdc=no
4213fi
4214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215
4216if test $ac_cv_header_stdc = yes; then
4217  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4218  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219/* end confdefs.h.  */
4220#include <string.h>
4221
4222_ACEOF
4223if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4224  $EGREP "memchr" >/dev/null 2>&1; then :
4225
4226else
4227  ac_cv_header_stdc=no
4228fi
4229rm -f conftest*
4230
4231fi
4232
4233if test $ac_cv_header_stdc = yes; then
4234  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4235  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236/* end confdefs.h.  */
4237#include <stdlib.h>
4238
4239_ACEOF
4240if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4241  $EGREP "free" >/dev/null 2>&1; then :
4242
4243else
4244  ac_cv_header_stdc=no
4245fi
4246rm -f conftest*
4247
4248fi
4249
4250if test $ac_cv_header_stdc = yes; then
4251  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4252  if test "$cross_compiling" = yes; then :
4253  :
4254else
4255  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256/* end confdefs.h.  */
4257#include <ctype.h>
4258#include <stdlib.h>
4259#if ((' ' & 0x0FF) == 0x020)
4260# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4261# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4262#else
4263# define ISLOWER(c) \
4264		   (('a' <= (c) && (c) <= 'i') \
4265		     || ('j' <= (c) && (c) <= 'r') \
4266		     || ('s' <= (c) && (c) <= 'z'))
4267# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4268#endif
4269
4270#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4271int
4272main ()
4273{
4274  int i;
4275  for (i = 0; i < 256; i++)
4276    if (XOR (islower (i), ISLOWER (i))
4277	|| toupper (i) != TOUPPER (i))
4278      return 2;
4279  return 0;
4280}
4281_ACEOF
4282if ac_fn_c_try_run "$LINENO"; then :
4283
4284else
4285  ac_cv_header_stdc=no
4286fi
4287rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4288  conftest.$ac_objext conftest.beam conftest.$ac_ext
4289fi
4290
4291fi
4292fi
4293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4294$as_echo "$ac_cv_header_stdc" >&6; }
4295if test $ac_cv_header_stdc = yes; then
4296
4297$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4298
4299fi
4300
4301# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4302for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4303		  inttypes.h stdint.h unistd.h
4304do :
4305  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4306ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4307"
4308if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4309  cat >>confdefs.h <<_ACEOF
4310#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4311_ACEOF
4312
4313fi
4314
4315done
4316
4317
4318for ac_header in unistd.h
4319do :
4320  ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4321if test "x$ac_cv_header_unistd_h" = xyes; then :
4322  cat >>confdefs.h <<_ACEOF
4323#define HAVE_UNISTD_H 1
4324_ACEOF
4325
4326fi
4327
4328done
4329
4330
4331        MKINSTALLDIRS=
4332  if test -n "$ac_aux_dir"; then
4333    case "$ac_aux_dir" in
4334      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
4335      *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
4336    esac
4337  fi
4338  if test -z "$MKINSTALLDIRS"; then
4339    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
4340  fi
4341
4342
4343
4344  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4345$as_echo_n "checking whether NLS is requested... " >&6; }
4346    # Check whether --enable-nls was given.
4347if test "${enable_nls+set}" = set; then :
4348  enableval=$enable_nls; USE_NLS=$enableval
4349else
4350  USE_NLS=yes
4351fi
4352
4353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4354$as_echo "$USE_NLS" >&6; }
4355
4356
4357
4358
4359
4360
4361# Prepare PATH_SEPARATOR.
4362# The user is always right.
4363if test "${PATH_SEPARATOR+set}" != set; then
4364  echo "#! /bin/sh" >conf$$.sh
4365  echo  "exit 0"   >>conf$$.sh
4366  chmod +x conf$$.sh
4367  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4368    PATH_SEPARATOR=';'
4369  else
4370    PATH_SEPARATOR=:
4371  fi
4372  rm -f conf$$.sh
4373fi
4374
4375# Find out how to test for executable files. Don't use a zero-byte file,
4376# as systems may use methods other than mode bits to determine executability.
4377cat >conf$$.file <<_ASEOF
4378#! /bin/sh
4379exit 0
4380_ASEOF
4381chmod +x conf$$.file
4382if test -x conf$$.file >/dev/null 2>&1; then
4383  ac_executable_p="test -x"
4384else
4385  ac_executable_p="test -f"
4386fi
4387rm -f conf$$.file
4388
4389# Extract the first word of "msgfmt", so it can be a program name with args.
4390set dummy msgfmt; ac_word=$2
4391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4392$as_echo_n "checking for $ac_word... " >&6; }
4393if ${ac_cv_path_MSGFMT+:} false; then :
4394  $as_echo_n "(cached) " >&6
4395else
4396  case "$MSGFMT" in
4397  [\\/]* | ?:[\\/]*)
4398    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4399    ;;
4400  *)
4401    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4402    for ac_dir in $PATH; do
4403      IFS="$ac_save_IFS"
4404      test -z "$ac_dir" && ac_dir=.
4405      for ac_exec_ext in '' $ac_executable_extensions; do
4406        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4407          if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
4408     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4409            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4410            break 2
4411          fi
4412        fi
4413      done
4414    done
4415    IFS="$ac_save_IFS"
4416  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4417    ;;
4418esac
4419fi
4420MSGFMT="$ac_cv_path_MSGFMT"
4421if test "$MSGFMT" != ":"; then
4422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4423$as_echo "$MSGFMT" >&6; }
4424else
4425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426$as_echo "no" >&6; }
4427fi
4428
4429  # Extract the first word of "gmsgfmt", so it can be a program name with args.
4430set dummy gmsgfmt; ac_word=$2
4431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432$as_echo_n "checking for $ac_word... " >&6; }
4433if ${ac_cv_path_GMSGFMT+:} false; then :
4434  $as_echo_n "(cached) " >&6
4435else
4436  case $GMSGFMT in
4437  [\\/]* | ?:[\\/]*)
4438  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4439  ;;
4440  *)
4441  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442for as_dir in $PATH
4443do
4444  IFS=$as_save_IFS
4445  test -z "$as_dir" && as_dir=.
4446    for ac_exec_ext in '' $ac_executable_extensions; do
4447  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4449    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450    break 2
4451  fi
4452done
4453  done
4454IFS=$as_save_IFS
4455
4456  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4457  ;;
4458esac
4459fi
4460GMSGFMT=$ac_cv_path_GMSGFMT
4461if test -n "$GMSGFMT"; then
4462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4463$as_echo "$GMSGFMT" >&6; }
4464else
4465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466$as_echo "no" >&6; }
4467fi
4468
4469
4470
4471
4472# Prepare PATH_SEPARATOR.
4473# The user is always right.
4474if test "${PATH_SEPARATOR+set}" != set; then
4475  echo "#! /bin/sh" >conf$$.sh
4476  echo  "exit 0"   >>conf$$.sh
4477  chmod +x conf$$.sh
4478  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4479    PATH_SEPARATOR=';'
4480  else
4481    PATH_SEPARATOR=:
4482  fi
4483  rm -f conf$$.sh
4484fi
4485
4486# Find out how to test for executable files. Don't use a zero-byte file,
4487# as systems may use methods other than mode bits to determine executability.
4488cat >conf$$.file <<_ASEOF
4489#! /bin/sh
4490exit 0
4491_ASEOF
4492chmod +x conf$$.file
4493if test -x conf$$.file >/dev/null 2>&1; then
4494  ac_executable_p="test -x"
4495else
4496  ac_executable_p="test -f"
4497fi
4498rm -f conf$$.file
4499
4500# Extract the first word of "xgettext", so it can be a program name with args.
4501set dummy xgettext; ac_word=$2
4502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4503$as_echo_n "checking for $ac_word... " >&6; }
4504if ${ac_cv_path_XGETTEXT+:} false; then :
4505  $as_echo_n "(cached) " >&6
4506else
4507  case "$XGETTEXT" in
4508  [\\/]* | ?:[\\/]*)
4509    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4510    ;;
4511  *)
4512    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4513    for ac_dir in $PATH; do
4514      IFS="$ac_save_IFS"
4515      test -z "$ac_dir" && ac_dir=.
4516      for ac_exec_ext in '' $ac_executable_extensions; do
4517        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4518          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4519     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4520            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4521            break 2
4522          fi
4523        fi
4524      done
4525    done
4526    IFS="$ac_save_IFS"
4527  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4528    ;;
4529esac
4530fi
4531XGETTEXT="$ac_cv_path_XGETTEXT"
4532if test "$XGETTEXT" != ":"; then
4533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4534$as_echo "$XGETTEXT" >&6; }
4535else
4536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537$as_echo "no" >&6; }
4538fi
4539
4540    rm -f messages.po
4541
4542
4543# Prepare PATH_SEPARATOR.
4544# The user is always right.
4545if test "${PATH_SEPARATOR+set}" != set; then
4546  echo "#! /bin/sh" >conf$$.sh
4547  echo  "exit 0"   >>conf$$.sh
4548  chmod +x conf$$.sh
4549  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4550    PATH_SEPARATOR=';'
4551  else
4552    PATH_SEPARATOR=:
4553  fi
4554  rm -f conf$$.sh
4555fi
4556
4557# Find out how to test for executable files. Don't use a zero-byte file,
4558# as systems may use methods other than mode bits to determine executability.
4559cat >conf$$.file <<_ASEOF
4560#! /bin/sh
4561exit 0
4562_ASEOF
4563chmod +x conf$$.file
4564if test -x conf$$.file >/dev/null 2>&1; then
4565  ac_executable_p="test -x"
4566else
4567  ac_executable_p="test -f"
4568fi
4569rm -f conf$$.file
4570
4571# Extract the first word of "msgmerge", so it can be a program name with args.
4572set dummy msgmerge; ac_word=$2
4573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574$as_echo_n "checking for $ac_word... " >&6; }
4575if ${ac_cv_path_MSGMERGE+:} false; then :
4576  $as_echo_n "(cached) " >&6
4577else
4578  case "$MSGMERGE" in
4579  [\\/]* | ?:[\\/]*)
4580    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4581    ;;
4582  *)
4583    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4584    for ac_dir in $PATH; do
4585      IFS="$ac_save_IFS"
4586      test -z "$ac_dir" && ac_dir=.
4587      for ac_exec_ext in '' $ac_executable_extensions; do
4588        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4589          if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
4590            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4591            break 2
4592          fi
4593        fi
4594      done
4595    done
4596    IFS="$ac_save_IFS"
4597  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4598    ;;
4599esac
4600fi
4601MSGMERGE="$ac_cv_path_MSGMERGE"
4602if test "$MSGMERGE" != ":"; then
4603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4604$as_echo "$MSGMERGE" >&6; }
4605else
4606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4607$as_echo "no" >&6; }
4608fi
4609
4610
4611      if test "$GMSGFMT" != ":"; then
4612            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
4613       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4614      : ;
4615    else
4616      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
4617      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
4618$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
4619      GMSGFMT=":"
4620    fi
4621  fi
4622
4623      if test "$XGETTEXT" != ":"; then
4624            if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
4625       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4626      : ;
4627    else
4628      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
4629$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
4630      XGETTEXT=":"
4631    fi
4632        rm -f messages.po
4633  fi
4634
4635  ac_config_commands="$ac_config_commands default-1"
4636
4637
4638
4639      if test "X$prefix" = "XNONE"; then
4640    acl_final_prefix="$ac_default_prefix"
4641  else
4642    acl_final_prefix="$prefix"
4643  fi
4644  if test "X$exec_prefix" = "XNONE"; then
4645    acl_final_exec_prefix='${prefix}'
4646  else
4647    acl_final_exec_prefix="$exec_prefix"
4648  fi
4649  acl_save_prefix="$prefix"
4650  prefix="$acl_final_prefix"
4651  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
4652  prefix="$acl_save_prefix"
4653
4654# Make sure we can run config.sub.
4655$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4656  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4657
4658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4659$as_echo_n "checking build system type... " >&6; }
4660if ${ac_cv_build+:} false; then :
4661  $as_echo_n "(cached) " >&6
4662else
4663  ac_build_alias=$build_alias
4664test "x$ac_build_alias" = x &&
4665  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4666test "x$ac_build_alias" = x &&
4667  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4668ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4669  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4670
4671fi
4672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4673$as_echo "$ac_cv_build" >&6; }
4674case $ac_cv_build in
4675*-*-*) ;;
4676*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4677esac
4678build=$ac_cv_build
4679ac_save_IFS=$IFS; IFS='-'
4680set x $ac_cv_build
4681shift
4682build_cpu=$1
4683build_vendor=$2
4684shift; shift
4685# Remember, the first character of IFS is used to create $*,
4686# except with old shells:
4687build_os=$*
4688IFS=$ac_save_IFS
4689case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4690
4691
4692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4693$as_echo_n "checking host system type... " >&6; }
4694if ${ac_cv_host+:} false; then :
4695  $as_echo_n "(cached) " >&6
4696else
4697  if test "x$host_alias" = x; then
4698  ac_cv_host=$ac_cv_build
4699else
4700  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4701    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4702fi
4703
4704fi
4705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4706$as_echo "$ac_cv_host" >&6; }
4707case $ac_cv_host in
4708*-*-*) ;;
4709*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4710esac
4711host=$ac_cv_host
4712ac_save_IFS=$IFS; IFS='-'
4713set x $ac_cv_host
4714shift
4715host_cpu=$1
4716host_vendor=$2
4717shift; shift
4718# Remember, the first character of IFS is used to create $*,
4719# except with old shells:
4720host_os=$*
4721IFS=$ac_save_IFS
4722case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4723
4724
4725
4726# Check whether --with-gnu-ld was given.
4727if test "${with_gnu_ld+set}" = set; then :
4728  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4729else
4730  with_gnu_ld=no
4731fi
4732
4733# Prepare PATH_SEPARATOR.
4734# The user is always right.
4735if test "${PATH_SEPARATOR+set}" != set; then
4736  echo "#! /bin/sh" >conf$$.sh
4737  echo  "exit 0"   >>conf$$.sh
4738  chmod +x conf$$.sh
4739  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4740    PATH_SEPARATOR=';'
4741  else
4742    PATH_SEPARATOR=:
4743  fi
4744  rm -f conf$$.sh
4745fi
4746ac_prog=ld
4747if test "$GCC" = yes; then
4748  # Check if gcc -print-prog-name=ld gives a path.
4749  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
4750$as_echo_n "checking for ld used by GCC... " >&6; }
4751  case $host in
4752  *-*-mingw*)
4753    # gcc leaves a trailing carriage return which upsets mingw
4754    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4755  *)
4756    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4757  esac
4758  case $ac_prog in
4759    # Accept absolute paths.
4760    [\\/]* | [A-Za-z]:[\\/]*)
4761      re_direlt='/[^/][^/]*/\.\./'
4762      # Canonicalize the path of ld
4763      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
4764      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4765	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
4766      done
4767      test -z "$LD" && LD="$ac_prog"
4768      ;;
4769  "")
4770    # If it fails, then pretend we aren't using GCC.
4771    ac_prog=ld
4772    ;;
4773  *)
4774    # If it is relative, then search for the first ld in PATH.
4775    with_gnu_ld=unknown
4776    ;;
4777  esac
4778elif test "$with_gnu_ld" = yes; then
4779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4780$as_echo_n "checking for GNU ld... " >&6; }
4781else
4782  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4783$as_echo_n "checking for non-GNU ld... " >&6; }
4784fi
4785if ${acl_cv_path_LD+:} false; then :
4786  $as_echo_n "(cached) " >&6
4787else
4788  if test -z "$LD"; then
4789  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4790  for ac_dir in $PATH; do
4791    test -z "$ac_dir" && ac_dir=.
4792    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4793      acl_cv_path_LD="$ac_dir/$ac_prog"
4794      # Check to see if the program is GNU ld.  I'd rather use --version,
4795      # but apparently some GNU ld's only accept -v.
4796      # Break only if it was the GNU/non-GNU ld that we prefer.
4797      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
4798      *GNU* | *'with BFD'*)
4799	test "$with_gnu_ld" != no && break ;;
4800      *)
4801	test "$with_gnu_ld" != yes && break ;;
4802      esac
4803    fi
4804  done
4805  IFS="$ac_save_ifs"
4806else
4807  acl_cv_path_LD="$LD" # Let the user override the test with a path.
4808fi
4809fi
4810
4811LD="$acl_cv_path_LD"
4812if test -n "$LD"; then
4813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4814$as_echo "$LD" >&6; }
4815else
4816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817$as_echo "no" >&6; }
4818fi
4819test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4821$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4822if ${acl_cv_prog_gnu_ld+:} false; then :
4823  $as_echo_n "(cached) " >&6
4824else
4825  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4826case `$LD -v 2>&1 </dev/null` in
4827*GNU* | *'with BFD'*)
4828  acl_cv_prog_gnu_ld=yes ;;
4829*)
4830  acl_cv_prog_gnu_ld=no ;;
4831esac
4832fi
4833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
4834$as_echo "$acl_cv_prog_gnu_ld" >&6; }
4835with_gnu_ld=$acl_cv_prog_gnu_ld
4836
4837
4838
4839                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
4840$as_echo_n "checking for shared library run path origin... " >&6; }
4841if ${acl_cv_rpath+:} false; then :
4842  $as_echo_n "(cached) " >&6
4843else
4844
4845    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
4846    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
4847    . ./conftest.sh
4848    rm -f ./conftest.sh
4849    acl_cv_rpath=done
4850
4851fi
4852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
4853$as_echo "$acl_cv_rpath" >&6; }
4854  wl="$acl_cv_wl"
4855  libext="$acl_cv_libext"
4856  shlibext="$acl_cv_shlibext"
4857  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
4858  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
4859  hardcode_direct="$acl_cv_hardcode_direct"
4860  hardcode_minus_L="$acl_cv_hardcode_minus_L"
4861    # Check whether --enable-rpath was given.
4862if test "${enable_rpath+set}" = set; then :
4863  enableval=$enable_rpath; :
4864else
4865  enable_rpath=yes
4866fi
4867
4868
4869
4870
4871
4872
4873
4874
4875    use_additional=yes
4876
4877  acl_save_prefix="$prefix"
4878  prefix="$acl_final_prefix"
4879  acl_save_exec_prefix="$exec_prefix"
4880  exec_prefix="$acl_final_exec_prefix"
4881
4882    eval additional_includedir=\"$includedir\"
4883    eval additional_libdir=\"$libdir\"
4884
4885  exec_prefix="$acl_save_exec_prefix"
4886  prefix="$acl_save_prefix"
4887
4888
4889# Check whether --with-libiconv-prefix was given.
4890if test "${with_libiconv_prefix+set}" = set; then :
4891  withval=$with_libiconv_prefix;
4892    if test "X$withval" = "Xno"; then
4893      use_additional=no
4894    else
4895      if test "X$withval" = "X"; then
4896
4897  acl_save_prefix="$prefix"
4898  prefix="$acl_final_prefix"
4899  acl_save_exec_prefix="$exec_prefix"
4900  exec_prefix="$acl_final_exec_prefix"
4901
4902          eval additional_includedir=\"$includedir\"
4903          eval additional_libdir=\"$libdir\"
4904
4905  exec_prefix="$acl_save_exec_prefix"
4906  prefix="$acl_save_prefix"
4907
4908      else
4909        additional_includedir="$withval/include"
4910        additional_libdir="$withval/lib"
4911      fi
4912    fi
4913
4914fi
4915
4916      LIBICONV=
4917  LTLIBICONV=
4918  INCICONV=
4919  rpathdirs=
4920  ltrpathdirs=
4921  names_already_handled=
4922  names_next_round='iconv '
4923  while test -n "$names_next_round"; do
4924    names_this_round="$names_next_round"
4925    names_next_round=
4926    for name in $names_this_round; do
4927      already_handled=
4928      for n in $names_already_handled; do
4929        if test "$n" = "$name"; then
4930          already_handled=yes
4931          break
4932        fi
4933      done
4934      if test -z "$already_handled"; then
4935        names_already_handled="$names_already_handled $name"
4936                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
4937        eval value=\"\$HAVE_LIB$uppername\"
4938        if test -n "$value"; then
4939          if test "$value" = yes; then
4940            eval value=\"\$LIB$uppername\"
4941            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
4942            eval value=\"\$LTLIB$uppername\"
4943            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
4944          else
4945                                    :
4946          fi
4947        else
4948                              found_dir=
4949          found_la=
4950          found_so=
4951          found_a=
4952          if test $use_additional = yes; then
4953            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
4954              found_dir="$additional_libdir"
4955              found_so="$additional_libdir/lib$name.$shlibext"
4956              if test -f "$additional_libdir/lib$name.la"; then
4957                found_la="$additional_libdir/lib$name.la"
4958              fi
4959            else
4960              if test -f "$additional_libdir/lib$name.$libext"; then
4961                found_dir="$additional_libdir"
4962                found_a="$additional_libdir/lib$name.$libext"
4963                if test -f "$additional_libdir/lib$name.la"; then
4964                  found_la="$additional_libdir/lib$name.la"
4965                fi
4966              fi
4967            fi
4968          fi
4969          if test "X$found_dir" = "X"; then
4970            for x in $LDFLAGS $LTLIBICONV; do
4971
4972  acl_save_prefix="$prefix"
4973  prefix="$acl_final_prefix"
4974  acl_save_exec_prefix="$exec_prefix"
4975  exec_prefix="$acl_final_exec_prefix"
4976  eval x=\"$x\"
4977  exec_prefix="$acl_save_exec_prefix"
4978  prefix="$acl_save_prefix"
4979
4980              case "$x" in
4981                -L*)
4982                  dir=`echo "X$x" | sed -e 's/^X-L//'`
4983                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4984                    found_dir="$dir"
4985                    found_so="$dir/lib$name.$shlibext"
4986                    if test -f "$dir/lib$name.la"; then
4987                      found_la="$dir/lib$name.la"
4988                    fi
4989                  else
4990                    if test -f "$dir/lib$name.$libext"; then
4991                      found_dir="$dir"
4992                      found_a="$dir/lib$name.$libext"
4993                      if test -f "$dir/lib$name.la"; then
4994                        found_la="$dir/lib$name.la"
4995                      fi
4996                    fi
4997                  fi
4998                  ;;
4999              esac
5000              if test "X$found_dir" != "X"; then
5001                break
5002              fi
5003            done
5004          fi
5005          if test "X$found_dir" != "X"; then
5006                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
5007            if test "X$found_so" != "X"; then
5008                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5009                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5010              else
5011                                                                                haveit=
5012                for x in $ltrpathdirs; do
5013                  if test "X$x" = "X$found_dir"; then
5014                    haveit=yes
5015                    break
5016                  fi
5017                done
5018                if test -z "$haveit"; then
5019                  ltrpathdirs="$ltrpathdirs $found_dir"
5020                fi
5021                                if test "$hardcode_direct" = yes; then
5022                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5023                else
5024                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5025                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5026                                                            haveit=
5027                    for x in $rpathdirs; do
5028                      if test "X$x" = "X$found_dir"; then
5029                        haveit=yes
5030                        break
5031                      fi
5032                    done
5033                    if test -z "$haveit"; then
5034                      rpathdirs="$rpathdirs $found_dir"
5035                    fi
5036                  else
5037                                                                                haveit=
5038                    for x in $LDFLAGS $LIBICONV; do
5039
5040  acl_save_prefix="$prefix"
5041  prefix="$acl_final_prefix"
5042  acl_save_exec_prefix="$exec_prefix"
5043  exec_prefix="$acl_final_exec_prefix"
5044  eval x=\"$x\"
5045  exec_prefix="$acl_save_exec_prefix"
5046  prefix="$acl_save_prefix"
5047
5048                      if test "X$x" = "X-L$found_dir"; then
5049                        haveit=yes
5050                        break
5051                      fi
5052                    done
5053                    if test -z "$haveit"; then
5054                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
5055                    fi
5056                    if test "$hardcode_minus_L" != no; then
5057                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
5058                    else
5059                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5060                    fi
5061                  fi
5062                fi
5063              fi
5064            else
5065              if test "X$found_a" != "X"; then
5066                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
5067              else
5068                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
5069              fi
5070            fi
5071                        additional_includedir=
5072            case "$found_dir" in
5073              */lib | */lib/)
5074                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5075                additional_includedir="$basedir/include"
5076                ;;
5077            esac
5078            if test "X$additional_includedir" != "X"; then
5079                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
5080                haveit=
5081                if test "X$additional_includedir" = "X/usr/local/include"; then
5082                  if test -n "$GCC"; then
5083                    case $host_os in
5084                      linux*) haveit=yes;;
5085                    esac
5086                  fi
5087                fi
5088                if test -z "$haveit"; then
5089                  for x in $CPPFLAGS $INCICONV; do
5090
5091  acl_save_prefix="$prefix"
5092  prefix="$acl_final_prefix"
5093  acl_save_exec_prefix="$exec_prefix"
5094  exec_prefix="$acl_final_exec_prefix"
5095  eval x=\"$x\"
5096  exec_prefix="$acl_save_exec_prefix"
5097  prefix="$acl_save_prefix"
5098
5099                    if test "X$x" = "X-I$additional_includedir"; then
5100                      haveit=yes
5101                      break
5102                    fi
5103                  done
5104                  if test -z "$haveit"; then
5105                    if test -d "$additional_includedir"; then
5106                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
5107                    fi
5108                  fi
5109                fi
5110              fi
5111            fi
5112                        if test -n "$found_la"; then
5113                                                        save_libdir="$libdir"
5114              case "$found_la" in
5115                */* | *\\*) . "$found_la" ;;
5116                *) . "./$found_la" ;;
5117              esac
5118              libdir="$save_libdir"
5119                            for dep in $dependency_libs; do
5120                case "$dep" in
5121                  -L*)
5122                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5123                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
5124                      haveit=
5125                      if test "X$additional_libdir" = "X/usr/local/lib"; then
5126                        if test -n "$GCC"; then
5127                          case $host_os in
5128                            linux*) haveit=yes;;
5129                          esac
5130                        fi
5131                      fi
5132                      if test -z "$haveit"; then
5133                        haveit=
5134                        for x in $LDFLAGS $LIBICONV; do
5135
5136  acl_save_prefix="$prefix"
5137  prefix="$acl_final_prefix"
5138  acl_save_exec_prefix="$exec_prefix"
5139  exec_prefix="$acl_final_exec_prefix"
5140  eval x=\"$x\"
5141  exec_prefix="$acl_save_exec_prefix"
5142  prefix="$acl_save_prefix"
5143
5144                          if test "X$x" = "X-L$additional_libdir"; then
5145                            haveit=yes
5146                            break
5147                          fi
5148                        done
5149                        if test -z "$haveit"; then
5150                          if test -d "$additional_libdir"; then
5151                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
5152                          fi
5153                        fi
5154                        haveit=
5155                        for x in $LDFLAGS $LTLIBICONV; do
5156
5157  acl_save_prefix="$prefix"
5158  prefix="$acl_final_prefix"
5159  acl_save_exec_prefix="$exec_prefix"
5160  exec_prefix="$acl_final_exec_prefix"
5161  eval x=\"$x\"
5162  exec_prefix="$acl_save_exec_prefix"
5163  prefix="$acl_save_prefix"
5164
5165                          if test "X$x" = "X-L$additional_libdir"; then
5166                            haveit=yes
5167                            break
5168                          fi
5169                        done
5170                        if test -z "$haveit"; then
5171                          if test -d "$additional_libdir"; then
5172                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
5173                          fi
5174                        fi
5175                      fi
5176                    fi
5177                    ;;
5178                  -R*)
5179                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
5180                    if test "$enable_rpath" != no; then
5181                                                                  haveit=
5182                      for x in $rpathdirs; do
5183                        if test "X$x" = "X$dir"; then
5184                          haveit=yes
5185                          break
5186                        fi
5187                      done
5188                      if test -z "$haveit"; then
5189                        rpathdirs="$rpathdirs $dir"
5190                      fi
5191                                                                  haveit=
5192                      for x in $ltrpathdirs; do
5193                        if test "X$x" = "X$dir"; then
5194                          haveit=yes
5195                          break
5196                        fi
5197                      done
5198                      if test -z "$haveit"; then
5199                        ltrpathdirs="$ltrpathdirs $dir"
5200                      fi
5201                    fi
5202                    ;;
5203                  -l*)
5204                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5205                    ;;
5206                  *.la)
5207                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5208                    ;;
5209                  *)
5210                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
5211                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
5212                    ;;
5213                esac
5214              done
5215            fi
5216          else
5217                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
5218            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
5219          fi
5220        fi
5221      fi
5222    done
5223  done
5224  if test "X$rpathdirs" != "X"; then
5225    if test -n "$hardcode_libdir_separator"; then
5226                        alldirs=
5227      for found_dir in $rpathdirs; do
5228        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5229      done
5230            acl_save_libdir="$libdir"
5231      libdir="$alldirs"
5232      eval flag=\"$hardcode_libdir_flag_spec\"
5233      libdir="$acl_save_libdir"
5234      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5235    else
5236            for found_dir in $rpathdirs; do
5237        acl_save_libdir="$libdir"
5238        libdir="$found_dir"
5239        eval flag=\"$hardcode_libdir_flag_spec\"
5240        libdir="$acl_save_libdir"
5241        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
5242      done
5243    fi
5244  fi
5245  if test "X$ltrpathdirs" != "X"; then
5246            for found_dir in $ltrpathdirs; do
5247      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
5248    done
5249  fi
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5269$as_echo_n "checking whether NLS is requested... " >&6; }
5270    # Check whether --enable-nls was given.
5271if test "${enable_nls+set}" = set; then :
5272  enableval=$enable_nls; USE_NLS=$enableval
5273else
5274  USE_NLS=yes
5275fi
5276
5277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5278$as_echo "$USE_NLS" >&6; }
5279
5280
5281
5282
5283  LIBINTL=
5284  LTLIBINTL=
5285  POSUB=
5286
5287    if test "$USE_NLS" = "yes"; then
5288    gt_use_preinstalled_gnugettext=no
5289
5290
5291
5292
5293
5294
5295        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
5296$as_echo_n "checking for GNU gettext in libc... " >&6; }
5297if ${gt_cv_func_gnugettext1_libc+:} false; then :
5298  $as_echo_n "(cached) " >&6
5299else
5300  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5301/* end confdefs.h.  */
5302#include <libintl.h>
5303extern int _nl_msg_cat_cntr;
5304extern int *_nl_domain_bindings;
5305int
5306main ()
5307{
5308bindtextdomain ("", "");
5309return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
5310  ;
5311  return 0;
5312}
5313_ACEOF
5314if ac_fn_c_try_link "$LINENO"; then :
5315  gt_cv_func_gnugettext1_libc=yes
5316else
5317  gt_cv_func_gnugettext1_libc=no
5318fi
5319rm -f core conftest.err conftest.$ac_objext \
5320    conftest$ac_exeext conftest.$ac_ext
5321fi
5322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
5323$as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
5324
5325        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
5326
5327
5328
5329
5330
5331          am_save_CPPFLAGS="$CPPFLAGS"
5332
5333  for element in $INCICONV; do
5334    haveit=
5335    for x in $CPPFLAGS; do
5336
5337  acl_save_prefix="$prefix"
5338  prefix="$acl_final_prefix"
5339  acl_save_exec_prefix="$exec_prefix"
5340  exec_prefix="$acl_final_exec_prefix"
5341  eval x=\"$x\"
5342  exec_prefix="$acl_save_exec_prefix"
5343  prefix="$acl_save_prefix"
5344
5345      if test "X$x" = "X$element"; then
5346        haveit=yes
5347        break
5348      fi
5349    done
5350    if test -z "$haveit"; then
5351      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5352    fi
5353  done
5354
5355
5356  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
5357$as_echo_n "checking for iconv... " >&6; }
5358if ${am_cv_func_iconv+:} false; then :
5359  $as_echo_n "(cached) " >&6
5360else
5361
5362    am_cv_func_iconv="no, consider installing GNU libiconv"
5363    am_cv_lib_iconv=no
5364    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365/* end confdefs.h.  */
5366#include <stdlib.h>
5367#include <iconv.h>
5368int
5369main ()
5370{
5371iconv_t cd = iconv_open("","");
5372       iconv(cd,NULL,NULL,NULL,NULL);
5373       iconv_close(cd);
5374  ;
5375  return 0;
5376}
5377_ACEOF
5378if ac_fn_c_try_link "$LINENO"; then :
5379  am_cv_func_iconv=yes
5380fi
5381rm -f core conftest.err conftest.$ac_objext \
5382    conftest$ac_exeext conftest.$ac_ext
5383    if test "$am_cv_func_iconv" != yes; then
5384      am_save_LIBS="$LIBS"
5385      LIBS="$LIBS $LIBICONV"
5386      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387/* end confdefs.h.  */
5388#include <stdlib.h>
5389#include <iconv.h>
5390int
5391main ()
5392{
5393iconv_t cd = iconv_open("","");
5394         iconv(cd,NULL,NULL,NULL,NULL);
5395         iconv_close(cd);
5396  ;
5397  return 0;
5398}
5399_ACEOF
5400if ac_fn_c_try_link "$LINENO"; then :
5401  am_cv_lib_iconv=yes
5402        am_cv_func_iconv=yes
5403fi
5404rm -f core conftest.err conftest.$ac_objext \
5405    conftest$ac_exeext conftest.$ac_ext
5406      LIBS="$am_save_LIBS"
5407    fi
5408
5409fi
5410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
5411$as_echo "$am_cv_func_iconv" >&6; }
5412  if test "$am_cv_func_iconv" = yes; then
5413
5414$as_echo "#define HAVE_ICONV 1" >>confdefs.h
5415
5416  fi
5417  if test "$am_cv_lib_iconv" = yes; then
5418    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
5419$as_echo_n "checking how to link with libiconv... " >&6; }
5420    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
5421$as_echo "$LIBICONV" >&6; }
5422  else
5423            CPPFLAGS="$am_save_CPPFLAGS"
5424    LIBICONV=
5425    LTLIBICONV=
5426  fi
5427
5428
5429
5430
5431
5432
5433    use_additional=yes
5434
5435  acl_save_prefix="$prefix"
5436  prefix="$acl_final_prefix"
5437  acl_save_exec_prefix="$exec_prefix"
5438  exec_prefix="$acl_final_exec_prefix"
5439
5440    eval additional_includedir=\"$includedir\"
5441    eval additional_libdir=\"$libdir\"
5442
5443  exec_prefix="$acl_save_exec_prefix"
5444  prefix="$acl_save_prefix"
5445
5446
5447# Check whether --with-libintl-prefix was given.
5448if test "${with_libintl_prefix+set}" = set; then :
5449  withval=$with_libintl_prefix;
5450    if test "X$withval" = "Xno"; then
5451      use_additional=no
5452    else
5453      if test "X$withval" = "X"; then
5454
5455  acl_save_prefix="$prefix"
5456  prefix="$acl_final_prefix"
5457  acl_save_exec_prefix="$exec_prefix"
5458  exec_prefix="$acl_final_exec_prefix"
5459
5460          eval additional_includedir=\"$includedir\"
5461          eval additional_libdir=\"$libdir\"
5462
5463  exec_prefix="$acl_save_exec_prefix"
5464  prefix="$acl_save_prefix"
5465
5466      else
5467        additional_includedir="$withval/include"
5468        additional_libdir="$withval/lib"
5469      fi
5470    fi
5471
5472fi
5473
5474      LIBINTL=
5475  LTLIBINTL=
5476  INCINTL=
5477  rpathdirs=
5478  ltrpathdirs=
5479  names_already_handled=
5480  names_next_round='intl '
5481  while test -n "$names_next_round"; do
5482    names_this_round="$names_next_round"
5483    names_next_round=
5484    for name in $names_this_round; do
5485      already_handled=
5486      for n in $names_already_handled; do
5487        if test "$n" = "$name"; then
5488          already_handled=yes
5489          break
5490        fi
5491      done
5492      if test -z "$already_handled"; then
5493        names_already_handled="$names_already_handled $name"
5494                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
5495        eval value=\"\$HAVE_LIB$uppername\"
5496        if test -n "$value"; then
5497          if test "$value" = yes; then
5498            eval value=\"\$LIB$uppername\"
5499            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
5500            eval value=\"\$LTLIB$uppername\"
5501            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
5502          else
5503                                    :
5504          fi
5505        else
5506                              found_dir=
5507          found_la=
5508          found_so=
5509          found_a=
5510          if test $use_additional = yes; then
5511            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
5512              found_dir="$additional_libdir"
5513              found_so="$additional_libdir/lib$name.$shlibext"
5514              if test -f "$additional_libdir/lib$name.la"; then
5515                found_la="$additional_libdir/lib$name.la"
5516              fi
5517            else
5518              if test -f "$additional_libdir/lib$name.$libext"; then
5519                found_dir="$additional_libdir"
5520                found_a="$additional_libdir/lib$name.$libext"
5521                if test -f "$additional_libdir/lib$name.la"; then
5522                  found_la="$additional_libdir/lib$name.la"
5523                fi
5524              fi
5525            fi
5526          fi
5527          if test "X$found_dir" = "X"; then
5528            for x in $LDFLAGS $LTLIBINTL; do
5529
5530  acl_save_prefix="$prefix"
5531  prefix="$acl_final_prefix"
5532  acl_save_exec_prefix="$exec_prefix"
5533  exec_prefix="$acl_final_exec_prefix"
5534  eval x=\"$x\"
5535  exec_prefix="$acl_save_exec_prefix"
5536  prefix="$acl_save_prefix"
5537
5538              case "$x" in
5539                -L*)
5540                  dir=`echo "X$x" | sed -e 's/^X-L//'`
5541                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
5542                    found_dir="$dir"
5543                    found_so="$dir/lib$name.$shlibext"
5544                    if test -f "$dir/lib$name.la"; then
5545                      found_la="$dir/lib$name.la"
5546                    fi
5547                  else
5548                    if test -f "$dir/lib$name.$libext"; then
5549                      found_dir="$dir"
5550                      found_a="$dir/lib$name.$libext"
5551                      if test -f "$dir/lib$name.la"; then
5552                        found_la="$dir/lib$name.la"
5553                      fi
5554                    fi
5555                  fi
5556                  ;;
5557              esac
5558              if test "X$found_dir" != "X"; then
5559                break
5560              fi
5561            done
5562          fi
5563          if test "X$found_dir" != "X"; then
5564                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
5565            if test "X$found_so" != "X"; then
5566                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
5567                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5568              else
5569                                                                                haveit=
5570                for x in $ltrpathdirs; do
5571                  if test "X$x" = "X$found_dir"; then
5572                    haveit=yes
5573                    break
5574                  fi
5575                done
5576                if test -z "$haveit"; then
5577                  ltrpathdirs="$ltrpathdirs $found_dir"
5578                fi
5579                                if test "$hardcode_direct" = yes; then
5580                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5581                else
5582                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
5583                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5584                                                            haveit=
5585                    for x in $rpathdirs; do
5586                      if test "X$x" = "X$found_dir"; then
5587                        haveit=yes
5588                        break
5589                      fi
5590                    done
5591                    if test -z "$haveit"; then
5592                      rpathdirs="$rpathdirs $found_dir"
5593                    fi
5594                  else
5595                                                                                haveit=
5596                    for x in $LDFLAGS $LIBINTL; do
5597
5598  acl_save_prefix="$prefix"
5599  prefix="$acl_final_prefix"
5600  acl_save_exec_prefix="$exec_prefix"
5601  exec_prefix="$acl_final_exec_prefix"
5602  eval x=\"$x\"
5603  exec_prefix="$acl_save_exec_prefix"
5604  prefix="$acl_save_prefix"
5605
5606                      if test "X$x" = "X-L$found_dir"; then
5607                        haveit=yes
5608                        break
5609                      fi
5610                    done
5611                    if test -z "$haveit"; then
5612                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
5613                    fi
5614                    if test "$hardcode_minus_L" != no; then
5615                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
5616                    else
5617                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5618                    fi
5619                  fi
5620                fi
5621              fi
5622            else
5623              if test "X$found_a" != "X"; then
5624                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
5625              else
5626                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
5627              fi
5628            fi
5629                        additional_includedir=
5630            case "$found_dir" in
5631              */lib | */lib/)
5632                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
5633                additional_includedir="$basedir/include"
5634                ;;
5635            esac
5636            if test "X$additional_includedir" != "X"; then
5637                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
5638                haveit=
5639                if test "X$additional_includedir" = "X/usr/local/include"; then
5640                  if test -n "$GCC"; then
5641                    case $host_os in
5642                      linux*) haveit=yes;;
5643                    esac
5644                  fi
5645                fi
5646                if test -z "$haveit"; then
5647                  for x in $CPPFLAGS $INCINTL; do
5648
5649  acl_save_prefix="$prefix"
5650  prefix="$acl_final_prefix"
5651  acl_save_exec_prefix="$exec_prefix"
5652  exec_prefix="$acl_final_exec_prefix"
5653  eval x=\"$x\"
5654  exec_prefix="$acl_save_exec_prefix"
5655  prefix="$acl_save_prefix"
5656
5657                    if test "X$x" = "X-I$additional_includedir"; then
5658                      haveit=yes
5659                      break
5660                    fi
5661                  done
5662                  if test -z "$haveit"; then
5663                    if test -d "$additional_includedir"; then
5664                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
5665                    fi
5666                  fi
5667                fi
5668              fi
5669            fi
5670                        if test -n "$found_la"; then
5671                                                        save_libdir="$libdir"
5672              case "$found_la" in
5673                */* | *\\*) . "$found_la" ;;
5674                *) . "./$found_la" ;;
5675              esac
5676              libdir="$save_libdir"
5677                            for dep in $dependency_libs; do
5678                case "$dep" in
5679                  -L*)
5680                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
5681                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
5682                      haveit=
5683                      if test "X$additional_libdir" = "X/usr/local/lib"; then
5684                        if test -n "$GCC"; then
5685                          case $host_os in
5686                            linux*) haveit=yes;;
5687                          esac
5688                        fi
5689                      fi
5690                      if test -z "$haveit"; then
5691                        haveit=
5692                        for x in $LDFLAGS $LIBINTL; do
5693
5694  acl_save_prefix="$prefix"
5695  prefix="$acl_final_prefix"
5696  acl_save_exec_prefix="$exec_prefix"
5697  exec_prefix="$acl_final_exec_prefix"
5698  eval x=\"$x\"
5699  exec_prefix="$acl_save_exec_prefix"
5700  prefix="$acl_save_prefix"
5701
5702                          if test "X$x" = "X-L$additional_libdir"; then
5703                            haveit=yes
5704                            break
5705                          fi
5706                        done
5707                        if test -z "$haveit"; then
5708                          if test -d "$additional_libdir"; then
5709                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
5710                          fi
5711                        fi
5712                        haveit=
5713                        for x in $LDFLAGS $LTLIBINTL; do
5714
5715  acl_save_prefix="$prefix"
5716  prefix="$acl_final_prefix"
5717  acl_save_exec_prefix="$exec_prefix"
5718  exec_prefix="$acl_final_exec_prefix"
5719  eval x=\"$x\"
5720  exec_prefix="$acl_save_exec_prefix"
5721  prefix="$acl_save_prefix"
5722
5723                          if test "X$x" = "X-L$additional_libdir"; then
5724                            haveit=yes
5725                            break
5726                          fi
5727                        done
5728                        if test -z "$haveit"; then
5729                          if test -d "$additional_libdir"; then
5730                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
5731                          fi
5732                        fi
5733                      fi
5734                    fi
5735                    ;;
5736                  -R*)
5737                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
5738                    if test "$enable_rpath" != no; then
5739                                                                  haveit=
5740                      for x in $rpathdirs; do
5741                        if test "X$x" = "X$dir"; then
5742                          haveit=yes
5743                          break
5744                        fi
5745                      done
5746                      if test -z "$haveit"; then
5747                        rpathdirs="$rpathdirs $dir"
5748                      fi
5749                                                                  haveit=
5750                      for x in $ltrpathdirs; do
5751                        if test "X$x" = "X$dir"; then
5752                          haveit=yes
5753                          break
5754                        fi
5755                      done
5756                      if test -z "$haveit"; then
5757                        ltrpathdirs="$ltrpathdirs $dir"
5758                      fi
5759                    fi
5760                    ;;
5761                  -l*)
5762                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
5763                    ;;
5764                  *.la)
5765                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
5766                    ;;
5767                  *)
5768                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
5769                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
5770                    ;;
5771                esac
5772              done
5773            fi
5774          else
5775                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
5776            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
5777          fi
5778        fi
5779      fi
5780    done
5781  done
5782  if test "X$rpathdirs" != "X"; then
5783    if test -n "$hardcode_libdir_separator"; then
5784                        alldirs=
5785      for found_dir in $rpathdirs; do
5786        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
5787      done
5788            acl_save_libdir="$libdir"
5789      libdir="$alldirs"
5790      eval flag=\"$hardcode_libdir_flag_spec\"
5791      libdir="$acl_save_libdir"
5792      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5793    else
5794            for found_dir in $rpathdirs; do
5795        acl_save_libdir="$libdir"
5796        libdir="$found_dir"
5797        eval flag=\"$hardcode_libdir_flag_spec\"
5798        libdir="$acl_save_libdir"
5799        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
5800      done
5801    fi
5802  fi
5803  if test "X$ltrpathdirs" != "X"; then
5804            for found_dir in $ltrpathdirs; do
5805      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
5806    done
5807  fi
5808
5809          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
5810$as_echo_n "checking for GNU gettext in libintl... " >&6; }
5811if ${gt_cv_func_gnugettext1_libintl+:} false; then :
5812  $as_echo_n "(cached) " >&6
5813else
5814  gt_save_CPPFLAGS="$CPPFLAGS"
5815            CPPFLAGS="$CPPFLAGS $INCINTL"
5816            gt_save_LIBS="$LIBS"
5817            LIBS="$LIBS $LIBINTL"
5818                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5819/* end confdefs.h.  */
5820#include <libintl.h>
5821extern int _nl_msg_cat_cntr;
5822extern
5823#ifdef __cplusplus
5824"C"
5825#endif
5826const char *_nl_expand_alias ();
5827int
5828main ()
5829{
5830bindtextdomain ("", "");
5831return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5832  ;
5833  return 0;
5834}
5835_ACEOF
5836if ac_fn_c_try_link "$LINENO"; then :
5837  gt_cv_func_gnugettext1_libintl=yes
5838else
5839  gt_cv_func_gnugettext1_libintl=no
5840fi
5841rm -f core conftest.err conftest.$ac_objext \
5842    conftest$ac_exeext conftest.$ac_ext
5843                        if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
5844              LIBS="$LIBS $LIBICONV"
5845              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5846/* end confdefs.h.  */
5847#include <libintl.h>
5848extern int _nl_msg_cat_cntr;
5849extern
5850#ifdef __cplusplus
5851"C"
5852#endif
5853const char *_nl_expand_alias ();
5854int
5855main ()
5856{
5857bindtextdomain ("", "");
5858return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
5859  ;
5860  return 0;
5861}
5862_ACEOF
5863if ac_fn_c_try_link "$LINENO"; then :
5864  LIBINTL="$LIBINTL $LIBICONV"
5865                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
5866                gt_cv_func_gnugettext1_libintl=yes
5867
5868fi
5869rm -f core conftest.err conftest.$ac_objext \
5870    conftest$ac_exeext conftest.$ac_ext
5871            fi
5872            CPPFLAGS="$gt_save_CPPFLAGS"
5873            LIBS="$gt_save_LIBS"
5874fi
5875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
5876$as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
5877        fi
5878
5879                                        if test "$gt_cv_func_gnugettext1_libc" = "yes" \
5880           || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
5881                && test "$PACKAGE" != gettext-runtime \
5882                && test "$PACKAGE" != gettext-tools; }; then
5883          gt_use_preinstalled_gnugettext=yes
5884        else
5885                    LIBINTL=
5886          LTLIBINTL=
5887          INCINTL=
5888        fi
5889
5890
5891
5892    if test "$gt_use_preinstalled_gnugettext" = "yes" \
5893       || test "$nls_cv_use_gnu_gettext" = "yes"; then
5894
5895$as_echo "#define ENABLE_NLS 1" >>confdefs.h
5896
5897    else
5898      USE_NLS=no
5899    fi
5900  fi
5901
5902  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
5903$as_echo_n "checking whether to use NLS... " >&6; }
5904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5905$as_echo "$USE_NLS" >&6; }
5906  if test "$USE_NLS" = "yes"; then
5907    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
5908$as_echo_n "checking where the gettext function comes from... " >&6; }
5909    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5910      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5911        gt_source="external libintl"
5912      else
5913        gt_source="libc"
5914      fi
5915    else
5916      gt_source="included intl directory"
5917    fi
5918    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
5919$as_echo "$gt_source" >&6; }
5920  fi
5921
5922  if test "$USE_NLS" = "yes"; then
5923
5924    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
5925      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
5926        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
5927$as_echo_n "checking how to link with libintl... " >&6; }
5928        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
5929$as_echo "$LIBINTL" >&6; }
5930
5931  for element in $INCINTL; do
5932    haveit=
5933    for x in $CPPFLAGS; do
5934
5935  acl_save_prefix="$prefix"
5936  prefix="$acl_final_prefix"
5937  acl_save_exec_prefix="$exec_prefix"
5938  exec_prefix="$acl_final_exec_prefix"
5939  eval x=\"$x\"
5940  exec_prefix="$acl_save_exec_prefix"
5941  prefix="$acl_save_prefix"
5942
5943      if test "X$x" = "X$element"; then
5944        haveit=yes
5945        break
5946      fi
5947    done
5948    if test -z "$haveit"; then
5949      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
5950    fi
5951  done
5952
5953      fi
5954
5955
5956$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5957
5958
5959$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
5960
5961    fi
5962
5963        POSUB=po
5964  fi
5965
5966
5967
5968    INTLLIBS="$LIBINTL"
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978cat >>confdefs.h <<_ACEOF
5979#define LIBMP3SPLT_WITH_SONAME "libmp3splt0"
5980_ACEOF
5981
5982
5983#################################################################
5984# Check for functions
5985#################################################################
5986
5987for ac_func in getline
5988do :
5989  ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
5990if test "x$ac_cv_func_getline" = xyes; then :
5991  cat >>confdefs.h <<_ACEOF
5992#define HAVE_GETLINE 1
5993_ACEOF
5994
5995fi
5996done
5997
5998
5999#################################################################
6000# Check for the type of the host
6001#################################################################
6002
6003 if false; then
6004  WIN32_TRUE=
6005  WIN32_FALSE='#'
6006else
6007  WIN32_TRUE='#'
6008  WIN32_FALSE=
6009fi
6010
6011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the host" >&5
6012$as_echo_n "checking the host... " >&6; }
6013case $host in
6014	*linux*)
6015		HOST="Linux-based system"
6016		;;
6017	*openbsd*)
6018		HOST="OpenBSD"
6019		;;
6020	*netbsd*)
6021		HOST="NetBSD"
6022		;;
6023	*freebsd*)
6024		HOST="FreeBSD"
6025		;;
6026	*mingw*)
6027		HOST="Mingw"
6028     if true; then
6029  WIN32_TRUE=
6030  WIN32_FALSE='#'
6031else
6032  WIN32_TRUE='#'
6033  WIN32_FALSE=
6034fi
6035
6036		;;
6037	*solaris*)
6038		HOST="Solaris"
6039		LIBS="$LIBS -lsocket"
6040		;;
6041	*)
6042		HOST="Other"
6043		LIBS="$LIBS"
6044		;;
6045esac
6046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOST" >&5
6047$as_echo "$HOST" >&6; }
6048
6049#################################################
6050#Check for libmp3splt
6051
6052
6053
6054
6055
6056
6057
6058
6059if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
6060	if test -n "$ac_tool_prefix"; then
6061  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6062set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064$as_echo_n "checking for $ac_word... " >&6; }
6065if ${ac_cv_path_PKG_CONFIG+:} false; then :
6066  $as_echo_n "(cached) " >&6
6067else
6068  case $PKG_CONFIG in
6069  [\\/]* | ?:[\\/]*)
6070  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
6071  ;;
6072  *)
6073  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074for as_dir in $PATH
6075do
6076  IFS=$as_save_IFS
6077  test -z "$as_dir" && as_dir=.
6078    for ac_exec_ext in '' $ac_executable_extensions; do
6079  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6081    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082    break 2
6083  fi
6084done
6085  done
6086IFS=$as_save_IFS
6087
6088  ;;
6089esac
6090fi
6091PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6092if test -n "$PKG_CONFIG"; then
6093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6094$as_echo "$PKG_CONFIG" >&6; }
6095else
6096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6097$as_echo "no" >&6; }
6098fi
6099
6100
6101fi
6102if test -z "$ac_cv_path_PKG_CONFIG"; then
6103  ac_pt_PKG_CONFIG=$PKG_CONFIG
6104  # Extract the first word of "pkg-config", so it can be a program name with args.
6105set dummy pkg-config; ac_word=$2
6106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6107$as_echo_n "checking for $ac_word... " >&6; }
6108if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6109  $as_echo_n "(cached) " >&6
6110else
6111  case $ac_pt_PKG_CONFIG in
6112  [\\/]* | ?:[\\/]*)
6113  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6114  ;;
6115  *)
6116  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117for as_dir in $PATH
6118do
6119  IFS=$as_save_IFS
6120  test -z "$as_dir" && as_dir=.
6121    for ac_exec_ext in '' $ac_executable_extensions; do
6122  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6123    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6124    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125    break 2
6126  fi
6127done
6128  done
6129IFS=$as_save_IFS
6130
6131  ;;
6132esac
6133fi
6134ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6135if test -n "$ac_pt_PKG_CONFIG"; then
6136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6137$as_echo "$ac_pt_PKG_CONFIG" >&6; }
6138else
6139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140$as_echo "no" >&6; }
6141fi
6142
6143  if test "x$ac_pt_PKG_CONFIG" = x; then
6144    PKG_CONFIG=""
6145  else
6146    case $cross_compiling:$ac_tool_warned in
6147yes:)
6148{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6149$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6150ac_tool_warned=yes ;;
6151esac
6152    PKG_CONFIG=$ac_pt_PKG_CONFIG
6153  fi
6154else
6155  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6156fi
6157
6158fi
6159if test -n "$PKG_CONFIG"; then
6160	_pkg_min_version=0.9.0
6161	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
6162$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
6163	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
6164		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6165$as_echo "yes" >&6; }
6166	else
6167		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6168$as_echo "no" >&6; }
6169		PKG_CONFIG=""
6170	fi
6171fi
6172
6173pkg_failed=no
6174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMP3SPLT" >&5
6175$as_echo_n "checking for LIBMP3SPLT... " >&6; }
6176
6177if test -n "$LIBMP3SPLT_CFLAGS"; then
6178    pkg_cv_LIBMP3SPLT_CFLAGS="$LIBMP3SPLT_CFLAGS"
6179 elif test -n "$PKG_CONFIG"; then
6180    if test -n "$PKG_CONFIG" && \
6181    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmp3splt = 0.9.2\""; } >&5
6182  ($PKG_CONFIG --exists --print-errors "libmp3splt = 0.9.2") 2>&5
6183  ac_status=$?
6184  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6185  test $ac_status = 0; }; then
6186  pkg_cv_LIBMP3SPLT_CFLAGS=`$PKG_CONFIG --cflags "libmp3splt = 0.9.2" 2>/dev/null`
6187		      test "x$?" != "x0" && pkg_failed=yes
6188else
6189  pkg_failed=yes
6190fi
6191 else
6192    pkg_failed=untried
6193fi
6194if test -n "$LIBMP3SPLT_LIBS"; then
6195    pkg_cv_LIBMP3SPLT_LIBS="$LIBMP3SPLT_LIBS"
6196 elif test -n "$PKG_CONFIG"; then
6197    if test -n "$PKG_CONFIG" && \
6198    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmp3splt = 0.9.2\""; } >&5
6199  ($PKG_CONFIG --exists --print-errors "libmp3splt = 0.9.2") 2>&5
6200  ac_status=$?
6201  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6202  test $ac_status = 0; }; then
6203  pkg_cv_LIBMP3SPLT_LIBS=`$PKG_CONFIG --libs "libmp3splt = 0.9.2" 2>/dev/null`
6204		      test "x$?" != "x0" && pkg_failed=yes
6205else
6206  pkg_failed=yes
6207fi
6208 else
6209    pkg_failed=untried
6210fi
6211
6212
6213
6214if test $pkg_failed = yes; then
6215   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216$as_echo "no" >&6; }
6217
6218if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6219        _pkg_short_errors_supported=yes
6220else
6221        _pkg_short_errors_supported=no
6222fi
6223        if test $_pkg_short_errors_supported = yes; then
6224	        LIBMP3SPLT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmp3splt = 0.9.2" 2>&1`
6225        else
6226	        LIBMP3SPLT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmp3splt = 0.9.2" 2>&1`
6227        fi
6228	# Put the nasty error message in config.log where it belongs
6229	echo "$LIBMP3SPLT_PKG_ERRORS" >&5
6230
6231	 as_fn_error $? "libmp3splt version 0.9.2 needed :
6232
6233Download the latest version of libmp3splt at http://mp3splt.sourceforge.net/
6234" "$LINENO" 5
6235elif test $pkg_failed = untried; then
6236     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237$as_echo "no" >&6; }
6238	 as_fn_error $? "libmp3splt version 0.9.2 needed :
6239
6240Download the latest version of libmp3splt at http://mp3splt.sourceforge.net/
6241" "$LINENO" 5
6242else
6243	LIBMP3SPLT_CFLAGS=$pkg_cv_LIBMP3SPLT_CFLAGS
6244	LIBMP3SPLT_LIBS=$pkg_cv_LIBMP3SPLT_LIBS
6245        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6246$as_echo "yes" >&6; }
6247
6248fi
6249
6250#################################################
6251#Check for --enable-oggsplt_symlink
6252
6253# Check whether --enable-oggsplt_symlink was given.
6254if test "${enable_oggsplt_symlink+set}" = set; then :
6255  enableval=$enable_oggsplt_symlink; enable_ogg_symlink=$enableval
6256else
6257  enable_ogg_symlink="no"
6258fi
6259
6260
6261if test "x$enable_ogg_symlink" = xyes;then
6262   if true; then
6263  DO_OGG_SYMLINK_TRUE=
6264  DO_OGG_SYMLINK_FALSE='#'
6265else
6266  DO_OGG_SYMLINK_TRUE='#'
6267  DO_OGG_SYMLINK_FALSE=
6268fi
6269
6270else
6271   if false; then
6272  DO_OGG_SYMLINK_TRUE=
6273  DO_OGG_SYMLINK_FALSE='#'
6274else
6275  DO_OGG_SYMLINK_TRUE='#'
6276  DO_OGG_SYMLINK_FALSE=
6277fi
6278
6279fi
6280
6281#################################################
6282#Check for --enable-flacsplt_symlink
6283
6284# Check whether --enable-flacsplt_symlink was given.
6285if test "${enable_flacsplt_symlink+set}" = set; then :
6286  enableval=$enable_flacsplt_symlink; enable_flac_symlink=$enableval
6287else
6288  enable_flac_symlink="no"
6289fi
6290
6291
6292if test "x$enable_flac_symlink" = xyes;then
6293   if true; then
6294  DO_FLAC_SYMLINK_TRUE=
6295  DO_FLAC_SYMLINK_FALSE='#'
6296else
6297  DO_FLAC_SYMLINK_TRUE='#'
6298  DO_FLAC_SYMLINK_FALSE=
6299fi
6300
6301else
6302   if false; then
6303  DO_FLAC_SYMLINK_TRUE=
6304  DO_FLAC_SYMLINK_FALSE='#'
6305else
6306  DO_FLAC_SYMLINK_TRUE='#'
6307  DO_FLAC_SYMLINK_FALSE=
6308fi
6309
6310fi
6311
6312
6313#################################################################
6314# Check for some debugging, warnings and optimise options
6315#################################################################
6316
6317# Check whether --enable-c-debug was given.
6318if test "${enable_c_debug+set}" = set; then :
6319  enableval=$enable_c_debug; enable_c_debug=$enableval
6320else
6321  enable_c_debug="no"
6322fi
6323
6324if test "x$enable_c_debug" = xyes;then
6325  CFLAGS="$CFLAGS -g -Wall"
6326fi
6327
6328# Check whether --enable-optimise was given.
6329if test "${enable_optimise+set}" = set; then :
6330  enableval=$enable_optimise; enable_optimise=$enableval
6331else
6332  enable_optimise="no"
6333fi
6334
6335if test "x$enable_optimise" = xyes;then
6336  CFLAGS="$CFLAGS -O3"
6337fi
6338
6339# Check whether --enable-extra-warnings was given.
6340if test "${enable_extra_warnings+set}" = set; then :
6341  enableval=$enable_extra_warnings; enable_extra_warnings=$enableval
6342else
6343  enable_extra_warnings="no"
6344fi
6345
6346if test "x$enable_extra_warnings" = xyes;then
6347  CFLAGS="$CFLAGS -Wall -Wextra -Wswitch-enum -Wswitch-default -Wfloat-equal -Wbad-function-cast -Wcast-qual -Wunreachable-code"
6348fi
6349
6350#################################################
6351# Generate Makefiles
6352#################################################
6353
6354ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in doc/Makefile"
6355
6356cat >confcache <<\_ACEOF
6357# This file is a shell script that caches the results of configure
6358# tests run on this system so they can be shared between configure
6359# scripts and configure runs, see configure's option --config-cache.
6360# It is not useful on other systems.  If it contains results you don't
6361# want to keep, you may remove or edit it.
6362#
6363# config.status only pays attention to the cache file if you give it
6364# the --recheck option to rerun configure.
6365#
6366# `ac_cv_env_foo' variables (set or unset) will be overridden when
6367# loading this file, other *unset* `ac_cv_foo' will be assigned the
6368# following values.
6369
6370_ACEOF
6371
6372# The following way of writing the cache mishandles newlines in values,
6373# but we know of no workaround that is simple, portable, and efficient.
6374# So, we kill variables containing newlines.
6375# Ultrix sh set writes to stderr and can't be redirected directly,
6376# and sets the high bit in the cache file unless we assign to the vars.
6377(
6378  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6379    eval ac_val=\$$ac_var
6380    case $ac_val in #(
6381    *${as_nl}*)
6382      case $ac_var in #(
6383      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6384$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6385      esac
6386      case $ac_var in #(
6387      _ | IFS | as_nl) ;; #(
6388      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6389      *) { eval $ac_var=; unset $ac_var;} ;;
6390      esac ;;
6391    esac
6392  done
6393
6394  (set) 2>&1 |
6395    case $as_nl`(ac_space=' '; set) 2>&1` in #(
6396    *${as_nl}ac_space=\ *)
6397      # `set' does not quote correctly, so add quotes: double-quote
6398      # substitution turns \\\\ into \\, and sed turns \\ into \.
6399      sed -n \
6400	"s/'/'\\\\''/g;
6401	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6402      ;; #(
6403    *)
6404      # `set' quotes correctly as required by POSIX, so do not add quotes.
6405      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6406      ;;
6407    esac |
6408    sort
6409) |
6410  sed '
6411     /^ac_cv_env_/b end
6412     t clear
6413     :clear
6414     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6415     t end
6416     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6417     :end' >>confcache
6418if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6419  if test -w "$cache_file"; then
6420    if test "x$cache_file" != "x/dev/null"; then
6421      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6422$as_echo "$as_me: updating cache $cache_file" >&6;}
6423      if test ! -f "$cache_file" || test -h "$cache_file"; then
6424	cat confcache >"$cache_file"
6425      else
6426        case $cache_file in #(
6427        */* | ?:*)
6428	  mv -f confcache "$cache_file"$$ &&
6429	  mv -f "$cache_file"$$ "$cache_file" ;; #(
6430        *)
6431	  mv -f confcache "$cache_file" ;;
6432	esac
6433      fi
6434    fi
6435  else
6436    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6437$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6438  fi
6439fi
6440rm -f confcache
6441
6442test "x$prefix" = xNONE && prefix=$ac_default_prefix
6443# Let make expand exec_prefix.
6444test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6445
6446DEFS=-DHAVE_CONFIG_H
6447
6448ac_libobjs=
6449ac_ltlibobjs=
6450for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6451  # 1. Remove the extension, and $U if already installed.
6452  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6453  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6454  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6455  #    will be set to the directory where LIBOBJS objects are built.
6456  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6457  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6458done
6459LIBOBJS=$ac_libobjs
6460
6461LTLIBOBJS=$ac_ltlibobjs
6462
6463
6464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6465$as_echo_n "checking that generated files are newer than configure... " >&6; }
6466   if test -n "$am_sleep_pid"; then
6467     # Hide warnings about reused PIDs.
6468     wait $am_sleep_pid 2>/dev/null
6469   fi
6470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6471$as_echo "done" >&6; }
6472 if test -n "$EXEEXT"; then
6473  am__EXEEXT_TRUE=
6474  am__EXEEXT_FALSE='#'
6475else
6476  am__EXEEXT_TRUE='#'
6477  am__EXEEXT_FALSE=
6478fi
6479
6480if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6481  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6482Usually this means the macro was only invoked conditionally." "$LINENO" 5
6483fi
6484if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6485  as_fn_error $? "conditional \"AMDEP\" was never defined.
6486Usually this means the macro was only invoked conditionally." "$LINENO" 5
6487fi
6488if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6489  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6490Usually this means the macro was only invoked conditionally." "$LINENO" 5
6491fi
6492if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
6493  as_fn_error $? "conditional \"WIN32\" was never defined.
6494Usually this means the macro was only invoked conditionally." "$LINENO" 5
6495fi
6496if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
6497  as_fn_error $? "conditional \"WIN32\" was never defined.
6498Usually this means the macro was only invoked conditionally." "$LINENO" 5
6499fi
6500if test -z "${DO_OGG_SYMLINK_TRUE}" && test -z "${DO_OGG_SYMLINK_FALSE}"; then
6501  as_fn_error $? "conditional \"DO_OGG_SYMLINK\" was never defined.
6502Usually this means the macro was only invoked conditionally." "$LINENO" 5
6503fi
6504if test -z "${DO_OGG_SYMLINK_TRUE}" && test -z "${DO_OGG_SYMLINK_FALSE}"; then
6505  as_fn_error $? "conditional \"DO_OGG_SYMLINK\" was never defined.
6506Usually this means the macro was only invoked conditionally." "$LINENO" 5
6507fi
6508if test -z "${DO_FLAC_SYMLINK_TRUE}" && test -z "${DO_FLAC_SYMLINK_FALSE}"; then
6509  as_fn_error $? "conditional \"DO_FLAC_SYMLINK\" was never defined.
6510Usually this means the macro was only invoked conditionally." "$LINENO" 5
6511fi
6512if test -z "${DO_FLAC_SYMLINK_TRUE}" && test -z "${DO_FLAC_SYMLINK_FALSE}"; then
6513  as_fn_error $? "conditional \"DO_FLAC_SYMLINK\" was never defined.
6514Usually this means the macro was only invoked conditionally." "$LINENO" 5
6515fi
6516
6517: "${CONFIG_STATUS=./config.status}"
6518ac_write_fail=0
6519ac_clean_files_save=$ac_clean_files
6520ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6521{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6522$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6523as_write_fail=0
6524cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6525#! $SHELL
6526# Generated by $as_me.
6527# Run this file to recreate the current configuration.
6528# Compiler output produced by configure, useful for debugging
6529# configure, is in config.log if it exists.
6530
6531debug=false
6532ac_cs_recheck=false
6533ac_cs_silent=false
6534
6535SHELL=\${CONFIG_SHELL-$SHELL}
6536export SHELL
6537_ASEOF
6538cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6539## -------------------- ##
6540## M4sh Initialization. ##
6541## -------------------- ##
6542
6543# Be more Bourne compatible
6544DUALCASE=1; export DUALCASE # for MKS sh
6545if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6546  emulate sh
6547  NULLCMD=:
6548  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6549  # is contrary to our usage.  Disable this feature.
6550  alias -g '${1+"$@"}'='"$@"'
6551  setopt NO_GLOB_SUBST
6552else
6553  case `(set -o) 2>/dev/null` in #(
6554  *posix*) :
6555    set -o posix ;; #(
6556  *) :
6557     ;;
6558esac
6559fi
6560
6561
6562as_nl='
6563'
6564export as_nl
6565# Printing a long string crashes Solaris 7 /usr/bin/printf.
6566as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6567as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6568as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6569# Prefer a ksh shell builtin over an external printf program on Solaris,
6570# but without wasting forks for bash or zsh.
6571if test -z "$BASH_VERSION$ZSH_VERSION" \
6572    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6573  as_echo='print -r --'
6574  as_echo_n='print -rn --'
6575elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6576  as_echo='printf %s\n'
6577  as_echo_n='printf %s'
6578else
6579  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6580    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6581    as_echo_n='/usr/ucb/echo -n'
6582  else
6583    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6584    as_echo_n_body='eval
6585      arg=$1;
6586      case $arg in #(
6587      *"$as_nl"*)
6588	expr "X$arg" : "X\\(.*\\)$as_nl";
6589	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6590      esac;
6591      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6592    '
6593    export as_echo_n_body
6594    as_echo_n='sh -c $as_echo_n_body as_echo'
6595  fi
6596  export as_echo_body
6597  as_echo='sh -c $as_echo_body as_echo'
6598fi
6599
6600# The user is always right.
6601if test "${PATH_SEPARATOR+set}" != set; then
6602  PATH_SEPARATOR=:
6603  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6604    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6605      PATH_SEPARATOR=';'
6606  }
6607fi
6608
6609
6610# IFS
6611# We need space, tab and new line, in precisely that order.  Quoting is
6612# there to prevent editors from complaining about space-tab.
6613# (If _AS_PATH_WALK were called with IFS unset, it would disable word
6614# splitting by setting IFS to empty value.)
6615IFS=" ""	$as_nl"
6616
6617# Find who we are.  Look in the path if we contain no directory separator.
6618as_myself=
6619case $0 in #((
6620  *[\\/]* ) as_myself=$0 ;;
6621  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6622for as_dir in $PATH
6623do
6624  IFS=$as_save_IFS
6625  test -z "$as_dir" && as_dir=.
6626    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6627  done
6628IFS=$as_save_IFS
6629
6630     ;;
6631esac
6632# We did not find ourselves, most probably we were run as `sh COMMAND'
6633# in which case we are not to be found in the path.
6634if test "x$as_myself" = x; then
6635  as_myself=$0
6636fi
6637if test ! -f "$as_myself"; then
6638  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6639  exit 1
6640fi
6641
6642# Unset variables that we do not need and which cause bugs (e.g. in
6643# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6644# suppresses any "Segmentation fault" message there.  '((' could
6645# trigger a bug in pdksh 5.2.14.
6646for as_var in BASH_ENV ENV MAIL MAILPATH
6647do eval test x\${$as_var+set} = xset \
6648  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6649done
6650PS1='$ '
6651PS2='> '
6652PS4='+ '
6653
6654# NLS nuisances.
6655LC_ALL=C
6656export LC_ALL
6657LANGUAGE=C
6658export LANGUAGE
6659
6660# CDPATH.
6661(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6662
6663
6664# as_fn_error STATUS ERROR [LINENO LOG_FD]
6665# ----------------------------------------
6666# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6667# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6668# script with STATUS, using 1 if that was 0.
6669as_fn_error ()
6670{
6671  as_status=$1; test $as_status -eq 0 && as_status=1
6672  if test "$4"; then
6673    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6674    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6675  fi
6676  $as_echo "$as_me: error: $2" >&2
6677  as_fn_exit $as_status
6678} # as_fn_error
6679
6680
6681# as_fn_set_status STATUS
6682# -----------------------
6683# Set $? to STATUS, without forking.
6684as_fn_set_status ()
6685{
6686  return $1
6687} # as_fn_set_status
6688
6689# as_fn_exit STATUS
6690# -----------------
6691# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6692as_fn_exit ()
6693{
6694  set +e
6695  as_fn_set_status $1
6696  exit $1
6697} # as_fn_exit
6698
6699# as_fn_unset VAR
6700# ---------------
6701# Portably unset VAR.
6702as_fn_unset ()
6703{
6704  { eval $1=; unset $1;}
6705}
6706as_unset=as_fn_unset
6707# as_fn_append VAR VALUE
6708# ----------------------
6709# Append the text in VALUE to the end of the definition contained in VAR. Take
6710# advantage of any shell optimizations that allow amortized linear growth over
6711# repeated appends, instead of the typical quadratic growth present in naive
6712# implementations.
6713if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6714  eval 'as_fn_append ()
6715  {
6716    eval $1+=\$2
6717  }'
6718else
6719  as_fn_append ()
6720  {
6721    eval $1=\$$1\$2
6722  }
6723fi # as_fn_append
6724
6725# as_fn_arith ARG...
6726# ------------------
6727# Perform arithmetic evaluation on the ARGs, and store the result in the
6728# global $as_val. Take advantage of shells that can avoid forks. The arguments
6729# must be portable across $(()) and expr.
6730if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6731  eval 'as_fn_arith ()
6732  {
6733    as_val=$(( $* ))
6734  }'
6735else
6736  as_fn_arith ()
6737  {
6738    as_val=`expr "$@" || test $? -eq 1`
6739  }
6740fi # as_fn_arith
6741
6742
6743if expr a : '\(a\)' >/dev/null 2>&1 &&
6744   test "X`expr 00001 : '.*\(...\)'`" = X001; then
6745  as_expr=expr
6746else
6747  as_expr=false
6748fi
6749
6750if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6751  as_basename=basename
6752else
6753  as_basename=false
6754fi
6755
6756if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6757  as_dirname=dirname
6758else
6759  as_dirname=false
6760fi
6761
6762as_me=`$as_basename -- "$0" ||
6763$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6764	 X"$0" : 'X\(//\)$' \| \
6765	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6766$as_echo X/"$0" |
6767    sed '/^.*\/\([^/][^/]*\)\/*$/{
6768	    s//\1/
6769	    q
6770	  }
6771	  /^X\/\(\/\/\)$/{
6772	    s//\1/
6773	    q
6774	  }
6775	  /^X\/\(\/\).*/{
6776	    s//\1/
6777	    q
6778	  }
6779	  s/.*/./; q'`
6780
6781# Avoid depending upon Character Ranges.
6782as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6783as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6784as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6785as_cr_digits='0123456789'
6786as_cr_alnum=$as_cr_Letters$as_cr_digits
6787
6788ECHO_C= ECHO_N= ECHO_T=
6789case `echo -n x` in #(((((
6790-n*)
6791  case `echo 'xy\c'` in
6792  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
6793  xy)  ECHO_C='\c';;
6794  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6795       ECHO_T='	';;
6796  esac;;
6797*)
6798  ECHO_N='-n';;
6799esac
6800
6801rm -f conf$$ conf$$.exe conf$$.file
6802if test -d conf$$.dir; then
6803  rm -f conf$$.dir/conf$$.file
6804else
6805  rm -f conf$$.dir
6806  mkdir conf$$.dir 2>/dev/null
6807fi
6808if (echo >conf$$.file) 2>/dev/null; then
6809  if ln -s conf$$.file conf$$ 2>/dev/null; then
6810    as_ln_s='ln -s'
6811    # ... but there are two gotchas:
6812    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6813    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6814    # In both cases, we have to default to `cp -pR'.
6815    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6816      as_ln_s='cp -pR'
6817  elif ln conf$$.file conf$$ 2>/dev/null; then
6818    as_ln_s=ln
6819  else
6820    as_ln_s='cp -pR'
6821  fi
6822else
6823  as_ln_s='cp -pR'
6824fi
6825rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6826rmdir conf$$.dir 2>/dev/null
6827
6828
6829# as_fn_mkdir_p
6830# -------------
6831# Create "$as_dir" as a directory, including parents if necessary.
6832as_fn_mkdir_p ()
6833{
6834
6835  case $as_dir in #(
6836  -*) as_dir=./$as_dir;;
6837  esac
6838  test -d "$as_dir" || eval $as_mkdir_p || {
6839    as_dirs=
6840    while :; do
6841      case $as_dir in #(
6842      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6843      *) as_qdir=$as_dir;;
6844      esac
6845      as_dirs="'$as_qdir' $as_dirs"
6846      as_dir=`$as_dirname -- "$as_dir" ||
6847$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6848	 X"$as_dir" : 'X\(//\)[^/]' \| \
6849	 X"$as_dir" : 'X\(//\)$' \| \
6850	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6851$as_echo X"$as_dir" |
6852    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6853	    s//\1/
6854	    q
6855	  }
6856	  /^X\(\/\/\)[^/].*/{
6857	    s//\1/
6858	    q
6859	  }
6860	  /^X\(\/\/\)$/{
6861	    s//\1/
6862	    q
6863	  }
6864	  /^X\(\/\).*/{
6865	    s//\1/
6866	    q
6867	  }
6868	  s/.*/./; q'`
6869      test -d "$as_dir" && break
6870    done
6871    test -z "$as_dirs" || eval "mkdir $as_dirs"
6872  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6873
6874
6875} # as_fn_mkdir_p
6876if mkdir -p . 2>/dev/null; then
6877  as_mkdir_p='mkdir -p "$as_dir"'
6878else
6879  test -d ./-p && rmdir ./-p
6880  as_mkdir_p=false
6881fi
6882
6883
6884# as_fn_executable_p FILE
6885# -----------------------
6886# Test if FILE is an executable regular file.
6887as_fn_executable_p ()
6888{
6889  test -f "$1" && test -x "$1"
6890} # as_fn_executable_p
6891as_test_x='test -x'
6892as_executable_p=as_fn_executable_p
6893
6894# Sed expression to map a string onto a valid CPP name.
6895as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6896
6897# Sed expression to map a string onto a valid variable name.
6898as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6899
6900
6901exec 6>&1
6902## ----------------------------------- ##
6903## Main body of $CONFIG_STATUS script. ##
6904## ----------------------------------- ##
6905_ASEOF
6906test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6907
6908cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6909# Save the log message, to keep $0 and so on meaningful, and to
6910# report actual input values of CONFIG_FILES etc. instead of their
6911# values after options handling.
6912ac_log="
6913This file was extended by mp3splt $as_me 2.6.2, which was
6914generated by GNU Autoconf 2.69.  Invocation command line was
6915
6916  CONFIG_FILES    = $CONFIG_FILES
6917  CONFIG_HEADERS  = $CONFIG_HEADERS
6918  CONFIG_LINKS    = $CONFIG_LINKS
6919  CONFIG_COMMANDS = $CONFIG_COMMANDS
6920  $ $0 $@
6921
6922on `(hostname || uname -n) 2>/dev/null | sed 1q`
6923"
6924
6925_ACEOF
6926
6927case $ac_config_files in *"
6928"*) set x $ac_config_files; shift; ac_config_files=$*;;
6929esac
6930
6931case $ac_config_headers in *"
6932"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6933esac
6934
6935
6936cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6937# Files that config.status was made for.
6938config_files="$ac_config_files"
6939config_headers="$ac_config_headers"
6940config_commands="$ac_config_commands"
6941
6942_ACEOF
6943
6944cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6945ac_cs_usage="\
6946\`$as_me' instantiates files and other configuration actions
6947from templates according to the current configuration.  Unless the files
6948and actions are specified as TAGs, all are instantiated by default.
6949
6950Usage: $0 [OPTION]... [TAG]...
6951
6952  -h, --help       print this help, then exit
6953  -V, --version    print version number and configuration settings, then exit
6954      --config     print configuration, then exit
6955  -q, --quiet, --silent
6956                   do not print progress messages
6957  -d, --debug      don't remove temporary files
6958      --recheck    update $as_me by reconfiguring in the same conditions
6959      --file=FILE[:TEMPLATE]
6960                   instantiate the configuration file FILE
6961      --header=FILE[:TEMPLATE]
6962                   instantiate the configuration header FILE
6963
6964Configuration files:
6965$config_files
6966
6967Configuration headers:
6968$config_headers
6969
6970Configuration commands:
6971$config_commands
6972
6973Report bugs to <mtrotta@users.sourceforge.net>."
6974
6975_ACEOF
6976cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6977ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6978ac_cs_version="\\
6979mp3splt config.status 2.6.2
6980configured by $0, generated by GNU Autoconf 2.69,
6981  with options \\"\$ac_cs_config\\"
6982
6983Copyright (C) 2012 Free Software Foundation, Inc.
6984This config.status script is free software; the Free Software Foundation
6985gives unlimited permission to copy, distribute and modify it."
6986
6987ac_pwd='$ac_pwd'
6988srcdir='$srcdir'
6989INSTALL='$INSTALL'
6990MKDIR_P='$MKDIR_P'
6991AWK='$AWK'
6992test -n "\$AWK" || AWK=awk
6993_ACEOF
6994
6995cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6996# The default lists apply if the user does not specify any file.
6997ac_need_defaults=:
6998while test $# != 0
6999do
7000  case $1 in
7001  --*=?*)
7002    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7003    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7004    ac_shift=:
7005    ;;
7006  --*=)
7007    ac_option=`expr "X$1" : 'X\([^=]*\)='`
7008    ac_optarg=
7009    ac_shift=:
7010    ;;
7011  *)
7012    ac_option=$1
7013    ac_optarg=$2
7014    ac_shift=shift
7015    ;;
7016  esac
7017
7018  case $ac_option in
7019  # Handling of the options.
7020  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7021    ac_cs_recheck=: ;;
7022  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7023    $as_echo "$ac_cs_version"; exit ;;
7024  --config | --confi | --conf | --con | --co | --c )
7025    $as_echo "$ac_cs_config"; exit ;;
7026  --debug | --debu | --deb | --de | --d | -d )
7027    debug=: ;;
7028  --file | --fil | --fi | --f )
7029    $ac_shift
7030    case $ac_optarg in
7031    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7032    '') as_fn_error $? "missing file argument" ;;
7033    esac
7034    as_fn_append CONFIG_FILES " '$ac_optarg'"
7035    ac_need_defaults=false;;
7036  --header | --heade | --head | --hea )
7037    $ac_shift
7038    case $ac_optarg in
7039    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7040    esac
7041    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7042    ac_need_defaults=false;;
7043  --he | --h)
7044    # Conflict between --help and --header
7045    as_fn_error $? "ambiguous option: \`$1'
7046Try \`$0 --help' for more information.";;
7047  --help | --hel | -h )
7048    $as_echo "$ac_cs_usage"; exit ;;
7049  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7050  | -silent | --silent | --silen | --sile | --sil | --si | --s)
7051    ac_cs_silent=: ;;
7052
7053  # This is an error.
7054  -*) as_fn_error $? "unrecognized option: \`$1'
7055Try \`$0 --help' for more information." ;;
7056
7057  *) as_fn_append ac_config_targets " $1"
7058     ac_need_defaults=false ;;
7059
7060  esac
7061  shift
7062done
7063
7064ac_configure_extra_args=
7065
7066if $ac_cs_silent; then
7067  exec 6>/dev/null
7068  ac_configure_extra_args="$ac_configure_extra_args --silent"
7069fi
7070
7071_ACEOF
7072cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7073if \$ac_cs_recheck; then
7074  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7075  shift
7076  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7077  CONFIG_SHELL='$SHELL'
7078  export CONFIG_SHELL
7079  exec "\$@"
7080fi
7081
7082_ACEOF
7083cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7084exec 5>>config.log
7085{
7086  echo
7087  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7088## Running $as_me. ##
7089_ASBOX
7090  $as_echo "$ac_log"
7091} >&5
7092
7093_ACEOF
7094cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7095#
7096# INIT-COMMANDS
7097#
7098AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7099# Capture the value of obsolete ALL_LINGUAS because we need it to compute
7100    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7101    # from automake.
7102    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7103    # Capture the value of LINGUAS because we need it to compute CATALOGS.
7104    LINGUAS="${LINGUAS-%UNSET%}"
7105
7106
7107_ACEOF
7108
7109cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7110
7111# Handling of arguments.
7112for ac_config_target in $ac_config_targets
7113do
7114  case $ac_config_target in
7115    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7116    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7117    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7118    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7119    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7120    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7121    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
7122
7123  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7124  esac
7125done
7126
7127
7128# If the user did not use the arguments to specify the items to instantiate,
7129# then the envvar interface is used.  Set only those that are not.
7130# We use the long form for the default assignment because of an extremely
7131# bizarre bug on SunOS 4.1.3.
7132if $ac_need_defaults; then
7133  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7134  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7135  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7136fi
7137
7138# Have a temporary directory for convenience.  Make it in the build tree
7139# simply because there is no reason against having it here, and in addition,
7140# creating and moving files from /tmp can sometimes cause problems.
7141# Hook for its removal unless debugging.
7142# Note that there is a small window in which the directory will not be cleaned:
7143# after its creation but before its name has been assigned to `$tmp'.
7144$debug ||
7145{
7146  tmp= ac_tmp=
7147  trap 'exit_status=$?
7148  : "${ac_tmp:=$tmp}"
7149  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7150' 0
7151  trap 'as_fn_exit 1' 1 2 13 15
7152}
7153# Create a (secure) tmp directory for tmp files.
7154
7155{
7156  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7157  test -d "$tmp"
7158}  ||
7159{
7160  tmp=./conf$$-$RANDOM
7161  (umask 077 && mkdir "$tmp")
7162} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7163ac_tmp=$tmp
7164
7165# Set up the scripts for CONFIG_FILES section.
7166# No need to generate them if there are no CONFIG_FILES.
7167# This happens for instance with `./config.status config.h'.
7168if test -n "$CONFIG_FILES"; then
7169
7170
7171ac_cr=`echo X | tr X '\015'`
7172# On cygwin, bash can eat \r inside `` if the user requested igncr.
7173# But we know of no other shell where ac_cr would be empty at this
7174# point, so we can use a bashism as a fallback.
7175if test "x$ac_cr" = x; then
7176  eval ac_cr=\$\'\\r\'
7177fi
7178ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7179if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7180  ac_cs_awk_cr='\\r'
7181else
7182  ac_cs_awk_cr=$ac_cr
7183fi
7184
7185echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7186_ACEOF
7187
7188
7189{
7190  echo "cat >conf$$subs.awk <<_ACEOF" &&
7191  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7192  echo "_ACEOF"
7193} >conf$$subs.sh ||
7194  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7195ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7196ac_delim='%!_!# '
7197for ac_last_try in false false false false false :; do
7198  . ./conf$$subs.sh ||
7199    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7200
7201  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7202  if test $ac_delim_n = $ac_delim_num; then
7203    break
7204  elif $ac_last_try; then
7205    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7206  else
7207    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7208  fi
7209done
7210rm -f conf$$subs.sh
7211
7212cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7213cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7214_ACEOF
7215sed -n '
7216h
7217s/^/S["/; s/!.*/"]=/
7218p
7219g
7220s/^[^!]*!//
7221:repl
7222t repl
7223s/'"$ac_delim"'$//
7224t delim
7225:nl
7226h
7227s/\(.\{148\}\)..*/\1/
7228t more1
7229s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7230p
7231n
7232b repl
7233:more1
7234s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7235p
7236g
7237s/.\{148\}//
7238t nl
7239:delim
7240h
7241s/\(.\{148\}\)..*/\1/
7242t more2
7243s/["\\]/\\&/g; s/^/"/; s/$/"/
7244p
7245b
7246:more2
7247s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7248p
7249g
7250s/.\{148\}//
7251t delim
7252' <conf$$subs.awk | sed '
7253/^[^""]/{
7254  N
7255  s/\n//
7256}
7257' >>$CONFIG_STATUS || ac_write_fail=1
7258rm -f conf$$subs.awk
7259cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7260_ACAWK
7261cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7262  for (key in S) S_is_set[key] = 1
7263  FS = ""
7264
7265}
7266{
7267  line = $ 0
7268  nfields = split(line, field, "@")
7269  substed = 0
7270  len = length(field[1])
7271  for (i = 2; i < nfields; i++) {
7272    key = field[i]
7273    keylen = length(key)
7274    if (S_is_set[key]) {
7275      value = S[key]
7276      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7277      len += length(value) + length(field[++i])
7278      substed = 1
7279    } else
7280      len += 1 + keylen
7281  }
7282
7283  print line
7284}
7285
7286_ACAWK
7287_ACEOF
7288cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7289if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7290  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7291else
7292  cat
7293fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7294  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7295_ACEOF
7296
7297# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7298# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7299# trailing colons and then remove the whole line if VPATH becomes empty
7300# (actually we leave an empty line to preserve line numbers).
7301if test "x$srcdir" = x.; then
7302  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
7303h
7304s///
7305s/^/:/
7306s/[	 ]*$/:/
7307s/:\$(srcdir):/:/g
7308s/:\${srcdir}:/:/g
7309s/:@srcdir@:/:/g
7310s/^:*//
7311s/:*$//
7312x
7313s/\(=[	 ]*\).*/\1/
7314G
7315s/\n//
7316s/^[^=]*=[	 ]*$//
7317}'
7318fi
7319
7320cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7321fi # test -n "$CONFIG_FILES"
7322
7323# Set up the scripts for CONFIG_HEADERS section.
7324# No need to generate them if there are no CONFIG_HEADERS.
7325# This happens for instance with `./config.status Makefile'.
7326if test -n "$CONFIG_HEADERS"; then
7327cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7328BEGIN {
7329_ACEOF
7330
7331# Transform confdefs.h into an awk script `defines.awk', embedded as
7332# here-document in config.status, that substitutes the proper values into
7333# config.h.in to produce config.h.
7334
7335# Create a delimiter string that does not exist in confdefs.h, to ease
7336# handling of long lines.
7337ac_delim='%!_!# '
7338for ac_last_try in false false :; do
7339  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7340  if test -z "$ac_tt"; then
7341    break
7342  elif $ac_last_try; then
7343    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7344  else
7345    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7346  fi
7347done
7348
7349# For the awk script, D is an array of macro values keyed by name,
7350# likewise P contains macro parameters if any.  Preserve backslash
7351# newline sequences.
7352
7353ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7354sed -n '
7355s/.\{148\}/&'"$ac_delim"'/g
7356t rset
7357:rset
7358s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
7359t def
7360d
7361:def
7362s/\\$//
7363t bsnl
7364s/["\\]/\\&/g
7365s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
7366D["\1"]=" \3"/p
7367s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
7368d
7369:bsnl
7370s/["\\]/\\&/g
7371s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
7372D["\1"]=" \3\\\\\\n"\\/p
7373t cont
7374s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7375t cont
7376d
7377:cont
7378n
7379s/.\{148\}/&'"$ac_delim"'/g
7380t clear
7381:clear
7382s/\\$//
7383t bsnlc
7384s/["\\]/\\&/g; s/^/"/; s/$/"/p
7385d
7386:bsnlc
7387s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7388b cont
7389' <confdefs.h | sed '
7390s/'"$ac_delim"'/"\\\
7391"/g' >>$CONFIG_STATUS || ac_write_fail=1
7392
7393cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7394  for (key in D) D_is_set[key] = 1
7395  FS = ""
7396}
7397/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7398  line = \$ 0
7399  split(line, arg, " ")
7400  if (arg[1] == "#") {
7401    defundef = arg[2]
7402    mac1 = arg[3]
7403  } else {
7404    defundef = substr(arg[1], 2)
7405    mac1 = arg[2]
7406  }
7407  split(mac1, mac2, "(") #)
7408  macro = mac2[1]
7409  prefix = substr(line, 1, index(line, defundef) - 1)
7410  if (D_is_set[macro]) {
7411    # Preserve the white space surrounding the "#".
7412    print prefix "define", macro P[macro] D[macro]
7413    next
7414  } else {
7415    # Replace #undef with comments.  This is necessary, for example,
7416    # in the case of _POSIX_SOURCE, which is predefined and required
7417    # on some systems where configure will not decide to define it.
7418    if (defundef == "undef") {
7419      print "/*", prefix defundef, macro, "*/"
7420      next
7421    }
7422  }
7423}
7424{ print }
7425_ACAWK
7426_ACEOF
7427cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7428  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7429fi # test -n "$CONFIG_HEADERS"
7430
7431
7432eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
7433shift
7434for ac_tag
7435do
7436  case $ac_tag in
7437  :[FHLC]) ac_mode=$ac_tag; continue;;
7438  esac
7439  case $ac_mode$ac_tag in
7440  :[FHL]*:*);;
7441  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7442  :[FH]-) ac_tag=-:-;;
7443  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7444  esac
7445  ac_save_IFS=$IFS
7446  IFS=:
7447  set x $ac_tag
7448  IFS=$ac_save_IFS
7449  shift
7450  ac_file=$1
7451  shift
7452
7453  case $ac_mode in
7454  :L) ac_source=$1;;
7455  :[FH])
7456    ac_file_inputs=
7457    for ac_f
7458    do
7459      case $ac_f in
7460      -) ac_f="$ac_tmp/stdin";;
7461      *) # Look for the file first in the build tree, then in the source tree
7462	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
7463	 # because $ac_f cannot contain `:'.
7464	 test -f "$ac_f" ||
7465	   case $ac_f in
7466	   [\\/$]*) false;;
7467	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7468	   esac ||
7469	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7470      esac
7471      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7472      as_fn_append ac_file_inputs " '$ac_f'"
7473    done
7474
7475    # Let's still pretend it is `configure' which instantiates (i.e., don't
7476    # use $as_me), people would be surprised to read:
7477    #    /* config.h.  Generated by config.status.  */
7478    configure_input='Generated from '`
7479	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7480	`' by configure.'
7481    if test x"$ac_file" != x-; then
7482      configure_input="$ac_file.  $configure_input"
7483      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7484$as_echo "$as_me: creating $ac_file" >&6;}
7485    fi
7486    # Neutralize special characters interpreted by sed in replacement strings.
7487    case $configure_input in #(
7488    *\&* | *\|* | *\\* )
7489       ac_sed_conf_input=`$as_echo "$configure_input" |
7490       sed 's/[\\\\&|]/\\\\&/g'`;; #(
7491    *) ac_sed_conf_input=$configure_input;;
7492    esac
7493
7494    case $ac_tag in
7495    *:-:* | *:-) cat >"$ac_tmp/stdin" \
7496      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7497    esac
7498    ;;
7499  esac
7500
7501  ac_dir=`$as_dirname -- "$ac_file" ||
7502$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7503	 X"$ac_file" : 'X\(//\)[^/]' \| \
7504	 X"$ac_file" : 'X\(//\)$' \| \
7505	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7506$as_echo X"$ac_file" |
7507    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7508	    s//\1/
7509	    q
7510	  }
7511	  /^X\(\/\/\)[^/].*/{
7512	    s//\1/
7513	    q
7514	  }
7515	  /^X\(\/\/\)$/{
7516	    s//\1/
7517	    q
7518	  }
7519	  /^X\(\/\).*/{
7520	    s//\1/
7521	    q
7522	  }
7523	  s/.*/./; q'`
7524  as_dir="$ac_dir"; as_fn_mkdir_p
7525  ac_builddir=.
7526
7527case "$ac_dir" in
7528.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7529*)
7530  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7531  # A ".." for each directory in $ac_dir_suffix.
7532  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7533  case $ac_top_builddir_sub in
7534  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7535  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7536  esac ;;
7537esac
7538ac_abs_top_builddir=$ac_pwd
7539ac_abs_builddir=$ac_pwd$ac_dir_suffix
7540# for backward compatibility:
7541ac_top_builddir=$ac_top_build_prefix
7542
7543case $srcdir in
7544  .)  # We are building in place.
7545    ac_srcdir=.
7546    ac_top_srcdir=$ac_top_builddir_sub
7547    ac_abs_top_srcdir=$ac_pwd ;;
7548  [\\/]* | ?:[\\/]* )  # Absolute name.
7549    ac_srcdir=$srcdir$ac_dir_suffix;
7550    ac_top_srcdir=$srcdir
7551    ac_abs_top_srcdir=$srcdir ;;
7552  *) # Relative name.
7553    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7554    ac_top_srcdir=$ac_top_build_prefix$srcdir
7555    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7556esac
7557ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7558
7559
7560  case $ac_mode in
7561  :F)
7562  #
7563  # CONFIG_FILE
7564  #
7565
7566  case $INSTALL in
7567  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7568  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7569  esac
7570  ac_MKDIR_P=$MKDIR_P
7571  case $MKDIR_P in
7572  [\\/$]* | ?:[\\/]* ) ;;
7573  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7574  esac
7575_ACEOF
7576
7577cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7578# If the template does not know about datarootdir, expand it.
7579# FIXME: This hack should be removed a few years after 2.60.
7580ac_datarootdir_hack=; ac_datarootdir_seen=
7581ac_sed_dataroot='
7582/datarootdir/ {
7583  p
7584  q
7585}
7586/@datadir@/p
7587/@docdir@/p
7588/@infodir@/p
7589/@localedir@/p
7590/@mandir@/p'
7591case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7592*datarootdir*) ac_datarootdir_seen=yes;;
7593*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7594  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7595$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7596_ACEOF
7597cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7598  ac_datarootdir_hack='
7599  s&@datadir@&$datadir&g
7600  s&@docdir@&$docdir&g
7601  s&@infodir@&$infodir&g
7602  s&@localedir@&$localedir&g
7603  s&@mandir@&$mandir&g
7604  s&\\\${datarootdir}&$datarootdir&g' ;;
7605esac
7606_ACEOF
7607
7608# Neutralize VPATH when `$srcdir' = `.'.
7609# Shell code in configure.ac might set extrasub.
7610# FIXME: do we really want to maintain this feature?
7611cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7612ac_sed_extra="$ac_vpsub
7613$extrasub
7614_ACEOF
7615cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7616:t
7617/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7618s|@configure_input@|$ac_sed_conf_input|;t t
7619s&@top_builddir@&$ac_top_builddir_sub&;t t
7620s&@top_build_prefix@&$ac_top_build_prefix&;t t
7621s&@srcdir@&$ac_srcdir&;t t
7622s&@abs_srcdir@&$ac_abs_srcdir&;t t
7623s&@top_srcdir@&$ac_top_srcdir&;t t
7624s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7625s&@builddir@&$ac_builddir&;t t
7626s&@abs_builddir@&$ac_abs_builddir&;t t
7627s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7628s&@INSTALL@&$ac_INSTALL&;t t
7629s&@MKDIR_P@&$ac_MKDIR_P&;t t
7630$ac_datarootdir_hack
7631"
7632eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7633  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7634
7635test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7636  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7637  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
7638      "$ac_tmp/out"`; test -z "$ac_out"; } &&
7639  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7640which seems to be undefined.  Please make sure it is defined" >&5
7641$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7642which seems to be undefined.  Please make sure it is defined" >&2;}
7643
7644  rm -f "$ac_tmp/stdin"
7645  case $ac_file in
7646  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7647  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7648  esac \
7649  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7650 ;;
7651  :H)
7652  #
7653  # CONFIG_HEADER
7654  #
7655  if test x"$ac_file" != x-; then
7656    {
7657      $as_echo "/* $configure_input  */" \
7658      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7659    } >"$ac_tmp/config.h" \
7660      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7661    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7662      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7663$as_echo "$as_me: $ac_file is unchanged" >&6;}
7664    else
7665      rm -f "$ac_file"
7666      mv "$ac_tmp/config.h" "$ac_file" \
7667	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
7668    fi
7669  else
7670    $as_echo "/* $configure_input  */" \
7671      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7672      || as_fn_error $? "could not create -" "$LINENO" 5
7673  fi
7674# Compute "$ac_file"'s index in $config_headers.
7675_am_arg="$ac_file"
7676_am_stamp_count=1
7677for _am_header in $config_headers :; do
7678  case $_am_header in
7679    $_am_arg | $_am_arg:* )
7680      break ;;
7681    * )
7682      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7683  esac
7684done
7685echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7686$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7687	 X"$_am_arg" : 'X\(//\)[^/]' \| \
7688	 X"$_am_arg" : 'X\(//\)$' \| \
7689	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7690$as_echo X"$_am_arg" |
7691    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7692	    s//\1/
7693	    q
7694	  }
7695	  /^X\(\/\/\)[^/].*/{
7696	    s//\1/
7697	    q
7698	  }
7699	  /^X\(\/\/\)$/{
7700	    s//\1/
7701	    q
7702	  }
7703	  /^X\(\/\).*/{
7704	    s//\1/
7705	    q
7706	  }
7707	  s/.*/./; q'`/stamp-h$_am_stamp_count
7708 ;;
7709
7710  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7711$as_echo "$as_me: executing $ac_file commands" >&6;}
7712 ;;
7713  esac
7714
7715
7716  case $ac_file$ac_mode in
7717    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7718  # Older Autoconf quotes --file arguments for eval, but not when files
7719  # are listed without --file.  Let's play safe and only enable the eval
7720  # if we detect the quoting.
7721  case $CONFIG_FILES in
7722  *\'*) eval set x "$CONFIG_FILES" ;;
7723  *)   set x $CONFIG_FILES ;;
7724  esac
7725  shift
7726  for mf
7727  do
7728    # Strip MF so we end up with the name of the file.
7729    mf=`echo "$mf" | sed -e 's/:.*$//'`
7730    # Check whether this is an Automake generated Makefile or not.
7731    # We used to match only the files named 'Makefile.in', but
7732    # some people rename them; so instead we look at the file content.
7733    # Grep'ing the first line is not enough: some people post-process
7734    # each Makefile.in and add a new line on top of each file to say so.
7735    # Grep'ing the whole file is not good either: AIX grep has a line
7736    # limit of 2048, but all sed's we know have understand at least 4000.
7737    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7738      dirpart=`$as_dirname -- "$mf" ||
7739$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7740	 X"$mf" : 'X\(//\)[^/]' \| \
7741	 X"$mf" : 'X\(//\)$' \| \
7742	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7743$as_echo X"$mf" |
7744    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7745	    s//\1/
7746	    q
7747	  }
7748	  /^X\(\/\/\)[^/].*/{
7749	    s//\1/
7750	    q
7751	  }
7752	  /^X\(\/\/\)$/{
7753	    s//\1/
7754	    q
7755	  }
7756	  /^X\(\/\).*/{
7757	    s//\1/
7758	    q
7759	  }
7760	  s/.*/./; q'`
7761    else
7762      continue
7763    fi
7764    # Extract the definition of DEPDIR, am__include, and am__quote
7765    # from the Makefile without running 'make'.
7766    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7767    test -z "$DEPDIR" && continue
7768    am__include=`sed -n 's/^am__include = //p' < "$mf"`
7769    test -z "$am__include" && continue
7770    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7771    # Find all dependency output files, they are included files with
7772    # $(DEPDIR) in their names.  We invoke sed twice because it is the
7773    # simplest approach to changing $(DEPDIR) to its actual value in the
7774    # expansion.
7775    for file in `sed -n "
7776      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7777	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7778      # Make sure the directory exists.
7779      test -f "$dirpart/$file" && continue
7780      fdir=`$as_dirname -- "$file" ||
7781$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7782	 X"$file" : 'X\(//\)[^/]' \| \
7783	 X"$file" : 'X\(//\)$' \| \
7784	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7785$as_echo X"$file" |
7786    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7787	    s//\1/
7788	    q
7789	  }
7790	  /^X\(\/\/\)[^/].*/{
7791	    s//\1/
7792	    q
7793	  }
7794	  /^X\(\/\/\)$/{
7795	    s//\1/
7796	    q
7797	  }
7798	  /^X\(\/\).*/{
7799	    s//\1/
7800	    q
7801	  }
7802	  s/.*/./; q'`
7803      as_dir=$dirpart/$fdir; as_fn_mkdir_p
7804      # echo "creating $dirpart/$file"
7805      echo '# dummy' > "$dirpart/$file"
7806    done
7807  done
7808}
7809 ;;
7810    "default-1":C)
7811    for ac_file in $CONFIG_FILES; do
7812      # Support "outfile[:infile[:infile...]]"
7813      case "$ac_file" in
7814        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
7815      esac
7816      # PO directories have a Makefile.in generated from Makefile.in.in.
7817      case "$ac_file" in */Makefile.in)
7818        # Adjust a relative srcdir.
7819        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7820        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
7821        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7822        # In autoconf-2.13 it is called $ac_given_srcdir.
7823        # In autoconf-2.50 it is called $srcdir.
7824        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
7825        case "$ac_given_srcdir" in
7826          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
7827          /*) top_srcdir="$ac_given_srcdir" ;;
7828          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
7829        esac
7830        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7831          rm -f "$ac_dir/POTFILES"
7832          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
7833          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
7834          POMAKEFILEDEPS="POTFILES.in"
7835          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
7836          # on $ac_dir but don't depend on user-specified configuration
7837          # parameters.
7838          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7839            # The LINGUAS file contains the set of available languages.
7840            if test -n "$OBSOLETE_ALL_LINGUAS"; then
7841              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
7842            fi
7843            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7844            # Hide the ALL_LINGUAS assigment from automake.
7845            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7846            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
7847          else
7848            # The set of available languages was given in configure.in.
7849            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
7850          fi
7851          # Compute POFILES
7852          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
7853          # Compute UPDATEPOFILES
7854          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
7855          # Compute DUMMYPOFILES
7856          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
7857          # Compute GMOFILES
7858          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
7859          case "$ac_given_srcdir" in
7860            .) srcdirpre= ;;
7861            *) srcdirpre='$(srcdir)/' ;;
7862          esac
7863          POFILES=
7864          UPDATEPOFILES=
7865          DUMMYPOFILES=
7866          GMOFILES=
7867          for lang in $ALL_LINGUAS; do
7868            POFILES="$POFILES $srcdirpre$lang.po"
7869            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
7870            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
7871            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
7872          done
7873          # CATALOGS depends on both $ac_dir and the user's LINGUAS
7874          # environment variable.
7875          INST_LINGUAS=
7876          if test -n "$ALL_LINGUAS"; then
7877            for presentlang in $ALL_LINGUAS; do
7878              useit=no
7879              if test "%UNSET%" != "$LINGUAS"; then
7880                desiredlanguages="$LINGUAS"
7881              else
7882                desiredlanguages="$ALL_LINGUAS"
7883              fi
7884              for desiredlang in $desiredlanguages; do
7885                # Use the presentlang catalog if desiredlang is
7886                #   a. equal to presentlang, or
7887                #   b. a variant of presentlang (because in this case,
7888                #      presentlang can be used as a fallback for messages
7889                #      which are not translated in the desiredlang catalog).
7890                case "$desiredlang" in
7891                  "$presentlang"*) useit=yes;;
7892                esac
7893              done
7894              if test $useit = yes; then
7895                INST_LINGUAS="$INST_LINGUAS $presentlang"
7896              fi
7897            done
7898          fi
7899          CATALOGS=
7900          if test -n "$INST_LINGUAS"; then
7901            for lang in $INST_LINGUAS; do
7902              CATALOGS="$CATALOGS $lang.gmo"
7903            done
7904          fi
7905          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
7906          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
7907          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
7908            if test -f "$f"; then
7909              case "$f" in
7910                *.orig | *.bak | *~) ;;
7911                *) cat "$f" >> "$ac_dir/Makefile" ;;
7912              esac
7913            fi
7914          done
7915        fi
7916        ;;
7917      esac
7918    done ;;
7919
7920  esac
7921done # for ac_tag
7922
7923
7924as_fn_exit 0
7925_ACEOF
7926ac_clean_files=$ac_clean_files_save
7927
7928test $ac_write_fail = 0 ||
7929  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7930
7931
7932# configure is writing to config.log, and then calls config.status.
7933# config.status does its own redirection, appending to config.log.
7934# Unfortunately, on DOS this fails, as config.log is still kept open
7935# by configure, so config.status won't be able to write to it; its
7936# output is simply discarded.  So we exec the FD to /dev/null,
7937# effectively closing config.log, so it can be properly (re)opened and
7938# appended to by config.status.  When coming back to configure, we
7939# need to make the FD available again.
7940if test "$no_create" != yes; then
7941  ac_cs_success=:
7942  ac_config_status_args=
7943  test "$silent" = yes &&
7944    ac_config_status_args="$ac_config_status_args --quiet"
7945  exec 5>/dev/null
7946  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7947  exec 5>>config.log
7948  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7949  # would make configure fail if this is the last instruction.
7950  $ac_cs_success || as_fn_exit 1
7951fi
7952if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7953  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7954$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7955fi
7956
7957
7958#################################################
7959# Output configuration
7960#################################################
7961
7962echo
7963echo "---------------------------------------------------------"
7964echo "Configuration:"
7965echo
7966echo "    install path:            ${prefix}"
7967echo "    oggsplt symlink:         ${enable_ogg_symlink}"
7968echo "    flacsplt symlink:        ${enable_flac_symlink}"
7969echo
7970echo "---------------------------------------------------------"
7971echo
7972
7973