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