source: trunk/third/gettext/configure @ 21669

Revision 21669, 99.0 KB checked in by ghudson, 20 years ago (diff)
Merge with gettext 0.14.3.
  • Property svn:executable set to *
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59.
4#
5# Copyright (C) 2003 Free Software Foundation, Inc.
6# This configure script is free software; the Free Software Foundation
7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ##
9## M4sh Initialization.  ##
10## --------------------- ##
11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14  emulate sh
15  NULLCMD=:
16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17  # is contrary to our usage.  Disable this feature.
18  alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20  set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26  as_unset=unset
27else
28  as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42  LC_TELEPHONE LC_TIME
43do
44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45    eval $as_var=C; export $as_var
46  else
47    $as_unset $as_var
48  fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53  as_expr=expr
54else
55  as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59  as_basename=basename
60else
61  as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68         X"$0" : 'X\(//\)$' \| \
69         X"$0" : 'X\(/\)$' \| \
70         .     : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73          /^X\/\(\/\/\)$/{ s//\1/; q; }
74          /^X\/\(\/\).*/{ s//\1/; q; }
75          s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
79# Avoid depending upon Character Ranges.
80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83as_cr_digits='0123456789'
84as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86# The user is always right.
87if test "${PATH_SEPARATOR+set}" != set; then
88  echo "#! /bin/sh" >conf$$.sh
89  echo  "exit 0"   >>conf$$.sh
90  chmod +x conf$$.sh
91  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92    PATH_SEPARATOR=';'
93  else
94    PATH_SEPARATOR=:
95  fi
96  rm -f conf$$.sh
97fi
98
99
100  as_lineno_1=$LINENO
101  as_lineno_2=$LINENO
102  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103  test "x$as_lineno_1" != "x$as_lineno_2" &&
104  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105  # Find who we are.  Look in the path if we contain no path at all
106  # relative or not.
107  case $0 in
108    *[\\/]* ) as_myself=$0 ;;
109    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112  IFS=$as_save_IFS
113  test -z "$as_dir" && as_dir=.
114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117       ;;
118  esac
119  # We did not find ourselves, most probably we were run as `sh COMMAND'
120  # in which case we are not to be found in the path.
121  if test "x$as_myself" = x; then
122    as_myself=$0
123  fi
124  if test ! -f "$as_myself"; then
125    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126   { (exit 1); exit 1; }; }
127  fi
128  case $CONFIG_SHELL in
129  '')
130    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133  IFS=$as_save_IFS
134  test -z "$as_dir" && as_dir=.
135  for as_base in sh bash ksh sh5; do
136         case $as_dir in
137         /*)
138           if ("$as_dir/$as_base" -c '
139  as_lineno_1=$LINENO
140  as_lineno_2=$LINENO
141  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142  test "x$as_lineno_1" != "x$as_lineno_2" &&
143  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146             CONFIG_SHELL=$as_dir/$as_base
147             export CONFIG_SHELL
148             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149           fi;;
150         esac
151       done
152done
153;;
154  esac
155
156  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157  # uniformly replaced by the line number.  The first 'sed' inserts a
158  # line-number line before each line; the second 'sed' does the real
159  # work.  The second script uses 'N' to pair each line-number line
160  # with the numbered line, and appends trailing '-' during
161  # substitution so that $LINENO is not a special case at line end.
162  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164  sed '=' <$as_myself |
165    sed '
166      N
167      s,$,-,
168      : loop
169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170      t loop
171      s,-$,,
172      s,^['$as_cr_digits']*\n,,
173    ' >$as_me.lineno &&
174  chmod +x $as_me.lineno ||
175    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176   { (exit 1); exit 1; }; }
177
178  # Don't try to exec as it changes $[0], causing all sort of problems
179  # (the dirname of $[0] is not the place where we might find the
180  # original and so on.  Autoconf is especially sensible to this).
181  . ./$as_me.lineno
182  # Exit status is that of the last command.
183  exit
184}
185
186
187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188  *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T='      ' ;;
190  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
193
194if expr a : '\(a\)' >/dev/null 2>&1; then
195  as_expr=expr
196else
197  as_expr=false
198fi
199
200rm -f conf$$ conf$$.exe conf$$.file
201echo >conf$$.file
202if ln -s conf$$.file conf$$ 2>/dev/null; then
203  # We could just check for DJGPP; but this test a) works b) is more generic
204  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205  if test -f conf$$.exe; then
206    # Don't use ln at all; we don't have any links
207    as_ln_s='cp -p'
208  else
209    as_ln_s='ln -s'
210  fi
211elif ln conf$$.file conf$$ 2>/dev/null; then
212  as_ln_s=ln
213else
214  as_ln_s='cp -p'
215fi
216rm -f conf$$ conf$$.exe conf$$.file
217
218if mkdir -p . 2>/dev/null; then
219  as_mkdir_p=:
220else
221  test -d ./-p && rmdir ./-p
222  as_mkdir_p=false
223fi
224
225as_executable_p="test -f"
226
227# Sed expression to map a string onto a valid CPP name.
228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230# Sed expression to map a string onto a valid variable name.
231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234# IFS
235# We need space, tab and new line, in precisely that order.
236as_nl='
237'
238IFS="   $as_nl"
239
240# CDPATH.
241$as_unset CDPATH
242
243
244# Name of the host.
245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246# so uname gets run too.
247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249exec 6>&1
250
251#
252# Initializations.
253#
254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
256cross_compiling=no
257subdirs=
258MFLAGS=
259MAKEFLAGS=
260SHELL=${CONFIG_SHELL-/bin/sh}
261
262# Maximum number of lines to put in a shell here document.
263# This variable seems obsolete.  It should probably be removed, and
264# only ac_max_sed_lines should be used.
265: ${ac_max_here_lines=38}
266
267# Identity of this package.
268PACKAGE_NAME=
269PACKAGE_TARNAME=
270PACKAGE_VERSION=
271PACKAGE_STRING=
272PACKAGE_BUGREPORT=
273
274ac_unique_file="gettext-tools/src/msgfmt.c"
275ac_subdirs_all="$ac_subdirs_all autoconf-lib-link gettext-runtime gettext-tools"
276ac_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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar subdirs build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS CPP CXX CXXFLAGS CXXCPP F77 FFLAGS GCJ GCJFLAGS EMACS EMACSLOADPATH LIBOBJS LTLIBOBJS'
277ac_subst_files=''
278
279# Initialize some variables set by options.
280ac_init_help=
281ac_init_version=false
282# The variables have the same names as the options, with
283# dashes changed to underlines.
284cache_file=/dev/null
285exec_prefix=NONE
286no_create=
287no_recursion=
288prefix=NONE
289program_prefix=NONE
290program_suffix=NONE
291program_transform_name=s,x,x,
292silent=
293site=
294srcdir=
295verbose=
296x_includes=NONE
297x_libraries=NONE
298
299# Installation directory options.
300# These are left unexpanded so users can "make install exec_prefix=/foo"
301# and all the variables that are supposed to be based on exec_prefix
302# by default will actually change.
303# Use braces instead of parens because sh, perl, etc. also accept them.
304bindir='${exec_prefix}/bin'
305sbindir='${exec_prefix}/sbin'
306libexecdir='${exec_prefix}/libexec'
307datadir='${prefix}/share'
308sysconfdir='${prefix}/etc'
309sharedstatedir='${prefix}/com'
310localstatedir='${prefix}/var'
311libdir='${exec_prefix}/lib'
312includedir='${prefix}/include'
313oldincludedir='/usr/include'
314infodir='${prefix}/info'
315mandir='${prefix}/man'
316
317ac_prev=
318for ac_option
319do
320  # If the previous option needs an argument, assign it.
321  if test -n "$ac_prev"; then
322    eval "$ac_prev=\$ac_option"
323    ac_prev=
324    continue
325  fi
326
327  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
329  # Accept the important Cygnus configure options, so we can diagnose typos.
330
331  case $ac_option in
332
333  -bindir | --bindir | --bindi | --bind | --bin | --bi)
334    ac_prev=bindir ;;
335  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336    bindir=$ac_optarg ;;
337
338  -build | --build | --buil | --bui | --bu)
339    ac_prev=build_alias ;;
340  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341    build_alias=$ac_optarg ;;
342
343  -cache-file | --cache-file | --cache-fil | --cache-fi \
344  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345    ac_prev=cache_file ;;
346  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348    cache_file=$ac_optarg ;;
349
350  --config-cache | -C)
351    cache_file=config.cache ;;
352
353  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354    ac_prev=datadir ;;
355  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356  | --da=*)
357    datadir=$ac_optarg ;;
358
359  -disable-* | --disable-*)
360    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361    # Reject names that are not valid shell variable names.
362    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364   { (exit 1); exit 1; }; }
365    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366    eval "enable_$ac_feature=no" ;;
367
368  -enable-* | --enable-*)
369    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370    # Reject names that are not valid shell variable names.
371    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373   { (exit 1); exit 1; }; }
374    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375    case $ac_option in
376      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377      *) ac_optarg=yes ;;
378    esac
379    eval "enable_$ac_feature='$ac_optarg'" ;;
380
381  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383  | --exec | --exe | --ex)
384    ac_prev=exec_prefix ;;
385  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387  | --exec=* | --exe=* | --ex=*)
388    exec_prefix=$ac_optarg ;;
389
390  -gas | --gas | --ga | --g)
391    # Obsolete; use --with-gas.
392    with_gas=yes ;;
393
394  -help | --help | --hel | --he | -h)
395    ac_init_help=long ;;
396  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397    ac_init_help=recursive ;;
398  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399    ac_init_help=short ;;
400
401  -host | --host | --hos | --ho)
402    ac_prev=host_alias ;;
403  -host=* | --host=* | --hos=* | --ho=*)
404    host_alias=$ac_optarg ;;
405
406  -includedir | --includedir | --includedi | --included | --include \
407  | --includ | --inclu | --incl | --inc)
408    ac_prev=includedir ;;
409  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410  | --includ=* | --inclu=* | --incl=* | --inc=*)
411    includedir=$ac_optarg ;;
412
413  -infodir | --infodir | --infodi | --infod | --info | --inf)
414    ac_prev=infodir ;;
415  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416    infodir=$ac_optarg ;;
417
418  -libdir | --libdir | --libdi | --libd)
419    ac_prev=libdir ;;
420  -libdir=* | --libdir=* | --libdi=* | --libd=*)
421    libdir=$ac_optarg ;;
422
423  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424  | --libexe | --libex | --libe)
425    ac_prev=libexecdir ;;
426  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427  | --libexe=* | --libex=* | --libe=*)
428    libexecdir=$ac_optarg ;;
429
430  -localstatedir | --localstatedir | --localstatedi | --localstated \
431  | --localstate | --localstat | --localsta | --localst \
432  | --locals | --local | --loca | --loc | --lo)
433    ac_prev=localstatedir ;;
434  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437    localstatedir=$ac_optarg ;;
438
439  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440    ac_prev=mandir ;;
441  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442    mandir=$ac_optarg ;;
443
444  -nfp | --nfp | --nf)
445    # Obsolete; use --without-fp.
446    with_fp=no ;;
447
448  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449  | --no-cr | --no-c | -n)
450    no_create=yes ;;
451
452  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454    no_recursion=yes ;;
455
456  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458  | --oldin | --oldi | --old | --ol | --o)
459    ac_prev=oldincludedir ;;
460  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463    oldincludedir=$ac_optarg ;;
464
465  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466    ac_prev=prefix ;;
467  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468    prefix=$ac_optarg ;;
469
470  -program-prefix | --program-prefix | --program-prefi | --program-pref \
471  | --program-pre | --program-pr | --program-p)
472    ac_prev=program_prefix ;;
473  -program-prefix=* | --program-prefix=* | --program-prefi=* \
474  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475    program_prefix=$ac_optarg ;;
476
477  -program-suffix | --program-suffix | --program-suffi | --program-suff \
478  | --program-suf | --program-su | --program-s)
479    ac_prev=program_suffix ;;
480  -program-suffix=* | --program-suffix=* | --program-suffi=* \
481  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482    program_suffix=$ac_optarg ;;
483
484  -program-transform-name | --program-transform-name \
485  | --program-transform-nam | --program-transform-na \
486  | --program-transform-n | --program-transform- \
487  | --program-transform | --program-transfor \
488  | --program-transfo | --program-transf \
489  | --program-trans | --program-tran \
490  | --progr-tra | --program-tr | --program-t)
491    ac_prev=program_transform_name ;;
492  -program-transform-name=* | --program-transform-name=* \
493  | --program-transform-nam=* | --program-transform-na=* \
494  | --program-transform-n=* | --program-transform-=* \
495  | --program-transform=* | --program-transfor=* \
496  | --program-transfo=* | --program-transf=* \
497  | --program-trans=* | --program-tran=* \
498  | --progr-tra=* | --program-tr=* | --program-t=*)
499    program_transform_name=$ac_optarg ;;
500
501  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502  | -silent | --silent | --silen | --sile | --sil)
503    silent=yes ;;
504
505  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506    ac_prev=sbindir ;;
507  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508  | --sbi=* | --sb=*)
509    sbindir=$ac_optarg ;;
510
511  -sharedstatedir | --sharedstatedir | --sharedstatedi \
512  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513  | --sharedst | --shareds | --shared | --share | --shar \
514  | --sha | --sh)
515    ac_prev=sharedstatedir ;;
516  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519  | --sha=* | --sh=*)
520    sharedstatedir=$ac_optarg ;;
521
522  -site | --site | --sit)
523    ac_prev=site ;;
524  -site=* | --site=* | --sit=*)
525    site=$ac_optarg ;;
526
527  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528    ac_prev=srcdir ;;
529  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530    srcdir=$ac_optarg ;;
531
532  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533  | --syscon | --sysco | --sysc | --sys | --sy)
534    ac_prev=sysconfdir ;;
535  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537    sysconfdir=$ac_optarg ;;
538
539  -target | --target | --targe | --targ | --tar | --ta | --t)
540    ac_prev=target_alias ;;
541  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542    target_alias=$ac_optarg ;;
543
544  -v | -verbose | --verbose | --verbos | --verbo | --verb)
545    verbose=yes ;;
546
547  -version | --version | --versio | --versi | --vers | -V)
548    ac_init_version=: ;;
549
550  -with-* | --with-*)
551    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552    # Reject names that are not valid shell variable names.
553    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554      { echo "$as_me: error: invalid package name: $ac_package" >&2
555   { (exit 1); exit 1; }; }
556    ac_package=`echo $ac_package| sed 's/-/_/g'`
557    case $ac_option in
558      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559      *) ac_optarg=yes ;;
560    esac
561    eval "with_$ac_package='$ac_optarg'" ;;
562
563  -without-* | --without-*)
564    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565    # Reject names that are not valid shell variable names.
566    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567      { echo "$as_me: error: invalid package name: $ac_package" >&2
568   { (exit 1); exit 1; }; }
569    ac_package=`echo $ac_package | sed 's/-/_/g'`
570    eval "with_$ac_package=no" ;;
571
572  --x)
573    # Obsolete; use --with-x.
574    with_x=yes ;;
575
576  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577  | --x-incl | --x-inc | --x-in | --x-i)
578    ac_prev=x_includes ;;
579  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581    x_includes=$ac_optarg ;;
582
583  -x-libraries | --x-libraries | --x-librarie | --x-librari \
584  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585    ac_prev=x_libraries ;;
586  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588    x_libraries=$ac_optarg ;;
589
590  -*) { echo "$as_me: error: unrecognized option: $ac_option
591Try \`$0 --help' for more information." >&2
592   { (exit 1); exit 1; }; }
593    ;;
594
595  *=*)
596    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597    # Reject names that are not valid shell variable names.
598    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600   { (exit 1); exit 1; }; }
601    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602    eval "$ac_envvar='$ac_optarg'"
603    export $ac_envvar ;;
604
605  *)
606    # FIXME: should be removed in autoconf 3.0.
607    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611    ;;
612
613  esac
614done
615
616if test -n "$ac_prev"; then
617  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618  { echo "$as_me: error: missing argument to $ac_option" >&2
619   { (exit 1); exit 1; }; }
620fi
621
622# Be sure to have absolute paths.
623for ac_var in exec_prefix prefix
624do
625  eval ac_val=$`echo $ac_var`
626  case $ac_val in
627    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629   { (exit 1); exit 1; }; };;
630  esac
631done
632
633# Be sure to have absolute paths.
634for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635              localstatedir libdir includedir oldincludedir infodir mandir
636do
637  eval ac_val=$`echo $ac_var`
638  case $ac_val in
639    [\\/$]* | ?:[\\/]* ) ;;
640    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641   { (exit 1); exit 1; }; };;
642  esac
643done
644
645# There might be people who depend on the old broken behavior: `$host'
646# used to hold the argument of --host etc.
647# FIXME: To remove some day.
648build=$build_alias
649host=$host_alias
650target=$target_alias
651
652# FIXME: To remove some day.
653if test "x$host_alias" != x; then
654  if test "x$build_alias" = x; then
655    cross_compiling=maybe
656    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657    If a cross compiler is detected then cross compile mode will be used." >&2
658  elif test "x$build_alias" != "x$host_alias"; then
659    cross_compiling=yes
660  fi
661fi
662
663ac_tool_prefix=
664test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
666test "$silent" = yes && exec 6>/dev/null
667
668
669# Find the source files, if location was not specified.
670if test -z "$srcdir"; then
671  ac_srcdir_defaulted=yes
672  # Try the directory containing this script, then its parent.
673  ac_confdir=`(dirname "$0") 2>/dev/null ||
674$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675         X"$0" : 'X\(//\)[^/]' \| \
676         X"$0" : 'X\(//\)$' \| \
677         X"$0" : 'X\(/\)' \| \
678         .     : '\(.\)' 2>/dev/null ||
679echo X"$0" |
680    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682          /^X\(\/\/\)$/{ s//\1/; q; }
683          /^X\(\/\).*/{ s//\1/; q; }
684          s/.*/./; q'`
685  srcdir=$ac_confdir
686  if test ! -r $srcdir/$ac_unique_file; then
687    srcdir=..
688  fi
689else
690  ac_srcdir_defaulted=no
691fi
692if test ! -r $srcdir/$ac_unique_file; then
693  if test "$ac_srcdir_defaulted" = yes; then
694    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695   { (exit 1); exit 1; }; }
696  else
697    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698   { (exit 1); exit 1; }; }
699  fi
700fi
701(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703   { (exit 1); exit 1; }; }
704srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705ac_env_build_alias_set=${build_alias+set}
706ac_env_build_alias_value=$build_alias
707ac_cv_env_build_alias_set=${build_alias+set}
708ac_cv_env_build_alias_value=$build_alias
709ac_env_host_alias_set=${host_alias+set}
710ac_env_host_alias_value=$host_alias
711ac_cv_env_host_alias_set=${host_alias+set}
712ac_cv_env_host_alias_value=$host_alias
713ac_env_target_alias_set=${target_alias+set}
714ac_env_target_alias_value=$target_alias
715ac_cv_env_target_alias_set=${target_alias+set}
716ac_cv_env_target_alias_value=$target_alias
717ac_env_CC_set=${CC+set}
718ac_env_CC_value=$CC
719ac_cv_env_CC_set=${CC+set}
720ac_cv_env_CC_value=$CC
721ac_env_CFLAGS_set=${CFLAGS+set}
722ac_env_CFLAGS_value=$CFLAGS
723ac_cv_env_CFLAGS_set=${CFLAGS+set}
724ac_cv_env_CFLAGS_value=$CFLAGS
725ac_env_LDFLAGS_set=${LDFLAGS+set}
726ac_env_LDFLAGS_value=$LDFLAGS
727ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728ac_cv_env_LDFLAGS_value=$LDFLAGS
729ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730ac_env_CPPFLAGS_value=$CPPFLAGS
731ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733ac_env_CPP_set=${CPP+set}
734ac_env_CPP_value=$CPP
735ac_cv_env_CPP_set=${CPP+set}
736ac_cv_env_CPP_value=$CPP
737ac_env_CXX_set=${CXX+set}
738ac_env_CXX_value=$CXX
739ac_cv_env_CXX_set=${CXX+set}
740ac_cv_env_CXX_value=$CXX
741ac_env_CXXFLAGS_set=${CXXFLAGS+set}
742ac_env_CXXFLAGS_value=$CXXFLAGS
743ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
744ac_cv_env_CXXFLAGS_value=$CXXFLAGS
745ac_env_CXXCPP_set=${CXXCPP+set}
746ac_env_CXXCPP_value=$CXXCPP
747ac_cv_env_CXXCPP_set=${CXXCPP+set}
748ac_cv_env_CXXCPP_value=$CXXCPP
749ac_env_F77_set=${F77+set}
750ac_env_F77_value=$F77
751ac_cv_env_F77_set=${F77+set}
752ac_cv_env_F77_value=$F77
753ac_env_FFLAGS_set=${FFLAGS+set}
754ac_env_FFLAGS_value=$FFLAGS
755ac_cv_env_FFLAGS_set=${FFLAGS+set}
756ac_cv_env_FFLAGS_value=$FFLAGS
757ac_env_GCJ_set=${GCJ+set}
758ac_env_GCJ_value=$GCJ
759ac_cv_env_GCJ_set=${GCJ+set}
760ac_cv_env_GCJ_value=$GCJ
761ac_env_GCJFLAGS_set=${GCJFLAGS+set}
762ac_env_GCJFLAGS_value=$GCJFLAGS
763ac_cv_env_GCJFLAGS_set=${GCJFLAGS+set}
764ac_cv_env_GCJFLAGS_value=$GCJFLAGS
765ac_env_EMACS_set=${EMACS+set}
766ac_env_EMACS_value=$EMACS
767ac_cv_env_EMACS_set=${EMACS+set}
768ac_cv_env_EMACS_value=$EMACS
769ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
770ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
771ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
772ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
773
774#
775# Report the --help message.
776#
777if test "$ac_init_help" = "long"; then
778  # Omit some internal or obsolete options to make the list less imposing.
779  # This message is too long to be a string in the A/UX 3.1 sh.
780  cat <<_ACEOF
781\`configure' configures this package to adapt to many kinds of systems.
782
783Usage: $0 [OPTION]... [VAR=VALUE]...
784
785To assign environment variables (e.g., CC, CFLAGS...), specify them as
786VAR=VALUE.  See below for descriptions of some of the useful variables.
787
788Defaults for the options are specified in brackets.
789
790Configuration:
791  -h, --help              display this help and exit
792      --help=short        display options specific to this package
793      --help=recursive    display the short help of all the included packages
794  -V, --version           display version information and exit
795  -q, --quiet, --silent   do not print \`checking...' messages
796      --cache-file=FILE   cache test results in FILE [disabled]
797  -C, --config-cache      alias for \`--cache-file=config.cache'
798  -n, --no-create         do not create output files
799      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
800
801_ACEOF
802
803  cat <<_ACEOF
804Installation directories:
805  --prefix=PREFIX         install architecture-independent files in PREFIX
806                          [$ac_default_prefix]
807  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
808                          [PREFIX]
809
810By default, \`make install' will install all the files in
811\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
812an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813for instance \`--prefix=\$HOME'.
814
815For better control, use the options below.
816
817Fine tuning of the installation directories:
818  --bindir=DIR           user executables [EPREFIX/bin]
819  --sbindir=DIR          system admin executables [EPREFIX/sbin]
820  --libexecdir=DIR       program executables [EPREFIX/libexec]
821  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
822  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
823  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
824  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
825  --libdir=DIR           object code libraries [EPREFIX/lib]
826  --includedir=DIR       C header files [PREFIX/include]
827  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
828  --infodir=DIR          info documentation [PREFIX/info]
829  --mandir=DIR           man documentation [PREFIX/man]
830_ACEOF
831
832  cat <<\_ACEOF
833
834Program names:
835  --program-prefix=PREFIX            prepend PREFIX to installed program names
836  --program-suffix=SUFFIX            append SUFFIX to installed program names
837  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
838
839System types:
840  --build=BUILD     configure for building on BUILD [guessed]
841  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
842_ACEOF
843fi
844
845if test -n "$ac_init_help"; then
846
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  --disable-dependency-tracking  speeds up one-time build
853  --enable-dependency-tracking   do not reject slow dependency extractors
854  --enable-shared[=PKGS]
855                          build shared libraries [default=yes]
856  --enable-static[=PKGS]
857                          build static libraries [default=yes]
858  --enable-fast-install[=PKGS]
859                          optimize for fast installation [default=yes]
860  --disable-libtool-lock  avoid locking (might break parallel builds)
861  --enable-csharp[=IMPL]  choose preferred C# implementation (pnet or mono)
862  --enable-relocatable    install a package that can be moved in the filesystem
863  --disable-nls           do not use Native Language Support
864  --disable-rpath         do not hardcode runtime library paths
865  --disable-libasprintf   do not build libasprintf
866
867Optional Packages:
868  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
869  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
870  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
871  --with-pic              try to use only PIC/non-PIC objects [default=use
872                          both]
873  --with-tags[=TAGS]
874                          include additional configurations [automatic]
875  --with-gnu-ld           assume the C compiler uses GNU ld default=no
876  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
877  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
878  --with-included-gettext use the GNU gettext library included here
879  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
880  --without-libintl-prefix     don't search for libintl in includedir and libdir
881  --without-included-regex don't compile regex; this is the default on
882                          systems with version 2 of the GNU C library
883                          (use with caution on other system)
884  --with-libexpat-prefix[=DIR]  search for libexpat in DIR/include and DIR/lib
885  --without-libexpat-prefix     don't search for libexpat in includedir and libdir
886  --with-lispdir          override the default lisp directory
887
888Some influential environment variables:
889  CC          C compiler command
890  CFLAGS      C compiler flags
891  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
892              nonstandard directory <lib dir>
893  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
894              headers in a nonstandard directory <include dir>
895  CPP         C preprocessor
896  CXX         C++ compiler command
897  CXXFLAGS    C++ compiler flags
898  CXXCPP      C++ preprocessor
899  F77         Fortran 77 compiler command
900  FFLAGS      Fortran 77 compiler flags
901  GCJ         Java native code compiler command
902  GCJFLAGS    Java native code compiler flags
903  EMACS       the Emacs editor command
904  EMACSLOADPATH
905              the Emacs library search path
906
907Use these variables to override the choices made by `configure' or to help
908it to find libraries and programs with nonstandard names/locations.
909
910_ACEOF
911fi
912
913if test "$ac_init_help" = "recursive"; then
914  # If there are subdirs, report their specific --help.
915  ac_popdir=`pwd`
916  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
917    test -d $ac_dir || continue
918    ac_builddir=.
919
920if test "$ac_dir" != .; then
921  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
922  # A "../" for each directory in $ac_dir_suffix.
923  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
924else
925  ac_dir_suffix= ac_top_builddir=
926fi
927
928case $srcdir in
929  .)  # No --srcdir option.  We are building in place.
930    ac_srcdir=.
931    if test -z "$ac_top_builddir"; then
932       ac_top_srcdir=.
933    else
934       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
935    fi ;;
936  [\\/]* | ?:[\\/]* )  # Absolute path.
937    ac_srcdir=$srcdir$ac_dir_suffix;
938    ac_top_srcdir=$srcdir ;;
939  *) # Relative path.
940    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
941    ac_top_srcdir=$ac_top_builddir$srcdir ;;
942esac
943
944# Do not use `cd foo && pwd` to compute absolute paths, because
945# the directories may not exist.
946case `pwd` in
947.) ac_abs_builddir="$ac_dir";;
948*)
949  case "$ac_dir" in
950  .) ac_abs_builddir=`pwd`;;
951  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
952  *) ac_abs_builddir=`pwd`/"$ac_dir";;
953  esac;;
954esac
955case $ac_abs_builddir in
956.) ac_abs_top_builddir=${ac_top_builddir}.;;
957*)
958  case ${ac_top_builddir}. in
959  .) ac_abs_top_builddir=$ac_abs_builddir;;
960  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
961  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
962  esac;;
963esac
964case $ac_abs_builddir in
965.) ac_abs_srcdir=$ac_srcdir;;
966*)
967  case $ac_srcdir in
968  .) ac_abs_srcdir=$ac_abs_builddir;;
969  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
970  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
971  esac;;
972esac
973case $ac_abs_builddir in
974.) ac_abs_top_srcdir=$ac_top_srcdir;;
975*)
976  case $ac_top_srcdir in
977  .) ac_abs_top_srcdir=$ac_abs_builddir;;
978  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
979  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
980  esac;;
981esac
982
983    cd $ac_dir
984    # Check for guested configure; otherwise get Cygnus style configure.
985    if test -f $ac_srcdir/configure.gnu; then
986      echo
987      $SHELL $ac_srcdir/configure.gnu  --help=recursive
988    elif test -f $ac_srcdir/configure; then
989      echo
990      $SHELL $ac_srcdir/configure  --help=recursive
991    elif test -f $ac_srcdir/configure.ac ||
992           test -f $ac_srcdir/configure.in; then
993      echo
994      $ac_configure --help
995    else
996      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
997    fi
998    cd $ac_popdir
999  done
1000fi
1001
1002test -n "$ac_init_help" && exit 0
1003if $ac_init_version; then
1004  cat <<\_ACEOF
1005
1006Copyright (C) 2003 Free Software Foundation, Inc.
1007This configure script is free software; the Free Software Foundation
1008gives unlimited permission to copy, distribute and modify it.
1009_ACEOF
1010  exit 0
1011fi
1012exec 5>config.log
1013cat >&5 <<_ACEOF
1014This file contains any messages produced by compilers while
1015running configure, to aid debugging if configure makes a mistake.
1016
1017It was created by $as_me, which was
1018generated by GNU Autoconf 2.59.  Invocation command line was
1019
1020  $ $0 $@
1021
1022_ACEOF
1023{
1024cat <<_ASUNAME
1025## --------- ##
1026## Platform. ##
1027## --------- ##
1028
1029hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1030uname -m = `(uname -m) 2>/dev/null || echo unknown`
1031uname -r = `(uname -r) 2>/dev/null || echo unknown`
1032uname -s = `(uname -s) 2>/dev/null || echo unknown`
1033uname -v = `(uname -v) 2>/dev/null || echo unknown`
1034
1035/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1036/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1037
1038/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1039/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1040/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1041hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1042/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1043/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1044/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1045
1046_ASUNAME
1047
1048as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1049for as_dir in $PATH
1050do
1051  IFS=$as_save_IFS
1052  test -z "$as_dir" && as_dir=.
1053  echo "PATH: $as_dir"
1054done
1055
1056} >&5
1057
1058cat >&5 <<_ACEOF
1059
1060
1061## ----------- ##
1062## Core tests. ##
1063## ----------- ##
1064
1065_ACEOF
1066
1067
1068# Keep a trace of the command line.
1069# Strip out --no-create and --no-recursion so they do not pile up.
1070# Strip out --silent because we don't want to record it for future runs.
1071# Also quote any args containing shell meta-characters.
1072# Make two passes to allow for proper duplicate-argument suppression.
1073ac_configure_args=
1074ac_configure_args0=
1075ac_configure_args1=
1076ac_sep=
1077ac_must_keep_next=false
1078for ac_pass in 1 2
1079do
1080  for ac_arg
1081  do
1082    case $ac_arg in
1083    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1084    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085    | -silent | --silent | --silen | --sile | --sil)
1086      continue ;;
1087    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1088      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1089    esac
1090    case $ac_pass in
1091    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1092    2)
1093      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1094      if test $ac_must_keep_next = true; then
1095        ac_must_keep_next=false # Got value, back to normal.
1096      else
1097        case $ac_arg in
1098          *=* | --config-cache | -C | -disable-* | --disable-* \
1099          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1100          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1101          | -with-* | --with-* | -without-* | --without-* | --x)
1102            case "$ac_configure_args0 " in
1103              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1104            esac
1105            ;;
1106          -* ) ac_must_keep_next=true ;;
1107        esac
1108      fi
1109      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1110      # Get rid of the leading space.
1111      ac_sep=" "
1112      ;;
1113    esac
1114  done
1115done
1116$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1117$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1118
1119# When interrupted or exit'd, cleanup temporary files, and complete
1120# config.log.  We remove comments because anyway the quotes in there
1121# would cause problems or look ugly.
1122# WARNING: Be sure not to use single quotes in there, as some shells,
1123# such as our DU 5.0 friend, will then `close' the trap.
1124trap 'exit_status=$?
1125  # Save into config.log some information that might help in debugging.
1126  {
1127    echo
1128
1129    cat <<\_ASBOX
1130## ---------------- ##
1131## Cache variables. ##
1132## ---------------- ##
1133_ASBOX
1134    echo
1135    # The following way of writing the cache mishandles newlines in values,
1136{
1137  (set) 2>&1 |
1138    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1139    *ac_space=\ *)
1140      sed -n \
1141        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1143      ;;
1144    *)
1145      sed -n \
1146        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1147      ;;
1148    esac;
1149}
1150    echo
1151
1152    cat <<\_ASBOX
1153## ----------------- ##
1154## Output variables. ##
1155## ----------------- ##
1156_ASBOX
1157    echo
1158    for ac_var in $ac_subst_vars
1159    do
1160      eval ac_val=$`echo $ac_var`
1161      echo "$ac_var='"'"'$ac_val'"'"'"
1162    done | sort
1163    echo
1164
1165    if test -n "$ac_subst_files"; then
1166      cat <<\_ASBOX
1167## ------------- ##
1168## Output files. ##
1169## ------------- ##
1170_ASBOX
1171      echo
1172      for ac_var in $ac_subst_files
1173      do
1174        eval ac_val=$`echo $ac_var`
1175        echo "$ac_var='"'"'$ac_val'"'"'"
1176      done | sort
1177      echo
1178    fi
1179
1180    if test -s confdefs.h; then
1181      cat <<\_ASBOX
1182## ----------- ##
1183## confdefs.h. ##
1184## ----------- ##
1185_ASBOX
1186      echo
1187      sed "/^$/d" confdefs.h | sort
1188      echo
1189    fi
1190    test "$ac_signal" != 0 &&
1191      echo "$as_me: caught signal $ac_signal"
1192    echo "$as_me: exit $exit_status"
1193  } >&5
1194  rm -f core *.core &&
1195  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1196    exit $exit_status
1197     ' 0
1198for ac_signal in 1 2 13 15; do
1199  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1200done
1201ac_signal=0
1202
1203# confdefs.h avoids OS command line length limits that DEFS can exceed.
1204rm -rf conftest* confdefs.h
1205# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1206echo >confdefs.h
1207
1208# Predefined preprocessor variables.
1209
1210cat >>confdefs.h <<_ACEOF
1211#define PACKAGE_NAME "$PACKAGE_NAME"
1212_ACEOF
1213
1214
1215cat >>confdefs.h <<_ACEOF
1216#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1217_ACEOF
1218
1219
1220cat >>confdefs.h <<_ACEOF
1221#define PACKAGE_VERSION "$PACKAGE_VERSION"
1222_ACEOF
1223
1224
1225cat >>confdefs.h <<_ACEOF
1226#define PACKAGE_STRING "$PACKAGE_STRING"
1227_ACEOF
1228
1229
1230cat >>confdefs.h <<_ACEOF
1231#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1232_ACEOF
1233
1234
1235# Let the site file select an alternate cache file if it wants to.
1236# Prefer explicitly selected file to automatically selected ones.
1237if test -z "$CONFIG_SITE"; then
1238  if test "x$prefix" != xNONE; then
1239    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1240  else
1241    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1242  fi
1243fi
1244for ac_site_file in $CONFIG_SITE; do
1245  if test -r "$ac_site_file"; then
1246    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1247echo "$as_me: loading site script $ac_site_file" >&6;}
1248    sed 's/^/| /' "$ac_site_file" >&5
1249    . "$ac_site_file"
1250  fi
1251done
1252
1253if test -r "$cache_file"; then
1254  # Some versions of bash will fail to source /dev/null (special
1255  # files actually), so we avoid doing that.
1256  if test -f "$cache_file"; then
1257    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1258echo "$as_me: loading cache $cache_file" >&6;}
1259    case $cache_file in
1260      [\\/]* | ?:[\\/]* ) . $cache_file;;
1261      *)                      . ./$cache_file;;
1262    esac
1263  fi
1264else
1265  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1266echo "$as_me: creating cache $cache_file" >&6;}
1267  >$cache_file
1268fi
1269
1270# Check that the precious variables saved in the cache have kept the same
1271# value.
1272ac_cache_corrupted=false
1273for ac_var in `(set) 2>&1 |
1274               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1275  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1276  eval ac_new_set=\$ac_env_${ac_var}_set
1277  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1278  eval ac_new_val="\$ac_env_${ac_var}_value"
1279  case $ac_old_set,$ac_new_set in
1280    set,)
1281      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1282echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1283      ac_cache_corrupted=: ;;
1284    ,set)
1285      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1286echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1287      ac_cache_corrupted=: ;;
1288    ,);;
1289    *)
1290      if test "x$ac_old_val" != "x$ac_new_val"; then
1291        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1292echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1293        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1294echo "$as_me:   former value:  $ac_old_val" >&2;}
1295        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1296echo "$as_me:   current value: $ac_new_val" >&2;}
1297        ac_cache_corrupted=:
1298      fi;;
1299  esac
1300  # Pass precious variables to config.status.
1301  if test "$ac_new_set" = set; then
1302    case $ac_new_val in
1303    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1304      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1305    *) ac_arg=$ac_var=$ac_new_val ;;
1306    esac
1307    case " $ac_configure_args " in
1308      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1309      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1310    esac
1311  fi
1312done
1313if $ac_cache_corrupted; then
1314  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1315echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1316  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1317echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1318   { (exit 1); exit 1; }; }
1319fi
1320
1321ac_ext=c
1322ac_cpp='$CPP $CPPFLAGS'
1323ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1324ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1325ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346ac_aux_dir=
1347for ac_dir in config $srcdir/config; do
1348  if test -f $ac_dir/install-sh; then
1349    ac_aux_dir=$ac_dir
1350    ac_install_sh="$ac_aux_dir/install-sh -c"
1351    break
1352  elif test -f $ac_dir/install.sh; then
1353    ac_aux_dir=$ac_dir
1354    ac_install_sh="$ac_aux_dir/install.sh -c"
1355    break
1356  elif test -f $ac_dir/shtool; then
1357    ac_aux_dir=$ac_dir
1358    ac_install_sh="$ac_aux_dir/shtool install -c"
1359    break
1360  fi
1361done
1362if test -z "$ac_aux_dir"; then
1363  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1364echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1365   { (exit 1); exit 1; }; }
1366fi
1367ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1368ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1369ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1370
1371. $srcdir/version.sh
1372am__api_version="1.9"
1373# Find a good install program.  We prefer a C program (faster),
1374# so one script is as good as another.  But avoid the broken or
1375# incompatible versions:
1376# SysV /etc/install, /usr/sbin/install
1377# SunOS /usr/etc/install
1378# IRIX /sbin/install
1379# AIX /bin/install
1380# AmigaOS /C/install, which installs bootblocks on floppy discs
1381# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1382# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1383# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1384# OS/2's system install, which has a completely different semantic
1385# ./install, which can be erroneously created by make from ./install.sh.
1386echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1387echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1388if test -z "$INSTALL"; then
1389if test "${ac_cv_path_install+set}" = set; then
1390  echo $ECHO_N "(cached) $ECHO_C" >&6
1391else
1392  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1393for as_dir in $PATH
1394do
1395  IFS=$as_save_IFS
1396  test -z "$as_dir" && as_dir=.
1397  # Account for people who put trailing slashes in PATH elements.
1398case $as_dir/ in
1399  ./ | .// | /cC/* | \
1400  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1401  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1402  /usr/ucb/* ) ;;
1403  *)
1404    # OSF1 and SCO ODT 3.0 have their own names for install.
1405    # Don't use installbsd from OSF since it installs stuff as root
1406    # by default.
1407    for ac_prog in ginstall scoinst install; do
1408      for ac_exec_ext in '' $ac_executable_extensions; do
1409        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1410          if test $ac_prog = install &&
1411            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1412            # AIX install.  It has an incompatible calling convention.
1413            :
1414          elif test $ac_prog = install &&
1415            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1416            # program-specific install script used by HP pwplus--don't use.
1417            :
1418          else
1419            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1420            break 3
1421          fi
1422        fi
1423      done
1424    done
1425    ;;
1426esac
1427done
1428
1429
1430fi
1431  if test "${ac_cv_path_install+set}" = set; then
1432    INSTALL=$ac_cv_path_install
1433  else
1434    # As a last resort, use the slow shell script.  We don't cache a
1435    # path for INSTALL within a source directory, because that will
1436    # break other packages using the cache if that directory is
1437    # removed, or if the path is relative.
1438    INSTALL=$ac_install_sh
1439  fi
1440fi
1441echo "$as_me:$LINENO: result: $INSTALL" >&5
1442echo "${ECHO_T}$INSTALL" >&6
1443
1444# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1445# It thinks the first close brace ends the variable substitution.
1446test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1447
1448test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1449
1450test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1451
1452echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1453echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1454# Just in case
1455sleep 1
1456echo timestamp > conftest.file
1457# Do `set' in a subshell so we don't clobber the current shell's
1458# arguments.  Must try -L first in case configure is actually a
1459# symlink; some systems play weird games with the mod time of symlinks
1460# (eg FreeBSD returns the mod time of the symlink's containing
1461# directory).
1462if (
1463   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1464   if test "$*" = "X"; then
1465      # -L didn't work.
1466      set X `ls -t $srcdir/configure conftest.file`
1467   fi
1468   rm -f conftest.file
1469   if test "$*" != "X $srcdir/configure conftest.file" \
1470      && test "$*" != "X conftest.file $srcdir/configure"; then
1471
1472      # If neither matched, then we have a broken ls.  This can happen
1473      # if, for instance, CONFIG_SHELL is bash and it inherits a
1474      # broken ls alias from the environment.  This has actually
1475      # happened.  Such a system could not be considered "sane".
1476      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1477alias in your environment" >&5
1478echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1479alias in your environment" >&2;}
1480   { (exit 1); exit 1; }; }
1481   fi
1482
1483   test "$2" = conftest.file
1484   )
1485then
1486   # Ok.
1487   :
1488else
1489   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1490Check your system clock" >&5
1491echo "$as_me: error: newly created file is older than distributed files!
1492Check your system clock" >&2;}
1493   { (exit 1); exit 1; }; }
1494fi
1495echo "$as_me:$LINENO: result: yes" >&5
1496echo "${ECHO_T}yes" >&6
1497test "$program_prefix" != NONE &&
1498  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1499# Use a double $ so make ignores it.
1500test "$program_suffix" != NONE &&
1501  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1502# Double any \ or $.  echo might interpret backslashes.
1503# By default was `s,x,x', remove it if useless.
1504cat <<\_ACEOF >conftest.sed
1505s/[\\$]/&&/g;s/;s,x,x,$//
1506_ACEOF
1507program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1508rm conftest.sed
1509
1510# expand $ac_aux_dir to an absolute path
1511am_aux_dir=`cd $ac_aux_dir && pwd`
1512
1513test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1514# Use eval to expand $SHELL
1515if eval "$MISSING --run true"; then
1516  am_missing_run="$MISSING --run "
1517else
1518  am_missing_run=
1519  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1520echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1521fi
1522
1523if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1524  # We used to keeping the `.' as first argument, in order to
1525  # allow $(mkdir_p) to be used without argument.  As in
1526  #   $(mkdir_p) $(somedir)
1527  # where $(somedir) is conditionally defined.  However this is wrong
1528  # for two reasons:
1529  #  1. if the package is installed by a user who cannot write `.'
1530  #     make install will fail,
1531  #  2. the above comment should most certainly read
1532  #     $(mkdir_p) $(DESTDIR)$(somedir)
1533  #     so it does not work when $(somedir) is undefined and
1534  #     $(DESTDIR) is not.
1535  #  To support the latter case, we have to write
1536  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1537  #  so the `.' trick is pointless.
1538  mkdir_p='mkdir -p --'
1539else
1540  # On NextStep and OpenStep, the `mkdir' command does not
1541  # recognize any option.  It will interpret all options as
1542  # directories to create, and then abort because `.' already
1543  # exists.
1544  for d in ./-p ./--version;
1545  do
1546    test -d $d && rmdir $d
1547  done
1548  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1549  if test -f "$ac_aux_dir/mkinstalldirs"; then
1550    mkdir_p='$(mkinstalldirs)'
1551  else
1552    mkdir_p='$(install_sh) -d'
1553  fi
1554fi
1555
1556for ac_prog in gawk mawk nawk awk
1557do
1558  # Extract the first word of "$ac_prog", so it can be a program name with args.
1559set dummy $ac_prog; ac_word=$2
1560echo "$as_me:$LINENO: checking for $ac_word" >&5
1561echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1562if test "${ac_cv_prog_AWK+set}" = set; then
1563  echo $ECHO_N "(cached) $ECHO_C" >&6
1564else
1565  if test -n "$AWK"; then
1566  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1567else
1568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569for as_dir in $PATH
1570do
1571  IFS=$as_save_IFS
1572  test -z "$as_dir" && as_dir=.
1573  for ac_exec_ext in '' $ac_executable_extensions; do
1574  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1575    ac_cv_prog_AWK="$ac_prog"
1576    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577    break 2
1578  fi
1579done
1580done
1581
1582fi
1583fi
1584AWK=$ac_cv_prog_AWK
1585if test -n "$AWK"; then
1586  echo "$as_me:$LINENO: result: $AWK" >&5
1587echo "${ECHO_T}$AWK" >&6
1588else
1589  echo "$as_me:$LINENO: result: no" >&5
1590echo "${ECHO_T}no" >&6
1591fi
1592
1593  test -n "$AWK" && break
1594done
1595
1596echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1597echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1598set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1599if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1600  echo $ECHO_N "(cached) $ECHO_C" >&6
1601else
1602  cat >conftest.make <<\_ACEOF
1603all:
1604        @echo 'ac_maketemp="$(MAKE)"'
1605_ACEOF
1606# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1607eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1608if test -n "$ac_maketemp"; then
1609  eval ac_cv_prog_make_${ac_make}_set=yes
1610else
1611  eval ac_cv_prog_make_${ac_make}_set=no
1612fi
1613rm -f conftest.make
1614fi
1615if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1616  echo "$as_me:$LINENO: result: yes" >&5
1617echo "${ECHO_T}yes" >&6
1618  SET_MAKE=
1619else
1620  echo "$as_me:$LINENO: result: no" >&5
1621echo "${ECHO_T}no" >&6
1622  SET_MAKE="MAKE=${MAKE-make}"
1623fi
1624
1625rm -rf .tst 2>/dev/null
1626mkdir .tst 2>/dev/null
1627if test -d .tst; then
1628  am__leading_dot=.
1629else
1630  am__leading_dot=_
1631fi
1632rmdir .tst 2>/dev/null
1633
1634# test to see if srcdir already configured
1635if test "`cd $srcdir && pwd`" != "`pwd`" &&
1636   test -f $srcdir/config.status; then
1637  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1638echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1639   { (exit 1); exit 1; }; }
1640fi
1641
1642# test whether we have cygpath
1643if test -z "$CYGPATH_W"; then
1644  if (cygpath --version) >/dev/null 2>/dev/null; then
1645    CYGPATH_W='cygpath -w'
1646  else
1647    CYGPATH_W=echo
1648  fi
1649fi
1650
1651
1652# Define the identity of the package.
1653 PACKAGE=gettext
1654 VERSION=$VERSION_NUMBER
1655
1656
1657cat >>confdefs.h <<_ACEOF
1658#define PACKAGE "$PACKAGE"
1659_ACEOF
1660
1661
1662cat >>confdefs.h <<_ACEOF
1663#define VERSION "$VERSION"
1664_ACEOF
1665
1666# Some tools Automake needs.
1667
1668ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1669
1670
1671AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1672
1673
1674AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1675
1676
1677AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1678
1679
1680MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1681
1682install_sh=${install_sh-"$am_aux_dir/install-sh"}
1683
1684# Installed binaries are usually stripped using `strip' when the user
1685# run `make install-strip'.  However `strip' might not be the right
1686# tool to use in cross-compilation environments, therefore Automake
1687# will honor the `STRIP' environment variable to overrule this program.
1688if test "$cross_compiling" != no; then
1689  if test -n "$ac_tool_prefix"; then
1690  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1691set dummy ${ac_tool_prefix}strip; ac_word=$2
1692echo "$as_me:$LINENO: checking for $ac_word" >&5
1693echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694if test "${ac_cv_prog_STRIP+set}" = set; then
1695  echo $ECHO_N "(cached) $ECHO_C" >&6
1696else
1697  if test -n "$STRIP"; then
1698  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1699else
1700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1701for as_dir in $PATH
1702do
1703  IFS=$as_save_IFS
1704  test -z "$as_dir" && as_dir=.
1705  for ac_exec_ext in '' $ac_executable_extensions; do
1706  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1708    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1709    break 2
1710  fi
1711done
1712done
1713
1714fi
1715fi
1716STRIP=$ac_cv_prog_STRIP
1717if test -n "$STRIP"; then
1718  echo "$as_me:$LINENO: result: $STRIP" >&5
1719echo "${ECHO_T}$STRIP" >&6
1720else
1721  echo "$as_me:$LINENO: result: no" >&5
1722echo "${ECHO_T}no" >&6
1723fi
1724
1725fi
1726if test -z "$ac_cv_prog_STRIP"; then
1727  ac_ct_STRIP=$STRIP
1728  # Extract the first word of "strip", so it can be a program name with args.
1729set dummy strip; ac_word=$2
1730echo "$as_me:$LINENO: checking for $ac_word" >&5
1731echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1732if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1733  echo $ECHO_N "(cached) $ECHO_C" >&6
1734else
1735  if test -n "$ac_ct_STRIP"; then
1736  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1737else
1738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1739for as_dir in $PATH
1740do
1741  IFS=$as_save_IFS
1742  test -z "$as_dir" && as_dir=.
1743  for ac_exec_ext in '' $ac_executable_extensions; do
1744  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1745    ac_cv_prog_ac_ct_STRIP="strip"
1746    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1747    break 2
1748  fi
1749done
1750done
1751
1752  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1753fi
1754fi
1755ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1756if test -n "$ac_ct_STRIP"; then
1757  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1758echo "${ECHO_T}$ac_ct_STRIP" >&6
1759else
1760  echo "$as_me:$LINENO: result: no" >&5
1761echo "${ECHO_T}no" >&6
1762fi
1763
1764  STRIP=$ac_ct_STRIP
1765else
1766  STRIP="$ac_cv_prog_STRIP"
1767fi
1768
1769fi
1770INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1771
1772# We need awk for the "check" target.  The system "awk" is bad on
1773# some platforms.
1774# Always define AMTAR for backward compatibility.
1775
1776AMTAR=${AMTAR-"${am_missing_run}tar"}
1777
1778am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792subdirs="$subdirs autoconf-lib-link gettext-runtime gettext-tools"
1793
1794
1795# Make sure we can run config.sub.
1796$ac_config_sub sun4 >/dev/null 2>&1 ||
1797  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1798echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1799   { (exit 1); exit 1; }; }
1800
1801echo "$as_me:$LINENO: checking build system type" >&5
1802echo $ECHO_N "checking build system type... $ECHO_C" >&6
1803if test "${ac_cv_build+set}" = set; then
1804  echo $ECHO_N "(cached) $ECHO_C" >&6
1805else
1806  ac_cv_build_alias=$build_alias
1807test -z "$ac_cv_build_alias" &&
1808  ac_cv_build_alias=`$ac_config_guess`
1809test -z "$ac_cv_build_alias" &&
1810  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1811echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1812   { (exit 1); exit 1; }; }
1813ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1814  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1815echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1816   { (exit 1); exit 1; }; }
1817
1818fi
1819echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1820echo "${ECHO_T}$ac_cv_build" >&6
1821build=$ac_cv_build
1822build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1823build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1824build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1825
1826
1827echo "$as_me:$LINENO: checking host system type" >&5
1828echo $ECHO_N "checking host system type... $ECHO_C" >&6
1829if test "${ac_cv_host+set}" = set; then
1830  echo $ECHO_N "(cached) $ECHO_C" >&6
1831else
1832  ac_cv_host_alias=$host_alias
1833test -z "$ac_cv_host_alias" &&
1834  ac_cv_host_alias=$ac_cv_build_alias
1835ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1836  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1837echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1838   { (exit 1); exit 1; }; }
1839
1840fi
1841echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1842echo "${ECHO_T}$ac_cv_host" >&6
1843host=$ac_cv_host
1844host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1845host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1846host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1847
1848
1849
1850
1851
1852
1853# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1854if test "${enable_dependency_tracking+set}" = set; then
1855  enableval="$enable_dependency_tracking"
1856
1857fi;
1858# Check whether --enable-shared or --disable-shared was given.
1859if test "${enable_shared+set}" = set; then
1860  enableval="$enable_shared"
1861
1862fi;
1863# Check whether --enable-static or --disable-static was given.
1864if test "${enable_static+set}" = set; then
1865  enableval="$enable_static"
1866
1867fi;
1868# Check whether --enable-fast-install or --disable-fast-install was given.
1869if test "${enable_fast_install+set}" = set; then
1870  enableval="$enable_fast_install"
1871
1872fi;
1873
1874# Check whether --with-gnu-ld or --without-gnu-ld was given.
1875if test "${with_gnu_ld+set}" = set; then
1876  withval="$with_gnu_ld"
1877
1878fi;
1879# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1880if test "${enable_libtool_lock+set}" = set; then
1881  enableval="$enable_libtool_lock"
1882
1883fi;
1884
1885# Check whether --with-pic or --without-pic was given.
1886if test "${with_pic+set}" = set; then
1887  withval="$with_pic"
1888
1889fi;
1890# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1891if test "${enable_libtool_lock+set}" = set; then
1892  enableval="$enable_libtool_lock"
1893
1894fi;
1895
1896
1897
1898# Check whether --with-tags or --without-tags was given.
1899if test "${with_tags+set}" = set; then
1900  withval="$with_tags"
1901
1902fi;
1903
1904
1905
1906
1907
1908
1909
1910# Check whether --with-gnu-ld or --without-gnu-ld was given.
1911if test "${with_gnu_ld+set}" = set; then
1912  withval="$with_gnu_ld"
1913
1914fi;
1915
1916
1917
1918
1919
1920
1921
1922# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1923if test "${enable_dependency_tracking+set}" = set; then
1924  enableval="$enable_dependency_tracking"
1925
1926fi;
1927
1928
1929# Check whether --enable-csharp or --disable-csharp was given.
1930if test "${enable_csharp+set}" = set; then
1931  enableval="$enable_csharp"
1932
1933fi;
1934# Check whether --enable-shared or --disable-shared was given.
1935if test "${enable_shared+set}" = set; then
1936  enableval="$enable_shared"
1937
1938fi;
1939# Check whether --enable-static or --disable-static was given.
1940if test "${enable_static+set}" = set; then
1941  enableval="$enable_static"
1942
1943fi;
1944# Check whether --enable-fast-install or --disable-fast-install was given.
1945if test "${enable_fast_install+set}" = set; then
1946  enableval="$enable_fast_install"
1947
1948fi;
1949
1950# Check whether --with-gnu-ld or --without-gnu-ld was given.
1951if test "${with_gnu_ld+set}" = set; then
1952  withval="$with_gnu_ld"
1953
1954fi;
1955# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1956if test "${enable_libtool_lock+set}" = set; then
1957  enableval="$enable_libtool_lock"
1958
1959fi;
1960
1961# Check whether --with-pic or --without-pic was given.
1962if test "${with_pic+set}" = set; then
1963  withval="$with_pic"
1964
1965fi;
1966# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1967if test "${enable_libtool_lock+set}" = set; then
1968  enableval="$enable_libtool_lock"
1969
1970fi;
1971
1972# Check whether --with-tags or --without-tags was given.
1973if test "${with_tags+set}" = set; then
1974  withval="$with_tags"
1975
1976fi;
1977
1978
1979
1980
1981
1982
1983
1984# Check whether --with-gnu-ld or --without-gnu-ld was given.
1985if test "${with_gnu_ld+set}" = set; then
1986  withval="$with_gnu_ld"
1987
1988fi;
1989
1990
1991
1992
1993# Check whether --with-gnu-ld or --without-gnu-ld was given.
1994if test "${with_gnu_ld+set}" = set; then
1995  withval="$with_gnu_ld"
1996
1997fi;
1998# Check whether --enable-relocatable or --disable-relocatable was given.
1999if test "${enable_relocatable+set}" = set; then
2000  enableval="$enable_relocatable"
2001
2002fi;
2003# Check whether --enable-nls or --disable-nls was given.
2004if test "${enable_nls+set}" = set; then
2005  enableval="$enable_nls"
2006
2007fi;
2008# Check whether --enable-rpath or --disable-rpath was given.
2009if test "${enable_rpath+set}" = set; then
2010  enableval="$enable_rpath"
2011
2012fi;
2013
2014# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
2015if test "${with_libiconv_prefix+set}" = set; then
2016  withval="$with_libiconv_prefix"
2017
2018fi;
2019# Check whether --enable-nls or --disable-nls was given.
2020if test "${enable_nls+set}" = set; then
2021  enableval="$enable_nls"
2022
2023fi;
2024
2025# Check whether --with-included-gettext or --without-included-gettext was given.
2026if test "${with_included_gettext+set}" = set; then
2027  withval="$with_included_gettext"
2028
2029fi;
2030
2031# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
2032if test "${with_libintl_prefix+set}" = set; then
2033  withval="$with_libintl_prefix"
2034
2035fi;
2036
2037
2038# Check whether --enable-libasprintf or --disable-libasprintf was given.
2039if test "${enable_libasprintf+set}" = set; then
2040  enableval="$enable_libasprintf"
2041
2042fi;
2043
2044
2045
2046
2047# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2048if test "${enable_dependency_tracking+set}" = set; then
2049  enableval="$enable_dependency_tracking"
2050
2051fi;
2052
2053
2054
2055
2056# Check whether --enable-csharp or --disable-csharp was given.
2057if test "${enable_csharp+set}" = set; then
2058  enableval="$enable_csharp"
2059
2060fi;
2061# Check whether --enable-shared or --disable-shared was given.
2062if test "${enable_shared+set}" = set; then
2063  enableval="$enable_shared"
2064
2065fi;
2066# Check whether --enable-static or --disable-static was given.
2067if test "${enable_static+set}" = set; then
2068  enableval="$enable_static"
2069
2070fi;
2071# Check whether --enable-fast-install or --disable-fast-install was given.
2072if test "${enable_fast_install+set}" = set; then
2073  enableval="$enable_fast_install"
2074
2075fi;
2076
2077# Check whether --with-gnu-ld or --without-gnu-ld was given.
2078if test "${with_gnu_ld+set}" = set; then
2079  withval="$with_gnu_ld"
2080
2081fi;
2082# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2083if test "${enable_libtool_lock+set}" = set; then
2084  enableval="$enable_libtool_lock"
2085
2086fi;
2087
2088# Check whether --with-pic or --without-pic was given.
2089if test "${with_pic+set}" = set; then
2090  withval="$with_pic"
2091
2092fi;
2093# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2094if test "${enable_libtool_lock+set}" = set; then
2095  enableval="$enable_libtool_lock"
2096
2097fi;
2098
2099# Check whether --with-tags or --without-tags was given.
2100if test "${with_tags+set}" = set; then
2101  withval="$with_tags"
2102
2103fi;
2104
2105
2106
2107
2108
2109
2110
2111# Check whether --with-gnu-ld or --without-gnu-ld was given.
2112if test "${with_gnu_ld+set}" = set; then
2113  withval="$with_gnu_ld"
2114
2115fi;
2116
2117
2118
2119
2120# Check whether --with-gnu-ld or --without-gnu-ld was given.
2121if test "${with_gnu_ld+set}" = set; then
2122  withval="$with_gnu_ld"
2123
2124fi;
2125# Check whether --enable-relocatable or --disable-relocatable was given.
2126if test "${enable_relocatable+set}" = set; then
2127  enableval="$enable_relocatable"
2128
2129fi;
2130
2131# Check whether --with-included-regex or --without-included-regex was given.
2132if test "${with_included_regex+set}" = set; then
2133  withval="$with_included_regex"
2134
2135fi;
2136# Check whether --enable-nls or --disable-nls was given.
2137if test "${enable_nls+set}" = set; then
2138  enableval="$enable_nls"
2139
2140fi;
2141# Check whether --enable-rpath or --disable-rpath was given.
2142if test "${enable_rpath+set}" = set; then
2143  enableval="$enable_rpath"
2144
2145fi;
2146
2147# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
2148if test "${with_libiconv_prefix+set}" = set; then
2149  withval="$with_libiconv_prefix"
2150
2151fi;
2152# Check whether --enable-nls or --disable-nls was given.
2153if test "${enable_nls+set}" = set; then
2154  enableval="$enable_nls"
2155
2156fi;
2157
2158# Check whether --with-included-gettext or --without-included-gettext was given.
2159if test "${with_included_gettext+set}" = set; then
2160  withval="$with_included_gettext"
2161
2162fi;
2163
2164# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
2165if test "${with_libintl_prefix+set}" = set; then
2166  withval="$with_libintl_prefix"
2167
2168fi;
2169
2170# Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
2171if test "${with_libexpat_prefix+set}" = set; then
2172  withval="$with_libexpat_prefix"
2173
2174fi;
2175
2176
2177
2178# Check whether --with-lispdir or --without-lispdir was given.
2179if test "${with_lispdir+set}" = set; then
2180  withval="$with_lispdir"
2181
2182fi;
2183
2184
2185
2186
2187          ac_config_files="$ac_config_files Makefile"
2188
2189
2190cat >confcache <<\_ACEOF
2191# This file is a shell script that caches the results of configure
2192# tests run on this system so they can be shared between configure
2193# scripts and configure runs, see configure's option --config-cache.
2194# It is not useful on other systems.  If it contains results you don't
2195# want to keep, you may remove or edit it.
2196#
2197# config.status only pays attention to the cache file if you give it
2198# the --recheck option to rerun configure.
2199#
2200# `ac_cv_env_foo' variables (set or unset) will be overridden when
2201# loading this file, other *unset* `ac_cv_foo' will be assigned the
2202# following values.
2203
2204_ACEOF
2205
2206# The following way of writing the cache mishandles newlines in values,
2207# but we know of no workaround that is simple, portable, and efficient.
2208# So, don't put newlines in cache variables' values.
2209# Ultrix sh set writes to stderr and can't be redirected directly,
2210# and sets the high bit in the cache file unless we assign to the vars.
2211{
2212  (set) 2>&1 |
2213    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2214    *ac_space=\ *)
2215      # `set' does not quote correctly, so add quotes (double-quote
2216      # substitution turns \\\\ into \\, and sed turns \\ into \).
2217      sed -n \
2218        "s/'/'\\\\''/g;
2219          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2220      ;;
2221    *)
2222      # `set' quotes correctly as required by POSIX, so do not add quotes.
2223      sed -n \
2224        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2225      ;;
2226    esac;
2227} |
2228  sed '
2229     t clear
2230     : clear
2231     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2232     t end
2233     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2234     : end' >>confcache
2235if diff $cache_file confcache >/dev/null 2>&1; then :; else
2236  if test -w $cache_file; then
2237    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2238    cat confcache >$cache_file
2239  else
2240    echo "not updating unwritable cache $cache_file"
2241  fi
2242fi
2243rm -f confcache
2244
2245test "x$prefix" = xNONE && prefix=$ac_default_prefix
2246# Let make expand exec_prefix.
2247test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2248
2249# VPATH may cause trouble with some makes, so we remove $(srcdir),
2250# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2251# trailing colons and then remove the whole line if VPATH becomes empty
2252# (actually we leave an empty line to preserve line numbers).
2253if test "x$srcdir" = x.; then
2254  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2255s/:*\$(srcdir):*/:/;
2256s/:*\${srcdir}:*/:/;
2257s/:*@srcdir@:*/:/;
2258s/^\([^=]*=[     ]*\):*/\1/;
2259s/:*$//;
2260s/^[^=]*=[       ]*$//;
2261}'
2262fi
2263
2264# Transform confdefs.h into DEFS.
2265# Protect against shell expansion while executing Makefile rules.
2266# Protect against Makefile macro expansion.
2267#
2268# If the first sed substitution is executed (which looks for macros that
2269# take arguments), then we branch to the quote section.  Otherwise,
2270# look for a macro that doesn't take arguments.
2271cat >confdef2opt.sed <<\_ACEOF
2272t clear
2273: clear
2274s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2275t quote
2276s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2277t quote
2278d
2279: quote
2280s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2281s,\[,\\&,g
2282s,\],\\&,g
2283s,\$,$$,g
2284p
2285_ACEOF
2286# We use echo to avoid assuming a particular line-breaking character.
2287# The extra dot is to prevent the shell from consuming trailing
2288# line-breaks from the sub-command output.  A line-break within
2289# single-quotes doesn't work because, if this script is created in a
2290# platform that uses two characters for line-breaks (e.g., DOS), tr
2291# would break.
2292ac_LF_and_DOT=`echo; echo .`
2293DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2294rm -f confdef2opt.sed
2295
2296
2297ac_libobjs=
2298ac_ltlibobjs=
2299for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2300  # 1. Remove the extension, and $U if already installed.
2301  ac_i=`echo "$ac_i" |
2302         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2303  # 2. Add them.
2304  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2305  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2306done
2307LIBOBJS=$ac_libobjs
2308
2309LTLIBOBJS=$ac_ltlibobjs
2310
2311
2312
2313: ${CONFIG_STATUS=./config.status}
2314ac_clean_files_save=$ac_clean_files
2315ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2316{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2317echo "$as_me: creating $CONFIG_STATUS" >&6;}
2318cat >$CONFIG_STATUS <<_ACEOF
2319#! $SHELL
2320# Generated by $as_me.
2321# Run this file to recreate the current configuration.
2322# Compiler output produced by configure, useful for debugging
2323# configure, is in config.log if it exists.
2324
2325debug=false
2326ac_cs_recheck=false
2327ac_cs_silent=false
2328SHELL=\${CONFIG_SHELL-$SHELL}
2329_ACEOF
2330
2331cat >>$CONFIG_STATUS <<\_ACEOF
2332## --------------------- ##
2333## M4sh Initialization.  ##
2334## --------------------- ##
2335
2336# Be Bourne compatible
2337if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2338  emulate sh
2339  NULLCMD=:
2340  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2341  # is contrary to our usage.  Disable this feature.
2342  alias -g '${1+"$@"}'='"$@"'
2343elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2344  set -o posix
2345fi
2346DUALCASE=1; export DUALCASE # for MKS sh
2347
2348# Support unset when possible.
2349if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2350  as_unset=unset
2351else
2352  as_unset=false
2353fi
2354
2355
2356# Work around bugs in pre-3.0 UWIN ksh.
2357$as_unset ENV MAIL MAILPATH
2358PS1='$ '
2359PS2='> '
2360PS4='+ '
2361
2362# NLS nuisances.
2363for as_var in \
2364  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2365  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2366  LC_TELEPHONE LC_TIME
2367do
2368  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2369    eval $as_var=C; export $as_var
2370  else
2371    $as_unset $as_var
2372  fi
2373done
2374
2375# Required to use basename.
2376if expr a : '\(a\)' >/dev/null 2>&1; then
2377  as_expr=expr
2378else
2379  as_expr=false
2380fi
2381
2382if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2383  as_basename=basename
2384else
2385  as_basename=false
2386fi
2387
2388
2389# Name of the executable.
2390as_me=`$as_basename "$0" ||
2391$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2392         X"$0" : 'X\(//\)$' \| \
2393         X"$0" : 'X\(/\)$' \| \
2394         .     : '\(.\)' 2>/dev/null ||
2395echo X/"$0" |
2396    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2397          /^X\/\(\/\/\)$/{ s//\1/; q; }
2398          /^X\/\(\/\).*/{ s//\1/; q; }
2399          s/.*/./; q'`
2400
2401
2402# PATH needs CR, and LINENO needs CR and PATH.
2403# Avoid depending upon Character Ranges.
2404as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2405as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2406as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2407as_cr_digits='0123456789'
2408as_cr_alnum=$as_cr_Letters$as_cr_digits
2409
2410# The user is always right.
2411if test "${PATH_SEPARATOR+set}" != set; then
2412  echo "#! /bin/sh" >conf$$.sh
2413  echo  "exit 0"   >>conf$$.sh
2414  chmod +x conf$$.sh
2415  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2416    PATH_SEPARATOR=';'
2417  else
2418    PATH_SEPARATOR=:
2419  fi
2420  rm -f conf$$.sh
2421fi
2422
2423
2424  as_lineno_1=$LINENO
2425  as_lineno_2=$LINENO
2426  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2427  test "x$as_lineno_1" != "x$as_lineno_2" &&
2428  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2429  # Find who we are.  Look in the path if we contain no path at all
2430  # relative or not.
2431  case $0 in
2432    *[\\/]* ) as_myself=$0 ;;
2433    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434for as_dir in $PATH
2435do
2436  IFS=$as_save_IFS
2437  test -z "$as_dir" && as_dir=.
2438  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2439done
2440
2441       ;;
2442  esac
2443  # We did not find ourselves, most probably we were run as `sh COMMAND'
2444  # in which case we are not to be found in the path.
2445  if test "x$as_myself" = x; then
2446    as_myself=$0
2447  fi
2448  if test ! -f "$as_myself"; then
2449    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2450echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2451   { (exit 1); exit 1; }; }
2452  fi
2453  case $CONFIG_SHELL in
2454  '')
2455    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2457do
2458  IFS=$as_save_IFS
2459  test -z "$as_dir" && as_dir=.
2460  for as_base in sh bash ksh sh5; do
2461         case $as_dir in
2462         /*)
2463           if ("$as_dir/$as_base" -c '
2464  as_lineno_1=$LINENO
2465  as_lineno_2=$LINENO
2466  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2467  test "x$as_lineno_1" != "x$as_lineno_2" &&
2468  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2469             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2470             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2471             CONFIG_SHELL=$as_dir/$as_base
2472             export CONFIG_SHELL
2473             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2474           fi;;
2475         esac
2476       done
2477done
2478;;
2479  esac
2480
2481  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2482  # uniformly replaced by the line number.  The first 'sed' inserts a
2483  # line-number line before each line; the second 'sed' does the real
2484  # work.  The second script uses 'N' to pair each line-number line
2485  # with the numbered line, and appends trailing '-' during
2486  # substitution so that $LINENO is not a special case at line end.
2487  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2488  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2489  sed '=' <$as_myself |
2490    sed '
2491      N
2492      s,$,-,
2493      : loop
2494      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2495      t loop
2496      s,-$,,
2497      s,^['$as_cr_digits']*\n,,
2498    ' >$as_me.lineno &&
2499  chmod +x $as_me.lineno ||
2500    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2501echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2502   { (exit 1); exit 1; }; }
2503
2504  # Don't try to exec as it changes $[0], causing all sort of problems
2505  # (the dirname of $[0] is not the place where we might find the
2506  # original and so on.  Autoconf is especially sensible to this).
2507  . ./$as_me.lineno
2508  # Exit status is that of the last command.
2509  exit
2510}
2511
2512
2513case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2514  *c*,-n*) ECHO_N= ECHO_C='
2515' ECHO_T='      ' ;;
2516  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2517  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2518esac
2519
2520if expr a : '\(a\)' >/dev/null 2>&1; then
2521  as_expr=expr
2522else
2523  as_expr=false
2524fi
2525
2526rm -f conf$$ conf$$.exe conf$$.file
2527echo >conf$$.file
2528if ln -s conf$$.file conf$$ 2>/dev/null; then
2529  # We could just check for DJGPP; but this test a) works b) is more generic
2530  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2531  if test -f conf$$.exe; then
2532    # Don't use ln at all; we don't have any links
2533    as_ln_s='cp -p'
2534  else
2535    as_ln_s='ln -s'
2536  fi
2537elif ln conf$$.file conf$$ 2>/dev/null; then
2538  as_ln_s=ln
2539else
2540  as_ln_s='cp -p'
2541fi
2542rm -f conf$$ conf$$.exe conf$$.file
2543
2544if mkdir -p . 2>/dev/null; then
2545  as_mkdir_p=:
2546else
2547  test -d ./-p && rmdir ./-p
2548  as_mkdir_p=false
2549fi
2550
2551as_executable_p="test -f"
2552
2553# Sed expression to map a string onto a valid CPP name.
2554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2555
2556# Sed expression to map a string onto a valid variable name.
2557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2558
2559
2560# IFS
2561# We need space, tab and new line, in precisely that order.
2562as_nl='
2563'
2564IFS="   $as_nl"
2565
2566# CDPATH.
2567$as_unset CDPATH
2568
2569exec 6>&1
2570
2571# Open the log real soon, to keep \$[0] and so on meaningful, and to
2572# report actual input values of CONFIG_FILES etc. instead of their
2573# values after options handling.  Logging --version etc. is OK.
2574exec 5>>config.log
2575{
2576  echo
2577  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2578## Running $as_me. ##
2579_ASBOX
2580} >&5
2581cat >&5 <<_CSEOF
2582
2583This file was extended by $as_me, which was
2584generated by GNU Autoconf 2.59.  Invocation command line was
2585
2586  CONFIG_FILES    = $CONFIG_FILES
2587  CONFIG_HEADERS  = $CONFIG_HEADERS
2588  CONFIG_LINKS    = $CONFIG_LINKS
2589  CONFIG_COMMANDS = $CONFIG_COMMANDS
2590  $ $0 $@
2591
2592_CSEOF
2593echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2594echo >&5
2595_ACEOF
2596
2597# Files that config.status was made for.
2598if test -n "$ac_config_files"; then
2599  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2600fi
2601
2602if test -n "$ac_config_headers"; then
2603  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2604fi
2605
2606if test -n "$ac_config_links"; then
2607  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2608fi
2609
2610if test -n "$ac_config_commands"; then
2611  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2612fi
2613
2614cat >>$CONFIG_STATUS <<\_ACEOF
2615
2616ac_cs_usage="\
2617\`$as_me' instantiates files from templates according to the
2618current configuration.
2619
2620Usage: $0 [OPTIONS] [FILE]...
2621
2622  -h, --help       print this help, then exit
2623  -V, --version    print version number, then exit
2624  -q, --quiet      do not print progress messages
2625  -d, --debug      don't remove temporary files
2626      --recheck    update $as_me by reconfiguring in the same conditions
2627  --file=FILE[:TEMPLATE]
2628                   instantiate the configuration file FILE
2629
2630Configuration files:
2631$config_files
2632
2633Report bugs to <bug-autoconf@gnu.org>."
2634_ACEOF
2635
2636cat >>$CONFIG_STATUS <<_ACEOF
2637ac_cs_version="\\
2638config.status
2639configured by $0, generated by GNU Autoconf 2.59,
2640  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2641
2642Copyright (C) 2003 Free Software Foundation, Inc.
2643This config.status script is free software; the Free Software Foundation
2644gives unlimited permission to copy, distribute and modify it."
2645srcdir=$srcdir
2646INSTALL="$INSTALL"
2647_ACEOF
2648
2649cat >>$CONFIG_STATUS <<\_ACEOF
2650# If no file are specified by the user, then we need to provide default
2651# value.  By we need to know if files were specified by the user.
2652ac_need_defaults=:
2653while test $# != 0
2654do
2655  case $1 in
2656  --*=*)
2657    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2658    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2659    ac_shift=:
2660    ;;
2661  -*)
2662    ac_option=$1
2663    ac_optarg=$2
2664    ac_shift=shift
2665    ;;
2666  *) # This is not an option, so the user has probably given explicit
2667     # arguments.
2668     ac_option=$1
2669     ac_need_defaults=false;;
2670  esac
2671
2672  case $ac_option in
2673  # Handling of the options.
2674_ACEOF
2675cat >>$CONFIG_STATUS <<\_ACEOF
2676  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2677    ac_cs_recheck=: ;;
2678  --version | --vers* | -V )
2679    echo "$ac_cs_version"; exit 0 ;;
2680  --he | --h)
2681    # Conflict between --help and --header
2682    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2683Try \`$0 --help' for more information." >&5
2684echo "$as_me: error: ambiguous option: $1
2685Try \`$0 --help' for more information." >&2;}
2686   { (exit 1); exit 1; }; };;
2687  --help | --hel | -h )
2688    echo "$ac_cs_usage"; exit 0 ;;
2689  --debug | --d* | -d )
2690    debug=: ;;
2691  --file | --fil | --fi | --f )
2692    $ac_shift
2693    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2694    ac_need_defaults=false;;
2695  --header | --heade | --head | --hea )
2696    $ac_shift
2697    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2698    ac_need_defaults=false;;
2699  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2700  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2701    ac_cs_silent=: ;;
2702
2703  # This is an error.
2704  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2705Try \`$0 --help' for more information." >&5
2706echo "$as_me: error: unrecognized option: $1
2707Try \`$0 --help' for more information." >&2;}
2708   { (exit 1); exit 1; }; } ;;
2709
2710  *) ac_config_targets="$ac_config_targets $1" ;;
2711
2712  esac
2713  shift
2714done
2715
2716ac_configure_extra_args=
2717
2718if $ac_cs_silent; then
2719  exec 6>/dev/null
2720  ac_configure_extra_args="$ac_configure_extra_args --silent"
2721fi
2722
2723_ACEOF
2724cat >>$CONFIG_STATUS <<_ACEOF
2725if \$ac_cs_recheck; then
2726  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2727  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2728fi
2729
2730_ACEOF
2731
2732
2733
2734
2735
2736cat >>$CONFIG_STATUS <<\_ACEOF
2737for ac_config_target in $ac_config_targets
2738do
2739  case "$ac_config_target" in
2740  # Handling of arguments.
2741  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2742  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2743echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2744   { (exit 1); exit 1; }; };;
2745  esac
2746done
2747
2748# If the user did not use the arguments to specify the items to instantiate,
2749# then the envvar interface is used.  Set only those that are not.
2750# We use the long form for the default assignment because of an extremely
2751# bizarre bug on SunOS 4.1.3.
2752if $ac_need_defaults; then
2753  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2754fi
2755
2756# Have a temporary directory for convenience.  Make it in the build tree
2757# simply because there is no reason to put it here, and in addition,
2758# creating and moving files from /tmp can sometimes cause problems.
2759# Create a temporary directory, and hook for its removal unless debugging.
2760$debug ||
2761{
2762  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2763  trap '{ (exit 1); exit 1; }' 1 2 13 15
2764}
2765
2766# Create a (secure) tmp directory for tmp files.
2767
2768{
2769  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2770  test -n "$tmp" && test -d "$tmp"
2771}  ||
2772{
2773  tmp=./confstat$$-$RANDOM
2774  (umask 077 && mkdir $tmp)
2775} ||
2776{
2777   echo "$me: cannot create a temporary directory in ." >&2
2778   { (exit 1); exit 1; }
2779}
2780
2781_ACEOF
2782
2783cat >>$CONFIG_STATUS <<_ACEOF
2784
2785#
2786# CONFIG_FILES section.
2787#
2788
2789# No need to generate the scripts if there are no CONFIG_FILES.
2790# This happens for instance when ./config.status config.h
2791if test -n "\$CONFIG_FILES"; then
2792  # Protect against being on the right side of a sed subst in config.status.
2793  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2794   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2795s,@SHELL@,$SHELL,;t t
2796s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2797s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2798s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2799s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2800s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2801s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2802s,@exec_prefix@,$exec_prefix,;t t
2803s,@prefix@,$prefix,;t t
2804s,@program_transform_name@,$program_transform_name,;t t
2805s,@bindir@,$bindir,;t t
2806s,@sbindir@,$sbindir,;t t
2807s,@libexecdir@,$libexecdir,;t t
2808s,@datadir@,$datadir,;t t
2809s,@sysconfdir@,$sysconfdir,;t t
2810s,@sharedstatedir@,$sharedstatedir,;t t
2811s,@localstatedir@,$localstatedir,;t t
2812s,@libdir@,$libdir,;t t
2813s,@includedir@,$includedir,;t t
2814s,@oldincludedir@,$oldincludedir,;t t
2815s,@infodir@,$infodir,;t t
2816s,@mandir@,$mandir,;t t
2817s,@build_alias@,$build_alias,;t t
2818s,@host_alias@,$host_alias,;t t
2819s,@target_alias@,$target_alias,;t t
2820s,@DEFS@,$DEFS,;t t
2821s,@ECHO_C@,$ECHO_C,;t t
2822s,@ECHO_N@,$ECHO_N,;t t
2823s,@ECHO_T@,$ECHO_T,;t t
2824s,@LIBS@,$LIBS,;t t
2825s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2826s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2827s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2828s,@CYGPATH_W@,$CYGPATH_W,;t t
2829s,@PACKAGE@,$PACKAGE,;t t
2830s,@VERSION@,$VERSION,;t t
2831s,@ACLOCAL@,$ACLOCAL,;t t
2832s,@AUTOCONF@,$AUTOCONF,;t t
2833s,@AUTOMAKE@,$AUTOMAKE,;t t
2834s,@AUTOHEADER@,$AUTOHEADER,;t t
2835s,@MAKEINFO@,$MAKEINFO,;t t
2836s,@install_sh@,$install_sh,;t t
2837s,@STRIP@,$STRIP,;t t
2838s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2839s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2840s,@mkdir_p@,$mkdir_p,;t t
2841s,@AWK@,$AWK,;t t
2842s,@SET_MAKE@,$SET_MAKE,;t t
2843s,@am__leading_dot@,$am__leading_dot,;t t
2844s,@AMTAR@,$AMTAR,;t t
2845s,@am__tar@,$am__tar,;t t
2846s,@am__untar@,$am__untar,;t t
2847s,@subdirs@,$subdirs,;t t
2848s,@build@,$build,;t t
2849s,@build_cpu@,$build_cpu,;t t
2850s,@build_vendor@,$build_vendor,;t t
2851s,@build_os@,$build_os,;t t
2852s,@host@,$host,;t t
2853s,@host_cpu@,$host_cpu,;t t
2854s,@host_vendor@,$host_vendor,;t t
2855s,@host_os@,$host_os,;t t
2856s,@CC@,$CC,;t t
2857s,@CFLAGS@,$CFLAGS,;t t
2858s,@LDFLAGS@,$LDFLAGS,;t t
2859s,@CPPFLAGS@,$CPPFLAGS,;t t
2860s,@CPP@,$CPP,;t t
2861s,@CXX@,$CXX,;t t
2862s,@CXXFLAGS@,$CXXFLAGS,;t t
2863s,@CXXCPP@,$CXXCPP,;t t
2864s,@F77@,$F77,;t t
2865s,@FFLAGS@,$FFLAGS,;t t
2866s,@GCJ@,$GCJ,;t t
2867s,@GCJFLAGS@,$GCJFLAGS,;t t
2868s,@EMACS@,$EMACS,;t t
2869s,@EMACSLOADPATH@,$EMACSLOADPATH,;t t
2870s,@LIBOBJS@,$LIBOBJS,;t t
2871s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2872CEOF
2873
2874_ACEOF
2875
2876  cat >>$CONFIG_STATUS <<\_ACEOF
2877  # Split the substitutions into bite-sized pieces for seds with
2878  # small command number limits, like on Digital OSF/1 and HP-UX.
2879  ac_max_sed_lines=48
2880  ac_sed_frag=1 # Number of current file.
2881  ac_beg=1 # First line for current file.
2882  ac_end=$ac_max_sed_lines # Line after last line for current file.
2883  ac_more_lines=:
2884  ac_sed_cmds=
2885  while $ac_more_lines; do
2886    if test $ac_beg -gt 1; then
2887      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2888    else
2889      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2890    fi
2891    if test ! -s $tmp/subs.frag; then
2892      ac_more_lines=false
2893    else
2894      # The purpose of the label and of the branching condition is to
2895      # speed up the sed processing (if there are no `@' at all, there
2896      # is no need to browse any of the substitutions).
2897      # These are the two extra sed commands mentioned above.
2898      (echo ':t
2899  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2900      if test -z "$ac_sed_cmds"; then
2901        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2902      else
2903        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2904      fi
2905      ac_sed_frag=`expr $ac_sed_frag + 1`
2906      ac_beg=$ac_end
2907      ac_end=`expr $ac_end + $ac_max_sed_lines`
2908    fi
2909  done
2910  if test -z "$ac_sed_cmds"; then
2911    ac_sed_cmds=cat
2912  fi
2913fi # test -n "$CONFIG_FILES"
2914
2915_ACEOF
2916cat >>$CONFIG_STATUS <<\_ACEOF
2917for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2918  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2919  case $ac_file in
2920  - | *:- | *:-:* ) # input from stdin
2921        cat >$tmp/stdin
2922        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2923        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2924  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2925        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2926  * )   ac_file_in=$ac_file.in ;;
2927  esac
2928
2929  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2930  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2931$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2932         X"$ac_file" : 'X\(//\)[^/]' \| \
2933         X"$ac_file" : 'X\(//\)$' \| \
2934         X"$ac_file" : 'X\(/\)' \| \
2935         .     : '\(.\)' 2>/dev/null ||
2936echo X"$ac_file" |
2937    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2938          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2939          /^X\(\/\/\)$/{ s//\1/; q; }
2940          /^X\(\/\).*/{ s//\1/; q; }
2941          s/.*/./; q'`
2942  { if $as_mkdir_p; then
2943    mkdir -p "$ac_dir"
2944  else
2945    as_dir="$ac_dir"
2946    as_dirs=
2947    while test ! -d "$as_dir"; do
2948      as_dirs="$as_dir $as_dirs"
2949      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2950$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2951         X"$as_dir" : 'X\(//\)[^/]' \| \
2952         X"$as_dir" : 'X\(//\)$' \| \
2953         X"$as_dir" : 'X\(/\)' \| \
2954         .     : '\(.\)' 2>/dev/null ||
2955echo X"$as_dir" |
2956    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2957          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2958          /^X\(\/\/\)$/{ s//\1/; q; }
2959          /^X\(\/\).*/{ s//\1/; q; }
2960          s/.*/./; q'`
2961    done
2962    test ! -n "$as_dirs" || mkdir $as_dirs
2963  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2964echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2965   { (exit 1); exit 1; }; }; }
2966
2967  ac_builddir=.
2968
2969if test "$ac_dir" != .; then
2970  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2971  # A "../" for each directory in $ac_dir_suffix.
2972  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2973else
2974  ac_dir_suffix= ac_top_builddir=
2975fi
2976
2977case $srcdir in
2978  .)  # No --srcdir option.  We are building in place.
2979    ac_srcdir=.
2980    if test -z "$ac_top_builddir"; then
2981       ac_top_srcdir=.
2982    else
2983       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2984    fi ;;
2985  [\\/]* | ?:[\\/]* )  # Absolute path.
2986    ac_srcdir=$srcdir$ac_dir_suffix;
2987    ac_top_srcdir=$srcdir ;;
2988  *) # Relative path.
2989    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2990    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2991esac
2992
2993# Do not use `cd foo && pwd` to compute absolute paths, because
2994# the directories may not exist.
2995case `pwd` in
2996.) ac_abs_builddir="$ac_dir";;
2997*)
2998  case "$ac_dir" in
2999  .) ac_abs_builddir=`pwd`;;
3000  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3001  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3002  esac;;
3003esac
3004case $ac_abs_builddir in
3005.) ac_abs_top_builddir=${ac_top_builddir}.;;
3006*)
3007  case ${ac_top_builddir}. in
3008  .) ac_abs_top_builddir=$ac_abs_builddir;;
3009  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3010  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3011  esac;;
3012esac
3013case $ac_abs_builddir in
3014.) ac_abs_srcdir=$ac_srcdir;;
3015*)
3016  case $ac_srcdir in
3017  .) ac_abs_srcdir=$ac_abs_builddir;;
3018  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3019  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3020  esac;;
3021esac
3022case $ac_abs_builddir in
3023.) ac_abs_top_srcdir=$ac_top_srcdir;;
3024*)
3025  case $ac_top_srcdir in
3026  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3027  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3028  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3029  esac;;
3030esac
3031
3032
3033  case $INSTALL in
3034  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3035  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3036  esac
3037
3038  if test x"$ac_file" != x-; then
3039    { echo "$as_me:$LINENO: creating $ac_file" >&5
3040echo "$as_me: creating $ac_file" >&6;}
3041    rm -f "$ac_file"
3042  fi
3043  # Let's still pretend it is `configure' which instantiates (i.e., don't
3044  # use $as_me), people would be surprised to read:
3045  #    /* config.h.  Generated by config.status.  */
3046  if test x"$ac_file" = x-; then
3047    configure_input=
3048  else
3049    configure_input="$ac_file.  "
3050  fi
3051  configure_input=$configure_input"Generated from `echo $ac_file_in |
3052                                     sed 's,.*/,,'` by configure."
3053
3054  # First look for the input files in the build tree, otherwise in the
3055  # src tree.
3056  ac_file_inputs=`IFS=:
3057    for f in $ac_file_in; do
3058      case $f in
3059      -) echo $tmp/stdin ;;
3060      [\\/$]*)
3061         # Absolute (can't be DOS-style, as IFS=:)
3062         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3063echo "$as_me: error: cannot find input file: $f" >&2;}
3064   { (exit 1); exit 1; }; }
3065         echo "$f";;
3066      *) # Relative
3067         if test -f "$f"; then
3068           # Build tree
3069           echo "$f"
3070         elif test -f "$srcdir/$f"; then
3071           # Source tree
3072           echo "$srcdir/$f"
3073         else
3074           # /dev/null tree
3075           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3076echo "$as_me: error: cannot find input file: $f" >&2;}
3077   { (exit 1); exit 1; }; }
3078         fi;;
3079      esac
3080    done` || { (exit 1); exit 1; }
3081_ACEOF
3082cat >>$CONFIG_STATUS <<_ACEOF
3083  sed "$ac_vpsub
3084$extrasub
3085_ACEOF
3086cat >>$CONFIG_STATUS <<\_ACEOF
3087:t
3088/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3089s,@configure_input@,$configure_input,;t t
3090s,@srcdir@,$ac_srcdir,;t t
3091s,@abs_srcdir@,$ac_abs_srcdir,;t t
3092s,@top_srcdir@,$ac_top_srcdir,;t t
3093s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3094s,@builddir@,$ac_builddir,;t t
3095s,@abs_builddir@,$ac_abs_builddir,;t t
3096s,@top_builddir@,$ac_top_builddir,;t t
3097s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3098s,@INSTALL@,$ac_INSTALL,;t t
3099" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3100  rm -f $tmp/stdin
3101  if test x"$ac_file" != x-; then
3102    mv $tmp/out $ac_file
3103  else
3104    cat $tmp/out
3105    rm -f $tmp/out
3106  fi
3107
3108done
3109_ACEOF
3110
3111cat >>$CONFIG_STATUS <<\_ACEOF
3112
3113{ (exit 0); exit 0; }
3114_ACEOF
3115chmod +x $CONFIG_STATUS
3116ac_clean_files=$ac_clean_files_save
3117
3118
3119# configure is writing to config.log, and then calls config.status.
3120# config.status does its own redirection, appending to config.log.
3121# Unfortunately, on DOS this fails, as config.log is still kept open
3122# by configure, so config.status won't be able to write to it; its
3123# output is simply discarded.  So we exec the FD to /dev/null,
3124# effectively closing config.log, so it can be properly (re)opened and
3125# appended to by config.status.  When coming back to configure, we
3126# need to make the FD available again.
3127if test "$no_create" != yes; then
3128  ac_cs_success=:
3129  ac_config_status_args=
3130  test "$silent" = yes &&
3131    ac_config_status_args="$ac_config_status_args --quiet"
3132  exec 5>/dev/null
3133  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3134  exec 5>>config.log
3135  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3136  # would make configure fail if this is the last instruction.
3137  $ac_cs_success || { (exit 1); exit 1; }
3138fi
3139
3140#
3141# CONFIG_SUBDIRS section.
3142#
3143if test "$no_recursion" != yes; then
3144
3145  # Remove --cache-file and --srcdir arguments so they do not pile up.
3146  ac_sub_configure_args=
3147  ac_prev=
3148  for ac_arg in $ac_configure_args; do
3149    if test -n "$ac_prev"; then
3150      ac_prev=
3151      continue
3152    fi
3153    case $ac_arg in
3154    -cache-file | --cache-file | --cache-fil | --cache-fi \
3155    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3156      ac_prev=cache_file ;;
3157    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3158    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3159    | --c=*)
3160      ;;
3161    --config-cache | -C)
3162      ;;
3163    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3164      ac_prev=srcdir ;;
3165    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3166      ;;
3167    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3168      ac_prev=prefix ;;
3169    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3170      ;;
3171    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3172    esac
3173  done
3174
3175  # Always prepend --prefix to ensure using the same prefix
3176  # in subdir configurations.
3177  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3178
3179  ac_popdir=`pwd`
3180  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3181
3182    # Do not complain, so a configure script can configure whichever
3183    # parts of a large source tree are present.
3184    test -d $srcdir/$ac_dir || continue
3185
3186    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3187echo "$as_me: configuring in $ac_dir" >&6;}
3188    { if $as_mkdir_p; then
3189    mkdir -p "$ac_dir"
3190  else
3191    as_dir="$ac_dir"
3192    as_dirs=
3193    while test ! -d "$as_dir"; do
3194      as_dirs="$as_dir $as_dirs"
3195      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3196$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3197         X"$as_dir" : 'X\(//\)[^/]' \| \
3198         X"$as_dir" : 'X\(//\)$' \| \
3199         X"$as_dir" : 'X\(/\)' \| \
3200         .     : '\(.\)' 2>/dev/null ||
3201echo X"$as_dir" |
3202    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3203          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3204          /^X\(\/\/\)$/{ s//\1/; q; }
3205          /^X\(\/\).*/{ s//\1/; q; }
3206          s/.*/./; q'`
3207    done
3208    test ! -n "$as_dirs" || mkdir $as_dirs
3209  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3210echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3211   { (exit 1); exit 1; }; }; }
3212
3213    ac_builddir=.
3214
3215if test "$ac_dir" != .; then
3216  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3217  # A "../" for each directory in $ac_dir_suffix.
3218  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3219else
3220  ac_dir_suffix= ac_top_builddir=
3221fi
3222
3223case $srcdir in
3224  .)  # No --srcdir option.  We are building in place.
3225    ac_srcdir=.
3226    if test -z "$ac_top_builddir"; then
3227       ac_top_srcdir=.
3228    else
3229       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3230    fi ;;
3231  [\\/]* | ?:[\\/]* )  # Absolute path.
3232    ac_srcdir=$srcdir$ac_dir_suffix;
3233    ac_top_srcdir=$srcdir ;;
3234  *) # Relative path.
3235    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3236    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3237esac
3238
3239# Do not use `cd foo && pwd` to compute absolute paths, because
3240# the directories may not exist.
3241case `pwd` in
3242.) ac_abs_builddir="$ac_dir";;
3243*)
3244  case "$ac_dir" in
3245  .) ac_abs_builddir=`pwd`;;
3246  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3247  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3248  esac;;
3249esac
3250case $ac_abs_builddir in
3251.) ac_abs_top_builddir=${ac_top_builddir}.;;
3252*)
3253  case ${ac_top_builddir}. in
3254  .) ac_abs_top_builddir=$ac_abs_builddir;;
3255  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3256  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3257  esac;;
3258esac
3259case $ac_abs_builddir in
3260.) ac_abs_srcdir=$ac_srcdir;;
3261*)
3262  case $ac_srcdir in
3263  .) ac_abs_srcdir=$ac_abs_builddir;;
3264  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3265  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3266  esac;;
3267esac
3268case $ac_abs_builddir in
3269.) ac_abs_top_srcdir=$ac_top_srcdir;;
3270*)
3271  case $ac_top_srcdir in
3272  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3273  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3274  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3275  esac;;
3276esac
3277
3278
3279    cd $ac_dir
3280
3281    # Check for guested configure; otherwise get Cygnus style configure.
3282    if test -f $ac_srcdir/configure.gnu; then
3283      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3284    elif test -f $ac_srcdir/configure; then
3285      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3286    elif test -f $ac_srcdir/configure.in; then
3287      ac_sub_configure=$ac_configure
3288    else
3289      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3290echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3291      ac_sub_configure=
3292    fi
3293
3294    # The recursion is here.
3295    if test -n "$ac_sub_configure"; then
3296      # Make the cache file name correct relative to the subdirectory.
3297      case $cache_file in
3298      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3299      *) # Relative path.
3300        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3301      esac
3302
3303      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3304echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3305      # The eval makes quoting arguments work.
3306      eval $ac_sub_configure $ac_sub_configure_args \
3307           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3308        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3309echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3310   { (exit 1); exit 1; }; }
3311    fi
3312
3313    cd $ac_popdir
3314  done
3315fi
3316
Note: See TracBrowser for help on using the repository browser.