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