source: trunk/third/gnome-mime-data/configure @ 21388

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