source: trunk/third/bug-buddy/configure @ 20953

Revision 20953, 195.4 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20952, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
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="src/bug-buddy.c"
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 SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL GCONFTOOL GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE SCROLLKEEPER_REQUIRED SCROLLKEEPER_CONFIG CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP PKG_CONFIG BUG_BUDDY_CFLAGS BUG_BUDDY_LIBS GNOME_CRASH_CFLAGS GNOME_CRASH_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 GLIB_GENMARSHAL ENABLE_DEPRECATIONS_TRUE ENABLE_DEPRECATIONS_FALSE 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-schemas-install     Disable the schemas installation
851  --enable-deprecations   warn about deprecated usages
852
853Optional Packages:
854  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
855  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
856  --with-gconf-source=sourceaddress      Config database for installing schema files.
857  --with-gconf-schema-file-dir=dir        Directory for installing schema files.
858
859Some influential environment variables:
860  CC          C compiler command
861  CFLAGS      C compiler flags
862  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
863              nonstandard directory <lib dir>
864  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
865              headers in a nonstandard directory <include dir>
866  CPP         C preprocessor
867
868Use these variables to override the choices made by `configure' or to help
869it to find libraries and programs with nonstandard names/locations.
870
871_ACEOF
872fi
873
874if test "$ac_init_help" = "recursive"; then
875  # If there are subdirs, report their specific --help.
876  ac_popdir=`pwd`
877  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
878    test -d $ac_dir || continue
879    ac_builddir=.
880
881if test "$ac_dir" != .; then
882  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
883  # A "../" for each directory in $ac_dir_suffix.
884  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
885else
886  ac_dir_suffix= ac_top_builddir=
887fi
888
889case $srcdir in
890  .)  # No --srcdir option.  We are building in place.
891    ac_srcdir=.
892    if test -z "$ac_top_builddir"; then
893       ac_top_srcdir=.
894    else
895       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
896    fi ;;
897  [\\/]* | ?:[\\/]* )  # Absolute path.
898    ac_srcdir=$srcdir$ac_dir_suffix;
899    ac_top_srcdir=$srcdir ;;
900  *) # Relative path.
901    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
902    ac_top_srcdir=$ac_top_builddir$srcdir ;;
903esac
904
905# Do not use `cd foo && pwd` to compute absolute paths, because
906# the directories may not exist.
907case `pwd` in
908.) ac_abs_builddir="$ac_dir";;
909*)
910  case "$ac_dir" in
911  .) ac_abs_builddir=`pwd`;;
912  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
913  *) ac_abs_builddir=`pwd`/"$ac_dir";;
914  esac;;
915esac
916case $ac_abs_builddir in
917.) ac_abs_top_builddir=${ac_top_builddir}.;;
918*)
919  case ${ac_top_builddir}. in
920  .) ac_abs_top_builddir=$ac_abs_builddir;;
921  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
922  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
923  esac;;
924esac
925case $ac_abs_builddir in
926.) ac_abs_srcdir=$ac_srcdir;;
927*)
928  case $ac_srcdir in
929  .) ac_abs_srcdir=$ac_abs_builddir;;
930  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
931  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
932  esac;;
933esac
934case $ac_abs_builddir in
935.) ac_abs_top_srcdir=$ac_top_srcdir;;
936*)
937  case $ac_top_srcdir in
938  .) ac_abs_top_srcdir=$ac_abs_builddir;;
939  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
940  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
941  esac;;
942esac
943
944    cd $ac_dir
945    # Check for guested configure; otherwise get Cygnus style configure.
946    if test -f $ac_srcdir/configure.gnu; then
947      echo
948      $SHELL $ac_srcdir/configure.gnu  --help=recursive
949    elif test -f $ac_srcdir/configure; then
950      echo
951      $SHELL $ac_srcdir/configure  --help=recursive
952    elif test -f $ac_srcdir/configure.ac ||
953           test -f $ac_srcdir/configure.in; then
954      echo
955      $ac_configure --help
956    else
957      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
958    fi
959    cd $ac_popdir
960  done
961fi
962
963test -n "$ac_init_help" && exit 0
964if $ac_init_version; then
965  cat <<\_ACEOF
966
967Copyright (C) 2003 Free Software Foundation, Inc.
968This configure script is free software; the Free Software Foundation
969gives unlimited permission to copy, distribute and modify it.
970_ACEOF
971  exit 0
972fi
973exec 5>config.log
974cat >&5 <<_ACEOF
975This file contains any messages produced by compilers while
976running configure, to aid debugging if configure makes a mistake.
977
978It was created by $as_me, which was
979generated by GNU Autoconf 2.59.  Invocation command line was
980
981  $ $0 $@
982
983_ACEOF
984{
985cat <<_ASUNAME
986## --------- ##
987## Platform. ##
988## --------- ##
989
990hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
991uname -m = `(uname -m) 2>/dev/null || echo unknown`
992uname -r = `(uname -r) 2>/dev/null || echo unknown`
993uname -s = `(uname -s) 2>/dev/null || echo unknown`
994uname -v = `(uname -v) 2>/dev/null || echo unknown`
995
996/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
997/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
998
999/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1000/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1001/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1002hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1003/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1004/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1005/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1006
1007_ASUNAME
1008
1009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1010for as_dir in $PATH
1011do
1012  IFS=$as_save_IFS
1013  test -z "$as_dir" && as_dir=.
1014  echo "PATH: $as_dir"
1015done
1016
1017} >&5
1018
1019cat >&5 <<_ACEOF
1020
1021
1022## ----------- ##
1023## Core tests. ##
1024## ----------- ##
1025
1026_ACEOF
1027
1028
1029# Keep a trace of the command line.
1030# Strip out --no-create and --no-recursion so they do not pile up.
1031# Strip out --silent because we don't want to record it for future runs.
1032# Also quote any args containing shell meta-characters.
1033# Make two passes to allow for proper duplicate-argument suppression.
1034ac_configure_args=
1035ac_configure_args0=
1036ac_configure_args1=
1037ac_sep=
1038ac_must_keep_next=false
1039for ac_pass in 1 2
1040do
1041  for ac_arg
1042  do
1043    case $ac_arg in
1044    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1045    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1046    | -silent | --silent | --silen | --sile | --sil)
1047      continue ;;
1048    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1049      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1050    esac
1051    case $ac_pass in
1052    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1053    2)
1054      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1055      if test $ac_must_keep_next = true; then
1056        ac_must_keep_next=false # Got value, back to normal.
1057      else
1058        case $ac_arg in
1059          *=* | --config-cache | -C | -disable-* | --disable-* \
1060          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1061          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1062          | -with-* | --with-* | -without-* | --without-* | --x)
1063            case "$ac_configure_args0 " in
1064              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1065            esac
1066            ;;
1067          -* ) ac_must_keep_next=true ;;
1068        esac
1069      fi
1070      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1071      # Get rid of the leading space.
1072      ac_sep=" "
1073      ;;
1074    esac
1075  done
1076done
1077$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1078$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1079
1080# When interrupted or exit'd, cleanup temporary files, and complete
1081# config.log.  We remove comments because anyway the quotes in there
1082# would cause problems or look ugly.
1083# WARNING: Be sure not to use single quotes in there, as some shells,
1084# such as our DU 5.0 friend, will then `close' the trap.
1085trap 'exit_status=$?
1086  # Save into config.log some information that might help in debugging.
1087  {
1088    echo
1089
1090    cat <<\_ASBOX
1091## ---------------- ##
1092## Cache variables. ##
1093## ---------------- ##
1094_ASBOX
1095    echo
1096    # The following way of writing the cache mishandles newlines in values,
1097{
1098  (set) 2>&1 |
1099    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1100    *ac_space=\ *)
1101      sed -n \
1102        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1103          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1104      ;;
1105    *)
1106      sed -n \
1107        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108      ;;
1109    esac;
1110}
1111    echo
1112
1113    cat <<\_ASBOX
1114## ----------------- ##
1115## Output variables. ##
1116## ----------------- ##
1117_ASBOX
1118    echo
1119    for ac_var in $ac_subst_vars
1120    do
1121      eval ac_val=$`echo $ac_var`
1122      echo "$ac_var='"'"'$ac_val'"'"'"
1123    done | sort
1124    echo
1125
1126    if test -n "$ac_subst_files"; then
1127      cat <<\_ASBOX
1128## ------------- ##
1129## Output files. ##
1130## ------------- ##
1131_ASBOX
1132      echo
1133      for ac_var in $ac_subst_files
1134      do
1135        eval ac_val=$`echo $ac_var`
1136        echo "$ac_var='"'"'$ac_val'"'"'"
1137      done | sort
1138      echo
1139    fi
1140
1141    if test -s confdefs.h; then
1142      cat <<\_ASBOX
1143## ----------- ##
1144## confdefs.h. ##
1145## ----------- ##
1146_ASBOX
1147      echo
1148      sed "/^$/d" confdefs.h | sort
1149      echo
1150    fi
1151    test "$ac_signal" != 0 &&
1152      echo "$as_me: caught signal $ac_signal"
1153    echo "$as_me: exit $exit_status"
1154  } >&5
1155  rm -f core *.core &&
1156  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1157    exit $exit_status
1158     ' 0
1159for ac_signal in 1 2 13 15; do
1160  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1161done
1162ac_signal=0
1163
1164# confdefs.h avoids OS command line length limits that DEFS can exceed.
1165rm -rf conftest* confdefs.h
1166# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1167echo >confdefs.h
1168
1169# Predefined preprocessor variables.
1170
1171cat >>confdefs.h <<_ACEOF
1172#define PACKAGE_NAME "$PACKAGE_NAME"
1173_ACEOF
1174
1175
1176cat >>confdefs.h <<_ACEOF
1177#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1178_ACEOF
1179
1180
1181cat >>confdefs.h <<_ACEOF
1182#define PACKAGE_VERSION "$PACKAGE_VERSION"
1183_ACEOF
1184
1185
1186cat >>confdefs.h <<_ACEOF
1187#define PACKAGE_STRING "$PACKAGE_STRING"
1188_ACEOF
1189
1190
1191cat >>confdefs.h <<_ACEOF
1192#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1193_ACEOF
1194
1195
1196# Let the site file select an alternate cache file if it wants to.
1197# Prefer explicitly selected file to automatically selected ones.
1198if test -z "$CONFIG_SITE"; then
1199  if test "x$prefix" != xNONE; then
1200    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1201  else
1202    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1203  fi
1204fi
1205for ac_site_file in $CONFIG_SITE; do
1206  if test -r "$ac_site_file"; then
1207    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1208echo "$as_me: loading site script $ac_site_file" >&6;}
1209    sed 's/^/| /' "$ac_site_file" >&5
1210    . "$ac_site_file"
1211  fi
1212done
1213
1214if test -r "$cache_file"; then
1215  # Some versions of bash will fail to source /dev/null (special
1216  # files actually), so we avoid doing that.
1217  if test -f "$cache_file"; then
1218    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1219echo "$as_me: loading cache $cache_file" >&6;}
1220    case $cache_file in
1221      [\\/]* | ?:[\\/]* ) . $cache_file;;
1222      *)                      . ./$cache_file;;
1223    esac
1224  fi
1225else
1226  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1227echo "$as_me: creating cache $cache_file" >&6;}
1228  >$cache_file
1229fi
1230
1231# Check that the precious variables saved in the cache have kept the same
1232# value.
1233ac_cache_corrupted=false
1234for ac_var in `(set) 2>&1 |
1235               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1236  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1237  eval ac_new_set=\$ac_env_${ac_var}_set
1238  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1239  eval ac_new_val="\$ac_env_${ac_var}_value"
1240  case $ac_old_set,$ac_new_set in
1241    set,)
1242      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1243echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1244      ac_cache_corrupted=: ;;
1245    ,set)
1246      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1247echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1248      ac_cache_corrupted=: ;;
1249    ,);;
1250    *)
1251      if test "x$ac_old_val" != "x$ac_new_val"; then
1252        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1253echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1254        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1255echo "$as_me:   former value:  $ac_old_val" >&2;}
1256        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1257echo "$as_me:   current value: $ac_new_val" >&2;}
1258        ac_cache_corrupted=:
1259      fi;;
1260  esac
1261  # Pass precious variables to config.status.
1262  if test "$ac_new_set" = set; then
1263    case $ac_new_val in
1264    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1265      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1266    *) ac_arg=$ac_var=$ac_new_val ;;
1267    esac
1268    case " $ac_configure_args " in
1269      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1270      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1271    esac
1272  fi
1273done
1274if $ac_cache_corrupted; then
1275  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1276echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1277  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1278echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1279   { (exit 1); exit 1; }; }
1280fi
1281
1282ac_ext=c
1283ac_cpp='$CPP $CPPFLAGS'
1284ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1285ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1286ac_compiler_gnu=$ac_cv_c_compiler_gnu
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308          ac_config_headers="$ac_config_headers config.h"
1309
1310          ac_config_commands="$ac_config_commands default-1"
1311
1312
1313am__api_version="1.4"
1314ac_aux_dir=
1315for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1316  if test -f $ac_dir/install-sh; then
1317    ac_aux_dir=$ac_dir
1318    ac_install_sh="$ac_aux_dir/install-sh -c"
1319    break
1320  elif test -f $ac_dir/install.sh; then
1321    ac_aux_dir=$ac_dir
1322    ac_install_sh="$ac_aux_dir/install.sh -c"
1323    break
1324  elif test -f $ac_dir/shtool; then
1325    ac_aux_dir=$ac_dir
1326    ac_install_sh="$ac_aux_dir/shtool install -c"
1327    break
1328  fi
1329done
1330if test -z "$ac_aux_dir"; then
1331  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1332echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1333   { (exit 1); exit 1; }; }
1334fi
1335ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1336ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1337ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1338
1339# Find a good install program.  We prefer a C program (faster),
1340# so one script is as good as another.  But avoid the broken or
1341# incompatible versions:
1342# SysV /etc/install, /usr/sbin/install
1343# SunOS /usr/etc/install
1344# IRIX /sbin/install
1345# AIX /bin/install
1346# AmigaOS /C/install, which installs bootblocks on floppy discs
1347# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1348# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1349# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1350# OS/2's system install, which has a completely different semantic
1351# ./install, which can be erroneously created by make from ./install.sh.
1352echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1353echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1354if test -z "$INSTALL"; then
1355if test "${ac_cv_path_install+set}" = set; then
1356  echo $ECHO_N "(cached) $ECHO_C" >&6
1357else
1358  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1359for as_dir in $PATH
1360do
1361  IFS=$as_save_IFS
1362  test -z "$as_dir" && as_dir=.
1363  # Account for people who put trailing slashes in PATH elements.
1364case $as_dir/ in
1365  ./ | .// | /cC/* | \
1366  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1367  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1368  /usr/ucb/* ) ;;
1369  *)
1370    # OSF1 and SCO ODT 3.0 have their own names for install.
1371    # Don't use installbsd from OSF since it installs stuff as root
1372    # by default.
1373    for ac_prog in ginstall scoinst install; do
1374      for ac_exec_ext in '' $ac_executable_extensions; do
1375        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1376          if test $ac_prog = install &&
1377            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1378            # AIX install.  It has an incompatible calling convention.
1379            :
1380          elif test $ac_prog = install &&
1381            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1382            # program-specific install script used by HP pwplus--don't use.
1383            :
1384          else
1385            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1386            break 3
1387          fi
1388        fi
1389      done
1390    done
1391    ;;
1392esac
1393done
1394
1395
1396fi
1397  if test "${ac_cv_path_install+set}" = set; then
1398    INSTALL=$ac_cv_path_install
1399  else
1400    # As a last resort, use the slow shell script.  We don't cache a
1401    # path for INSTALL within a source directory, because that will
1402    # break other packages using the cache if that directory is
1403    # removed, or if the path is relative.
1404    INSTALL=$ac_install_sh
1405  fi
1406fi
1407echo "$as_me:$LINENO: result: $INSTALL" >&5
1408echo "${ECHO_T}$INSTALL" >&6
1409
1410# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1411# It thinks the first close brace ends the variable substitution.
1412test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1413
1414test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1415
1416test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1417
1418echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1419echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1420# Just in case
1421sleep 1
1422echo timestamp > conftestfile
1423# Do `set' in a subshell so we don't clobber the current shell's
1424# arguments.  Must try -L first in case configure is actually a
1425# symlink; some systems play weird games with the mod time of symlinks
1426# (eg FreeBSD returns the mod time of the symlink's containing
1427# directory).
1428if (
1429   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1430   if test "$*" = "X"; then
1431      # -L didn't work.
1432      set X `ls -t $srcdir/configure conftestfile`
1433   fi
1434   if test "$*" != "X $srcdir/configure conftestfile" \
1435      && test "$*" != "X conftestfile $srcdir/configure"; then
1436
1437      # If neither matched, then we have a broken ls.  This can happen
1438      # if, for instance, CONFIG_SHELL is bash and it inherits a
1439      # broken ls alias from the environment.  This has actually
1440      # happened.  Such a system could not be considered "sane".
1441      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1442alias in your environment" >&5
1443echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1444alias in your environment" >&2;}
1445   { (exit 1); exit 1; }; }
1446   fi
1447
1448   test "$2" = conftestfile
1449   )
1450then
1451   # Ok.
1452   :
1453else
1454   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1455Check your system clock" >&5
1456echo "$as_me: error: newly created file is older than distributed files!
1457Check your system clock" >&2;}
1458   { (exit 1); exit 1; }; }
1459fi
1460rm -f conftest*
1461echo "$as_me:$LINENO: result: yes" >&5
1462echo "${ECHO_T}yes" >&6
1463test "$program_prefix" != NONE &&
1464  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1465# Use a double $ so make ignores it.
1466test "$program_suffix" != NONE &&
1467  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1468# Double any \ or $.  echo might interpret backslashes.
1469# By default was `s,x,x', remove it if useless.
1470cat <<\_ACEOF >conftest.sed
1471s/[\\$]/&&/g;s/;s,x,x,$//
1472_ACEOF
1473program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1474rm conftest.sed
1475
1476echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1477echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1478set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1479if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1480  echo $ECHO_N "(cached) $ECHO_C" >&6
1481else
1482  cat >conftest.make <<\_ACEOF
1483all:
1484        @echo 'ac_maketemp="$(MAKE)"'
1485_ACEOF
1486# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1487eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1488if test -n "$ac_maketemp"; then
1489  eval ac_cv_prog_make_${ac_make}_set=yes
1490else
1491  eval ac_cv_prog_make_${ac_make}_set=no
1492fi
1493rm -f conftest.make
1494fi
1495if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1496  echo "$as_me:$LINENO: result: yes" >&5
1497echo "${ECHO_T}yes" >&6
1498  SET_MAKE=
1499else
1500  echo "$as_me:$LINENO: result: no" >&5
1501echo "${ECHO_T}no" >&6
1502  SET_MAKE="MAKE=${MAKE-make}"
1503fi
1504
1505
1506PACKAGE=bug-buddy
1507
1508VERSION=2.8.0
1509
1510if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1511  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1512echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1513   { (exit 1); exit 1; }; }
1514fi
1515
1516cat >>confdefs.h <<_ACEOF
1517#define PACKAGE "$PACKAGE"
1518_ACEOF
1519
1520
1521cat >>confdefs.h <<_ACEOF
1522#define VERSION "$VERSION"
1523_ACEOF
1524
1525
1526
1527missing_dir=`cd $ac_aux_dir && pwd`
1528echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1529echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1530# Run test in a subshell; some versions of sh will print an error if
1531# an executable is not found, even if stderr is redirected.
1532# Redirect stdin to placate older versions of autoconf.  Sigh.
1533if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1534   ACLOCAL=aclocal-${am__api_version}
1535   echo "$as_me:$LINENO: result: found" >&5
1536echo "${ECHO_T}found" >&6
1537else
1538   ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1539   echo "$as_me:$LINENO: result: missing" >&5
1540echo "${ECHO_T}missing" >&6
1541fi
1542
1543echo "$as_me:$LINENO: checking for working autoconf" >&5
1544echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1545# Run test in a subshell; some versions of sh will print an error if
1546# an executable is not found, even if stderr is redirected.
1547# Redirect stdin to placate older versions of autoconf.  Sigh.
1548if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1549   AUTOCONF=autoconf
1550   echo "$as_me:$LINENO: result: found" >&5
1551echo "${ECHO_T}found" >&6
1552else
1553   AUTOCONF="$missing_dir/missing autoconf"
1554   echo "$as_me:$LINENO: result: missing" >&5
1555echo "${ECHO_T}missing" >&6
1556fi
1557
1558echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1559echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1560# Run test in a subshell; some versions of sh will print an error if
1561# an executable is not found, even if stderr is redirected.
1562# Redirect stdin to placate older versions of autoconf.  Sigh.
1563if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1564   AUTOMAKE=automake-${am__api_version}
1565   echo "$as_me:$LINENO: result: found" >&5
1566echo "${ECHO_T}found" >&6
1567else
1568   AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1569   echo "$as_me:$LINENO: result: missing" >&5
1570echo "${ECHO_T}missing" >&6
1571fi
1572
1573echo "$as_me:$LINENO: checking for working autoheader" >&5
1574echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1575# Run test in a subshell; some versions of sh will print an error if
1576# an executable is not found, even if stderr is redirected.
1577# Redirect stdin to placate older versions of autoconf.  Sigh.
1578if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1579   AUTOHEADER=autoheader
1580   echo "$as_me:$LINENO: result: found" >&5
1581echo "${ECHO_T}found" >&6
1582else
1583   AUTOHEADER="$missing_dir/missing autoheader"
1584   echo "$as_me:$LINENO: result: missing" >&5
1585echo "${ECHO_T}missing" >&6
1586fi
1587
1588echo "$as_me:$LINENO: checking for working makeinfo" >&5
1589echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1590# Run test in a subshell; some versions of sh will print an error if
1591# an executable is not found, even if stderr is redirected.
1592# Redirect stdin to placate older versions of autoconf.  Sigh.
1593if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1594   MAKEINFO=makeinfo
1595   echo "$as_me:$LINENO: result: found" >&5
1596echo "${ECHO_T}found" >&6
1597else
1598   MAKEINFO="$missing_dir/missing makeinfo"
1599   echo "$as_me:$LINENO: result: missing" >&5
1600echo "${ECHO_T}missing" >&6
1601fi
1602
1603
1604
1605echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1606echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1607    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1608if test "${enable_maintainer_mode+set}" = set; then
1609  enableval="$enable_maintainer_mode"
1610  USE_MAINTAINER_MODE=$enableval
1611else
1612  USE_MAINTAINER_MODE=no
1613fi;
1614  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1615echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1616
1617
1618if test $USE_MAINTAINER_MODE = yes; then
1619  MAINTAINER_MODE_TRUE=
1620  MAINTAINER_MODE_FALSE='#'
1621else
1622  MAINTAINER_MODE_TRUE='#'
1623  MAINTAINER_MODE_FALSE=
1624fi
1625  MAINT=$MAINTAINER_MODE_TRUE
1626
1627
1628
1629
1630if test -n "0.29"; then
1631    echo "$as_me:$LINENO: checking for intltool >= 0.29" >&5
1632echo $ECHO_N "checking for intltool >= 0.29... $ECHO_C" >&6
1633
1634    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.29 | awk -F. '{ printf "%d", $1 * 100 + $2; }'`
1635    INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $2; }'  < ${ac_aux_dir}/intltool-update.in`
1636
1637    INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($2, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in`
1638
1639
1640    if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then
1641        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
1642echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
1643    else
1644        echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool 0.29 or later." >&5
1645echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found. Your intltool is too old.  You need intltool 0.29 or later." >&6
1646        exit 1
1647    fi
1648fi
1649
1650  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1651INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1652     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1653     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1654      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
1655     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1656   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1657    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1658INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1659       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1660      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1661      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1662      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1663    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1664  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1665    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684# Use the tools built into the package, not the ones that are installed.
1685
1686INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
1687INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
1688INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
1689
1690
1691
1692
1693
1694# Extract the first word of "perl", so it can be a program name with args.
1695set dummy perl; ac_word=$2
1696echo "$as_me:$LINENO: checking for $ac_word" >&5
1697echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
1699  echo $ECHO_N "(cached) $ECHO_C" >&6
1700else
1701  case $INTLTOOL_PERL in
1702  [\\/]* | ?:[\\/]*)
1703  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
1704  ;;
1705  *)
1706  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1707for as_dir in $PATH
1708do
1709  IFS=$as_save_IFS
1710  test -z "$as_dir" && as_dir=.
1711  for ac_exec_ext in '' $ac_executable_extensions; do
1712  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1713    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
1714    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715    break 2
1716  fi
1717done
1718done
1719
1720  ;;
1721esac
1722fi
1723INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
1724
1725if test -n "$INTLTOOL_PERL"; then
1726  echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
1727echo "${ECHO_T}$INTLTOOL_PERL" >&6
1728else
1729  echo "$as_me:$LINENO: result: no" >&5
1730echo "${ECHO_T}no" >&6
1731fi
1732
1733if test -z "$INTLTOOL_PERL"; then
1734   { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
1735echo "$as_me: error: perl not found; required for intltool" >&2;}
1736   { (exit 1); exit 1; }; }
1737fi
1738if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
1739   { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
1740echo "$as_me: error: perl 5.x required for intltool" >&2;}
1741   { (exit 1); exit 1; }; }
1742fi
1743if test "x" != "xno-xml"; then
1744   echo "$as_me:$LINENO: checking for XML::Parser" >&5
1745echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
1746   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
1747       echo "$as_me:$LINENO: result: ok" >&5
1748echo "${ECHO_T}ok" >&6
1749   else
1750       { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
1751echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
1752   { (exit 1); exit 1; }; }
1753   fi
1754fi
1755
1756# Remove file type tags (using []) from po/POTFILES.
1757
1758
1759
1760
1761
1762
1763
1764# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
1765
1766          ac_config_commands="$ac_config_commands default-2"
1767
1768
1769
1770
1771# Extract the first word of "gconftool-2", so it can be a program name with args.
1772set dummy gconftool-2; ac_word=$2
1773echo "$as_me:$LINENO: checking for $ac_word" >&5
1774echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1775if test "${ac_cv_path_GCONFTOOL+set}" = set; then
1776  echo $ECHO_N "(cached) $ECHO_C" >&6
1777else
1778  case $GCONFTOOL in
1779  [\\/]* | ?:[\\/]*)
1780  ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
1781  ;;
1782  *)
1783  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784for as_dir in $PATH
1785do
1786  IFS=$as_save_IFS
1787  test -z "$as_dir" && as_dir=.
1788  for ac_exec_ext in '' $ac_executable_extensions; do
1789  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1790    ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
1791    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1792    break 2
1793  fi
1794done
1795done
1796
1797  ;;
1798esac
1799fi
1800GCONFTOOL=$ac_cv_path_GCONFTOOL
1801
1802if test -n "$GCONFTOOL"; then
1803  echo "$as_me:$LINENO: result: $GCONFTOOL" >&5
1804echo "${ECHO_T}$GCONFTOOL" >&6
1805else
1806  echo "$as_me:$LINENO: result: no" >&5
1807echo "${ECHO_T}no" >&6
1808fi
1809
1810
1811  if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
1812    GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
1813  else
1814    GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
1815  fi
1816
1817
1818# Check whether --with-gconf-source or --without-gconf-source was given.
1819if test "${with_gconf_source+set}" = set; then
1820  withval="$with_gconf_source"
1821  GCONF_SCHEMA_CONFIG_SOURCE="$withval"
1822fi;
1823
1824
1825  echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
1826echo "${ECHO_T}Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6
1827
1828  if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
1829    GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas/'
1830  else
1831    GCONF_SCHEMA_FILE_DIR=$GCONF_SCHEMA_FILE_DIR
1832  fi
1833
1834
1835# Check whether --with-gconf-schema-file-dir or --without-gconf-schema-file-dir was given.
1836if test "${with_gconf_schema_file_dir+set}" = set; then
1837  withval="$with_gconf_schema_file_dir"
1838  GCONF_SCHEMA_FILE_DIR="$withval"
1839fi;
1840
1841
1842  echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
1843echo "${ECHO_T}Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6
1844
1845  # Check whether --enable-schemas-install or --disable-schemas-install was given.
1846if test "${enable_schemas_install+set}" = set; then
1847  enableval="$enable_schemas_install"
1848  case "${enableval}" in
1849       yes) schemas_install=true ;;
1850       no)  schemas_install=false ;;
1851       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-schemas-install" >&5
1852echo "$as_me: error: bad value ${enableval} for --disable-schemas-install" >&2;}
1853   { (exit 1); exit 1; }; } ;;
1854     esac
1855else
1856  schemas_install=true
1857fi;
1858
1859
1860if test x$schemas_install = xtrue; then
1861  GCONF_SCHEMAS_INSTALL_TRUE=
1862  GCONF_SCHEMAS_INSTALL_FALSE='#'
1863else
1864  GCONF_SCHEMAS_INSTALL_TRUE='#'
1865  GCONF_SCHEMAS_INSTALL_FALSE=
1866fi
1867
1868
1869SCROLLKEEPER_REQUIRED=0.3.8
1870
1871
1872## Begin tests for scrollkeeper
1873# Extract the first word of "scrollkeeper-config", so it can be a program name with args.
1874set dummy scrollkeeper-config; ac_word=$2
1875echo "$as_me:$LINENO: checking for $ac_word" >&5
1876echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877if test "${ac_cv_path_SCROLLKEEPER_CONFIG+set}" = set; then
1878  echo $ECHO_N "(cached) $ECHO_C" >&6
1879else
1880  case $SCROLLKEEPER_CONFIG in
1881  [\\/]* | ?:[\\/]*)
1882  ac_cv_path_SCROLLKEEPER_CONFIG="$SCROLLKEEPER_CONFIG" # Let the user override the test with a path.
1883  ;;
1884  *)
1885  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1886for as_dir in $PATH
1887do
1888  IFS=$as_save_IFS
1889  test -z "$as_dir" && as_dir=.
1890  for ac_exec_ext in '' $ac_executable_extensions; do
1891  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1892    ac_cv_path_SCROLLKEEPER_CONFIG="$as_dir/$ac_word$ac_exec_ext"
1893    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1894    break 2
1895  fi
1896done
1897done
1898
1899  test -z "$ac_cv_path_SCROLLKEEPER_CONFIG" && ac_cv_path_SCROLLKEEPER_CONFIG="no"
1900  ;;
1901esac
1902fi
1903SCROLLKEEPER_CONFIG=$ac_cv_path_SCROLLKEEPER_CONFIG
1904
1905if test -n "$SCROLLKEEPER_CONFIG"; then
1906  echo "$as_me:$LINENO: result: $SCROLLKEEPER_CONFIG" >&5
1907echo "${ECHO_T}$SCROLLKEEPER_CONFIG" >&6
1908else
1909  echo "$as_me:$LINENO: result: no" >&5
1910echo "${ECHO_T}no" >&6
1911fi
1912
1913if test x$SCROLLKEEPER_CONFIG = xno; then
1914  { { echo "$as_me:$LINENO: error: Couldn't find scrollkeeper-config" >&5
1915echo "$as_me: error: Couldn't find scrollkeeper-config" >&2;}
1916   { (exit please install the scrollkeeper package); exit please install the scrollkeeper package; }; }
1917fi
1918
1919ac_ext=c
1920ac_cpp='$CPP $CPPFLAGS'
1921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1923ac_compiler_gnu=$ac_cv_c_compiler_gnu
1924if test -n "$ac_tool_prefix"; then
1925  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1926set dummy ${ac_tool_prefix}gcc; ac_word=$2
1927echo "$as_me:$LINENO: checking for $ac_word" >&5
1928echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929if test "${ac_cv_prog_CC+set}" = set; then
1930  echo $ECHO_N "(cached) $ECHO_C" >&6
1931else
1932  if test -n "$CC"; then
1933  ac_cv_prog_CC="$CC" # Let the user override the test.
1934else
1935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936for as_dir in $PATH
1937do
1938  IFS=$as_save_IFS
1939  test -z "$as_dir" && as_dir=.
1940  for ac_exec_ext in '' $ac_executable_extensions; do
1941  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1943    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1944    break 2
1945  fi
1946done
1947done
1948
1949fi
1950fi
1951CC=$ac_cv_prog_CC
1952if test -n "$CC"; then
1953  echo "$as_me:$LINENO: result: $CC" >&5
1954echo "${ECHO_T}$CC" >&6
1955else
1956  echo "$as_me:$LINENO: result: no" >&5
1957echo "${ECHO_T}no" >&6
1958fi
1959
1960fi
1961if test -z "$ac_cv_prog_CC"; then
1962  ac_ct_CC=$CC
1963  # Extract the first word of "gcc", so it can be a program name with args.
1964set dummy gcc; ac_word=$2
1965echo "$as_me:$LINENO: checking for $ac_word" >&5
1966echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1967if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1968  echo $ECHO_N "(cached) $ECHO_C" >&6
1969else
1970  if test -n "$ac_ct_CC"; then
1971  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1972else
1973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974for as_dir in $PATH
1975do
1976  IFS=$as_save_IFS
1977  test -z "$as_dir" && as_dir=.
1978  for ac_exec_ext in '' $ac_executable_extensions; do
1979  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1980    ac_cv_prog_ac_ct_CC="gcc"
1981    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1982    break 2
1983  fi
1984done
1985done
1986
1987fi
1988fi
1989ac_ct_CC=$ac_cv_prog_ac_ct_CC
1990if test -n "$ac_ct_CC"; then
1991  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1992echo "${ECHO_T}$ac_ct_CC" >&6
1993else
1994  echo "$as_me:$LINENO: result: no" >&5
1995echo "${ECHO_T}no" >&6
1996fi
1997
1998  CC=$ac_ct_CC
1999else
2000  CC="$ac_cv_prog_CC"
2001fi
2002
2003if test -z "$CC"; then
2004  if test -n "$ac_tool_prefix"; then
2005  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2006set dummy ${ac_tool_prefix}cc; ac_word=$2
2007echo "$as_me:$LINENO: checking for $ac_word" >&5
2008echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2009if test "${ac_cv_prog_CC+set}" = set; then
2010  echo $ECHO_N "(cached) $ECHO_C" >&6
2011else
2012  if test -n "$CC"; then
2013  ac_cv_prog_CC="$CC" # Let the user override the test.
2014else
2015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016for as_dir in $PATH
2017do
2018  IFS=$as_save_IFS
2019  test -z "$as_dir" && as_dir=.
2020  for ac_exec_ext in '' $ac_executable_extensions; do
2021  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2022    ac_cv_prog_CC="${ac_tool_prefix}cc"
2023    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024    break 2
2025  fi
2026done
2027done
2028
2029fi
2030fi
2031CC=$ac_cv_prog_CC
2032if test -n "$CC"; then
2033  echo "$as_me:$LINENO: result: $CC" >&5
2034echo "${ECHO_T}$CC" >&6
2035else
2036  echo "$as_me:$LINENO: result: no" >&5
2037echo "${ECHO_T}no" >&6
2038fi
2039
2040fi
2041if test -z "$ac_cv_prog_CC"; then
2042  ac_ct_CC=$CC
2043  # Extract the first word of "cc", so it can be a program name with args.
2044set dummy cc; ac_word=$2
2045echo "$as_me:$LINENO: checking for $ac_word" >&5
2046echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2047if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2048  echo $ECHO_N "(cached) $ECHO_C" >&6
2049else
2050  if test -n "$ac_ct_CC"; then
2051  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2052else
2053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054for as_dir in $PATH
2055do
2056  IFS=$as_save_IFS
2057  test -z "$as_dir" && as_dir=.
2058  for ac_exec_ext in '' $ac_executable_extensions; do
2059  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2060    ac_cv_prog_ac_ct_CC="cc"
2061    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2062    break 2
2063  fi
2064done
2065done
2066
2067fi
2068fi
2069ac_ct_CC=$ac_cv_prog_ac_ct_CC
2070if test -n "$ac_ct_CC"; then
2071  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2072echo "${ECHO_T}$ac_ct_CC" >&6
2073else
2074  echo "$as_me:$LINENO: result: no" >&5
2075echo "${ECHO_T}no" >&6
2076fi
2077
2078  CC=$ac_ct_CC
2079else
2080  CC="$ac_cv_prog_CC"
2081fi
2082
2083fi
2084if test -z "$CC"; then
2085  # Extract the first word of "cc", so it can be a program name with args.
2086set dummy cc; ac_word=$2
2087echo "$as_me:$LINENO: checking for $ac_word" >&5
2088echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2089if test "${ac_cv_prog_CC+set}" = set; then
2090  echo $ECHO_N "(cached) $ECHO_C" >&6
2091else
2092  if test -n "$CC"; then
2093  ac_cv_prog_CC="$CC" # Let the user override the test.
2094else
2095  ac_prog_rejected=no
2096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097for as_dir in $PATH
2098do
2099  IFS=$as_save_IFS
2100  test -z "$as_dir" && as_dir=.
2101  for ac_exec_ext in '' $ac_executable_extensions; do
2102  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2104       ac_prog_rejected=yes
2105       continue
2106     fi
2107    ac_cv_prog_CC="cc"
2108    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109    break 2
2110  fi
2111done
2112done
2113
2114if test $ac_prog_rejected = yes; then
2115  # We found a bogon in the path, so make sure we never use it.
2116  set dummy $ac_cv_prog_CC
2117  shift
2118  if test $# != 0; then
2119    # We chose a different compiler from the bogus one.
2120    # However, it has the same basename, so the bogon will be chosen
2121    # first if we set CC to just the basename; use the full file name.
2122    shift
2123    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2124  fi
2125fi
2126fi
2127fi
2128CC=$ac_cv_prog_CC
2129if test -n "$CC"; then
2130  echo "$as_me:$LINENO: result: $CC" >&5
2131echo "${ECHO_T}$CC" >&6
2132else
2133  echo "$as_me:$LINENO: result: no" >&5
2134echo "${ECHO_T}no" >&6
2135fi
2136
2137fi
2138if test -z "$CC"; then
2139  if test -n "$ac_tool_prefix"; then
2140  for ac_prog in cl
2141  do
2142    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2143set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2144echo "$as_me:$LINENO: checking for $ac_word" >&5
2145echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2146if test "${ac_cv_prog_CC+set}" = set; then
2147  echo $ECHO_N "(cached) $ECHO_C" >&6
2148else
2149  if test -n "$CC"; then
2150  ac_cv_prog_CC="$CC" # Let the user override the test.
2151else
2152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153for as_dir in $PATH
2154do
2155  IFS=$as_save_IFS
2156  test -z "$as_dir" && as_dir=.
2157  for ac_exec_ext in '' $ac_executable_extensions; do
2158  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2159    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2160    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161    break 2
2162  fi
2163done
2164done
2165
2166fi
2167fi
2168CC=$ac_cv_prog_CC
2169if test -n "$CC"; then
2170  echo "$as_me:$LINENO: result: $CC" >&5
2171echo "${ECHO_T}$CC" >&6
2172else
2173  echo "$as_me:$LINENO: result: no" >&5
2174echo "${ECHO_T}no" >&6
2175fi
2176
2177    test -n "$CC" && break
2178  done
2179fi
2180if test -z "$CC"; then
2181  ac_ct_CC=$CC
2182  for ac_prog in cl
2183do
2184  # Extract the first word of "$ac_prog", so it can be a program name with args.
2185set dummy $ac_prog; ac_word=$2
2186echo "$as_me:$LINENO: checking for $ac_word" >&5
2187echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2188if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2189  echo $ECHO_N "(cached) $ECHO_C" >&6
2190else
2191  if test -n "$ac_ct_CC"; then
2192  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2193else
2194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195for as_dir in $PATH
2196do
2197  IFS=$as_save_IFS
2198  test -z "$as_dir" && as_dir=.
2199  for ac_exec_ext in '' $ac_executable_extensions; do
2200  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201    ac_cv_prog_ac_ct_CC="$ac_prog"
2202    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203    break 2
2204  fi
2205done
2206done
2207
2208fi
2209fi
2210ac_ct_CC=$ac_cv_prog_ac_ct_CC
2211if test -n "$ac_ct_CC"; then
2212  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2213echo "${ECHO_T}$ac_ct_CC" >&6
2214else
2215  echo "$as_me:$LINENO: result: no" >&5
2216echo "${ECHO_T}no" >&6
2217fi
2218
2219  test -n "$ac_ct_CC" && break
2220done
2221
2222  CC=$ac_ct_CC
2223fi
2224
2225fi
2226
2227
2228test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2229See \`config.log' for more details." >&5
2230echo "$as_me: error: no acceptable C compiler found in \$PATH
2231See \`config.log' for more details." >&2;}
2232   { (exit 1); exit 1; }; }
2233
2234# Provide some information about the compiler.
2235echo "$as_me:$LINENO:" \
2236     "checking for C compiler version" >&5
2237ac_compiler=`set X $ac_compile; echo $2`
2238{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2239  (eval $ac_compiler --version </dev/null >&5) 2>&5
2240  ac_status=$?
2241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242  (exit $ac_status); }
2243{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2244  (eval $ac_compiler -v </dev/null >&5) 2>&5
2245  ac_status=$?
2246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247  (exit $ac_status); }
2248{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2249  (eval $ac_compiler -V </dev/null >&5) 2>&5
2250  ac_status=$?
2251  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252  (exit $ac_status); }
2253
2254cat >conftest.$ac_ext <<_ACEOF
2255/* confdefs.h.  */
2256_ACEOF
2257cat confdefs.h >>conftest.$ac_ext
2258cat >>conftest.$ac_ext <<_ACEOF
2259/* end confdefs.h.  */
2260
2261int
2262main ()
2263{
2264
2265  ;
2266  return 0;
2267}
2268_ACEOF
2269ac_clean_files_save=$ac_clean_files
2270ac_clean_files="$ac_clean_files a.out a.exe b.out"
2271# Try to create an executable without -o first, disregard a.out.
2272# It will help us diagnose broken compilers, and finding out an intuition
2273# of exeext.
2274echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2275echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2276ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2277if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2278  (eval $ac_link_default) 2>&5
2279  ac_status=$?
2280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281  (exit $ac_status); }; then
2282  # Find the output, starting from the most likely.  This scheme is
2283# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2284# resort.
2285
2286# Be careful to initialize this variable, since it used to be cached.
2287# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2288ac_cv_exeext=
2289# b.out is created by i960 compilers.
2290for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2291do
2292  test -f "$ac_file" || continue
2293  case $ac_file in
2294    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2295        ;;
2296    conftest.$ac_ext )
2297        # This is the source file.
2298        ;;
2299    [ab].out )
2300        # We found the default executable, but exeext='' is most
2301        # certainly right.
2302        break;;
2303    *.* )
2304        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2305        # FIXME: I believe we export ac_cv_exeext for Libtool,
2306        # but it would be cool to find out if it's true.  Does anybody
2307        # maintain Libtool? --akim.
2308        export ac_cv_exeext
2309        break;;
2310    * )
2311        break;;
2312  esac
2313done
2314else
2315  echo "$as_me: failed program was:" >&5
2316sed 's/^/| /' conftest.$ac_ext >&5
2317
2318{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2319See \`config.log' for more details." >&5
2320echo "$as_me: error: C compiler cannot create executables
2321See \`config.log' for more details." >&2;}
2322   { (exit 77); exit 77; }; }
2323fi
2324
2325ac_exeext=$ac_cv_exeext
2326echo "$as_me:$LINENO: result: $ac_file" >&5
2327echo "${ECHO_T}$ac_file" >&6
2328
2329# Check the compiler produces executables we can run.  If not, either
2330# the compiler is broken, or we cross compile.
2331echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2332echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2333# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2334# If not cross compiling, check that we can run a simple program.
2335if test "$cross_compiling" != yes; then
2336  if { ac_try='./$ac_file'
2337  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2338  (eval $ac_try) 2>&5
2339  ac_status=$?
2340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341  (exit $ac_status); }; }; then
2342    cross_compiling=no
2343  else
2344    if test "$cross_compiling" = maybe; then
2345        cross_compiling=yes
2346    else
2347        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2348If you meant to cross compile, use \`--host'.
2349See \`config.log' for more details." >&5
2350echo "$as_me: error: cannot run C compiled programs.
2351If you meant to cross compile, use \`--host'.
2352See \`config.log' for more details." >&2;}
2353   { (exit 1); exit 1; }; }
2354    fi
2355  fi
2356fi
2357echo "$as_me:$LINENO: result: yes" >&5
2358echo "${ECHO_T}yes" >&6
2359
2360rm -f a.out a.exe conftest$ac_cv_exeext b.out
2361ac_clean_files=$ac_clean_files_save
2362# Check the compiler produces executables we can run.  If not, either
2363# the compiler is broken, or we cross compile.
2364echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2365echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2366echo "$as_me:$LINENO: result: $cross_compiling" >&5
2367echo "${ECHO_T}$cross_compiling" >&6
2368
2369echo "$as_me:$LINENO: checking for suffix of executables" >&5
2370echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2371if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2372  (eval $ac_link) 2>&5
2373  ac_status=$?
2374  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375  (exit $ac_status); }; then
2376  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2377# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2378# work properly (i.e., refer to `conftest.exe'), while it won't with
2379# `rm'.
2380for ac_file in conftest.exe conftest conftest.*; do
2381  test -f "$ac_file" || continue
2382  case $ac_file in
2383    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2384    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2385          export ac_cv_exeext
2386          break;;
2387    * ) break;;
2388  esac
2389done
2390else
2391  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2392See \`config.log' for more details." >&5
2393echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2394See \`config.log' for more details." >&2;}
2395   { (exit 1); exit 1; }; }
2396fi
2397
2398rm -f conftest$ac_cv_exeext
2399echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2400echo "${ECHO_T}$ac_cv_exeext" >&6
2401
2402rm -f conftest.$ac_ext
2403EXEEXT=$ac_cv_exeext
2404ac_exeext=$EXEEXT
2405echo "$as_me:$LINENO: checking for suffix of object files" >&5
2406echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2407if test "${ac_cv_objext+set}" = set; then
2408  echo $ECHO_N "(cached) $ECHO_C" >&6
2409else
2410  cat >conftest.$ac_ext <<_ACEOF
2411/* confdefs.h.  */
2412_ACEOF
2413cat confdefs.h >>conftest.$ac_ext
2414cat >>conftest.$ac_ext <<_ACEOF
2415/* end confdefs.h.  */
2416
2417int
2418main ()
2419{
2420
2421  ;
2422  return 0;
2423}
2424_ACEOF
2425rm -f conftest.o conftest.obj
2426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2427  (eval $ac_compile) 2>&5
2428  ac_status=$?
2429  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430  (exit $ac_status); }; then
2431  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2432  case $ac_file in
2433    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2434    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2435       break;;
2436  esac
2437done
2438else
2439  echo "$as_me: failed program was:" >&5
2440sed 's/^/| /' conftest.$ac_ext >&5
2441
2442{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2443See \`config.log' for more details." >&5
2444echo "$as_me: error: cannot compute suffix of object files: cannot compile
2445See \`config.log' for more details." >&2;}
2446   { (exit 1); exit 1; }; }
2447fi
2448
2449rm -f conftest.$ac_cv_objext conftest.$ac_ext
2450fi
2451echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2452echo "${ECHO_T}$ac_cv_objext" >&6
2453OBJEXT=$ac_cv_objext
2454ac_objext=$OBJEXT
2455echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2456echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2457if test "${ac_cv_c_compiler_gnu+set}" = set; then
2458  echo $ECHO_N "(cached) $ECHO_C" >&6
2459else
2460  cat >conftest.$ac_ext <<_ACEOF
2461/* confdefs.h.  */
2462_ACEOF
2463cat confdefs.h >>conftest.$ac_ext
2464cat >>conftest.$ac_ext <<_ACEOF
2465/* end confdefs.h.  */
2466
2467int
2468main ()
2469{
2470#ifndef __GNUC__
2471       choke me
2472#endif
2473
2474  ;
2475  return 0;
2476}
2477_ACEOF
2478rm -f conftest.$ac_objext
2479if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2480  (eval $ac_compile) 2>conftest.er1
2481  ac_status=$?
2482  grep -v '^ *+' conftest.er1 >conftest.err
2483  rm -f conftest.er1
2484  cat conftest.err >&5
2485  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486  (exit $ac_status); } &&
2487         { ac_try='test -z "$ac_c_werror_flag"
2488                         || test ! -s conftest.err'
2489  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490  (eval $ac_try) 2>&5
2491  ac_status=$?
2492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493  (exit $ac_status); }; } &&
2494         { ac_try='test -s conftest.$ac_objext'
2495  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2496  (eval $ac_try) 2>&5
2497  ac_status=$?
2498  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499  (exit $ac_status); }; }; then
2500  ac_compiler_gnu=yes
2501else
2502  echo "$as_me: failed program was:" >&5
2503sed 's/^/| /' conftest.$ac_ext >&5
2504
2505ac_compiler_gnu=no
2506fi
2507rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2508ac_cv_c_compiler_gnu=$ac_compiler_gnu
2509
2510fi
2511echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2512echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2513GCC=`test $ac_compiler_gnu = yes && echo yes`
2514ac_test_CFLAGS=${CFLAGS+set}
2515ac_save_CFLAGS=$CFLAGS
2516CFLAGS="-g"
2517echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2518echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2519if test "${ac_cv_prog_cc_g+set}" = set; then
2520  echo $ECHO_N "(cached) $ECHO_C" >&6
2521else
2522  cat >conftest.$ac_ext <<_ACEOF
2523/* confdefs.h.  */
2524_ACEOF
2525cat confdefs.h >>conftest.$ac_ext
2526cat >>conftest.$ac_ext <<_ACEOF
2527/* end confdefs.h.  */
2528
2529int
2530main ()
2531{
2532
2533  ;
2534  return 0;
2535}
2536_ACEOF
2537rm -f conftest.$ac_objext
2538if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2539  (eval $ac_compile) 2>conftest.er1
2540  ac_status=$?
2541  grep -v '^ *+' conftest.er1 >conftest.err
2542  rm -f conftest.er1
2543  cat conftest.err >&5
2544  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545  (exit $ac_status); } &&
2546         { ac_try='test -z "$ac_c_werror_flag"
2547                         || test ! -s conftest.err'
2548  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2549  (eval $ac_try) 2>&5
2550  ac_status=$?
2551  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552  (exit $ac_status); }; } &&
2553         { ac_try='test -s conftest.$ac_objext'
2554  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2555  (eval $ac_try) 2>&5
2556  ac_status=$?
2557  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558  (exit $ac_status); }; }; then
2559  ac_cv_prog_cc_g=yes
2560else
2561  echo "$as_me: failed program was:" >&5
2562sed 's/^/| /' conftest.$ac_ext >&5
2563
2564ac_cv_prog_cc_g=no
2565fi
2566rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2567fi
2568echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2569echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2570if test "$ac_test_CFLAGS" = set; then
2571  CFLAGS=$ac_save_CFLAGS
2572elif test $ac_cv_prog_cc_g = yes; then
2573  if test "$GCC" = yes; then
2574    CFLAGS="-g -O2"
2575  else
2576    CFLAGS="-g"
2577  fi
2578else
2579  if test "$GCC" = yes; then
2580    CFLAGS="-O2"
2581  else
2582    CFLAGS=
2583  fi
2584fi
2585echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2586echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2587if test "${ac_cv_prog_cc_stdc+set}" = set; then
2588  echo $ECHO_N "(cached) $ECHO_C" >&6
2589else
2590  ac_cv_prog_cc_stdc=no
2591ac_save_CC=$CC
2592cat >conftest.$ac_ext <<_ACEOF
2593/* confdefs.h.  */
2594_ACEOF
2595cat confdefs.h >>conftest.$ac_ext
2596cat >>conftest.$ac_ext <<_ACEOF
2597/* end confdefs.h.  */
2598#include <stdarg.h>
2599#include <stdio.h>
2600#include <sys/types.h>
2601#include <sys/stat.h>
2602/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2603struct buf { int x; };
2604FILE * (*rcsopen) (struct buf *, struct stat *, int);
2605static char *e (p, i)
2606     char **p;
2607     int i;
2608{
2609  return p[i];
2610}
2611static char *f (char * (*g) (char **, int), char **p, ...)
2612{
2613  char *s;
2614  va_list v;
2615  va_start (v,p);
2616  s = g (p, va_arg (v,int));
2617  va_end (v);
2618  return s;
2619}
2620
2621/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2622   function prototypes and stuff, but not '\xHH' hex character constants.
2623   These don't provoke an error unfortunately, instead are silently treated
2624   as 'x'.  The following induces an error, until -std1 is added to get
2625   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2626   array size at least.  It's necessary to write '\x00'==0 to get something
2627   that's true only with -std1.  */
2628int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2629
2630int test (int i, double x);
2631struct s1 {int (*f) (int a);};
2632struct s2 {int (*f) (double a);};
2633int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2634int argc;
2635char **argv;
2636int
2637main ()
2638{
2639return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2640  ;
2641  return 0;
2642}
2643_ACEOF
2644# Don't try gcc -ansi; that turns off useful extensions and
2645# breaks some systems' header files.
2646# AIX                   -qlanglvl=ansi
2647# Ultrix and OSF/1      -std1
2648# HP-UX 10.20 and later -Ae
2649# HP-UX older versions  -Aa -D_HPUX_SOURCE
2650# SVR4                  -Xc -D__EXTENSIONS__
2651for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2652do
2653  CC="$ac_save_CC $ac_arg"
2654  rm -f conftest.$ac_objext
2655if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656  (eval $ac_compile) 2>conftest.er1
2657  ac_status=$?
2658  grep -v '^ *+' conftest.er1 >conftest.err
2659  rm -f conftest.er1
2660  cat conftest.err >&5
2661  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662  (exit $ac_status); } &&
2663         { ac_try='test -z "$ac_c_werror_flag"
2664                         || test ! -s conftest.err'
2665  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666  (eval $ac_try) 2>&5
2667  ac_status=$?
2668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669  (exit $ac_status); }; } &&
2670         { ac_try='test -s conftest.$ac_objext'
2671  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672  (eval $ac_try) 2>&5
2673  ac_status=$?
2674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675  (exit $ac_status); }; }; then
2676  ac_cv_prog_cc_stdc=$ac_arg
2677break
2678else
2679  echo "$as_me: failed program was:" >&5
2680sed 's/^/| /' conftest.$ac_ext >&5
2681
2682fi
2683rm -f conftest.err conftest.$ac_objext
2684done
2685rm -f conftest.$ac_ext conftest.$ac_objext
2686CC=$ac_save_CC
2687
2688fi
2689
2690case "x$ac_cv_prog_cc_stdc" in
2691  x|xno)
2692    echo "$as_me:$LINENO: result: none needed" >&5
2693echo "${ECHO_T}none needed" >&6 ;;
2694  *)
2695    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2696echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2697    CC="$CC $ac_cv_prog_cc_stdc" ;;
2698esac
2699
2700# Some people use a C++ compiler to compile C.  Since we use `exit',
2701# in C++ we need to declare it.  In case someone uses the same compiler
2702# for both compiling C and C++ we need to have the C++ compiler decide
2703# the declaration of exit, since it's the most demanding environment.
2704cat >conftest.$ac_ext <<_ACEOF
2705#ifndef __cplusplus
2706  choke me
2707#endif
2708_ACEOF
2709rm -f conftest.$ac_objext
2710if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2711  (eval $ac_compile) 2>conftest.er1
2712  ac_status=$?
2713  grep -v '^ *+' conftest.er1 >conftest.err
2714  rm -f conftest.er1
2715  cat conftest.err >&5
2716  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717  (exit $ac_status); } &&
2718         { ac_try='test -z "$ac_c_werror_flag"
2719                         || test ! -s conftest.err'
2720  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2721  (eval $ac_try) 2>&5
2722  ac_status=$?
2723  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724  (exit $ac_status); }; } &&
2725         { ac_try='test -s conftest.$ac_objext'
2726  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2727  (eval $ac_try) 2>&5
2728  ac_status=$?
2729  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730  (exit $ac_status); }; }; then
2731  for ac_declaration in \
2732   '' \
2733   'extern "C" void std::exit (int) throw (); using std::exit;' \
2734   'extern "C" void std::exit (int); using std::exit;' \
2735   'extern "C" void exit (int) throw ();' \
2736   'extern "C" void exit (int);' \
2737   'void exit (int);'
2738do
2739  cat >conftest.$ac_ext <<_ACEOF
2740/* confdefs.h.  */
2741_ACEOF
2742cat confdefs.h >>conftest.$ac_ext
2743cat >>conftest.$ac_ext <<_ACEOF
2744/* end confdefs.h.  */
2745$ac_declaration
2746#include <stdlib.h>
2747int
2748main ()
2749{
2750exit (42);
2751  ;
2752  return 0;
2753}
2754_ACEOF
2755rm -f conftest.$ac_objext
2756if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2757  (eval $ac_compile) 2>conftest.er1
2758  ac_status=$?
2759  grep -v '^ *+' conftest.er1 >conftest.err
2760  rm -f conftest.er1
2761  cat conftest.err >&5
2762  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763  (exit $ac_status); } &&
2764         { ac_try='test -z "$ac_c_werror_flag"
2765                         || test ! -s conftest.err'
2766  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2767  (eval $ac_try) 2>&5
2768  ac_status=$?
2769  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770  (exit $ac_status); }; } &&
2771         { ac_try='test -s conftest.$ac_objext'
2772  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2773  (eval $ac_try) 2>&5
2774  ac_status=$?
2775  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776  (exit $ac_status); }; }; then
2777  :
2778else
2779  echo "$as_me: failed program was:" >&5
2780sed 's/^/| /' conftest.$ac_ext >&5
2781
2782continue
2783fi
2784rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2785  cat >conftest.$ac_ext <<_ACEOF
2786/* confdefs.h.  */
2787_ACEOF
2788cat confdefs.h >>conftest.$ac_ext
2789cat >>conftest.$ac_ext <<_ACEOF
2790/* end confdefs.h.  */
2791$ac_declaration
2792int
2793main ()
2794{
2795exit (42);
2796  ;
2797  return 0;
2798}
2799_ACEOF
2800rm -f conftest.$ac_objext
2801if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2802  (eval $ac_compile) 2>conftest.er1
2803  ac_status=$?
2804  grep -v '^ *+' conftest.er1 >conftest.err
2805  rm -f conftest.er1
2806  cat conftest.err >&5
2807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808  (exit $ac_status); } &&
2809         { ac_try='test -z "$ac_c_werror_flag"
2810                         || test ! -s conftest.err'
2811  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2812  (eval $ac_try) 2>&5
2813  ac_status=$?
2814  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815  (exit $ac_status); }; } &&
2816         { ac_try='test -s conftest.$ac_objext'
2817  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2818  (eval $ac_try) 2>&5
2819  ac_status=$?
2820  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821  (exit $ac_status); }; }; then
2822  break
2823else
2824  echo "$as_me: failed program was:" >&5
2825sed 's/^/| /' conftest.$ac_ext >&5
2826
2827fi
2828rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2829done
2830rm -f conftest*
2831if test -n "$ac_declaration"; then
2832  echo '#ifdef __cplusplus' >>confdefs.h
2833  echo $ac_declaration      >>confdefs.h
2834  echo '#endif'             >>confdefs.h
2835fi
2836
2837else
2838  echo "$as_me: failed program was:" >&5
2839sed 's/^/| /' conftest.$ac_ext >&5
2840
2841fi
2842rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2843ac_ext=c
2844ac_cpp='$CPP $CPPFLAGS'
2845ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2846ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2847ac_compiler_gnu=$ac_cv_c_compiler_gnu
2848
2849
2850
2851        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
2852echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
2853if test "${ac_cv_lib_cposix_strerror+set}" = set; then
2854  echo $ECHO_N "(cached) $ECHO_C" >&6
2855else
2856  ac_check_lib_save_LIBS=$LIBS
2857LIBS="-lcposix  $LIBS"
2858cat >conftest.$ac_ext <<_ACEOF
2859/* confdefs.h.  */
2860_ACEOF
2861cat confdefs.h >>conftest.$ac_ext
2862cat >>conftest.$ac_ext <<_ACEOF
2863/* end confdefs.h.  */
2864
2865/* Override any gcc2 internal prototype to avoid an error.  */
2866#ifdef __cplusplus
2867extern "C"
2868#endif
2869/* We use char because int might match the return type of a gcc2
2870   builtin and then its argument prototype would still apply.  */
2871char strerror ();
2872int
2873main ()
2874{
2875strerror ();
2876  ;
2877  return 0;
2878}
2879_ACEOF
2880rm -f conftest.$ac_objext conftest$ac_exeext
2881if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2882  (eval $ac_link) 2>conftest.er1
2883  ac_status=$?
2884  grep -v '^ *+' conftest.er1 >conftest.err
2885  rm -f conftest.er1
2886  cat conftest.err >&5
2887  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888  (exit $ac_status); } &&
2889         { ac_try='test -z "$ac_c_werror_flag"
2890                         || test ! -s conftest.err'
2891  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892  (eval $ac_try) 2>&5
2893  ac_status=$?
2894  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895  (exit $ac_status); }; } &&
2896         { ac_try='test -s conftest$ac_exeext'
2897  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898  (eval $ac_try) 2>&5
2899  ac_status=$?
2900  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901  (exit $ac_status); }; }; then
2902  ac_cv_lib_cposix_strerror=yes
2903else
2904  echo "$as_me: failed program was:" >&5
2905sed 's/^/| /' conftest.$ac_ext >&5
2906
2907ac_cv_lib_cposix_strerror=no
2908fi
2909rm -f conftest.err conftest.$ac_objext \
2910      conftest$ac_exeext conftest.$ac_ext
2911LIBS=$ac_check_lib_save_LIBS
2912fi
2913echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
2914echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
2915if test $ac_cv_lib_cposix_strerror = yes; then
2916  LIBS="$LIBS -lcposix"
2917fi
2918
2919
2920
2921ac_ext=c
2922ac_cpp='$CPP $CPPFLAGS'
2923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2925ac_compiler_gnu=$ac_cv_c_compiler_gnu
2926echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2927echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2928# On Suns, sometimes $CPP names a directory.
2929if test -n "$CPP" && test -d "$CPP"; then
2930  CPP=
2931fi
2932if test -z "$CPP"; then
2933  if test "${ac_cv_prog_CPP+set}" = set; then
2934  echo $ECHO_N "(cached) $ECHO_C" >&6
2935else
2936      # Double quotes because CPP needs to be expanded
2937    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2938    do
2939      ac_preproc_ok=false
2940for ac_c_preproc_warn_flag in '' yes
2941do
2942  # Use a header file that comes with gcc, so configuring glibc
2943  # with a fresh cross-compiler works.
2944  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2945  # <limits.h> exists even on freestanding compilers.
2946  # On the NeXT, cc -E runs the code through the compiler's parser,
2947  # not just through cpp. "Syntax error" is here to catch this case.
2948  cat >conftest.$ac_ext <<_ACEOF
2949/* confdefs.h.  */
2950_ACEOF
2951cat confdefs.h >>conftest.$ac_ext
2952cat >>conftest.$ac_ext <<_ACEOF
2953/* end confdefs.h.  */
2954#ifdef __STDC__
2955# include <limits.h>
2956#else
2957# include <assert.h>
2958#endif
2959                     Syntax error
2960_ACEOF
2961if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2962  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2963  ac_status=$?
2964  grep -v '^ *+' conftest.er1 >conftest.err
2965  rm -f conftest.er1
2966  cat conftest.err >&5
2967  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968  (exit $ac_status); } >/dev/null; then
2969  if test -s conftest.err; then
2970    ac_cpp_err=$ac_c_preproc_warn_flag
2971    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2972  else
2973    ac_cpp_err=
2974  fi
2975else
2976  ac_cpp_err=yes
2977fi
2978if test -z "$ac_cpp_err"; then
2979  :
2980else
2981  echo "$as_me: failed program was:" >&5
2982sed 's/^/| /' conftest.$ac_ext >&5
2983
2984  # Broken: fails on valid input.
2985continue
2986fi
2987rm -f conftest.err conftest.$ac_ext
2988
2989  # OK, works on sane cases.  Now check whether non-existent headers
2990  # can be detected and how.
2991  cat >conftest.$ac_ext <<_ACEOF
2992/* confdefs.h.  */
2993_ACEOF
2994cat confdefs.h >>conftest.$ac_ext
2995cat >>conftest.$ac_ext <<_ACEOF
2996/* end confdefs.h.  */
2997#include <ac_nonexistent.h>
2998_ACEOF
2999if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3000  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3001  ac_status=$?
3002  grep -v '^ *+' conftest.er1 >conftest.err
3003  rm -f conftest.er1
3004  cat conftest.err >&5
3005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006  (exit $ac_status); } >/dev/null; then
3007  if test -s conftest.err; then
3008    ac_cpp_err=$ac_c_preproc_warn_flag
3009    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3010  else
3011    ac_cpp_err=
3012  fi
3013else
3014  ac_cpp_err=yes
3015fi
3016if test -z "$ac_cpp_err"; then
3017  # Broken: success on invalid input.
3018continue
3019else
3020  echo "$as_me: failed program was:" >&5
3021sed 's/^/| /' conftest.$ac_ext >&5
3022
3023  # Passes both tests.
3024ac_preproc_ok=:
3025break
3026fi
3027rm -f conftest.err conftest.$ac_ext
3028
3029done
3030# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3031rm -f conftest.err conftest.$ac_ext
3032if $ac_preproc_ok; then
3033  break
3034fi
3035
3036    done
3037    ac_cv_prog_CPP=$CPP
3038
3039fi
3040  CPP=$ac_cv_prog_CPP
3041else
3042  ac_cv_prog_CPP=$CPP
3043fi
3044echo "$as_me:$LINENO: result: $CPP" >&5
3045echo "${ECHO_T}$CPP" >&6
3046ac_preproc_ok=false
3047for ac_c_preproc_warn_flag in '' yes
3048do
3049  # Use a header file that comes with gcc, so configuring glibc
3050  # with a fresh cross-compiler works.
3051  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3052  # <limits.h> exists even on freestanding compilers.
3053  # On the NeXT, cc -E runs the code through the compiler's parser,
3054  # not just through cpp. "Syntax error" is here to catch this case.
3055  cat >conftest.$ac_ext <<_ACEOF
3056/* confdefs.h.  */
3057_ACEOF
3058cat confdefs.h >>conftest.$ac_ext
3059cat >>conftest.$ac_ext <<_ACEOF
3060/* end confdefs.h.  */
3061#ifdef __STDC__
3062# include <limits.h>
3063#else
3064# include <assert.h>
3065#endif
3066                     Syntax error
3067_ACEOF
3068if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3069  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3070  ac_status=$?
3071  grep -v '^ *+' conftest.er1 >conftest.err
3072  rm -f conftest.er1
3073  cat conftest.err >&5
3074  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075  (exit $ac_status); } >/dev/null; then
3076  if test -s conftest.err; then
3077    ac_cpp_err=$ac_c_preproc_warn_flag
3078    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3079  else
3080    ac_cpp_err=
3081  fi
3082else
3083  ac_cpp_err=yes
3084fi
3085if test -z "$ac_cpp_err"; then
3086  :
3087else
3088  echo "$as_me: failed program was:" >&5
3089sed 's/^/| /' conftest.$ac_ext >&5
3090
3091  # Broken: fails on valid input.
3092continue
3093fi
3094rm -f conftest.err conftest.$ac_ext
3095
3096  # OK, works on sane cases.  Now check whether non-existent headers
3097  # can be detected and how.
3098  cat >conftest.$ac_ext <<_ACEOF
3099/* confdefs.h.  */
3100_ACEOF
3101cat confdefs.h >>conftest.$ac_ext
3102cat >>conftest.$ac_ext <<_ACEOF
3103/* end confdefs.h.  */
3104#include <ac_nonexistent.h>
3105_ACEOF
3106if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3107  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3108  ac_status=$?
3109  grep -v '^ *+' conftest.er1 >conftest.err
3110  rm -f conftest.er1
3111  cat conftest.err >&5
3112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113  (exit $ac_status); } >/dev/null; then
3114  if test -s conftest.err; then
3115    ac_cpp_err=$ac_c_preproc_warn_flag
3116    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3117  else
3118    ac_cpp_err=
3119  fi
3120else
3121  ac_cpp_err=yes
3122fi
3123if test -z "$ac_cpp_err"; then
3124  # Broken: success on invalid input.
3125continue
3126else
3127  echo "$as_me: failed program was:" >&5
3128sed 's/^/| /' conftest.$ac_ext >&5
3129
3130  # Passes both tests.
3131ac_preproc_ok=:
3132break
3133fi
3134rm -f conftest.err conftest.$ac_ext
3135
3136done
3137# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3138rm -f conftest.err conftest.$ac_ext
3139if $ac_preproc_ok; then
3140  :
3141else
3142  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3143See \`config.log' for more details." >&5
3144echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3145See \`config.log' for more details." >&2;}
3146   { (exit 1); exit 1; }; }
3147fi
3148
3149ac_ext=c
3150ac_cpp='$CPP $CPPFLAGS'
3151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3153ac_compiler_gnu=$ac_cv_c_compiler_gnu
3154
3155
3156echo "$as_me:$LINENO: checking for egrep" >&5
3157echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3158if test "${ac_cv_prog_egrep+set}" = set; then
3159  echo $ECHO_N "(cached) $ECHO_C" >&6
3160else
3161  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3162    then ac_cv_prog_egrep='grep -E'
3163    else ac_cv_prog_egrep='egrep'
3164    fi
3165fi
3166echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3167echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3168 EGREP=$ac_cv_prog_egrep
3169
3170
3171echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3172echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3173if test "${ac_cv_header_stdc+set}" = set; then
3174  echo $ECHO_N "(cached) $ECHO_C" >&6
3175else
3176  cat >conftest.$ac_ext <<_ACEOF
3177/* confdefs.h.  */
3178_ACEOF
3179cat confdefs.h >>conftest.$ac_ext
3180cat >>conftest.$ac_ext <<_ACEOF
3181/* end confdefs.h.  */
3182#include <stdlib.h>
3183#include <stdarg.h>
3184#include <string.h>
3185#include <float.h>
3186
3187int
3188main ()
3189{
3190
3191  ;
3192  return 0;
3193}
3194_ACEOF
3195rm -f conftest.$ac_objext
3196if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3197  (eval $ac_compile) 2>conftest.er1
3198  ac_status=$?
3199  grep -v '^ *+' conftest.er1 >conftest.err
3200  rm -f conftest.er1
3201  cat conftest.err >&5
3202  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203  (exit $ac_status); } &&
3204         { ac_try='test -z "$ac_c_werror_flag"
3205                         || test ! -s conftest.err'
3206  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207  (eval $ac_try) 2>&5
3208  ac_status=$?
3209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210  (exit $ac_status); }; } &&
3211         { ac_try='test -s conftest.$ac_objext'
3212  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213  (eval $ac_try) 2>&5
3214  ac_status=$?
3215  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216  (exit $ac_status); }; }; then
3217  ac_cv_header_stdc=yes
3218else
3219  echo "$as_me: failed program was:" >&5
3220sed 's/^/| /' conftest.$ac_ext >&5
3221
3222ac_cv_header_stdc=no
3223fi
3224rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3225
3226if test $ac_cv_header_stdc = yes; then
3227  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3228  cat >conftest.$ac_ext <<_ACEOF
3229/* confdefs.h.  */
3230_ACEOF
3231cat confdefs.h >>conftest.$ac_ext
3232cat >>conftest.$ac_ext <<_ACEOF
3233/* end confdefs.h.  */
3234#include <string.h>
3235
3236_ACEOF
3237if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3238  $EGREP "memchr" >/dev/null 2>&1; then
3239  :
3240else
3241  ac_cv_header_stdc=no
3242fi
3243rm -f conftest*
3244
3245fi
3246
3247if test $ac_cv_header_stdc = yes; then
3248  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3249  cat >conftest.$ac_ext <<_ACEOF
3250/* confdefs.h.  */
3251_ACEOF
3252cat confdefs.h >>conftest.$ac_ext
3253cat >>conftest.$ac_ext <<_ACEOF
3254/* end confdefs.h.  */
3255#include <stdlib.h>
3256
3257_ACEOF
3258if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3259  $EGREP "free" >/dev/null 2>&1; then
3260  :
3261else
3262  ac_cv_header_stdc=no
3263fi
3264rm -f conftest*
3265
3266fi
3267
3268if test $ac_cv_header_stdc = yes; then
3269  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3270  if test "$cross_compiling" = yes; then
3271  :
3272else
3273  cat >conftest.$ac_ext <<_ACEOF
3274/* confdefs.h.  */
3275_ACEOF
3276cat confdefs.h >>conftest.$ac_ext
3277cat >>conftest.$ac_ext <<_ACEOF
3278/* end confdefs.h.  */
3279#include <ctype.h>
3280#if ((' ' & 0x0FF) == 0x020)
3281# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3282# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3283#else
3284# define ISLOWER(c) \
3285                   (('a' <= (c) && (c) <= 'i') \
3286                     || ('j' <= (c) && (c) <= 'r') \
3287                     || ('s' <= (c) && (c) <= 'z'))
3288# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3289#endif
3290
3291#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3292int
3293main ()
3294{
3295  int i;
3296  for (i = 0; i < 256; i++)
3297    if (XOR (islower (i), ISLOWER (i))
3298        || toupper (i) != TOUPPER (i))
3299      exit(2);
3300  exit (0);
3301}
3302_ACEOF
3303rm -f conftest$ac_exeext
3304if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3305  (eval $ac_link) 2>&5
3306  ac_status=$?
3307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3309  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310  (eval $ac_try) 2>&5
3311  ac_status=$?
3312  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313  (exit $ac_status); }; }; then
3314  :
3315else
3316  echo "$as_me: program exited with status $ac_status" >&5
3317echo "$as_me: failed program was:" >&5
3318sed 's/^/| /' conftest.$ac_ext >&5
3319
3320( exit $ac_status )
3321ac_cv_header_stdc=no
3322fi
3323rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3324fi
3325fi
3326fi
3327echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3328echo "${ECHO_T}$ac_cv_header_stdc" >&6
3329if test $ac_cv_header_stdc = yes; then
3330
3331cat >>confdefs.h <<\_ACEOF
3332#define STDC_HEADERS 1
3333_ACEOF
3334
3335fi
3336
3337
3338BONOBO_ACTIVATION_REQUIRED="bonobo-activation-2.0 >= 1.0.0"
3339GDK_PIXBUF_REQUIRED="gdk-pixbuf-2.0 >= 2.0.0"
3340GMODULE_REQUIRED="gmodule-2.0 >= 2.0.0"
3341GNOME_DESKTOP_REQUIRED="gnome-desktop-2.0 >= 2.0.0"
3342GNOME_VFS_REQUIRED="gnome-vfs-2.0 >= 2.0.0"
3343LIBBONOBO_REQUIRED="libbonobo-2.0 >= 2.0.0"
3344LIBGNOME_REQUIRED="libgnome-2.0 >= 2.0.0"
3345LIBGNOMECANVAS_REQUIRED="libgnomecanvas-2.0 >= 2.0.0"
3346LIBGNOMEUI_REQUIRED="libgnomeui-2.0 >= 2.5.92"
3347LIBGLADE_REQUIRED="libglade-2.0 >= 2.0.0"
3348LIBXML_REQUIRED="libxml-2.0 >= 2.4.6"
3349GTK_REQUIRED="gtk+-2.0 >= 2.3.6"
3350
3351
3352  succeeded=no
3353
3354  if test -z "$PKG_CONFIG"; then
3355    # Extract the first word of "pkg-config", so it can be a program name with args.
3356set dummy pkg-config; ac_word=$2
3357echo "$as_me:$LINENO: checking for $ac_word" >&5
3358echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3359if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3360  echo $ECHO_N "(cached) $ECHO_C" >&6
3361else
3362  case $PKG_CONFIG in
3363  [\\/]* | ?:[\\/]*)
3364  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3365  ;;
3366  *)
3367  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3368for as_dir in $PATH
3369do
3370  IFS=$as_save_IFS
3371  test -z "$as_dir" && as_dir=.
3372  for ac_exec_ext in '' $ac_executable_extensions; do
3373  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3374    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3375    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3376    break 2
3377  fi
3378done
3379done
3380
3381  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
3382  ;;
3383esac
3384fi
3385PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3386
3387if test -n "$PKG_CONFIG"; then
3388  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3389echo "${ECHO_T}$PKG_CONFIG" >&6
3390else
3391  echo "$as_me:$LINENO: result: no" >&5
3392echo "${ECHO_T}no" >&6
3393fi
3394
3395  fi
3396
3397  if test "$PKG_CONFIG" = "no" ; then
3398     echo "*** The pkg-config script could not be found. Make sure it is"
3399     echo "*** in your path, or set the PKG_CONFIG environment variable"
3400     echo "*** to the full path to pkg-config."
3401     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3402  else
3403     PKG_CONFIG_MIN_VERSION=0.9.0
3404     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
3405        echo "$as_me:$LINENO: checking for
3406        $BONOBO_ACTIVATION_REQUIRED
3407        $GDK_PIXBUF_REQUIRED
3408        $GMODULE_REQUIRED
3409        $GNOME_DESKTOP_REQUIRED
3410        $GNOME_VFS_REQUIRED
3411        $LIBBONOBO_REQUIRED
3412        $LIBGNOME_REQUIRED
3413        $LIBGNOMECANVAS_REQUIRED
3414        $LIBGNOMEUI_REQUIRED
3415        $LIBGLADE_REQUIRED
3416        $LIBXML_REQUIRED
3417        $GTK_REQUIRED
3418" >&5
3419echo $ECHO_N "checking for
3420        $BONOBO_ACTIVATION_REQUIRED
3421        $GDK_PIXBUF_REQUIRED
3422        $GMODULE_REQUIRED
3423        $GNOME_DESKTOP_REQUIRED
3424        $GNOME_VFS_REQUIRED
3425        $LIBBONOBO_REQUIRED
3426        $LIBGNOME_REQUIRED
3427        $LIBGNOMECANVAS_REQUIRED
3428        $LIBGNOMEUI_REQUIRED
3429        $LIBGLADE_REQUIRED
3430        $LIBXML_REQUIRED
3431        $GTK_REQUIRED
3432... $ECHO_C" >&6
3433
3434        if $PKG_CONFIG --exists "
3435        $BONOBO_ACTIVATION_REQUIRED
3436        $GDK_PIXBUF_REQUIRED
3437        $GMODULE_REQUIRED
3438        $GNOME_DESKTOP_REQUIRED
3439        $GNOME_VFS_REQUIRED
3440        $LIBBONOBO_REQUIRED
3441        $LIBGNOME_REQUIRED
3442        $LIBGNOMECANVAS_REQUIRED
3443        $LIBGNOMEUI_REQUIRED
3444        $LIBGLADE_REQUIRED
3445        $LIBXML_REQUIRED
3446        $GTK_REQUIRED
3447" ; then
3448            echo "$as_me:$LINENO: result: yes" >&5
3449echo "${ECHO_T}yes" >&6
3450            succeeded=yes
3451
3452            echo "$as_me:$LINENO: checking BUG_BUDDY_CFLAGS" >&5
3453echo $ECHO_N "checking BUG_BUDDY_CFLAGS... $ECHO_C" >&6
3454            BUG_BUDDY_CFLAGS=`$PKG_CONFIG --cflags "
3455        $BONOBO_ACTIVATION_REQUIRED
3456        $GDK_PIXBUF_REQUIRED
3457        $GMODULE_REQUIRED
3458        $GNOME_DESKTOP_REQUIRED
3459        $GNOME_VFS_REQUIRED
3460        $LIBBONOBO_REQUIRED
3461        $LIBGNOME_REQUIRED
3462        $LIBGNOMECANVAS_REQUIRED
3463        $LIBGNOMEUI_REQUIRED
3464        $LIBGLADE_REQUIRED
3465        $LIBXML_REQUIRED
3466        $GTK_REQUIRED
3467"`
3468            echo "$as_me:$LINENO: result: $BUG_BUDDY_CFLAGS" >&5
3469echo "${ECHO_T}$BUG_BUDDY_CFLAGS" >&6
3470
3471            echo "$as_me:$LINENO: checking BUG_BUDDY_LIBS" >&5
3472echo $ECHO_N "checking BUG_BUDDY_LIBS... $ECHO_C" >&6
3473            BUG_BUDDY_LIBS=`$PKG_CONFIG --libs "
3474        $BONOBO_ACTIVATION_REQUIRED
3475        $GDK_PIXBUF_REQUIRED
3476        $GMODULE_REQUIRED
3477        $GNOME_DESKTOP_REQUIRED
3478        $GNOME_VFS_REQUIRED
3479        $LIBBONOBO_REQUIRED
3480        $LIBGNOME_REQUIRED
3481        $LIBGNOMECANVAS_REQUIRED
3482        $LIBGNOMEUI_REQUIRED
3483        $LIBGLADE_REQUIRED
3484        $LIBXML_REQUIRED
3485        $GTK_REQUIRED
3486"`
3487            echo "$as_me:$LINENO: result: $BUG_BUDDY_LIBS" >&5
3488echo "${ECHO_T}$BUG_BUDDY_LIBS" >&6
3489        else
3490            BUG_BUDDY_CFLAGS=""
3491            BUG_BUDDY_LIBS=""
3492            ## If we have a custom action on failure, don't print errors, but
3493            ## do set a variable so people can do so.
3494            BUG_BUDDY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "
3495        $BONOBO_ACTIVATION_REQUIRED
3496        $GDK_PIXBUF_REQUIRED
3497        $GMODULE_REQUIRED
3498        $GNOME_DESKTOP_REQUIRED
3499        $GNOME_VFS_REQUIRED
3500        $LIBBONOBO_REQUIRED
3501        $LIBGNOME_REQUIRED
3502        $LIBGNOMECANVAS_REQUIRED
3503        $LIBGNOMEUI_REQUIRED
3504        $LIBGLADE_REQUIRED
3505        $LIBXML_REQUIRED
3506        $GTK_REQUIRED
3507"`
3508            echo $BUG_BUDDY_PKG_ERRORS
3509        fi
3510
3511
3512
3513     else
3514        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
3515        echo "*** See http://www.freedesktop.org/software/pkgconfig"
3516     fi
3517  fi
3518
3519  if test $succeeded = yes; then
3520     :
3521  else
3522     { { echo "$as_me:$LINENO: error: Library requirements (
3523        $BONOBO_ACTIVATION_REQUIRED
3524        $GDK_PIXBUF_REQUIRED
3525        $GMODULE_REQUIRED
3526        $GNOME_DESKTOP_REQUIRED
3527        $GNOME_VFS_REQUIRED
3528        $LIBBONOBO_REQUIRED
3529        $LIBGNOME_REQUIRED
3530        $LIBGNOMECANVAS_REQUIRED
3531        $LIBGNOMEUI_REQUIRED
3532        $LIBGLADE_REQUIRED
3533        $LIBXML_REQUIRED
3534        $GTK_REQUIRED
3535) 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
3536echo "$as_me: error: Library requirements (
3537        $BONOBO_ACTIVATION_REQUIRED
3538        $GDK_PIXBUF_REQUIRED
3539        $GMODULE_REQUIRED
3540        $GNOME_DESKTOP_REQUIRED
3541        $GNOME_VFS_REQUIRED
3542        $LIBBONOBO_REQUIRED
3543        $LIBGNOME_REQUIRED
3544        $LIBGNOMECANVAS_REQUIRED
3545        $LIBGNOMEUI_REQUIRED
3546        $LIBGLADE_REQUIRED
3547        $LIBXML_REQUIRED
3548        $GTK_REQUIRED
3549) 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;}
3550   { (exit 1); exit 1; }; }
3551  fi
3552
3553
3554
3555
3556
3557
3558  succeeded=no
3559
3560  if test -z "$PKG_CONFIG"; then
3561    # Extract the first word of "pkg-config", so it can be a program name with args.
3562set dummy pkg-config; ac_word=$2
3563echo "$as_me:$LINENO: checking for $ac_word" >&5
3564echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3565if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3566  echo $ECHO_N "(cached) $ECHO_C" >&6
3567else
3568  case $PKG_CONFIG in
3569  [\\/]* | ?:[\\/]*)
3570  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3571  ;;
3572  *)
3573  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574for as_dir in $PATH
3575do
3576  IFS=$as_save_IFS
3577  test -z "$as_dir" && as_dir=.
3578  for ac_exec_ext in '' $ac_executable_extensions; do
3579  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3580    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3581    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3582    break 2
3583  fi
3584done
3585done
3586
3587  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
3588  ;;
3589esac
3590fi
3591PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3592
3593if test -n "$PKG_CONFIG"; then
3594  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3595echo "${ECHO_T}$PKG_CONFIG" >&6
3596else
3597  echo "$as_me:$LINENO: result: no" >&5
3598echo "${ECHO_T}no" >&6
3599fi
3600
3601  fi
3602
3603  if test "$PKG_CONFIG" = "no" ; then
3604     echo "*** The pkg-config script could not be found. Make sure it is"
3605     echo "*** in your path, or set the PKG_CONFIG environment variable"
3606     echo "*** to the full path to pkg-config."
3607     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3608  else
3609     PKG_CONFIG_MIN_VERSION=0.9.0
3610     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
3611        echo "$as_me:$LINENO: checking for $LIBGNOMEUI_REQUIRED" >&5
3612echo $ECHO_N "checking for $LIBGNOMEUI_REQUIRED... $ECHO_C" >&6
3613
3614        if $PKG_CONFIG --exists "$LIBGNOMEUI_REQUIRED" ; then
3615            echo "$as_me:$LINENO: result: yes" >&5
3616echo "${ECHO_T}yes" >&6
3617            succeeded=yes
3618
3619            echo "$as_me:$LINENO: checking GNOME_CRASH_CFLAGS" >&5
3620echo $ECHO_N "checking GNOME_CRASH_CFLAGS... $ECHO_C" >&6
3621            GNOME_CRASH_CFLAGS=`$PKG_CONFIG --cflags "$LIBGNOMEUI_REQUIRED"`
3622            echo "$as_me:$LINENO: result: $GNOME_CRASH_CFLAGS" >&5
3623echo "${ECHO_T}$GNOME_CRASH_CFLAGS" >&6
3624
3625            echo "$as_me:$LINENO: checking GNOME_CRASH_LIBS" >&5
3626echo $ECHO_N "checking GNOME_CRASH_LIBS... $ECHO_C" >&6
3627            GNOME_CRASH_LIBS=`$PKG_CONFIG --libs "$LIBGNOMEUI_REQUIRED"`
3628            echo "$as_me:$LINENO: result: $GNOME_CRASH_LIBS" >&5
3629echo "${ECHO_T}$GNOME_CRASH_LIBS" >&6
3630        else
3631            GNOME_CRASH_CFLAGS=""
3632            GNOME_CRASH_LIBS=""
3633            ## If we have a custom action on failure, don't print errors, but
3634            ## do set a variable so people can do so.
3635            GNOME_CRASH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$LIBGNOMEUI_REQUIRED"`
3636            echo $GNOME_CRASH_PKG_ERRORS
3637        fi
3638
3639
3640
3641     else
3642        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
3643        echo "*** See http://www.freedesktop.org/software/pkgconfig"
3644     fi
3645  fi
3646
3647  if test $succeeded = yes; then
3648     :
3649  else
3650     { { echo "$as_me:$LINENO: error: Library requirements ($LIBGNOMEUI_REQUIRED) 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
3651echo "$as_me: error: Library requirements ($LIBGNOMEUI_REQUIRED) 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;}
3652   { (exit 1); exit 1; }; }
3653  fi
3654
3655
3656
3657
3658GETTEXT_PACKAGE=bug-buddy
3659
3660cat >>confdefs.h <<_ACEOF
3661#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
3662_ACEOF
3663
3664
3665ALL_LINGUAS="am ar az be bg bn bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu id is it ja ko lt lv mk ml mn ms nb nl nn no or pa pl pt pt_BR ro ru sk sl sq sr sr@Latn sv ta th tr uk vi wa zh_CN zh_TW"
3666# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3677                  inttypes.h stdint.h unistd.h
3678do
3679as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3680echo "$as_me:$LINENO: checking for $ac_header" >&5
3681echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3682if eval "test \"\${$as_ac_Header+set}\" = set"; then
3683  echo $ECHO_N "(cached) $ECHO_C" >&6
3684else
3685  cat >conftest.$ac_ext <<_ACEOF
3686/* confdefs.h.  */
3687_ACEOF
3688cat confdefs.h >>conftest.$ac_ext
3689cat >>conftest.$ac_ext <<_ACEOF
3690/* end confdefs.h.  */
3691$ac_includes_default
3692
3693#include <$ac_header>
3694_ACEOF
3695rm -f conftest.$ac_objext
3696if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3697  (eval $ac_compile) 2>conftest.er1
3698  ac_status=$?
3699  grep -v '^ *+' conftest.er1 >conftest.err
3700  rm -f conftest.er1
3701  cat conftest.err >&5
3702  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703  (exit $ac_status); } &&
3704         { ac_try='test -z "$ac_c_werror_flag"
3705                         || test ! -s conftest.err'
3706  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3707  (eval $ac_try) 2>&5
3708  ac_status=$?
3709  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710  (exit $ac_status); }; } &&
3711         { ac_try='test -s conftest.$ac_objext'
3712  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3713  (eval $ac_try) 2>&5
3714  ac_status=$?
3715  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716  (exit $ac_status); }; }; then
3717  eval "$as_ac_Header=yes"
3718else
3719  echo "$as_me: failed program was:" >&5
3720sed 's/^/| /' conftest.$ac_ext >&5
3721
3722eval "$as_ac_Header=no"
3723fi
3724rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3725fi
3726echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3727echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3728if test `eval echo '${'$as_ac_Header'}'` = yes; then
3729  cat >>confdefs.h <<_ACEOF
3730#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3731_ACEOF
3732
3733fi
3734
3735done
3736
3737
3738
3739
3740for ac_header in locale.h
3741do
3742as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3743if eval "test \"\${$as_ac_Header+set}\" = set"; then
3744  echo "$as_me:$LINENO: checking for $ac_header" >&5
3745echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3746if eval "test \"\${$as_ac_Header+set}\" = set"; then
3747  echo $ECHO_N "(cached) $ECHO_C" >&6
3748fi
3749echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3750echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3751else
3752  # Is the header compilable?
3753echo "$as_me:$LINENO: checking $ac_header usability" >&5
3754echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3755cat >conftest.$ac_ext <<_ACEOF
3756/* confdefs.h.  */
3757_ACEOF
3758cat confdefs.h >>conftest.$ac_ext
3759cat >>conftest.$ac_ext <<_ACEOF
3760/* end confdefs.h.  */
3761$ac_includes_default
3762#include <$ac_header>
3763_ACEOF
3764rm -f conftest.$ac_objext
3765if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3766  (eval $ac_compile) 2>conftest.er1
3767  ac_status=$?
3768  grep -v '^ *+' conftest.er1 >conftest.err
3769  rm -f conftest.er1
3770  cat conftest.err >&5
3771  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772  (exit $ac_status); } &&
3773         { ac_try='test -z "$ac_c_werror_flag"
3774                         || test ! -s conftest.err'
3775  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3776  (eval $ac_try) 2>&5
3777  ac_status=$?
3778  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779  (exit $ac_status); }; } &&
3780         { ac_try='test -s conftest.$ac_objext'
3781  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3782  (eval $ac_try) 2>&5
3783  ac_status=$?
3784  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785  (exit $ac_status); }; }; then
3786  ac_header_compiler=yes
3787else
3788  echo "$as_me: failed program was:" >&5
3789sed 's/^/| /' conftest.$ac_ext >&5
3790
3791ac_header_compiler=no
3792fi
3793rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3794echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3795echo "${ECHO_T}$ac_header_compiler" >&6
3796
3797# Is the header present?
3798echo "$as_me:$LINENO: checking $ac_header presence" >&5
3799echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3800cat >conftest.$ac_ext <<_ACEOF
3801/* confdefs.h.  */
3802_ACEOF
3803cat confdefs.h >>conftest.$ac_ext
3804cat >>conftest.$ac_ext <<_ACEOF
3805/* end confdefs.h.  */
3806#include <$ac_header>
3807_ACEOF
3808if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3809  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3810  ac_status=$?
3811  grep -v '^ *+' conftest.er1 >conftest.err
3812  rm -f conftest.er1
3813  cat conftest.err >&5
3814  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815  (exit $ac_status); } >/dev/null; then
3816  if test -s conftest.err; then
3817    ac_cpp_err=$ac_c_preproc_warn_flag
3818    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3819  else
3820    ac_cpp_err=
3821  fi
3822else
3823  ac_cpp_err=yes
3824fi
3825if test -z "$ac_cpp_err"; then
3826  ac_header_preproc=yes
3827else
3828  echo "$as_me: failed program was:" >&5
3829sed 's/^/| /' conftest.$ac_ext >&5
3830
3831  ac_header_preproc=no
3832fi
3833rm -f conftest.err conftest.$ac_ext
3834echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3835echo "${ECHO_T}$ac_header_preproc" >&6
3836
3837# So?  What about this header?
3838case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3839  yes:no: )
3840    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3841echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3842    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3843echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3844    ac_header_preproc=yes
3845    ;;
3846  no:yes:* )
3847    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3848echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3849    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
3850echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
3851    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3852echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3853    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
3854echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
3855    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3856echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3857    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3858echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3859    (
3860      cat <<\_ASBOX
3861## ------------------------------------------ ##
3862## Report this to the AC_PACKAGE_NAME lists.  ##
3863## ------------------------------------------ ##
3864_ASBOX
3865    ) |
3866      sed "s/^/$as_me: WARNING:     /" >&2
3867    ;;
3868esac
3869echo "$as_me:$LINENO: checking for $ac_header" >&5
3870echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3871if eval "test \"\${$as_ac_Header+set}\" = set"; then
3872  echo $ECHO_N "(cached) $ECHO_C" >&6
3873else
3874  eval "$as_ac_Header=\$ac_header_preproc"
3875fi
3876echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3877echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3878
3879fi
3880if test `eval echo '${'$as_ac_Header'}'` = yes; then
3881  cat >>confdefs.h <<_ACEOF
3882#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3883_ACEOF
3884
3885fi
3886
3887done
3888
3889    if test $ac_cv_header_locale_h = yes; then
3890    echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
3891echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
3892if test "${am_cv_val_LC_MESSAGES+set}" = set; then
3893  echo $ECHO_N "(cached) $ECHO_C" >&6
3894else
3895  cat >conftest.$ac_ext <<_ACEOF
3896/* confdefs.h.  */
3897_ACEOF
3898cat confdefs.h >>conftest.$ac_ext
3899cat >>conftest.$ac_ext <<_ACEOF
3900/* end confdefs.h.  */
3901#include <locale.h>
3902int
3903main ()
3904{
3905return LC_MESSAGES
3906  ;
3907  return 0;
3908}
3909_ACEOF
3910rm -f conftest.$ac_objext conftest$ac_exeext
3911if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3912  (eval $ac_link) 2>conftest.er1
3913  ac_status=$?
3914  grep -v '^ *+' conftest.er1 >conftest.err
3915  rm -f conftest.er1
3916  cat conftest.err >&5
3917  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918  (exit $ac_status); } &&
3919         { ac_try='test -z "$ac_c_werror_flag"
3920                         || test ! -s conftest.err'
3921  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922  (eval $ac_try) 2>&5
3923  ac_status=$?
3924  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925  (exit $ac_status); }; } &&
3926         { ac_try='test -s conftest$ac_exeext'
3927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3928  (eval $ac_try) 2>&5
3929  ac_status=$?
3930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931  (exit $ac_status); }; }; then
3932  am_cv_val_LC_MESSAGES=yes
3933else
3934  echo "$as_me: failed program was:" >&5
3935sed 's/^/| /' conftest.$ac_ext >&5
3936
3937am_cv_val_LC_MESSAGES=no
3938fi
3939rm -f conftest.err conftest.$ac_objext \
3940      conftest$ac_exeext conftest.$ac_ext
3941fi
3942echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
3943echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
3944    if test $am_cv_val_LC_MESSAGES = yes; then
3945
3946cat >>confdefs.h <<\_ACEOF
3947#define HAVE_LC_MESSAGES 1
3948_ACEOF
3949
3950    fi
3951  fi
3952     USE_NLS=yes
3953
3954
3955    gt_cv_have_gettext=no
3956
3957    CATOBJEXT=NONE
3958    XGETTEXT=:
3959    INTLLIBS=
3960
3961    if test "${ac_cv_header_libintl_h+set}" = set; then
3962  echo "$as_me:$LINENO: checking for libintl.h" >&5
3963echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
3964if test "${ac_cv_header_libintl_h+set}" = set; then
3965  echo $ECHO_N "(cached) $ECHO_C" >&6
3966fi
3967echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
3968echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
3969else
3970  # Is the header compilable?
3971echo "$as_me:$LINENO: checking libintl.h usability" >&5
3972echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
3973cat >conftest.$ac_ext <<_ACEOF
3974/* confdefs.h.  */
3975_ACEOF
3976cat confdefs.h >>conftest.$ac_ext
3977cat >>conftest.$ac_ext <<_ACEOF
3978/* end confdefs.h.  */
3979$ac_includes_default
3980#include <libintl.h>
3981_ACEOF
3982rm -f conftest.$ac_objext
3983if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3984  (eval $ac_compile) 2>conftest.er1
3985  ac_status=$?
3986  grep -v '^ *+' conftest.er1 >conftest.err
3987  rm -f conftest.er1
3988  cat conftest.err >&5
3989  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990  (exit $ac_status); } &&
3991         { ac_try='test -z "$ac_c_werror_flag"
3992                         || test ! -s conftest.err'
3993  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994  (eval $ac_try) 2>&5
3995  ac_status=$?
3996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997  (exit $ac_status); }; } &&
3998         { ac_try='test -s conftest.$ac_objext'
3999  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4000  (eval $ac_try) 2>&5
4001  ac_status=$?
4002  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003  (exit $ac_status); }; }; then
4004  ac_header_compiler=yes
4005else
4006  echo "$as_me: failed program was:" >&5
4007sed 's/^/| /' conftest.$ac_ext >&5
4008
4009ac_header_compiler=no
4010fi
4011rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4012echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4013echo "${ECHO_T}$ac_header_compiler" >&6
4014
4015# Is the header present?
4016echo "$as_me:$LINENO: checking libintl.h presence" >&5
4017echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
4018cat >conftest.$ac_ext <<_ACEOF
4019/* confdefs.h.  */
4020_ACEOF
4021cat confdefs.h >>conftest.$ac_ext
4022cat >>conftest.$ac_ext <<_ACEOF
4023/* end confdefs.h.  */
4024#include <libintl.h>
4025_ACEOF
4026if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4027  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4028  ac_status=$?
4029  grep -v '^ *+' conftest.er1 >conftest.err
4030  rm -f conftest.er1
4031  cat conftest.err >&5
4032  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033  (exit $ac_status); } >/dev/null; then
4034  if test -s conftest.err; then
4035    ac_cpp_err=$ac_c_preproc_warn_flag
4036    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4037  else
4038    ac_cpp_err=
4039  fi
4040else
4041  ac_cpp_err=yes
4042fi
4043if test -z "$ac_cpp_err"; then
4044  ac_header_preproc=yes
4045else
4046  echo "$as_me: failed program was:" >&5
4047sed 's/^/| /' conftest.$ac_ext >&5
4048
4049  ac_header_preproc=no
4050fi
4051rm -f conftest.err conftest.$ac_ext
4052echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4053echo "${ECHO_T}$ac_header_preproc" >&6
4054
4055# So?  What about this header?
4056case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4057  yes:no: )
4058    { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
4059echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4060    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
4061echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
4062    ac_header_preproc=yes
4063    ;;
4064  no:yes:* )
4065    { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
4066echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
4067    { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
4068echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
4069    { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
4070echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
4071    { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
4072echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
4073    { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
4074echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
4075    { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
4076echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
4077    (
4078      cat <<\_ASBOX
4079## ------------------------------------------ ##
4080## Report this to the AC_PACKAGE_NAME lists.  ##
4081## ------------------------------------------ ##
4082_ASBOX
4083    ) |
4084      sed "s/^/$as_me: WARNING:     /" >&2
4085    ;;
4086esac
4087echo "$as_me:$LINENO: checking for libintl.h" >&5
4088echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
4089if test "${ac_cv_header_libintl_h+set}" = set; then
4090  echo $ECHO_N "(cached) $ECHO_C" >&6
4091else
4092  ac_cv_header_libintl_h=$ac_header_preproc
4093fi
4094echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
4095echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
4096
4097fi
4098if test $ac_cv_header_libintl_h = yes; then
4099  gt_cv_func_dgettext_libintl="no"
4100      libintl_extra_libs=""
4101
4102      #
4103      # First check in libc
4104      #
4105      echo "$as_me:$LINENO: checking for dgettext in libc" >&5
4106echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6
4107if test "${gt_cv_func_dgettext_libc+set}" = set; then
4108  echo $ECHO_N "(cached) $ECHO_C" >&6
4109else
4110  cat >conftest.$ac_ext <<_ACEOF
4111/* confdefs.h.  */
4112_ACEOF
4113cat confdefs.h >>conftest.$ac_ext
4114cat >>conftest.$ac_ext <<_ACEOF
4115/* end confdefs.h.  */
4116
4117#include <libintl.h>
4118
4119int
4120main ()
4121{
4122return (int) dgettext ("","")
4123  ;
4124  return 0;
4125}
4126_ACEOF
4127rm -f conftest.$ac_objext conftest$ac_exeext
4128if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4129  (eval $ac_link) 2>conftest.er1
4130  ac_status=$?
4131  grep -v '^ *+' conftest.er1 >conftest.err
4132  rm -f conftest.er1
4133  cat conftest.err >&5
4134  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135  (exit $ac_status); } &&
4136         { ac_try='test -z "$ac_c_werror_flag"
4137                         || test ! -s conftest.err'
4138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4139  (eval $ac_try) 2>&5
4140  ac_status=$?
4141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142  (exit $ac_status); }; } &&
4143         { ac_try='test -s conftest$ac_exeext'
4144  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4145  (eval $ac_try) 2>&5
4146  ac_status=$?
4147  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148  (exit $ac_status); }; }; then
4149  gt_cv_func_dgettext_libc=yes
4150else
4151  echo "$as_me: failed program was:" >&5
4152sed 's/^/| /' conftest.$ac_ext >&5
4153
4154gt_cv_func_dgettext_libc=no
4155fi
4156rm -f conftest.err conftest.$ac_objext \
4157      conftest$ac_exeext conftest.$ac_ext
4158
4159fi
4160echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
4161echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6
4162
4163      if test "$gt_cv_func_dgettext_libc" = "yes" ; then
4164
4165for ac_func in bind_textdomain_codeset
4166do
4167as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4168echo "$as_me:$LINENO: checking for $ac_func" >&5
4169echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4170if eval "test \"\${$as_ac_var+set}\" = set"; then
4171  echo $ECHO_N "(cached) $ECHO_C" >&6
4172else
4173  cat >conftest.$ac_ext <<_ACEOF
4174/* confdefs.h.  */
4175_ACEOF
4176cat confdefs.h >>conftest.$ac_ext
4177cat >>conftest.$ac_ext <<_ACEOF
4178/* end confdefs.h.  */
4179/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4180   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4181#define $ac_func innocuous_$ac_func
4182
4183/* System header to define __stub macros and hopefully few prototypes,
4184    which can conflict with char $ac_func (); below.
4185    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4186    <limits.h> exists even on freestanding compilers.  */
4187
4188#ifdef __STDC__
4189# include <limits.h>
4190#else
4191# include <assert.h>
4192#endif
4193
4194#undef $ac_func
4195
4196/* Override any gcc2 internal prototype to avoid an error.  */
4197#ifdef __cplusplus
4198extern "C"
4199{
4200#endif
4201/* We use char because int might match the return type of a gcc2
4202   builtin and then its argument prototype would still apply.  */
4203char $ac_func ();
4204/* The GNU C library defines this for functions which it implements
4205    to always fail with ENOSYS.  Some functions are actually named
4206    something starting with __ and the normal name is an alias.  */
4207#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4208choke me
4209#else
4210char (*f) () = $ac_func;
4211#endif
4212#ifdef __cplusplus
4213}
4214#endif
4215
4216int
4217main ()
4218{
4219return f != $ac_func;
4220  ;
4221  return 0;
4222}
4223_ACEOF
4224rm -f conftest.$ac_objext conftest$ac_exeext
4225if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4226  (eval $ac_link) 2>conftest.er1
4227  ac_status=$?
4228  grep -v '^ *+' conftest.er1 >conftest.err
4229  rm -f conftest.er1
4230  cat conftest.err >&5
4231  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232  (exit $ac_status); } &&
4233         { ac_try='test -z "$ac_c_werror_flag"
4234                         || test ! -s conftest.err'
4235  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4236  (eval $ac_try) 2>&5
4237  ac_status=$?
4238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239  (exit $ac_status); }; } &&
4240         { ac_try='test -s conftest$ac_exeext'
4241  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242  (eval $ac_try) 2>&5
4243  ac_status=$?
4244  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245  (exit $ac_status); }; }; then
4246  eval "$as_ac_var=yes"
4247else
4248  echo "$as_me: failed program was:" >&5
4249sed 's/^/| /' conftest.$ac_ext >&5
4250
4251eval "$as_ac_var=no"
4252fi
4253rm -f conftest.err conftest.$ac_objext \
4254      conftest$ac_exeext conftest.$ac_ext
4255fi
4256echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4257echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4258if test `eval echo '${'$as_ac_var'}'` = yes; then
4259  cat >>confdefs.h <<_ACEOF
4260#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4261_ACEOF
4262
4263fi
4264done
4265
4266      fi
4267
4268      #
4269      # If we don't have everything we want, check in libintl
4270      #
4271      if test "$gt_cv_func_dgettext_libc" != "yes" \
4272         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
4273
4274        echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
4275echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
4276if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
4277  echo $ECHO_N "(cached) $ECHO_C" >&6
4278else
4279  ac_check_lib_save_LIBS=$LIBS
4280LIBS="-lintl  $LIBS"
4281cat >conftest.$ac_ext <<_ACEOF
4282/* confdefs.h.  */
4283_ACEOF
4284cat confdefs.h >>conftest.$ac_ext
4285cat >>conftest.$ac_ext <<_ACEOF
4286/* end confdefs.h.  */
4287
4288/* Override any gcc2 internal prototype to avoid an error.  */
4289#ifdef __cplusplus
4290extern "C"
4291#endif
4292/* We use char because int might match the return type of a gcc2
4293   builtin and then its argument prototype would still apply.  */
4294char bindtextdomain ();
4295int
4296main ()
4297{
4298bindtextdomain ();
4299  ;
4300  return 0;
4301}
4302_ACEOF
4303rm -f conftest.$ac_objext conftest$ac_exeext
4304if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4305  (eval $ac_link) 2>conftest.er1
4306  ac_status=$?
4307  grep -v '^ *+' conftest.er1 >conftest.err
4308  rm -f conftest.er1
4309  cat conftest.err >&5
4310  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311  (exit $ac_status); } &&
4312         { ac_try='test -z "$ac_c_werror_flag"
4313                         || test ! -s conftest.err'
4314  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4315  (eval $ac_try) 2>&5
4316  ac_status=$?
4317  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318  (exit $ac_status); }; } &&
4319         { ac_try='test -s conftest$ac_exeext'
4320  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4321  (eval $ac_try) 2>&5
4322  ac_status=$?
4323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324  (exit $ac_status); }; }; then
4325  ac_cv_lib_intl_bindtextdomain=yes
4326else
4327  echo "$as_me: failed program was:" >&5
4328sed 's/^/| /' conftest.$ac_ext >&5
4329
4330ac_cv_lib_intl_bindtextdomain=no
4331fi
4332rm -f conftest.err conftest.$ac_objext \
4333      conftest$ac_exeext conftest.$ac_ext
4334LIBS=$ac_check_lib_save_LIBS
4335fi
4336echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
4337echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
4338if test $ac_cv_lib_intl_bindtextdomain = yes; then
4339  echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
4340echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
4341if test "${ac_cv_lib_intl_dgettext+set}" = set; then
4342  echo $ECHO_N "(cached) $ECHO_C" >&6
4343else
4344  ac_check_lib_save_LIBS=$LIBS
4345LIBS="-lintl  $LIBS"
4346cat >conftest.$ac_ext <<_ACEOF
4347/* confdefs.h.  */
4348_ACEOF
4349cat confdefs.h >>conftest.$ac_ext
4350cat >>conftest.$ac_ext <<_ACEOF
4351/* end confdefs.h.  */
4352
4353/* Override any gcc2 internal prototype to avoid an error.  */
4354#ifdef __cplusplus
4355extern "C"
4356#endif
4357/* We use char because int might match the return type of a gcc2
4358   builtin and then its argument prototype would still apply.  */
4359char dgettext ();
4360int
4361main ()
4362{
4363dgettext ();
4364  ;
4365  return 0;
4366}
4367_ACEOF
4368rm -f conftest.$ac_objext conftest$ac_exeext
4369if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4370  (eval $ac_link) 2>conftest.er1
4371  ac_status=$?
4372  grep -v '^ *+' conftest.er1 >conftest.err
4373  rm -f conftest.er1
4374  cat conftest.err >&5
4375  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376  (exit $ac_status); } &&
4377         { ac_try='test -z "$ac_c_werror_flag"
4378                         || test ! -s conftest.err'
4379  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4380  (eval $ac_try) 2>&5
4381  ac_status=$?
4382  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383  (exit $ac_status); }; } &&
4384         { ac_try='test -s conftest$ac_exeext'
4385  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4386  (eval $ac_try) 2>&5
4387  ac_status=$?
4388  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389  (exit $ac_status); }; }; then
4390  ac_cv_lib_intl_dgettext=yes
4391else
4392  echo "$as_me: failed program was:" >&5
4393sed 's/^/| /' conftest.$ac_ext >&5
4394
4395ac_cv_lib_intl_dgettext=no
4396fi
4397rm -f conftest.err conftest.$ac_objext \
4398      conftest$ac_exeext conftest.$ac_ext
4399LIBS=$ac_check_lib_save_LIBS
4400fi
4401echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
4402echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
4403if test $ac_cv_lib_intl_dgettext = yes; then
4404  gt_cv_func_dgettext_libintl=yes
4405fi
4406
4407fi
4408
4409
4410        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
4411          echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
4412echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6
4413          echo "$as_me:$LINENO: result: " >&5
4414echo "${ECHO_T}" >&6
4415          echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
4416echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6
4417if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
4418  echo $ECHO_N "(cached) $ECHO_C" >&6
4419else
4420  ac_check_lib_save_LIBS=$LIBS
4421LIBS="-lintl -liconv $LIBS"
4422cat >conftest.$ac_ext <<_ACEOF
4423/* confdefs.h.  */
4424_ACEOF
4425cat confdefs.h >>conftest.$ac_ext
4426cat >>conftest.$ac_ext <<_ACEOF
4427/* end confdefs.h.  */
4428
4429/* Override any gcc2 internal prototype to avoid an error.  */
4430#ifdef __cplusplus
4431extern "C"
4432#endif
4433/* We use char because int might match the return type of a gcc2
4434   builtin and then its argument prototype would still apply.  */
4435char dcgettext ();
4436int
4437main ()
4438{
4439dcgettext ();
4440  ;
4441  return 0;
4442}
4443_ACEOF
4444rm -f conftest.$ac_objext conftest$ac_exeext
4445if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4446  (eval $ac_link) 2>conftest.er1
4447  ac_status=$?
4448  grep -v '^ *+' conftest.er1 >conftest.err
4449  rm -f conftest.er1
4450  cat conftest.err >&5
4451  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452  (exit $ac_status); } &&
4453         { ac_try='test -z "$ac_c_werror_flag"
4454                         || test ! -s conftest.err'
4455  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4456  (eval $ac_try) 2>&5
4457  ac_status=$?
4458  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459  (exit $ac_status); }; } &&
4460         { ac_try='test -s conftest$ac_exeext'
4461  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4462  (eval $ac_try) 2>&5
4463  ac_status=$?
4464  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465  (exit $ac_status); }; }; then
4466  ac_cv_lib_intl_dcgettext=yes
4467else
4468  echo "$as_me: failed program was:" >&5
4469sed 's/^/| /' conftest.$ac_ext >&5
4470
4471ac_cv_lib_intl_dcgettext=no
4472fi
4473rm -f conftest.err conftest.$ac_objext \
4474      conftest$ac_exeext conftest.$ac_ext
4475LIBS=$ac_check_lib_save_LIBS
4476fi
4477echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
4478echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6
4479if test $ac_cv_lib_intl_dcgettext = yes; then
4480  gt_cv_func_dgettext_libintl=yes
4481                        libintl_extra_libs=-liconv
4482else
4483  :
4484fi
4485
4486        fi
4487
4488        #
4489        # If we found libintl, then check in it for bind_textdomain_codeset();
4490        # we'll prefer libc if neither have bind_textdomain_codeset(),
4491        # and both have dgettext
4492        #
4493        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
4494          glib_save_LIBS="$LIBS"
4495          LIBS="$LIBS -lintl $libintl_extra_libs"
4496          unset ac_cv_func_bind_textdomain_codeset
4497
4498for ac_func in bind_textdomain_codeset
4499do
4500as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4501echo "$as_me:$LINENO: checking for $ac_func" >&5
4502echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4503if eval "test \"\${$as_ac_var+set}\" = set"; then
4504  echo $ECHO_N "(cached) $ECHO_C" >&6
4505else
4506  cat >conftest.$ac_ext <<_ACEOF
4507/* confdefs.h.  */
4508_ACEOF
4509cat confdefs.h >>conftest.$ac_ext
4510cat >>conftest.$ac_ext <<_ACEOF
4511/* end confdefs.h.  */
4512/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4513   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4514#define $ac_func innocuous_$ac_func
4515
4516/* System header to define __stub macros and hopefully few prototypes,
4517    which can conflict with char $ac_func (); below.
4518    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4519    <limits.h> exists even on freestanding compilers.  */
4520
4521#ifdef __STDC__
4522# include <limits.h>
4523#else
4524# include <assert.h>
4525#endif
4526
4527#undef $ac_func
4528
4529/* Override any gcc2 internal prototype to avoid an error.  */
4530#ifdef __cplusplus
4531extern "C"
4532{
4533#endif
4534/* We use char because int might match the return type of a gcc2
4535   builtin and then its argument prototype would still apply.  */
4536char $ac_func ();
4537/* The GNU C library defines this for functions which it implements
4538    to always fail with ENOSYS.  Some functions are actually named
4539    something starting with __ and the normal name is an alias.  */
4540#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4541choke me
4542#else
4543char (*f) () = $ac_func;
4544#endif
4545#ifdef __cplusplus
4546}
4547#endif
4548
4549int
4550main ()
4551{
4552return f != $ac_func;
4553  ;
4554  return 0;
4555}
4556_ACEOF
4557rm -f conftest.$ac_objext conftest$ac_exeext
4558if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4559  (eval $ac_link) 2>conftest.er1
4560  ac_status=$?
4561  grep -v '^ *+' conftest.er1 >conftest.err
4562  rm -f conftest.er1
4563  cat conftest.err >&5
4564  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565  (exit $ac_status); } &&
4566         { ac_try='test -z "$ac_c_werror_flag"
4567                         || test ! -s conftest.err'
4568  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4569  (eval $ac_try) 2>&5
4570  ac_status=$?
4571  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572  (exit $ac_status); }; } &&
4573         { ac_try='test -s conftest$ac_exeext'
4574  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4575  (eval $ac_try) 2>&5
4576  ac_status=$?
4577  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578  (exit $ac_status); }; }; then
4579  eval "$as_ac_var=yes"
4580else
4581  echo "$as_me: failed program was:" >&5
4582sed 's/^/| /' conftest.$ac_ext >&5
4583
4584eval "$as_ac_var=no"
4585fi
4586rm -f conftest.err conftest.$ac_objext \
4587      conftest$ac_exeext conftest.$ac_ext
4588fi
4589echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4590echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4591if test `eval echo '${'$as_ac_var'}'` = yes; then
4592  cat >>confdefs.h <<_ACEOF
4593#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4594_ACEOF
4595
4596fi
4597done
4598
4599          LIBS="$glib_save_LIBS"
4600
4601          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
4602            gt_cv_func_dgettext_libc=no
4603          else
4604            if test "$gt_cv_func_dgettext_libc" = "yes"; then
4605              gt_cv_func_dgettext_libintl=no
4606            fi
4607          fi
4608        fi
4609      fi
4610
4611      if test "$gt_cv_func_dgettext_libc" = "yes" \
4612        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
4613        gt_cv_have_gettext=yes
4614      fi
4615
4616      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
4617        INTLLIBS="-lintl $libintl_extra_libs"
4618      fi
4619
4620      if test "$gt_cv_have_gettext" = "yes"; then
4621
4622cat >>confdefs.h <<\_ACEOF
4623#define HAVE_GETTEXT 1
4624_ACEOF
4625
4626        # Extract the first word of "msgfmt", so it can be a program name with args.
4627set dummy msgfmt; ac_word=$2
4628echo "$as_me:$LINENO: checking for $ac_word" >&5
4629echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4630if test "${ac_cv_path_MSGFMT+set}" = set; then
4631  echo $ECHO_N "(cached) $ECHO_C" >&6
4632else
4633  case "$MSGFMT" in
4634  /*)
4635  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4636  ;;
4637  *)
4638  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4639  for ac_dir in $PATH; do
4640    test -z "$ac_dir" && ac_dir=.
4641    if test -f $ac_dir/$ac_word; then
4642      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
4643        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
4644        break
4645      fi
4646    fi
4647  done
4648  IFS="$ac_save_ifs"
4649  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
4650  ;;
4651esac
4652fi
4653MSGFMT="$ac_cv_path_MSGFMT"
4654if test "$MSGFMT" != "no"; then
4655  echo "$as_me:$LINENO: result: $MSGFMT" >&5
4656echo "${ECHO_T}$MSGFMT" >&6
4657else
4658  echo "$as_me:$LINENO: result: no" >&5
4659echo "${ECHO_T}no" >&6
4660fi
4661        if test "$MSGFMT" != "no"; then
4662          glib_save_LIBS="$LIBS"
4663          LIBS="$LIBS $INTLLIBS"
4664
4665for ac_func in dcgettext
4666do
4667as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4668echo "$as_me:$LINENO: checking for $ac_func" >&5
4669echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4670if eval "test \"\${$as_ac_var+set}\" = set"; then
4671  echo $ECHO_N "(cached) $ECHO_C" >&6
4672else
4673  cat >conftest.$ac_ext <<_ACEOF
4674/* confdefs.h.  */
4675_ACEOF
4676cat confdefs.h >>conftest.$ac_ext
4677cat >>conftest.$ac_ext <<_ACEOF
4678/* end confdefs.h.  */
4679/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4680   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4681#define $ac_func innocuous_$ac_func
4682
4683/* System header to define __stub macros and hopefully few prototypes,
4684    which can conflict with char $ac_func (); below.
4685    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4686    <limits.h> exists even on freestanding compilers.  */
4687
4688#ifdef __STDC__
4689# include <limits.h>
4690#else
4691# include <assert.h>
4692#endif
4693
4694#undef $ac_func
4695
4696/* Override any gcc2 internal prototype to avoid an error.  */
4697#ifdef __cplusplus
4698extern "C"
4699{
4700#endif
4701/* We use char because int might match the return type of a gcc2
4702   builtin and then its argument prototype would still apply.  */
4703char $ac_func ();
4704/* The GNU C library defines this for functions which it implements
4705    to always fail with ENOSYS.  Some functions are actually named
4706    something starting with __ and the normal name is an alias.  */
4707#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4708choke me
4709#else
4710char (*f) () = $ac_func;
4711#endif
4712#ifdef __cplusplus
4713}
4714#endif
4715
4716int
4717main ()
4718{
4719return f != $ac_func;
4720  ;
4721  return 0;
4722}
4723_ACEOF
4724rm -f conftest.$ac_objext conftest$ac_exeext
4725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4726  (eval $ac_link) 2>conftest.er1
4727  ac_status=$?
4728  grep -v '^ *+' conftest.er1 >conftest.err
4729  rm -f conftest.er1
4730  cat conftest.err >&5
4731  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732  (exit $ac_status); } &&
4733         { ac_try='test -z "$ac_c_werror_flag"
4734                         || test ! -s conftest.err'
4735  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736  (eval $ac_try) 2>&5
4737  ac_status=$?
4738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739  (exit $ac_status); }; } &&
4740         { ac_try='test -s conftest$ac_exeext'
4741  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742  (eval $ac_try) 2>&5
4743  ac_status=$?
4744  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745  (exit $ac_status); }; }; then
4746  eval "$as_ac_var=yes"
4747else
4748  echo "$as_me: failed program was:" >&5
4749sed 's/^/| /' conftest.$ac_ext >&5
4750
4751eval "$as_ac_var=no"
4752fi
4753rm -f conftest.err conftest.$ac_objext \
4754      conftest$ac_exeext conftest.$ac_ext
4755fi
4756echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4757echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4758if test `eval echo '${'$as_ac_var'}'` = yes; then
4759  cat >>confdefs.h <<_ACEOF
4760#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4761_ACEOF
4762
4763fi
4764done
4765
4766          # Extract the first word of "gmsgfmt", so it can be a program name with args.
4767set dummy gmsgfmt; ac_word=$2
4768echo "$as_me:$LINENO: checking for $ac_word" >&5
4769echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4770if test "${ac_cv_path_GMSGFMT+set}" = set; then
4771  echo $ECHO_N "(cached) $ECHO_C" >&6
4772else
4773  case $GMSGFMT in
4774  [\\/]* | ?:[\\/]*)
4775  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4776  ;;
4777  *)
4778  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779for as_dir in $PATH
4780do
4781  IFS=$as_save_IFS
4782  test -z "$as_dir" && as_dir=.
4783  for ac_exec_ext in '' $ac_executable_extensions; do
4784  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4785    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4786    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4787    break 2
4788  fi
4789done
4790done
4791
4792  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4793  ;;
4794esac
4795fi
4796GMSGFMT=$ac_cv_path_GMSGFMT
4797
4798if test -n "$GMSGFMT"; then
4799  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
4800echo "${ECHO_T}$GMSGFMT" >&6
4801else
4802  echo "$as_me:$LINENO: result: no" >&5
4803echo "${ECHO_T}no" >&6
4804fi
4805
4806          # Extract the first word of "xgettext", so it can be a program name with args.
4807set dummy xgettext; ac_word=$2
4808echo "$as_me:$LINENO: checking for $ac_word" >&5
4809echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4810if test "${ac_cv_path_XGETTEXT+set}" = set; then
4811  echo $ECHO_N "(cached) $ECHO_C" >&6
4812else
4813  case "$XGETTEXT" in
4814  /*)
4815  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4816  ;;
4817  *)
4818  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
4819  for ac_dir in $PATH; do
4820    test -z "$ac_dir" && ac_dir=.
4821    if test -f $ac_dir/$ac_word; then
4822      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
4823        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
4824        break
4825      fi
4826    fi
4827  done
4828  IFS="$ac_save_ifs"
4829  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4830  ;;
4831esac
4832fi
4833XGETTEXT="$ac_cv_path_XGETTEXT"
4834if test "$XGETTEXT" != ":"; then
4835  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
4836echo "${ECHO_T}$XGETTEXT" >&6
4837else
4838  echo "$as_me:$LINENO: result: no" >&5
4839echo "${ECHO_T}no" >&6
4840fi
4841
4842          cat >conftest.$ac_ext <<_ACEOF
4843/* confdefs.h.  */
4844_ACEOF
4845cat confdefs.h >>conftest.$ac_ext
4846cat >>conftest.$ac_ext <<_ACEOF
4847/* end confdefs.h.  */
4848
4849int
4850main ()
4851{
4852extern int _nl_msg_cat_cntr;
4853                         return _nl_msg_cat_cntr
4854  ;
4855  return 0;
4856}
4857_ACEOF
4858rm -f conftest.$ac_objext conftest$ac_exeext
4859if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4860  (eval $ac_link) 2>conftest.er1
4861  ac_status=$?
4862  grep -v '^ *+' conftest.er1 >conftest.err
4863  rm -f conftest.er1
4864  cat conftest.err >&5
4865  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866  (exit $ac_status); } &&
4867         { ac_try='test -z "$ac_c_werror_flag"
4868                         || test ! -s conftest.err'
4869  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4870  (eval $ac_try) 2>&5
4871  ac_status=$?
4872  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873  (exit $ac_status); }; } &&
4874         { ac_try='test -s conftest$ac_exeext'
4875  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4876  (eval $ac_try) 2>&5
4877  ac_status=$?
4878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879  (exit $ac_status); }; }; then
4880  CATOBJEXT=.gmo
4881             DATADIRNAME=share
4882else
4883  echo "$as_me: failed program was:" >&5
4884sed 's/^/| /' conftest.$ac_ext >&5
4885
4886case $host in
4887            *-*-solaris*)
4888                                                                echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4889echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6
4890if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4891  echo $ECHO_N "(cached) $ECHO_C" >&6
4892else
4893  cat >conftest.$ac_ext <<_ACEOF
4894/* confdefs.h.  */
4895_ACEOF
4896cat confdefs.h >>conftest.$ac_ext
4897cat >>conftest.$ac_ext <<_ACEOF
4898/* end confdefs.h.  */
4899/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4900   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4901#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4902
4903/* System header to define __stub macros and hopefully few prototypes,
4904    which can conflict with char bind_textdomain_codeset (); below.
4905    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4906    <limits.h> exists even on freestanding compilers.  */
4907
4908#ifdef __STDC__
4909# include <limits.h>
4910#else
4911# include <assert.h>
4912#endif
4913
4914#undef bind_textdomain_codeset
4915
4916/* Override any gcc2 internal prototype to avoid an error.  */
4917#ifdef __cplusplus
4918extern "C"
4919{
4920#endif
4921/* We use char because int might match the return type of a gcc2
4922   builtin and then its argument prototype would still apply.  */
4923char bind_textdomain_codeset ();
4924/* The GNU C library defines this for functions which it implements
4925    to always fail with ENOSYS.  Some functions are actually named
4926    something starting with __ and the normal name is an alias.  */
4927#if defined (__stub_bind_textdomain_codeset) || defined (__stub___bind_textdomain_codeset)
4928choke me
4929#else
4930char (*f) () = bind_textdomain_codeset;
4931#endif
4932#ifdef __cplusplus
4933}
4934#endif
4935
4936int
4937main ()
4938{
4939return f != bind_textdomain_codeset;
4940  ;
4941  return 0;
4942}
4943_ACEOF
4944rm -f conftest.$ac_objext conftest$ac_exeext
4945if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4946  (eval $ac_link) 2>conftest.er1
4947  ac_status=$?
4948  grep -v '^ *+' conftest.er1 >conftest.err
4949  rm -f conftest.er1
4950  cat conftest.err >&5
4951  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952  (exit $ac_status); } &&
4953         { ac_try='test -z "$ac_c_werror_flag"
4954                         || test ! -s conftest.err'
4955  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4956  (eval $ac_try) 2>&5
4957  ac_status=$?
4958  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959  (exit $ac_status); }; } &&
4960         { ac_try='test -s conftest$ac_exeext'
4961  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4962  (eval $ac_try) 2>&5
4963  ac_status=$?
4964  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965  (exit $ac_status); }; }; then
4966  ac_cv_func_bind_textdomain_codeset=yes
4967else
4968  echo "$as_me: failed program was:" >&5
4969sed 's/^/| /' conftest.$ac_ext >&5
4970
4971ac_cv_func_bind_textdomain_codeset=no
4972fi
4973rm -f conftest.err conftest.$ac_objext \
4974      conftest$ac_exeext conftest.$ac_ext
4975fi
4976echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4977echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
4978if test $ac_cv_func_bind_textdomain_codeset = yes; then
4979  CATOBJEXT=.gmo
4980               DATADIRNAME=share
4981else
4982  CATOBJEXT=.mo
4983               DATADIRNAME=lib
4984fi
4985
4986            ;;
4987            *)
4988            CATOBJEXT=.mo
4989            DATADIRNAME=lib
4990            ;;
4991            esac
4992fi
4993rm -f conftest.err conftest.$ac_objext \
4994      conftest$ac_exeext conftest.$ac_ext
4995          LIBS="$glib_save_LIBS"
4996          INSTOBJEXT=.mo
4997        else
4998          gt_cv_have_gettext=no
4999        fi
5000      fi
5001
5002fi
5003
5004
5005
5006    if test "$gt_cv_have_gettext" = "yes" ; then
5007
5008cat >>confdefs.h <<\_ACEOF
5009#define ENABLE_NLS 1
5010_ACEOF
5011
5012    fi
5013
5014        if test "$XGETTEXT" != ":"; then
5015                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5016        : ;
5017      else
5018        echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
5019echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
5020        XGETTEXT=":"
5021      fi
5022    fi
5023
5024    # We need to process the po/ directory.
5025    POSUB=po
5026
5027              ac_config_commands="$ac_config_commands default-3"
5028
5029
5030                for lang in $ALL_LINGUAS; do
5031      GMOFILES="$GMOFILES $lang.gmo"
5032      POFILES="$POFILES $lang.po"
5033    done
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047   if test "$gt_cv_have_gettext" = "yes"; then
5048     if test "x$ALL_LINGUAS" = "x"; then
5049       LINGUAS=
5050     else
5051       echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5052echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5053       NEW_LINGUAS=
5054       for presentlang in $ALL_LINGUAS; do
5055         useit=no
5056         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5057           desiredlanguages="$LINGUAS"
5058         else
5059           desiredlanguages="$ALL_LINGUAS"
5060         fi
5061         for desiredlang in $desiredlanguages; do
5062           # Use the presentlang catalog if desiredlang is
5063           #   a. equal to presentlang, or
5064           #   b. a variant of presentlang (because in this case,
5065           #      presentlang can be used as a fallback for messages
5066           #      which are not translated in the desiredlang catalog).
5067           case "$desiredlang" in
5068             "$presentlang"*) useit=yes;;
5069           esac
5070         done
5071         if test $useit = yes; then
5072           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5073         fi
5074       done
5075       LINGUAS=$NEW_LINGUAS
5076       echo "$as_me:$LINENO: result: $LINGUAS" >&5
5077echo "${ECHO_T}$LINGUAS" >&6
5078     fi
5079
5080          if test -n "$LINGUAS"; then
5081       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5082     fi
5083   fi
5084
5085            MKINSTALLDIRS=
5086   if test -n "$ac_aux_dir"; then
5087     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5088   fi
5089   if test -z "$MKINSTALLDIRS"; then
5090     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5091   fi
5092
5093
5094         test -d po || mkdir po
5095   if test "x$srcdir" != "x."; then
5096     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5097       posrcprefix="$srcdir/"
5098     else
5099       posrcprefix="../$srcdir/"
5100     fi
5101   else
5102     posrcprefix="../"
5103   fi
5104   rm -f po/POTFILES
5105   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5106        < $srcdir/po/POTFILES.in > po/POTFILES
5107
5108
5109# Extract the first word of "glib-genmarshal", so it can be a program name with args.
5110set dummy glib-genmarshal; ac_word=$2
5111echo "$as_me:$LINENO: checking for $ac_word" >&5
5112echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5113if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then
5114  echo $ECHO_N "(cached) $ECHO_C" >&6
5115else
5116  case $GLIB_GENMARSHAL in
5117  [\\/]* | ?:[\\/]*)
5118  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
5119  ;;
5120  *)
5121  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122for as_dir in $PATH
5123do
5124  IFS=$as_save_IFS
5125  test -z "$as_dir" && as_dir=.
5126  for ac_exec_ext in '' $ac_executable_extensions; do
5127  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5128    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
5129    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5130    break 2
5131  fi
5132done
5133done
5134
5135  ;;
5136esac
5137fi
5138GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
5139
5140if test -n "$GLIB_GENMARSHAL"; then
5141  echo "$as_me:$LINENO: result: $GLIB_GENMARSHAL" >&5
5142echo "${ECHO_T}$GLIB_GENMARSHAL" >&6
5143else
5144  echo "$as_me:$LINENO: result: no" >&5
5145echo "${ECHO_T}no" >&6
5146fi
5147
5148
5149
5150# Check whether --enable-deprecations or --disable-deprecations was given.
5151if test "${enable_deprecations+set}" = set; then
5152  enableval="$enable_deprecations"
5153
5154fi;
5155
5156
5157
5158if test "x$enable_deprecations" = xyes; then
5159  ENABLE_DEPRECATIONS_TRUE=
5160  ENABLE_DEPRECATIONS_FALSE='#'
5161else
5162  ENABLE_DEPRECATIONS_TRUE='#'
5163  ENABLE_DEPRECATIONS_FALSE=
5164fi
5165
5166
5167                                                                                                                                  ac_config_files="$ac_config_files bug-buddy.spec bug-buddy.schemas Makefile bugzilla/Makefile bugzilla/gnome/Makefile bugzilla/ximian/Makefile docs/Makefile docs/C/Makefile pixmaps/Makefile po/Makefile.in src/Makefile src/bug-buddy.desktop.in src/bug-buddy-core.desktop.in"
5168cat >confcache <<\_ACEOF
5169# This file is a shell script that caches the results of configure
5170# tests run on this system so they can be shared between configure
5171# scripts and configure runs, see configure's option --config-cache.
5172# It is not useful on other systems.  If it contains results you don't
5173# want to keep, you may remove or edit it.
5174#
5175# config.status only pays attention to the cache file if you give it
5176# the --recheck option to rerun configure.
5177#
5178# `ac_cv_env_foo' variables (set or unset) will be overridden when
5179# loading this file, other *unset* `ac_cv_foo' will be assigned the
5180# following values.
5181
5182_ACEOF
5183
5184# The following way of writing the cache mishandles newlines in values,
5185# but we know of no workaround that is simple, portable, and efficient.
5186# So, don't put newlines in cache variables' values.
5187# Ultrix sh set writes to stderr and can't be redirected directly,
5188# and sets the high bit in the cache file unless we assign to the vars.
5189{
5190  (set) 2>&1 |
5191    case `(ac_space=' '; set | grep ac_space) 2>&1` in
5192    *ac_space=\ *)
5193      # `set' does not quote correctly, so add quotes (double-quote
5194      # substitution turns \\\\ into \\, and sed turns \\ into \).
5195      sed -n \
5196        "s/'/'\\\\''/g;
5197          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5198      ;;
5199    *)
5200      # `set' quotes correctly as required by POSIX, so do not add quotes.
5201      sed -n \
5202        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5203      ;;
5204    esac;
5205} |
5206  sed '
5207     t clear
5208     : clear
5209     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5210     t end
5211     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5212     : end' >>confcache
5213if diff $cache_file confcache >/dev/null 2>&1; then :; else
5214  if test -w $cache_file; then
5215    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5216    cat confcache >$cache_file
5217  else
5218    echo "not updating unwritable cache $cache_file"
5219  fi
5220fi
5221rm -f confcache
5222
5223test "x$prefix" = xNONE && prefix=$ac_default_prefix
5224# Let make expand exec_prefix.
5225test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5226
5227# VPATH may cause trouble with some makes, so we remove $(srcdir),
5228# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5229# trailing colons and then remove the whole line if VPATH becomes empty
5230# (actually we leave an empty line to preserve line numbers).
5231if test "x$srcdir" = x.; then
5232  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5233s/:*\$(srcdir):*/:/;
5234s/:*\${srcdir}:*/:/;
5235s/:*@srcdir@:*/:/;
5236s/^\([^=]*=[     ]*\):*/\1/;
5237s/:*$//;
5238s/^[^=]*=[       ]*$//;
5239}'
5240fi
5241
5242DEFS=-DHAVE_CONFIG_H
5243
5244ac_libobjs=
5245ac_ltlibobjs=
5246for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5247  # 1. Remove the extension, and $U if already installed.
5248  ac_i=`echo "$ac_i" |
5249         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5250  # 2. Add them.
5251  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5252  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5253done
5254LIBOBJS=$ac_libobjs
5255
5256LTLIBOBJS=$ac_ltlibobjs
5257
5258
5259
5260
5261        mv -f po/POTFILES po/POTFILES.tmp
5262        sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES
5263        rm -f po/POTFILES.tmp
5264
5265
5266
5267: ${CONFIG_STATUS=./config.status}
5268ac_clean_files_save=$ac_clean_files
5269ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5270{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5271echo "$as_me: creating $CONFIG_STATUS" >&6;}
5272cat >$CONFIG_STATUS <<_ACEOF
5273#! $SHELL
5274# Generated by $as_me.
5275# Run this file to recreate the current configuration.
5276# Compiler output produced by configure, useful for debugging
5277# configure, is in config.log if it exists.
5278
5279debug=false
5280ac_cs_recheck=false
5281ac_cs_silent=false
5282SHELL=\${CONFIG_SHELL-$SHELL}
5283_ACEOF
5284
5285cat >>$CONFIG_STATUS <<\_ACEOF
5286## --------------------- ##
5287## M4sh Initialization.  ##
5288## --------------------- ##
5289
5290# Be Bourne compatible
5291if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5292  emulate sh
5293  NULLCMD=:
5294  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5295  # is contrary to our usage.  Disable this feature.
5296  alias -g '${1+"$@"}'='"$@"'
5297elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5298  set -o posix
5299fi
5300DUALCASE=1; export DUALCASE # for MKS sh
5301
5302# Support unset when possible.
5303if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5304  as_unset=unset
5305else
5306  as_unset=false
5307fi
5308
5309
5310# Work around bugs in pre-3.0 UWIN ksh.
5311$as_unset ENV MAIL MAILPATH
5312PS1='$ '
5313PS2='> '
5314PS4='+ '
5315
5316# NLS nuisances.
5317for as_var in \
5318  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5319  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5320  LC_TELEPHONE LC_TIME
5321do
5322  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5323    eval $as_var=C; export $as_var
5324  else
5325    $as_unset $as_var
5326  fi
5327done
5328
5329# Required to use basename.
5330if expr a : '\(a\)' >/dev/null 2>&1; then
5331  as_expr=expr
5332else
5333  as_expr=false
5334fi
5335
5336if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5337  as_basename=basename
5338else
5339  as_basename=false
5340fi
5341
5342
5343# Name of the executable.
5344as_me=`$as_basename "$0" ||
5345$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5346         X"$0" : 'X\(//\)$' \| \
5347         X"$0" : 'X\(/\)$' \| \
5348         .     : '\(.\)' 2>/dev/null ||
5349echo X/"$0" |
5350    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5351          /^X\/\(\/\/\)$/{ s//\1/; q; }
5352          /^X\/\(\/\).*/{ s//\1/; q; }
5353          s/.*/./; q'`
5354
5355
5356# PATH needs CR, and LINENO needs CR and PATH.
5357# Avoid depending upon Character Ranges.
5358as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5359as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5360as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5361as_cr_digits='0123456789'
5362as_cr_alnum=$as_cr_Letters$as_cr_digits
5363
5364# The user is always right.
5365if test "${PATH_SEPARATOR+set}" != set; then
5366  echo "#! /bin/sh" >conf$$.sh
5367  echo  "exit 0"   >>conf$$.sh
5368  chmod +x conf$$.sh
5369  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5370    PATH_SEPARATOR=';'
5371  else
5372    PATH_SEPARATOR=:
5373  fi
5374  rm -f conf$$.sh
5375fi
5376
5377
5378  as_lineno_1=$LINENO
5379  as_lineno_2=$LINENO
5380  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5381  test "x$as_lineno_1" != "x$as_lineno_2" &&
5382  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5383  # Find who we are.  Look in the path if we contain no path at all
5384  # relative or not.
5385  case $0 in
5386    *[\\/]* ) as_myself=$0 ;;
5387    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388for as_dir in $PATH
5389do
5390  IFS=$as_save_IFS
5391  test -z "$as_dir" && as_dir=.
5392  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5393done
5394
5395       ;;
5396  esac
5397  # We did not find ourselves, most probably we were run as `sh COMMAND'
5398  # in which case we are not to be found in the path.
5399  if test "x$as_myself" = x; then
5400    as_myself=$0
5401  fi
5402  if test ! -f "$as_myself"; then
5403    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5404echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5405   { (exit 1); exit 1; }; }
5406  fi
5407  case $CONFIG_SHELL in
5408  '')
5409    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5411do
5412  IFS=$as_save_IFS
5413  test -z "$as_dir" && as_dir=.
5414  for as_base in sh bash ksh sh5; do
5415         case $as_dir in
5416         /*)
5417           if ("$as_dir/$as_base" -c '
5418  as_lineno_1=$LINENO
5419  as_lineno_2=$LINENO
5420  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5421  test "x$as_lineno_1" != "x$as_lineno_2" &&
5422  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5423             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5424             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5425             CONFIG_SHELL=$as_dir/$as_base
5426             export CONFIG_SHELL
5427             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5428           fi;;
5429         esac
5430       done
5431done
5432;;
5433  esac
5434
5435  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5436  # uniformly replaced by the line number.  The first 'sed' inserts a
5437  # line-number line before each line; the second 'sed' does the real
5438  # work.  The second script uses 'N' to pair each line-number line
5439  # with the numbered line, and appends trailing '-' during
5440  # substitution so that $LINENO is not a special case at line end.
5441  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5442  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5443  sed '=' <$as_myself |
5444    sed '
5445      N
5446      s,$,-,
5447      : loop
5448      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5449      t loop
5450      s,-$,,
5451      s,^['$as_cr_digits']*\n,,
5452    ' >$as_me.lineno &&
5453  chmod +x $as_me.lineno ||
5454    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5455echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5456   { (exit 1); exit 1; }; }
5457
5458  # Don't try to exec as it changes $[0], causing all sort of problems
5459  # (the dirname of $[0] is not the place where we might find the
5460  # original and so on.  Autoconf is especially sensible to this).
5461  . ./$as_me.lineno
5462  # Exit status is that of the last command.
5463  exit
5464}
5465
5466
5467case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5468  *c*,-n*) ECHO_N= ECHO_C='
5469' ECHO_T='      ' ;;
5470  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5471  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
5472esac
5473
5474if expr a : '\(a\)' >/dev/null 2>&1; then
5475  as_expr=expr
5476else
5477  as_expr=false
5478fi
5479
5480rm -f conf$$ conf$$.exe conf$$.file
5481echo >conf$$.file
5482if ln -s conf$$.file conf$$ 2>/dev/null; then
5483  # We could just check for DJGPP; but this test a) works b) is more generic
5484  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5485  if test -f conf$$.exe; then
5486    # Don't use ln at all; we don't have any links
5487    as_ln_s='cp -p'
5488  else
5489    as_ln_s='ln -s'
5490  fi
5491elif ln conf$$.file conf$$ 2>/dev/null; then
5492  as_ln_s=ln
5493else
5494  as_ln_s='cp -p'
5495fi
5496rm -f conf$$ conf$$.exe conf$$.file
5497
5498if mkdir -p . 2>/dev/null; then
5499  as_mkdir_p=:
5500else
5501  test -d ./-p && rmdir ./-p
5502  as_mkdir_p=false
5503fi
5504
5505as_executable_p="test -f"
5506
5507# Sed expression to map a string onto a valid CPP name.
5508as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5509
5510# Sed expression to map a string onto a valid variable name.
5511as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5512
5513
5514# IFS
5515# We need space, tab and new line, in precisely that order.
5516as_nl='
5517'
5518IFS="   $as_nl"
5519
5520# CDPATH.
5521$as_unset CDPATH
5522
5523exec 6>&1
5524
5525# Open the log real soon, to keep \$[0] and so on meaningful, and to
5526# report actual input values of CONFIG_FILES etc. instead of their
5527# values after options handling.  Logging --version etc. is OK.
5528exec 5>>config.log
5529{
5530  echo
5531  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5532## Running $as_me. ##
5533_ASBOX
5534} >&5
5535cat >&5 <<_CSEOF
5536
5537This file was extended by $as_me, which was
5538generated by GNU Autoconf 2.59.  Invocation command line was
5539
5540  CONFIG_FILES    = $CONFIG_FILES
5541  CONFIG_HEADERS  = $CONFIG_HEADERS
5542  CONFIG_LINKS    = $CONFIG_LINKS
5543  CONFIG_COMMANDS = $CONFIG_COMMANDS
5544  $ $0 $@
5545
5546_CSEOF
5547echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5548echo >&5
5549_ACEOF
5550
5551# Files that config.status was made for.
5552if test -n "$ac_config_files"; then
5553  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5554fi
5555
5556if test -n "$ac_config_headers"; then
5557  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5558fi
5559
5560if test -n "$ac_config_links"; then
5561  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5562fi
5563
5564if test -n "$ac_config_commands"; then
5565  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5566fi
5567
5568cat >>$CONFIG_STATUS <<\_ACEOF
5569
5570ac_cs_usage="\
5571\`$as_me' instantiates files from templates according to the
5572current configuration.
5573
5574Usage: $0 [OPTIONS] [FILE]...
5575
5576  -h, --help       print this help, then exit
5577  -V, --version    print version number, then exit
5578  -q, --quiet      do not print progress messages
5579  -d, --debug      don't remove temporary files
5580      --recheck    update $as_me by reconfiguring in the same conditions
5581  --file=FILE[:TEMPLATE]
5582                   instantiate the configuration file FILE
5583  --header=FILE[:TEMPLATE]
5584                   instantiate the configuration header FILE
5585
5586Configuration files:
5587$config_files
5588
5589Configuration headers:
5590$config_headers
5591
5592Configuration commands:
5593$config_commands
5594
5595Report bugs to <bug-autoconf@gnu.org>."
5596_ACEOF
5597
5598cat >>$CONFIG_STATUS <<_ACEOF
5599ac_cs_version="\\
5600config.status
5601configured by $0, generated by GNU Autoconf 2.59,
5602  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5603
5604Copyright (C) 2003 Free Software Foundation, Inc.
5605This config.status script is free software; the Free Software Foundation
5606gives unlimited permission to copy, distribute and modify it."
5607srcdir=$srcdir
5608INSTALL="$INSTALL"
5609_ACEOF
5610
5611cat >>$CONFIG_STATUS <<\_ACEOF
5612# If no file are specified by the user, then we need to provide default
5613# value.  By we need to know if files were specified by the user.
5614ac_need_defaults=:
5615while test $# != 0
5616do
5617  case $1 in
5618  --*=*)
5619    ac_option=`expr "x$1" : 'x\([^=]*\)='`
5620    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5621    ac_shift=:
5622    ;;
5623  -*)
5624    ac_option=$1
5625    ac_optarg=$2
5626    ac_shift=shift
5627    ;;
5628  *) # This is not an option, so the user has probably given explicit
5629     # arguments.
5630     ac_option=$1
5631     ac_need_defaults=false;;
5632  esac
5633
5634  case $ac_option in
5635  # Handling of the options.
5636_ACEOF
5637cat >>$CONFIG_STATUS <<\_ACEOF
5638  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5639    ac_cs_recheck=: ;;
5640  --version | --vers* | -V )
5641    echo "$ac_cs_version"; exit 0 ;;
5642  --he | --h)
5643    # Conflict between --help and --header
5644    { { echo "$as_me:$LINENO: error: ambiguous option: $1
5645Try \`$0 --help' for more information." >&5
5646echo "$as_me: error: ambiguous option: $1
5647Try \`$0 --help' for more information." >&2;}
5648   { (exit 1); exit 1; }; };;
5649  --help | --hel | -h )
5650    echo "$ac_cs_usage"; exit 0 ;;
5651  --debug | --d* | -d )
5652    debug=: ;;
5653  --file | --fil | --fi | --f )
5654    $ac_shift
5655    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5656    ac_need_defaults=false;;
5657  --header | --heade | --head | --hea )
5658    $ac_shift
5659    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5660    ac_need_defaults=false;;
5661  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5662  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5663    ac_cs_silent=: ;;
5664
5665  # This is an error.
5666  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5667Try \`$0 --help' for more information." >&5
5668echo "$as_me: error: unrecognized option: $1
5669Try \`$0 --help' for more information." >&2;}
5670   { (exit 1); exit 1; }; } ;;
5671
5672  *) ac_config_targets="$ac_config_targets $1" ;;
5673
5674  esac
5675  shift
5676done
5677
5678ac_configure_extra_args=
5679
5680if $ac_cs_silent; then
5681  exec 6>/dev/null
5682  ac_configure_extra_args="$ac_configure_extra_args --silent"
5683fi
5684
5685_ACEOF
5686cat >>$CONFIG_STATUS <<_ACEOF
5687if \$ac_cs_recheck; then
5688  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5689  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5690fi
5691
5692_ACEOF
5693
5694cat >>$CONFIG_STATUS <<_ACEOF
5695#
5696# INIT-COMMANDS section.
5697#
5698
5699
5700INTLTOOL_PERL=${INTLTOOL_PERL} ac_aux_dir=${ac_aux_dir}
5701
5702
5703_ACEOF
5704
5705
5706
5707cat >>$CONFIG_STATUS <<\_ACEOF
5708for ac_config_target in $ac_config_targets
5709do
5710  case "$ac_config_target" in
5711  # Handling of arguments.
5712  "bug-buddy.spec" ) CONFIG_FILES="$CONFIG_FILES bug-buddy.spec" ;;
5713  "bug-buddy.schemas" ) CONFIG_FILES="$CONFIG_FILES bug-buddy.schemas" ;;
5714  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5715  "bugzilla/Makefile" ) CONFIG_FILES="$CONFIG_FILES bugzilla/Makefile" ;;
5716  "bugzilla/gnome/Makefile" ) CONFIG_FILES="$CONFIG_FILES bugzilla/gnome/Makefile" ;;
5717  "bugzilla/ximian/Makefile" ) CONFIG_FILES="$CONFIG_FILES bugzilla/ximian/Makefile" ;;
5718  "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
5719  "docs/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/C/Makefile" ;;
5720  "pixmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
5721  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5722  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5723  "src/bug-buddy.desktop.in" ) CONFIG_FILES="$CONFIG_FILES src/bug-buddy.desktop.in" ;;
5724  "src/bug-buddy-core.desktop.in" ) CONFIG_FILES="$CONFIG_FILES src/bug-buddy-core.desktop.in" ;;
5725  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5726  "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
5727  "default-3" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-3" ;;
5728  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5729  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5730echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5731   { (exit 1); exit 1; }; };;
5732  esac
5733done
5734
5735# If the user did not use the arguments to specify the items to instantiate,
5736# then the envvar interface is used.  Set only those that are not.
5737# We use the long form for the default assignment because of an extremely
5738# bizarre bug on SunOS 4.1.3.
5739if $ac_need_defaults; then
5740  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5741  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5742  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5743fi
5744
5745# Have a temporary directory for convenience.  Make it in the build tree
5746# simply because there is no reason to put it here, and in addition,
5747# creating and moving files from /tmp can sometimes cause problems.
5748# Create a temporary directory, and hook for its removal unless debugging.
5749$debug ||
5750{
5751  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5752  trap '{ (exit 1); exit 1; }' 1 2 13 15
5753}
5754
5755# Create a (secure) tmp directory for tmp files.
5756
5757{
5758  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5759  test -n "$tmp" && test -d "$tmp"
5760}  ||
5761{
5762  tmp=./confstat$$-$RANDOM
5763  (umask 077 && mkdir $tmp)
5764} ||
5765{
5766   echo "$me: cannot create a temporary directory in ." >&2
5767   { (exit 1); exit 1; }
5768}
5769
5770_ACEOF
5771
5772cat >>$CONFIG_STATUS <<_ACEOF
5773
5774#
5775# CONFIG_FILES section.
5776#
5777
5778# No need to generate the scripts if there are no CONFIG_FILES.
5779# This happens for instance when ./config.status config.h
5780if test -n "\$CONFIG_FILES"; then
5781  # Protect against being on the right side of a sed subst in config.status.
5782  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5783   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5784s,@SHELL@,$SHELL,;t t
5785s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5786s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5787s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5788s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5789s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5790s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5791s,@exec_prefix@,$exec_prefix,;t t
5792s,@prefix@,$prefix,;t t
5793s,@program_transform_name@,$program_transform_name,;t t
5794s,@bindir@,$bindir,;t t
5795s,@sbindir@,$sbindir,;t t
5796s,@libexecdir@,$libexecdir,;t t
5797s,@datadir@,$datadir,;t t
5798s,@sysconfdir@,$sysconfdir,;t t
5799s,@sharedstatedir@,$sharedstatedir,;t t
5800s,@localstatedir@,$localstatedir,;t t
5801s,@libdir@,$libdir,;t t
5802s,@includedir@,$includedir,;t t
5803s,@oldincludedir@,$oldincludedir,;t t
5804s,@infodir@,$infodir,;t t
5805s,@mandir@,$mandir,;t t
5806s,@build_alias@,$build_alias,;t t
5807s,@host_alias@,$host_alias,;t t
5808s,@target_alias@,$target_alias,;t t
5809s,@DEFS@,$DEFS,;t t
5810s,@ECHO_C@,$ECHO_C,;t t
5811s,@ECHO_N@,$ECHO_N,;t t
5812s,@ECHO_T@,$ECHO_T,;t t
5813s,@LIBS@,$LIBS,;t t
5814s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5815s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5816s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5817s,@PACKAGE@,$PACKAGE,;t t
5818s,@VERSION@,$VERSION,;t t
5819s,@ACLOCAL@,$ACLOCAL,;t t
5820s,@AUTOCONF@,$AUTOCONF,;t t
5821s,@AUTOMAKE@,$AUTOMAKE,;t t
5822s,@AUTOHEADER@,$AUTOHEADER,;t t
5823s,@MAKEINFO@,$MAKEINFO,;t t
5824s,@SET_MAKE@,$SET_MAKE,;t t
5825s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5826s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5827s,@MAINT@,$MAINT,;t t
5828s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
5829s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
5830s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
5831s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
5832s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
5833s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
5834s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
5835s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
5836s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
5837s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
5838s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
5839s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
5840s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
5841s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
5842s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
5843s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
5844s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
5845s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
5846s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
5847s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
5848s,@GCONFTOOL@,$GCONFTOOL,;t t
5849s,@GCONF_SCHEMA_CONFIG_SOURCE@,$GCONF_SCHEMA_CONFIG_SOURCE,;t t
5850s,@GCONF_SCHEMA_FILE_DIR@,$GCONF_SCHEMA_FILE_DIR,;t t
5851s,@GCONF_SCHEMAS_INSTALL_TRUE@,$GCONF_SCHEMAS_INSTALL_TRUE,;t t
5852s,@GCONF_SCHEMAS_INSTALL_FALSE@,$GCONF_SCHEMAS_INSTALL_FALSE,;t t
5853s,@SCROLLKEEPER_REQUIRED@,$SCROLLKEEPER_REQUIRED,;t t
5854s,@SCROLLKEEPER_CONFIG@,$SCROLLKEEPER_CONFIG,;t t
5855s,@CC@,$CC,;t t
5856s,@CFLAGS@,$CFLAGS,;t t
5857s,@LDFLAGS@,$LDFLAGS,;t t
5858s,@CPPFLAGS@,$CPPFLAGS,;t t
5859s,@ac_ct_CC@,$ac_ct_CC,;t t
5860s,@EXEEXT@,$EXEEXT,;t t
5861s,@OBJEXT@,$OBJEXT,;t t
5862s,@CPP@,$CPP,;t t
5863s,@EGREP@,$EGREP,;t t
5864s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5865s,@BUG_BUDDY_CFLAGS@,$BUG_BUDDY_CFLAGS,;t t
5866s,@BUG_BUDDY_LIBS@,$BUG_BUDDY_LIBS,;t t
5867s,@GNOME_CRASH_CFLAGS@,$GNOME_CRASH_CFLAGS,;t t
5868s,@GNOME_CRASH_LIBS@,$GNOME_CRASH_LIBS,;t t
5869s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
5870s,@USE_NLS@,$USE_NLS,;t t
5871s,@MSGFMT@,$MSGFMT,;t t
5872s,@GMSGFMT@,$GMSGFMT,;t t
5873s,@XGETTEXT@,$XGETTEXT,;t t
5874s,@CATALOGS@,$CATALOGS,;t t
5875s,@CATOBJEXT@,$CATOBJEXT,;t t
5876s,@DATADIRNAME@,$DATADIRNAME,;t t
5877s,@GMOFILES@,$GMOFILES,;t t
5878s,@INSTOBJEXT@,$INSTOBJEXT,;t t
5879s,@INTLLIBS@,$INTLLIBS,;t t
5880s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
5881s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
5882s,@POFILES@,$POFILES,;t t
5883s,@POSUB@,$POSUB,;t t
5884s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
5885s,@GLIB_GENMARSHAL@,$GLIB_GENMARSHAL,;t t
5886s,@ENABLE_DEPRECATIONS_TRUE@,$ENABLE_DEPRECATIONS_TRUE,;t t
5887s,@ENABLE_DEPRECATIONS_FALSE@,$ENABLE_DEPRECATIONS_FALSE,;t t
5888s,@LIBOBJS@,$LIBOBJS,;t t
5889s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5890CEOF
5891
5892_ACEOF
5893
5894  cat >>$CONFIG_STATUS <<\_ACEOF
5895  # Split the substitutions into bite-sized pieces for seds with
5896  # small command number limits, like on Digital OSF/1 and HP-UX.
5897  ac_max_sed_lines=48
5898  ac_sed_frag=1 # Number of current file.
5899  ac_beg=1 # First line for current file.
5900  ac_end=$ac_max_sed_lines # Line after last line for current file.
5901  ac_more_lines=:
5902  ac_sed_cmds=
5903  while $ac_more_lines; do
5904    if test $ac_beg -gt 1; then
5905      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5906    else
5907      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5908    fi
5909    if test ! -s $tmp/subs.frag; then
5910      ac_more_lines=false
5911    else
5912      # The purpose of the label and of the branching condition is to
5913      # speed up the sed processing (if there are no `@' at all, there
5914      # is no need to browse any of the substitutions).
5915      # These are the two extra sed commands mentioned above.
5916      (echo ':t
5917  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5918      if test -z "$ac_sed_cmds"; then
5919        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5920      else
5921        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5922      fi
5923      ac_sed_frag=`expr $ac_sed_frag + 1`
5924      ac_beg=$ac_end
5925      ac_end=`expr $ac_end + $ac_max_sed_lines`
5926    fi
5927  done
5928  if test -z "$ac_sed_cmds"; then
5929    ac_sed_cmds=cat
5930  fi
5931fi # test -n "$CONFIG_FILES"
5932
5933_ACEOF
5934cat >>$CONFIG_STATUS <<\_ACEOF
5935for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5936  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5937  case $ac_file in
5938  - | *:- | *:-:* ) # input from stdin
5939        cat >$tmp/stdin
5940        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5941        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5942  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5943        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5944  * )   ac_file_in=$ac_file.in ;;
5945  esac
5946
5947  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5948  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5949$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5950         X"$ac_file" : 'X\(//\)[^/]' \| \
5951         X"$ac_file" : 'X\(//\)$' \| \
5952         X"$ac_file" : 'X\(/\)' \| \
5953         .     : '\(.\)' 2>/dev/null ||
5954echo X"$ac_file" |
5955    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5956          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5957          /^X\(\/\/\)$/{ s//\1/; q; }
5958          /^X\(\/\).*/{ s//\1/; q; }
5959          s/.*/./; q'`
5960  { if $as_mkdir_p; then
5961    mkdir -p "$ac_dir"
5962  else
5963    as_dir="$ac_dir"
5964    as_dirs=
5965    while test ! -d "$as_dir"; do
5966      as_dirs="$as_dir $as_dirs"
5967      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5968$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5969         X"$as_dir" : 'X\(//\)[^/]' \| \
5970         X"$as_dir" : 'X\(//\)$' \| \
5971         X"$as_dir" : 'X\(/\)' \| \
5972         .     : '\(.\)' 2>/dev/null ||
5973echo X"$as_dir" |
5974    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5975          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5976          /^X\(\/\/\)$/{ s//\1/; q; }
5977          /^X\(\/\).*/{ s//\1/; q; }
5978          s/.*/./; q'`
5979    done
5980    test ! -n "$as_dirs" || mkdir $as_dirs
5981  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5982echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5983   { (exit 1); exit 1; }; }; }
5984
5985  ac_builddir=.
5986
5987if test "$ac_dir" != .; then
5988  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5989  # A "../" for each directory in $ac_dir_suffix.
5990  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5991else
5992  ac_dir_suffix= ac_top_builddir=
5993fi
5994
5995case $srcdir in
5996  .)  # No --srcdir option.  We are building in place.
5997    ac_srcdir=.
5998    if test -z "$ac_top_builddir"; then
5999       ac_top_srcdir=.
6000    else
6001       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6002    fi ;;
6003  [\\/]* | ?:[\\/]* )  # Absolute path.
6004    ac_srcdir=$srcdir$ac_dir_suffix;
6005    ac_top_srcdir=$srcdir ;;
6006  *) # Relative path.
6007    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6008    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6009esac
6010
6011# Do not use `cd foo && pwd` to compute absolute paths, because
6012# the directories may not exist.
6013case `pwd` in
6014.) ac_abs_builddir="$ac_dir";;
6015*)
6016  case "$ac_dir" in
6017  .) ac_abs_builddir=`pwd`;;
6018  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6019  *) ac_abs_builddir=`pwd`/"$ac_dir";;
6020  esac;;
6021esac
6022case $ac_abs_builddir in
6023.) ac_abs_top_builddir=${ac_top_builddir}.;;
6024*)
6025  case ${ac_top_builddir}. in
6026  .) ac_abs_top_builddir=$ac_abs_builddir;;
6027  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6028  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6029  esac;;
6030esac
6031case $ac_abs_builddir in
6032.) ac_abs_srcdir=$ac_srcdir;;
6033*)
6034  case $ac_srcdir in
6035  .) ac_abs_srcdir=$ac_abs_builddir;;
6036  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6037  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6038  esac;;
6039esac
6040case $ac_abs_builddir in
6041.) ac_abs_top_srcdir=$ac_top_srcdir;;
6042*)
6043  case $ac_top_srcdir in
6044  .) ac_abs_top_srcdir=$ac_abs_builddir;;
6045  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6046  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6047  esac;;
6048esac
6049
6050
6051  case $INSTALL in
6052  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6053  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6054  esac
6055
6056  if test x"$ac_file" != x-; then
6057    { echo "$as_me:$LINENO: creating $ac_file" >&5
6058echo "$as_me: creating $ac_file" >&6;}
6059    rm -f "$ac_file"
6060  fi
6061  # Let's still pretend it is `configure' which instantiates (i.e., don't
6062  # use $as_me), people would be surprised to read:
6063  #    /* config.h.  Generated by config.status.  */
6064  if test x"$ac_file" = x-; then
6065    configure_input=
6066  else
6067    configure_input="$ac_file.  "
6068  fi
6069  configure_input=$configure_input"Generated from `echo $ac_file_in |
6070                                     sed 's,.*/,,'` by configure."
6071
6072  # First look for the input files in the build tree, otherwise in the
6073  # src tree.
6074  ac_file_inputs=`IFS=:
6075    for f in $ac_file_in; do
6076      case $f in
6077      -) echo $tmp/stdin ;;
6078      [\\/$]*)
6079         # Absolute (can't be DOS-style, as IFS=:)
6080         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6081echo "$as_me: error: cannot find input file: $f" >&2;}
6082   { (exit 1); exit 1; }; }
6083         echo "$f";;
6084      *) # Relative
6085         if test -f "$f"; then
6086           # Build tree
6087           echo "$f"
6088         elif test -f "$srcdir/$f"; then
6089           # Source tree
6090           echo "$srcdir/$f"
6091         else
6092           # /dev/null tree
6093           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6094echo "$as_me: error: cannot find input file: $f" >&2;}
6095   { (exit 1); exit 1; }; }
6096         fi;;
6097      esac
6098    done` || { (exit 1); exit 1; }
6099_ACEOF
6100cat >>$CONFIG_STATUS <<_ACEOF
6101  sed "$ac_vpsub
6102$extrasub
6103_ACEOF
6104cat >>$CONFIG_STATUS <<\_ACEOF
6105:t
6106/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6107s,@configure_input@,$configure_input,;t t
6108s,@srcdir@,$ac_srcdir,;t t
6109s,@abs_srcdir@,$ac_abs_srcdir,;t t
6110s,@top_srcdir@,$ac_top_srcdir,;t t
6111s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6112s,@builddir@,$ac_builddir,;t t
6113s,@abs_builddir@,$ac_abs_builddir,;t t
6114s,@top_builddir@,$ac_top_builddir,;t t
6115s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6116s,@INSTALL@,$ac_INSTALL,;t t
6117" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6118  rm -f $tmp/stdin
6119  if test x"$ac_file" != x-; then
6120    mv $tmp/out $ac_file
6121  else
6122    cat $tmp/out
6123    rm -f $tmp/out
6124  fi
6125
6126done
6127_ACEOF
6128cat >>$CONFIG_STATUS <<\_ACEOF
6129
6130#
6131# CONFIG_HEADER section.
6132#
6133
6134# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6135# NAME is the cpp macro being defined and VALUE is the value it is being given.
6136#
6137# ac_d sets the value in "#define NAME VALUE" lines.
6138ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
6139ac_dB='[         ].*$,\1#\2'
6140ac_dC=' '
6141ac_dD=',;t'
6142# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6143ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
6144ac_uB='$,\1#\2define\3'
6145ac_uC=' '
6146ac_uD=',;t'
6147
6148for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6149  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6150  case $ac_file in
6151  - | *:- | *:-:* ) # input from stdin
6152        cat >$tmp/stdin
6153        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6154        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6155  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6156        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6157  * )   ac_file_in=$ac_file.in ;;
6158  esac
6159
6160  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6161echo "$as_me: creating $ac_file" >&6;}
6162
6163  # First look for the input files in the build tree, otherwise in the
6164  # src tree.
6165  ac_file_inputs=`IFS=:
6166    for f in $ac_file_in; do
6167      case $f in
6168      -) echo $tmp/stdin ;;
6169      [\\/$]*)
6170         # Absolute (can't be DOS-style, as IFS=:)
6171         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6172echo "$as_me: error: cannot find input file: $f" >&2;}
6173   { (exit 1); exit 1; }; }
6174         # Do quote $f, to prevent DOS paths from being IFS'd.
6175         echo "$f";;
6176      *) # Relative
6177         if test -f "$f"; then
6178           # Build tree
6179           echo "$f"
6180         elif test -f "$srcdir/$f"; then
6181           # Source tree
6182           echo "$srcdir/$f"
6183         else
6184           # /dev/null tree
6185           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6186echo "$as_me: error: cannot find input file: $f" >&2;}
6187   { (exit 1); exit 1; }; }
6188         fi;;
6189      esac
6190    done` || { (exit 1); exit 1; }
6191  # Remove the trailing spaces.
6192  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
6193
6194_ACEOF
6195
6196# Transform confdefs.h into two sed scripts, `conftest.defines' and
6197# `conftest.undefs', that substitutes the proper values into
6198# config.h.in to produce config.h.  The first handles `#define'
6199# templates, and the second `#undef' templates.
6200# And first: Protect against being on the right side of a sed subst in
6201# config.status.  Protect against being in an unquoted here document
6202# in config.status.
6203rm -f conftest.defines conftest.undefs
6204# Using a here document instead of a string reduces the quoting nightmare.
6205# Putting comments in sed scripts is not portable.
6206#
6207# `end' is used to avoid that the second main sed command (meant for
6208# 0-ary CPP macros) applies to n-ary macro definitions.
6209# See the Autoconf documentation for `clear'.
6210cat >confdef2sed.sed <<\_ACEOF
6211s/[\\&,]/\\&/g
6212s,[\\$`],\\&,g
6213t clear
6214: clear
6215s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6216t end
6217s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6218: end
6219_ACEOF
6220# If some macros were called several times there might be several times
6221# the same #defines, which is useless.  Nevertheless, we may not want to
6222# sort them, since we want the *last* AC-DEFINE to be honored.
6223uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6224sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6225rm -f confdef2sed.sed
6226
6227# This sed command replaces #undef with comments.  This is necessary, for
6228# example, in the case of _POSIX_SOURCE, which is predefined and required
6229# on some systems where configure will not decide to define it.
6230cat >>conftest.undefs <<\_ACEOF
6231s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6232_ACEOF
6233
6234# Break up conftest.defines because some shells have a limit on the size
6235# of here documents, and old seds have small limits too (100 cmds).
6236echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6237echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6238echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6239echo '  :' >>$CONFIG_STATUS
6240rm -f conftest.tail
6241while grep . conftest.defines >/dev/null
6242do
6243  # Write a limited-size here document to $tmp/defines.sed.
6244  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6245  # Speed up: don't consider the non `#define' lines.
6246  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
6247  # Work around the forget-to-reset-the-flag bug.
6248  echo 't clr' >>$CONFIG_STATUS
6249  echo ': clr' >>$CONFIG_STATUS
6250  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6251  echo 'CEOF
6252  sed -f $tmp/defines.sed $tmp/in >$tmp/out
6253  rm -f $tmp/in
6254  mv $tmp/out $tmp/in
6255' >>$CONFIG_STATUS
6256  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6257  rm -f conftest.defines
6258  mv conftest.tail conftest.defines
6259done
6260rm -f conftest.defines
6261echo '  fi # grep' >>$CONFIG_STATUS
6262echo >>$CONFIG_STATUS
6263
6264# Break up conftest.undefs because some shells have a limit on the size
6265# of here documents, and old seds have small limits too (100 cmds).
6266echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
6267rm -f conftest.tail
6268while grep . conftest.undefs >/dev/null
6269do
6270  # Write a limited-size here document to $tmp/undefs.sed.
6271  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6272  # Speed up: don't consider the non `#undef'
6273  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
6274  # Work around the forget-to-reset-the-flag bug.
6275  echo 't clr' >>$CONFIG_STATUS
6276  echo ': clr' >>$CONFIG_STATUS
6277  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6278  echo 'CEOF
6279  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6280  rm -f $tmp/in
6281  mv $tmp/out $tmp/in
6282' >>$CONFIG_STATUS
6283  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6284  rm -f conftest.undefs
6285  mv conftest.tail conftest.undefs
6286done
6287rm -f conftest.undefs
6288
6289cat >>$CONFIG_STATUS <<\_ACEOF
6290  # Let's still pretend it is `configure' which instantiates (i.e., don't
6291  # use $as_me), people would be surprised to read:
6292  #    /* config.h.  Generated by config.status.  */
6293  if test x"$ac_file" = x-; then
6294    echo "/* Generated by configure.  */" >$tmp/config.h
6295  else
6296    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
6297  fi
6298  cat $tmp/in >>$tmp/config.h
6299  rm -f $tmp/in
6300  if test x"$ac_file" != x-; then
6301    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6302      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6303echo "$as_me: $ac_file is unchanged" >&6;}
6304    else
6305      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6306$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6307         X"$ac_file" : 'X\(//\)[^/]' \| \
6308         X"$ac_file" : 'X\(//\)$' \| \
6309         X"$ac_file" : 'X\(/\)' \| \
6310         .     : '\(.\)' 2>/dev/null ||
6311echo X"$ac_file" |
6312    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6313          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6314          /^X\(\/\/\)$/{ s//\1/; q; }
6315          /^X\(\/\).*/{ s//\1/; q; }
6316          s/.*/./; q'`
6317      { if $as_mkdir_p; then
6318    mkdir -p "$ac_dir"
6319  else
6320    as_dir="$ac_dir"
6321    as_dirs=
6322    while test ! -d "$as_dir"; do
6323      as_dirs="$as_dir $as_dirs"
6324      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6325$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6326         X"$as_dir" : 'X\(//\)[^/]' \| \
6327         X"$as_dir" : 'X\(//\)$' \| \
6328         X"$as_dir" : 'X\(/\)' \| \
6329         .     : '\(.\)' 2>/dev/null ||
6330echo X"$as_dir" |
6331    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6332          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6333          /^X\(\/\/\)$/{ s//\1/; q; }
6334          /^X\(\/\).*/{ s//\1/; q; }
6335          s/.*/./; q'`
6336    done
6337    test ! -n "$as_dirs" || mkdir $as_dirs
6338  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6339echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6340   { (exit 1); exit 1; }; }; }
6341
6342      rm -f $ac_file
6343      mv $tmp/config.h $ac_file
6344    fi
6345  else
6346    cat $tmp/config.h
6347    rm -f $tmp/config.h
6348  fi
6349done
6350_ACEOF
6351cat >>$CONFIG_STATUS <<\_ACEOF
6352
6353#
6354# CONFIG_COMMANDS section.
6355#
6356for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6357  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6358  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6359  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6360$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6361         X"$ac_dest" : 'X\(//\)[^/]' \| \
6362         X"$ac_dest" : 'X\(//\)$' \| \
6363         X"$ac_dest" : 'X\(/\)' \| \
6364         .     : '\(.\)' 2>/dev/null ||
6365echo X"$ac_dest" |
6366    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6367          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6368          /^X\(\/\/\)$/{ s//\1/; q; }
6369          /^X\(\/\).*/{ s//\1/; q; }
6370          s/.*/./; q'`
6371  { if $as_mkdir_p; then
6372    mkdir -p "$ac_dir"
6373  else
6374    as_dir="$ac_dir"
6375    as_dirs=
6376    while test ! -d "$as_dir"; do
6377      as_dirs="$as_dir $as_dirs"
6378      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6379$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6380         X"$as_dir" : 'X\(//\)[^/]' \| \
6381         X"$as_dir" : 'X\(//\)$' \| \
6382         X"$as_dir" : 'X\(/\)' \| \
6383         .     : '\(.\)' 2>/dev/null ||
6384echo X"$as_dir" |
6385    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6386          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6387          /^X\(\/\/\)$/{ s//\1/; q; }
6388          /^X\(\/\).*/{ s//\1/; q; }
6389          s/.*/./; q'`
6390    done
6391    test ! -n "$as_dirs" || mkdir $as_dirs
6392  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6393echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6394   { (exit 1); exit 1; }; }; }
6395
6396  ac_builddir=.
6397
6398if test "$ac_dir" != .; then
6399  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6400  # A "../" for each directory in $ac_dir_suffix.
6401  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6402else
6403  ac_dir_suffix= ac_top_builddir=
6404fi
6405
6406case $srcdir in
6407  .)  # No --srcdir option.  We are building in place.
6408    ac_srcdir=.
6409    if test -z "$ac_top_builddir"; then
6410       ac_top_srcdir=.
6411    else
6412       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6413    fi ;;
6414  [\\/]* | ?:[\\/]* )  # Absolute path.
6415    ac_srcdir=$srcdir$ac_dir_suffix;
6416    ac_top_srcdir=$srcdir ;;
6417  *) # Relative path.
6418    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6419    ac_top_srcdir=$ac_top_builddir$srcdir ;;
6420esac
6421
6422# Do not use `cd foo && pwd` to compute absolute paths, because
6423# the directories may not exist.
6424case `pwd` in
6425.) ac_abs_builddir="$ac_dir";;
6426*)
6427  case "$ac_dir" in
6428  .) ac_abs_builddir=`pwd`;;
6429  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6430  *) ac_abs_builddir=`pwd`/"$ac_dir";;
6431  esac;;
6432esac
6433case $ac_abs_builddir in
6434.) ac_abs_top_builddir=${ac_top_builddir}.;;
6435*)
6436  case ${ac_top_builddir}. in
6437  .) ac_abs_top_builddir=$ac_abs_builddir;;
6438  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6439  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6440  esac;;
6441esac
6442case $ac_abs_builddir in
6443.) ac_abs_srcdir=$ac_srcdir;;
6444*)
6445  case $ac_srcdir in
6446  .) ac_abs_srcdir=$ac_abs_builddir;;
6447  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6448  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6449  esac;;
6450esac
6451case $ac_abs_builddir in
6452.) ac_abs_top_srcdir=$ac_top_srcdir;;
6453*)
6454  case $ac_top_srcdir in
6455  .) ac_abs_top_srcdir=$ac_abs_builddir;;
6456  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6457  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6458  esac;;
6459esac
6460
6461
6462  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6463echo "$as_me: executing $ac_dest commands" >&6;}
6464  case $ac_dest in
6465    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
6466    default-2 )
6467
6468sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-extract.in > intltool-extract.out
6469if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
6470  rm -f intltool-extract.out
6471else
6472  mv -f intltool-extract.out intltool-extract
6473fi
6474chmod ugo+x intltool-extract
6475chmod u+w intltool-extract
6476
6477sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" \
6478    < ${ac_aux_dir}/intltool-merge.in > intltool-merge.out
6479if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
6480  rm -f intltool-merge.out
6481else
6482  mv -f intltool-merge.out intltool-merge
6483fi
6484chmod ugo+x intltool-merge
6485chmod u+w intltool-merge
6486
6487sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-update.in > intltool-update.out
6488if cmp -s intltool-update intltool-update.out 2>/dev/null; then
6489  rm -f intltool-update.out
6490else
6491  mv -f intltool-update.out intltool-update
6492fi
6493chmod ugo+x intltool-update
6494chmod u+w intltool-update
6495
6496 ;;
6497    default-3 ) case "$CONFIG_FILES" in *po/Makefile.in*)
6498        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
6499      esac ;;
6500  esac
6501done
6502_ACEOF
6503
6504cat >>$CONFIG_STATUS <<\_ACEOF
6505
6506{ (exit 0); exit 0; }
6507_ACEOF
6508chmod +x $CONFIG_STATUS
6509ac_clean_files=$ac_clean_files_save
6510
6511
6512# configure is writing to config.log, and then calls config.status.
6513# config.status does its own redirection, appending to config.log.
6514# Unfortunately, on DOS this fails, as config.log is still kept open
6515# by configure, so config.status won't be able to write to it; its
6516# output is simply discarded.  So we exec the FD to /dev/null,
6517# effectively closing config.log, so it can be properly (re)opened and
6518# appended to by config.status.  When coming back to configure, we
6519# need to make the FD available again.
6520if test "$no_create" != yes; then
6521  ac_cs_success=:
6522  ac_config_status_args=
6523  test "$silent" = yes &&
6524    ac_config_status_args="$ac_config_status_args --quiet"
6525  exec 5>/dev/null
6526  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6527  exec 5>>config.log
6528  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6529  # would make configure fail if this is the last instruction.
6530  $ac_cs_success || { (exit 1); exit 1; }
6531fi
6532
6533
6534
6535echo "
6536
6537Configuration:
6538
6539        CFLAGS: ${BUG_BUDDY_CFLAGS}
6540
6541        LIBS:   ${BUG_BUDDY_LIBS}
6542
6543"
Note: See TracBrowser for help on using the repository browser.