source: trunk/third/gnome-icon-theme/configure @ 18706

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