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