source: trunk/third/gettext2/configure @ 22167

Revision 22167, 96.0 KB checked in by ghudson, 19 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r22166, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.58.
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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot 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 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
765
766#
767# Report the --help message.
768#
769if test "$ac_init_help" = "long"; then
770  # Omit some internal or obsolete options to make the list less imposing.
771  # This message is too long to be a string in the A/UX 3.1 sh.
772  cat <<_ACEOF
773\`configure' configures this package to adapt to many kinds of systems.
774
775Usage: $0 [OPTION]... [VAR=VALUE]...
776
777To assign environment variables (e.g., CC, CFLAGS...), specify them as
778VAR=VALUE.  See below for descriptions of some of the useful variables.
779
780Defaults for the options are specified in brackets.
781
782Configuration:
783  -h, --help              display this help and exit
784      --help=short        display options specific to this package
785      --help=recursive    display the short help of all the included packages
786  -V, --version           display version information and exit
787  -q, --quiet, --silent   do not print \`checking...' messages
788      --cache-file=FILE   cache test results in FILE [disabled]
789  -C, --config-cache      alias for \`--cache-file=config.cache'
790  -n, --no-create         do not create output files
791      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
792
793_ACEOF
794
795  cat <<_ACEOF
796Installation directories:
797  --prefix=PREFIX         install architecture-independent files in PREFIX
798                          [$ac_default_prefix]
799  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
800                          [PREFIX]
801
802By default, \`make install' will install all the files in
803\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
804an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805for instance \`--prefix=\$HOME'.
806
807For better control, use the options below.
808
809Fine tuning of the installation directories:
810  --bindir=DIR           user executables [EPREFIX/bin]
811  --sbindir=DIR          system admin executables [EPREFIX/sbin]
812  --libexecdir=DIR       program executables [EPREFIX/libexec]
813  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
814  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
815  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
816  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
817  --libdir=DIR           object code libraries [EPREFIX/lib]
818  --includedir=DIR       C header files [PREFIX/include]
819  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
820  --infodir=DIR          info documentation [PREFIX/info]
821  --mandir=DIR           man documentation [PREFIX/man]
822_ACEOF
823
824  cat <<\_ACEOF
825
826Program names:
827  --program-prefix=PREFIX            prepend PREFIX to installed program names
828  --program-suffix=SUFFIX            append SUFFIX to installed program names
829  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
830
831System types:
832  --build=BUILD     configure for building on BUILD [guessed]
833  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
834_ACEOF
835fi
836
837if test -n "$ac_init_help"; then
838
839  cat <<\_ACEOF
840
841Optional Features:
842  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
843  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
844  --disable-dependency-tracking Speeds up one-time builds
845  --enable-dependency-tracking  Do not reject slow dependency extractors
846  --enable-shared=PKGS  build shared libraries [default=yes]
847  --enable-static=PKGS  build static libraries [default=yes]
848  --enable-fast-install=PKGS
849                          optimize for fast installation [default=yes]
850  --disable-libtool-lock  avoid locking (might break parallel builds)
851  --enable-relocatable    install a package that can be moved in the filesystem
852  --disable-nls           do not use Native Language Support
853  --disable-rpath         do not hardcode runtime library paths
854  --disable-libasprintf   do not build libasprintf
855
856Optional Packages:
857  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
858  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
859  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
860  --with-pic              try to use only PIC/non-PIC objects
861                          [default=use], [both]
862  --with-tags=TAGS      include additional configurations [automatic]
863  --with-gnu-ld           assume the C compiler uses GNU ld default=no
864  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
865  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
866  --with-included-gettext use the GNU gettext library included here
867  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
868  --without-libintl-prefix     don't search for libintl in includedir and libdir
869  --with-libexpat-prefix[=DIR]  search for libexpat in DIR/include and DIR/lib
870  --without-libexpat-prefix     don't search for libexpat in includedir and libdir
871  --with-lispdir          Override the default lisp directory
872
873Some influential environment variables:
874  CC          C compiler command
875  CFLAGS      C compiler flags
876  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
877              nonstandard directory <lib dir>
878  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
879              headers in a nonstandard directory <include dir>
880  CPP         C preprocessor
881  CXX         C++ compiler command
882  CXXFLAGS    C++ compiler flags
883  CXXCPP      C++ preprocessor
884  F77         Fortran 77 compiler command
885  FFLAGS      Fortran 77 compiler flags
886  GCJ         Java native code compiler command
887  GCJFLAGS    Java native code compiler flags
888
889Use these variables to override the choices made by `configure' or to help
890it to find libraries and programs with nonstandard names/locations.
891
892_ACEOF
893fi
894
895if test "$ac_init_help" = "recursive"; then
896  # If there are subdirs, report their specific --help.
897  ac_popdir=`pwd`
898  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
899    test -d $ac_dir || continue
900    ac_builddir=.
901
902if test "$ac_dir" != .; then
903  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904  # A "../" for each directory in $ac_dir_suffix.
905  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
906else
907  ac_dir_suffix= ac_top_builddir=
908fi
909
910case $srcdir in
911  .)  # No --srcdir option.  We are building in place.
912    ac_srcdir=.
913    if test -z "$ac_top_builddir"; then
914       ac_top_srcdir=.
915    else
916       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
917    fi ;;
918  [\\/]* | ?:[\\/]* )  # Absolute path.
919    ac_srcdir=$srcdir$ac_dir_suffix;
920    ac_top_srcdir=$srcdir ;;
921  *) # Relative path.
922    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
923    ac_top_srcdir=$ac_top_builddir$srcdir ;;
924esac
925case "$ac_dir" in
926.) ac_abs_builddir=$ac_builddir;;
927*)
928  case $ac_builddir in
929  .) ac_abs_builddir="$ac_dir";;
930  [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
931  *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
932  esac;;
933esac
934case "$ac_dir" in
935.) ac_abs_top_builddir=${ac_top_builddir}.;;
936*)
937  case ${ac_top_builddir}. in
938  .) ac_abs_top_builddir="$ac_dir";;
939  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
940  *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
941  esac;;
942esac
943case "$ac_dir" in
944.) ac_abs_srcdir=$ac_srcdir;;
945*)
946  case $ac_srcdir in
947  .) ac_abs_srcdir="$ac_dir";;
948  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
949  *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
950  esac;;
951esac
952case "$ac_dir" in
953.) ac_abs_top_srcdir=$ac_top_srcdir;;
954*)
955  case $ac_top_srcdir in
956  .) ac_abs_top_srcdir="$ac_dir";;
957  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
958  *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
959  esac;;
960esac
961
962    cd $ac_dir
963    # Check for guested configure; otherwise get Cygnus style configure.
964    if test -f $ac_srcdir/configure.gnu; then
965      echo
966      $SHELL $ac_srcdir/configure.gnu  --help=recursive
967    elif test -f $ac_srcdir/configure; then
968      echo
969      $SHELL $ac_srcdir/configure  --help=recursive
970    elif test -f $ac_srcdir/configure.ac ||
971           test -f $ac_srcdir/configure.in; then
972      echo
973      $ac_configure --help
974    else
975      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976    fi
977    cd $ac_popdir
978  done
979fi
980
981test -n "$ac_init_help" && exit 0
982if $ac_init_version; then
983  cat <<\_ACEOF
984
985Copyright (C) 2003 Free Software Foundation, Inc.
986This configure script is free software; the Free Software Foundation
987gives unlimited permission to copy, distribute and modify it.
988_ACEOF
989  exit 0
990fi
991exec 5>config.log
992cat >&5 <<_ACEOF
993This file contains any messages produced by compilers while
994running configure, to aid debugging if configure makes a mistake.
995
996It was created by $as_me, which was
997generated by GNU Autoconf 2.58.  Invocation command line was
998
999  $ $0 $@
1000
1001_ACEOF
1002{
1003cat <<_ASUNAME
1004## --------- ##
1005## Platform. ##
1006## --------- ##
1007
1008hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1009uname -m = `(uname -m) 2>/dev/null || echo unknown`
1010uname -r = `(uname -r) 2>/dev/null || echo unknown`
1011uname -s = `(uname -s) 2>/dev/null || echo unknown`
1012uname -v = `(uname -v) 2>/dev/null || echo unknown`
1013
1014/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1015/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1016
1017/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1018/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1019/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1020hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1021/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1022/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1023/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1024
1025_ASUNAME
1026
1027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028for as_dir in $PATH
1029do
1030  IFS=$as_save_IFS
1031  test -z "$as_dir" && as_dir=.
1032  echo "PATH: $as_dir"
1033done
1034
1035} >&5
1036
1037cat >&5 <<_ACEOF
1038
1039
1040## ----------- ##
1041## Core tests. ##
1042## ----------- ##
1043
1044_ACEOF
1045
1046
1047# Keep a trace of the command line.
1048# Strip out --no-create and --no-recursion so they do not pile up.
1049# Strip out --silent because we don't want to record it for future runs.
1050# Also quote any args containing shell meta-characters.
1051# Make two passes to allow for proper duplicate-argument suppression.
1052ac_configure_args=
1053ac_configure_args0=
1054ac_configure_args1=
1055ac_sep=
1056ac_must_keep_next=false
1057for ac_pass in 1 2
1058do
1059  for ac_arg
1060  do
1061    case $ac_arg in
1062    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064    | -silent | --silent | --silen | --sile | --sil)
1065      continue ;;
1066    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1068    esac
1069    case $ac_pass in
1070    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1071    2)
1072      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073      if test $ac_must_keep_next = true; then
1074        ac_must_keep_next=false # Got value, back to normal.
1075      else
1076        case $ac_arg in
1077          *=* | --config-cache | -C | -disable-* | --disable-* \
1078          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080          | -with-* | --with-* | -without-* | --without-* | --x)
1081            case "$ac_configure_args0 " in
1082              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083            esac
1084            ;;
1085          -* ) ac_must_keep_next=true ;;
1086        esac
1087      fi
1088      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089      # Get rid of the leading space.
1090      ac_sep=" "
1091      ;;
1092    esac
1093  done
1094done
1095$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1097
1098# When interrupted or exit'd, cleanup temporary files, and complete
1099# config.log.  We remove comments because anyway the quotes in there
1100# would cause problems or look ugly.
1101# WARNING: Be sure not to use single quotes in there, as some shells,
1102# such as our DU 5.0 friend, will then `close' the trap.
1103trap 'exit_status=$?
1104  # Save into config.log some information that might help in debugging.
1105  {
1106    echo
1107
1108    cat <<\_ASBOX
1109## ---------------- ##
1110## Cache variables. ##
1111## ---------------- ##
1112_ASBOX
1113    echo
1114    # The following way of writing the cache mishandles newlines in values,
1115{
1116  (set) 2>&1 |
1117    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118    *ac_space=\ *)
1119      sed -n \
1120        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122      ;;
1123    *)
1124      sed -n \
1125        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126      ;;
1127    esac;
1128}
1129    echo
1130
1131    cat <<\_ASBOX
1132## ----------------- ##
1133## Output variables. ##
1134## ----------------- ##
1135_ASBOX
1136    echo
1137    for ac_var in $ac_subst_vars
1138    do
1139      eval ac_val=$`echo $ac_var`
1140      echo "$ac_var='"'"'$ac_val'"'"'"
1141    done | sort
1142    echo
1143
1144    if test -n "$ac_subst_files"; then
1145      cat <<\_ASBOX
1146## ------------- ##
1147## Output files. ##
1148## ------------- ##
1149_ASBOX
1150      echo
1151      for ac_var in $ac_subst_files
1152      do
1153        eval ac_val=$`echo $ac_var`
1154        echo "$ac_var='"'"'$ac_val'"'"'"
1155      done | sort
1156      echo
1157    fi
1158
1159    if test -s confdefs.h; then
1160      cat <<\_ASBOX
1161## ----------- ##
1162## confdefs.h. ##
1163## ----------- ##
1164_ASBOX
1165      echo
1166      sed "/^$/d" confdefs.h | sort
1167      echo
1168    fi
1169    test "$ac_signal" != 0 &&
1170      echo "$as_me: caught signal $ac_signal"
1171    echo "$as_me: exit $exit_status"
1172  } >&5
1173  rm -f core *.core &&
1174  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1175    exit $exit_status
1176     ' 0
1177for ac_signal in 1 2 13 15; do
1178  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179done
1180ac_signal=0
1181
1182# confdefs.h avoids OS command line length limits that DEFS can exceed.
1183rm -rf conftest* confdefs.h
1184# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185echo >confdefs.h
1186
1187# Predefined preprocessor variables.
1188
1189cat >>confdefs.h <<_ACEOF
1190#define PACKAGE_NAME "$PACKAGE_NAME"
1191_ACEOF
1192
1193
1194cat >>confdefs.h <<_ACEOF
1195#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196_ACEOF
1197
1198
1199cat >>confdefs.h <<_ACEOF
1200#define PACKAGE_VERSION "$PACKAGE_VERSION"
1201_ACEOF
1202
1203
1204cat >>confdefs.h <<_ACEOF
1205#define PACKAGE_STRING "$PACKAGE_STRING"
1206_ACEOF
1207
1208
1209cat >>confdefs.h <<_ACEOF
1210#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211_ACEOF
1212
1213
1214# Let the site file select an alternate cache file if it wants to.
1215# Prefer explicitly selected file to automatically selected ones.
1216if test -z "$CONFIG_SITE"; then
1217  if test "x$prefix" != xNONE; then
1218    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1219  else
1220    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221  fi
1222fi
1223for ac_site_file in $CONFIG_SITE; do
1224  if test -r "$ac_site_file"; then
1225    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226echo "$as_me: loading site script $ac_site_file" >&6;}
1227    sed 's/^/| /' "$ac_site_file" >&5
1228    . "$ac_site_file"
1229  fi
1230done
1231
1232if test -r "$cache_file"; then
1233  # Some versions of bash will fail to source /dev/null (special
1234  # files actually), so we avoid doing that.
1235  if test -f "$cache_file"; then
1236    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237echo "$as_me: loading cache $cache_file" >&6;}
1238    case $cache_file in
1239      [\\/]* | ?:[\\/]* ) . $cache_file;;
1240      *)                      . ./$cache_file;;
1241    esac
1242  fi
1243else
1244  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245echo "$as_me: creating cache $cache_file" >&6;}
1246  >$cache_file
1247fi
1248
1249# Check that the precious variables saved in the cache have kept the same
1250# value.
1251ac_cache_corrupted=false
1252for ac_var in `(set) 2>&1 |
1253               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1254  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255  eval ac_new_set=\$ac_env_${ac_var}_set
1256  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257  eval ac_new_val="\$ac_env_${ac_var}_value"
1258  case $ac_old_set,$ac_new_set in
1259    set,)
1260      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1261echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1262      ac_cache_corrupted=: ;;
1263    ,set)
1264      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1265echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266      ac_cache_corrupted=: ;;
1267    ,);;
1268    *)
1269      if test "x$ac_old_val" != "x$ac_new_val"; then
1270        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1271echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1272        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1273echo "$as_me:   former value:  $ac_old_val" >&2;}
1274        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1275echo "$as_me:   current value: $ac_new_val" >&2;}
1276        ac_cache_corrupted=:
1277      fi;;
1278  esac
1279  # Pass precious variables to config.status.
1280  if test "$ac_new_set" = set; then
1281    case $ac_new_val in
1282    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284    *) ac_arg=$ac_var=$ac_new_val ;;
1285    esac
1286    case " $ac_configure_args " in
1287      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1288      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289    esac
1290  fi
1291done
1292if $ac_cache_corrupted; then
1293  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1296echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297   { (exit 1); exit 1; }; }
1298fi
1299
1300ac_ext=c
1301ac_cpp='$CPP $CPPFLAGS'
1302ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304ac_compiler_gnu=$ac_cv_c_compiler_gnu
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325ac_aux_dir=
1326for ac_dir in config $srcdir/config; do
1327  if test -f $ac_dir/install-sh; then
1328    ac_aux_dir=$ac_dir
1329    ac_install_sh="$ac_aux_dir/install-sh -c"
1330    break
1331  elif test -f $ac_dir/install.sh; then
1332    ac_aux_dir=$ac_dir
1333    ac_install_sh="$ac_aux_dir/install.sh -c"
1334    break
1335  elif test -f $ac_dir/shtool; then
1336    ac_aux_dir=$ac_dir
1337    ac_install_sh="$ac_aux_dir/shtool install -c"
1338    break
1339  fi
1340done
1341if test -z "$ac_aux_dir"; then
1342  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1343echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1344   { (exit 1); exit 1; }; }
1345fi
1346ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1347ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1348ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1349
1350. $srcdir/version.sh
1351am__api_version="1.7"
1352# Find a good install program.  We prefer a C program (faster),
1353# so one script is as good as another.  But avoid the broken or
1354# incompatible versions:
1355# SysV /etc/install, /usr/sbin/install
1356# SunOS /usr/etc/install
1357# IRIX /sbin/install
1358# AIX /bin/install
1359# AmigaOS /C/install, which installs bootblocks on floppy discs
1360# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1361# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1362# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1363# OS/2's system install, which has a completely different semantic
1364# ./install, which can be erroneously created by make from ./install.sh.
1365echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1366echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1367if test -z "$INSTALL"; then
1368if test "${ac_cv_path_install+set}" = set; then
1369  echo $ECHO_N "(cached) $ECHO_C" >&6
1370else
1371  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1372for as_dir in $PATH
1373do
1374  IFS=$as_save_IFS
1375  test -z "$as_dir" && as_dir=.
1376  # Account for people who put trailing slashes in PATH elements.
1377case $as_dir/ in
1378  ./ | .// | /cC/* | \
1379  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1380  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1381  /usr/ucb/* ) ;;
1382  *)
1383    # OSF1 and SCO ODT 3.0 have their own names for install.
1384    # Don't use installbsd from OSF since it installs stuff as root
1385    # by default.
1386    for ac_prog in ginstall scoinst install; do
1387      for ac_exec_ext in '' $ac_executable_extensions; do
1388        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1389          if test $ac_prog = install &&
1390            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1391            # AIX install.  It has an incompatible calling convention.
1392            :
1393          elif test $ac_prog = install &&
1394            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1395            # program-specific install script used by HP pwplus--don't use.
1396            :
1397          else
1398            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1399            break 3
1400          fi
1401        fi
1402      done
1403    done
1404    ;;
1405esac
1406done
1407
1408
1409fi
1410  if test "${ac_cv_path_install+set}" = set; then
1411    INSTALL=$ac_cv_path_install
1412  else
1413    # As a last resort, use the slow shell script.  We don't cache a
1414    # path for INSTALL within a source directory, because that will
1415    # break other packages using the cache if that directory is
1416    # removed, or if the path is relative.
1417    INSTALL=$ac_install_sh
1418  fi
1419fi
1420echo "$as_me:$LINENO: result: $INSTALL" >&5
1421echo "${ECHO_T}$INSTALL" >&6
1422
1423# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1424# It thinks the first close brace ends the variable substitution.
1425test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1426
1427test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1428
1429test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1430
1431echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1432echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1433# Just in case
1434sleep 1
1435echo timestamp > conftest.file
1436# Do `set' in a subshell so we don't clobber the current shell's
1437# arguments.  Must try -L first in case configure is actually a
1438# symlink; some systems play weird games with the mod time of symlinks
1439# (eg FreeBSD returns the mod time of the symlink's containing
1440# directory).
1441if (
1442   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1443   if test "$*" = "X"; then
1444      # -L didn't work.
1445      set X `ls -t $srcdir/configure conftest.file`
1446   fi
1447   rm -f conftest.file
1448   if test "$*" != "X $srcdir/configure conftest.file" \
1449      && test "$*" != "X conftest.file $srcdir/configure"; then
1450
1451      # If neither matched, then we have a broken ls.  This can happen
1452      # if, for instance, CONFIG_SHELL is bash and it inherits a
1453      # broken ls alias from the environment.  This has actually
1454      # happened.  Such a system could not be considered "sane".
1455      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1456alias in your environment" >&5
1457echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1458alias in your environment" >&2;}
1459   { (exit 1); exit 1; }; }
1460   fi
1461
1462   test "$2" = conftest.file
1463   )
1464then
1465   # Ok.
1466   :
1467else
1468   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1469Check your system clock" >&5
1470echo "$as_me: error: newly created file is older than distributed files!
1471Check your system clock" >&2;}
1472   { (exit 1); exit 1; }; }
1473fi
1474echo "$as_me:$LINENO: result: yes" >&5
1475echo "${ECHO_T}yes" >&6
1476test "$program_prefix" != NONE &&
1477  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1478# Use a double $ so make ignores it.
1479test "$program_suffix" != NONE &&
1480  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1481# Double any \ or $.  echo might interpret backslashes.
1482# By default was `s,x,x', remove it if useless.
1483cat <<\_ACEOF >conftest.sed
1484s/[\\$]/&&/g;s/;s,x,x,$//
1485_ACEOF
1486program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1487rm conftest.sed
1488
1489
1490# expand $ac_aux_dir to an absolute path
1491am_aux_dir=`cd $ac_aux_dir && pwd`
1492
1493test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1494# Use eval to expand $SHELL
1495if eval "$MISSING --run true"; then
1496  am_missing_run="$MISSING --run "
1497else
1498  am_missing_run=
1499  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1500echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1501fi
1502
1503for ac_prog in gawk mawk nawk awk
1504do
1505  # Extract the first word of "$ac_prog", so it can be a program name with args.
1506set dummy $ac_prog; ac_word=$2
1507echo "$as_me:$LINENO: checking for $ac_word" >&5
1508echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1509if test "${ac_cv_prog_AWK+set}" = set; then
1510  echo $ECHO_N "(cached) $ECHO_C" >&6
1511else
1512  if test -n "$AWK"; then
1513  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1514else
1515as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1516for as_dir in $PATH
1517do
1518  IFS=$as_save_IFS
1519  test -z "$as_dir" && as_dir=.
1520  for ac_exec_ext in '' $ac_executable_extensions; do
1521  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1522    ac_cv_prog_AWK="$ac_prog"
1523    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1524    break 2
1525  fi
1526done
1527done
1528
1529fi
1530fi
1531AWK=$ac_cv_prog_AWK
1532if test -n "$AWK"; then
1533  echo "$as_me:$LINENO: result: $AWK" >&5
1534echo "${ECHO_T}$AWK" >&6
1535else
1536  echo "$as_me:$LINENO: result: no" >&5
1537echo "${ECHO_T}no" >&6
1538fi
1539
1540  test -n "$AWK" && break
1541done
1542
1543echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1544echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1545set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1546if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1547  echo $ECHO_N "(cached) $ECHO_C" >&6
1548else
1549  cat >conftest.make <<\_ACEOF
1550all:
1551        @echo 'ac_maketemp="$(MAKE)"'
1552_ACEOF
1553# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1554eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1555if test -n "$ac_maketemp"; then
1556  eval ac_cv_prog_make_${ac_make}_set=yes
1557else
1558  eval ac_cv_prog_make_${ac_make}_set=no
1559fi
1560rm -f conftest.make
1561fi
1562if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1563  echo "$as_me:$LINENO: result: yes" >&5
1564echo "${ECHO_T}yes" >&6
1565  SET_MAKE=
1566else
1567  echo "$as_me:$LINENO: result: no" >&5
1568echo "${ECHO_T}no" >&6
1569  SET_MAKE="MAKE=${MAKE-make}"
1570fi
1571
1572rm -rf .tst 2>/dev/null
1573mkdir .tst 2>/dev/null
1574if test -d .tst; then
1575  am__leading_dot=.
1576else
1577  am__leading_dot=_
1578fi
1579rmdir .tst 2>/dev/null
1580
1581 # test to see if srcdir already configured
1582if test "`cd $srcdir && pwd`" != "`pwd`" &&
1583   test -f $srcdir/config.status; then
1584  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1585echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1586   { (exit 1); exit 1; }; }
1587fi
1588
1589# test whether we have cygpath
1590if test -z "$CYGPATH_W"; then
1591  if (cygpath --version) >/dev/null 2>/dev/null; then
1592    CYGPATH_W='cygpath -w'
1593  else
1594    CYGPATH_W=echo
1595  fi
1596fi
1597
1598
1599# Define the identity of the package.
1600 PACKAGE=gettext
1601 VERSION=$VERSION_NUMBER
1602
1603
1604cat >>confdefs.h <<_ACEOF
1605#define PACKAGE "$PACKAGE"
1606_ACEOF
1607
1608
1609cat >>confdefs.h <<_ACEOF
1610#define VERSION "$VERSION"
1611_ACEOF
1612
1613# Some tools Automake needs.
1614
1615ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1616
1617
1618AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1619
1620
1621AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1622
1623
1624AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1625
1626
1627MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1628
1629
1630AMTAR=${AMTAR-"${am_missing_run}tar"}
1631
1632install_sh=${install_sh-"$am_aux_dir/install-sh"}
1633
1634# Installed binaries are usually stripped using `strip' when the user
1635# run `make install-strip'.  However `strip' might not be the right
1636# tool to use in cross-compilation environments, therefore Automake
1637# will honor the `STRIP' environment variable to overrule this program.
1638if test "$cross_compiling" != no; then
1639  if test -n "$ac_tool_prefix"; then
1640  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1641set dummy ${ac_tool_prefix}strip; ac_word=$2
1642echo "$as_me:$LINENO: checking for $ac_word" >&5
1643echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1644if test "${ac_cv_prog_STRIP+set}" = set; then
1645  echo $ECHO_N "(cached) $ECHO_C" >&6
1646else
1647  if test -n "$STRIP"; then
1648  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1649else
1650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1651for as_dir in $PATH
1652do
1653  IFS=$as_save_IFS
1654  test -z "$as_dir" && as_dir=.
1655  for ac_exec_ext in '' $ac_executable_extensions; do
1656  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1657    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1658    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1659    break 2
1660  fi
1661done
1662done
1663
1664fi
1665fi
1666STRIP=$ac_cv_prog_STRIP
1667if test -n "$STRIP"; then
1668  echo "$as_me:$LINENO: result: $STRIP" >&5
1669echo "${ECHO_T}$STRIP" >&6
1670else
1671  echo "$as_me:$LINENO: result: no" >&5
1672echo "${ECHO_T}no" >&6
1673fi
1674
1675fi
1676if test -z "$ac_cv_prog_STRIP"; then
1677  ac_ct_STRIP=$STRIP
1678  # Extract the first word of "strip", so it can be a program name with args.
1679set dummy strip; ac_word=$2
1680echo "$as_me:$LINENO: checking for $ac_word" >&5
1681echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1682if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1683  echo $ECHO_N "(cached) $ECHO_C" >&6
1684else
1685  if test -n "$ac_ct_STRIP"; then
1686  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1687else
1688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1689for as_dir in $PATH
1690do
1691  IFS=$as_save_IFS
1692  test -z "$as_dir" && as_dir=.
1693  for ac_exec_ext in '' $ac_executable_extensions; do
1694  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1695    ac_cv_prog_ac_ct_STRIP="strip"
1696    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1697    break 2
1698  fi
1699done
1700done
1701
1702  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1703fi
1704fi
1705ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1706if test -n "$ac_ct_STRIP"; then
1707  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1708echo "${ECHO_T}$ac_ct_STRIP" >&6
1709else
1710  echo "$as_me:$LINENO: result: no" >&5
1711echo "${ECHO_T}no" >&6
1712fi
1713
1714  STRIP=$ac_ct_STRIP
1715else
1716  STRIP="$ac_cv_prog_STRIP"
1717fi
1718
1719fi
1720INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1721
1722# We need awk for the "check" target.  The system "awk" is bad on
1723# some platforms.
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735subdirs="$subdirs autoconf-lib-link gettext-runtime gettext-tools"
1736
1737
1738# Make sure we can run config.sub.
1739$ac_config_sub sun4 >/dev/null 2>&1 ||
1740  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1741echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1742   { (exit 1); exit 1; }; }
1743
1744echo "$as_me:$LINENO: checking build system type" >&5
1745echo $ECHO_N "checking build system type... $ECHO_C" >&6
1746if test "${ac_cv_build+set}" = set; then
1747  echo $ECHO_N "(cached) $ECHO_C" >&6
1748else
1749  ac_cv_build_alias=$build_alias
1750test -z "$ac_cv_build_alias" &&
1751  ac_cv_build_alias=`$ac_config_guess`
1752test -z "$ac_cv_build_alias" &&
1753  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1754echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1755   { (exit 1); exit 1; }; }
1756ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1757  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1758echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1759   { (exit 1); exit 1; }; }
1760
1761fi
1762echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1763echo "${ECHO_T}$ac_cv_build" >&6
1764build=$ac_cv_build
1765build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1766build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1767build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1768
1769
1770echo "$as_me:$LINENO: checking host system type" >&5
1771echo $ECHO_N "checking host system type... $ECHO_C" >&6
1772if test "${ac_cv_host+set}" = set; then
1773  echo $ECHO_N "(cached) $ECHO_C" >&6
1774else
1775  ac_cv_host_alias=$host_alias
1776test -z "$ac_cv_host_alias" &&
1777  ac_cv_host_alias=$ac_cv_build_alias
1778ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1779  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1780echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1781   { (exit 1); exit 1; }; }
1782
1783fi
1784echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1785echo "${ECHO_T}$ac_cv_host" >&6
1786host=$ac_cv_host
1787host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1788host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1789host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1790
1791
1792
1793
1794
1795
1796# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1797if test "${enable_dependency_tracking+set}" = set; then
1798  enableval="$enable_dependency_tracking"
1799
1800fi;
1801# Check whether --enable-shared or --disable-shared was given.
1802if test "${enable_shared+set}" = set; then
1803  enableval="$enable_shared"
1804
1805fi;
1806# Check whether --enable-static or --disable-static was given.
1807if test "${enable_static+set}" = set; then
1808  enableval="$enable_static"
1809
1810fi;
1811# Check whether --enable-fast-install or --disable-fast-install was given.
1812if test "${enable_fast_install+set}" = set; then
1813  enableval="$enable_fast_install"
1814
1815fi;
1816
1817# Check whether --with-gnu-ld or --without-gnu-ld was given.
1818if test "${with_gnu_ld+set}" = set; then
1819  withval="$with_gnu_ld"
1820
1821fi;
1822# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1823if test "${enable_libtool_lock+set}" = set; then
1824  enableval="$enable_libtool_lock"
1825
1826fi;
1827
1828# Check whether --with-pic or --without-pic was given.
1829if test "${with_pic+set}" = set; then
1830  withval="$with_pic"
1831
1832fi;
1833# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1834if test "${enable_libtool_lock+set}" = set; then
1835  enableval="$enable_libtool_lock"
1836
1837fi;
1838
1839
1840
1841# Check whether --with-tags or --without-tags was given.
1842if test "${with_tags+set}" = set; then
1843  withval="$with_tags"
1844
1845fi;
1846
1847
1848
1849
1850
1851
1852
1853# Check whether --with-gnu-ld or --without-gnu-ld was given.
1854if test "${with_gnu_ld+set}" = set; then
1855  withval="$with_gnu_ld"
1856
1857fi;
1858
1859
1860
1861
1862
1863
1864
1865# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1866if test "${enable_dependency_tracking+set}" = set; then
1867  enableval="$enable_dependency_tracking"
1868
1869fi;
1870
1871
1872# Check whether --enable-shared or --disable-shared was given.
1873if test "${enable_shared+set}" = set; then
1874  enableval="$enable_shared"
1875
1876fi;
1877# Check whether --enable-static or --disable-static was given.
1878if test "${enable_static+set}" = set; then
1879  enableval="$enable_static"
1880
1881fi;
1882# Check whether --enable-fast-install or --disable-fast-install was given.
1883if test "${enable_fast_install+set}" = set; then
1884  enableval="$enable_fast_install"
1885
1886fi;
1887
1888# Check whether --with-gnu-ld or --without-gnu-ld was given.
1889if test "${with_gnu_ld+set}" = set; then
1890  withval="$with_gnu_ld"
1891
1892fi;
1893# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1894if test "${enable_libtool_lock+set}" = set; then
1895  enableval="$enable_libtool_lock"
1896
1897fi;
1898
1899# Check whether --with-pic or --without-pic was given.
1900if test "${with_pic+set}" = set; then
1901  withval="$with_pic"
1902
1903fi;
1904# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1905if test "${enable_libtool_lock+set}" = set; then
1906  enableval="$enable_libtool_lock"
1907
1908fi;
1909
1910# Check whether --with-tags or --without-tags was given.
1911if test "${with_tags+set}" = set; then
1912  withval="$with_tags"
1913
1914fi;
1915
1916
1917
1918
1919
1920
1921
1922# Check whether --with-gnu-ld or --without-gnu-ld was given.
1923if test "${with_gnu_ld+set}" = set; then
1924  withval="$with_gnu_ld"
1925
1926fi;
1927
1928
1929
1930
1931# Check whether --with-gnu-ld or --without-gnu-ld was given.
1932if test "${with_gnu_ld+set}" = set; then
1933  withval="$with_gnu_ld"
1934
1935fi;
1936# Check whether --enable-relocatable or --disable-relocatable was given.
1937if test "${enable_relocatable+set}" = set; then
1938  enableval="$enable_relocatable"
1939
1940fi;
1941# Check whether --enable-nls or --disable-nls was given.
1942if test "${enable_nls+set}" = set; then
1943  enableval="$enable_nls"
1944
1945fi;
1946# Check whether --enable-rpath or --disable-rpath was given.
1947if test "${enable_rpath+set}" = set; then
1948  enableval="$enable_rpath"
1949
1950fi;
1951
1952# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
1953if test "${with_libiconv_prefix+set}" = set; then
1954  withval="$with_libiconv_prefix"
1955
1956fi;
1957# Check whether --enable-nls or --disable-nls was given.
1958if test "${enable_nls+set}" = set; then
1959  enableval="$enable_nls"
1960
1961fi;
1962
1963# Check whether --with-included-gettext or --without-included-gettext was given.
1964if test "${with_included_gettext+set}" = set; then
1965  withval="$with_included_gettext"
1966
1967fi;
1968
1969# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
1970if test "${with_libintl_prefix+set}" = set; then
1971  withval="$with_libintl_prefix"
1972
1973fi;
1974
1975
1976# Check whether --enable-libasprintf or --disable-libasprintf was given.
1977if test "${enable_libasprintf+set}" = set; then
1978  enableval="$enable_libasprintf"
1979
1980fi;
1981
1982
1983
1984
1985# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1986if test "${enable_dependency_tracking+set}" = set; then
1987  enableval="$enable_dependency_tracking"
1988
1989fi;
1990
1991
1992
1993
1994# Check whether --enable-shared or --disable-shared was given.
1995if test "${enable_shared+set}" = set; then
1996  enableval="$enable_shared"
1997
1998fi;
1999# Check whether --enable-static or --disable-static was given.
2000if test "${enable_static+set}" = set; then
2001  enableval="$enable_static"
2002
2003fi;
2004# Check whether --enable-fast-install or --disable-fast-install was given.
2005if test "${enable_fast_install+set}" = set; then
2006  enableval="$enable_fast_install"
2007
2008fi;
2009
2010# Check whether --with-gnu-ld or --without-gnu-ld was given.
2011if test "${with_gnu_ld+set}" = set; then
2012  withval="$with_gnu_ld"
2013
2014fi;
2015# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2016if test "${enable_libtool_lock+set}" = set; then
2017  enableval="$enable_libtool_lock"
2018
2019fi;
2020
2021# Check whether --with-pic or --without-pic was given.
2022if test "${with_pic+set}" = set; then
2023  withval="$with_pic"
2024
2025fi;
2026# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2027if test "${enable_libtool_lock+set}" = set; then
2028  enableval="$enable_libtool_lock"
2029
2030fi;
2031
2032# Check whether --with-tags or --without-tags was given.
2033if test "${with_tags+set}" = set; then
2034  withval="$with_tags"
2035
2036fi;
2037
2038
2039
2040
2041
2042
2043
2044# Check whether --with-gnu-ld or --without-gnu-ld was given.
2045if test "${with_gnu_ld+set}" = set; then
2046  withval="$with_gnu_ld"
2047
2048fi;
2049
2050
2051
2052
2053# Check whether --with-gnu-ld or --without-gnu-ld was given.
2054if test "${with_gnu_ld+set}" = set; then
2055  withval="$with_gnu_ld"
2056
2057fi;
2058# Check whether --enable-relocatable or --disable-relocatable was given.
2059if test "${enable_relocatable+set}" = set; then
2060  enableval="$enable_relocatable"
2061
2062fi;
2063# Check whether --enable-nls or --disable-nls was given.
2064if test "${enable_nls+set}" = set; then
2065  enableval="$enable_nls"
2066
2067fi;
2068# Check whether --enable-rpath or --disable-rpath was given.
2069if test "${enable_rpath+set}" = set; then
2070  enableval="$enable_rpath"
2071
2072fi;
2073
2074# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
2075if test "${with_libiconv_prefix+set}" = set; then
2076  withval="$with_libiconv_prefix"
2077
2078fi;
2079# Check whether --enable-nls or --disable-nls was given.
2080if test "${enable_nls+set}" = set; then
2081  enableval="$enable_nls"
2082
2083fi;
2084
2085# Check whether --with-included-gettext or --without-included-gettext was given.
2086if test "${with_included_gettext+set}" = set; then
2087  withval="$with_included_gettext"
2088
2089fi;
2090
2091# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
2092if test "${with_libintl_prefix+set}" = set; then
2093  withval="$with_libintl_prefix"
2094
2095fi;
2096
2097# Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
2098if test "${with_libexpat_prefix+set}" = set; then
2099  withval="$with_libexpat_prefix"
2100
2101fi;
2102
2103# Check whether --with-lispdir or --without-lispdir was given.
2104if test "${with_lispdir+set}" = set; then
2105  withval="$with_lispdir"
2106
2107fi;
2108
2109
2110
2111
2112          ac_config_files="$ac_config_files Makefile"
2113
2114
2115cat >confcache <<\_ACEOF
2116# This file is a shell script that caches the results of configure
2117# tests run on this system so they can be shared between configure
2118# scripts and configure runs, see configure's option --config-cache.
2119# It is not useful on other systems.  If it contains results you don't
2120# want to keep, you may remove or edit it.
2121#
2122# config.status only pays attention to the cache file if you give it
2123# the --recheck option to rerun configure.
2124#
2125# `ac_cv_env_foo' variables (set or unset) will be overridden when
2126# loading this file, other *unset* `ac_cv_foo' will be assigned the
2127# following values.
2128
2129_ACEOF
2130
2131# The following way of writing the cache mishandles newlines in values,
2132# but we know of no workaround that is simple, portable, and efficient.
2133# So, don't put newlines in cache variables' values.
2134# Ultrix sh set writes to stderr and can't be redirected directly,
2135# and sets the high bit in the cache file unless we assign to the vars.
2136{
2137  (set) 2>&1 |
2138    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2139    *ac_space=\ *)
2140      # `set' does not quote correctly, so add quotes (double-quote
2141      # substitution turns \\\\ into \\, and sed turns \\ into \).
2142      sed -n \
2143        "s/'/'\\\\''/g;
2144          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2145      ;;
2146    *)
2147      # `set' quotes correctly as required by POSIX, so do not add quotes.
2148      sed -n \
2149        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2150      ;;
2151    esac;
2152} |
2153  sed '
2154     t clear
2155     : clear
2156     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2157     t end
2158     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2159     : end' >>confcache
2160if diff $cache_file confcache >/dev/null 2>&1; then :; else
2161  if test -w $cache_file; then
2162    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2163    cat confcache >$cache_file
2164  else
2165    echo "not updating unwritable cache $cache_file"
2166  fi
2167fi
2168rm -f confcache
2169
2170test "x$prefix" = xNONE && prefix=$ac_default_prefix
2171# Let make expand exec_prefix.
2172test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2173
2174# VPATH may cause trouble with some makes, so we remove $(srcdir),
2175# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2176# trailing colons and then remove the whole line if VPATH becomes empty
2177# (actually we leave an empty line to preserve line numbers).
2178if test "x$srcdir" = x.; then
2179  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2180s/:*\$(srcdir):*/:/;
2181s/:*\${srcdir}:*/:/;
2182s/:*@srcdir@:*/:/;
2183s/^\([^=]*=[     ]*\):*/\1/;
2184s/:*$//;
2185s/^[^=]*=[       ]*$//;
2186}'
2187fi
2188
2189# Transform confdefs.h into DEFS.
2190# Protect against shell expansion while executing Makefile rules.
2191# Protect against Makefile macro expansion.
2192#
2193# If the first sed substitution is executed (which looks for macros that
2194# take arguments), then we branch to the quote section.  Otherwise,
2195# look for a macro that doesn't take arguments.
2196cat >confdef2opt.sed <<\_ACEOF
2197t clear
2198: clear
2199s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2200t quote
2201s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2202t quote
2203d
2204: quote
2205s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2206s,\[,\\&,g
2207s,\],\\&,g
2208s,\$,$$,g
2209p
2210_ACEOF
2211# We use echo to avoid assuming a particular line-breaking character.
2212# The extra dot is to prevent the shell from consuming trailing
2213# line-breaks from the sub-command output.  A line-break within
2214# single-quotes doesn't work because, if this script is created in a
2215# platform that uses two characters for line-breaks (e.g., DOS), tr
2216# would break.
2217ac_LF_and_DOT=`echo; echo .`
2218DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2219rm -f confdef2opt.sed
2220
2221
2222ac_libobjs=
2223ac_ltlibobjs=
2224for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2225  # 1. Remove the extension, and $U if already installed.
2226  ac_i=`echo "$ac_i" |
2227         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2228  # 2. Add them.
2229  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2230  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2231done
2232LIBOBJS=$ac_libobjs
2233
2234LTLIBOBJS=$ac_ltlibobjs
2235
2236
2237
2238: ${CONFIG_STATUS=./config.status}
2239ac_clean_files_save=$ac_clean_files
2240ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2241{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2242echo "$as_me: creating $CONFIG_STATUS" >&6;}
2243cat >$CONFIG_STATUS <<_ACEOF
2244#! $SHELL
2245# Generated by $as_me.
2246# Run this file to recreate the current configuration.
2247# Compiler output produced by configure, useful for debugging
2248# configure, is in config.log if it exists.
2249
2250debug=false
2251ac_cs_recheck=false
2252ac_cs_silent=false
2253SHELL=\${CONFIG_SHELL-$SHELL}
2254_ACEOF
2255
2256cat >>$CONFIG_STATUS <<\_ACEOF
2257## --------------------- ##
2258## M4sh Initialization.  ##
2259## --------------------- ##
2260
2261# Be Bourne compatible
2262if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2263  emulate sh
2264  NULLCMD=:
2265  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2266  # is contrary to our usage.  Disable this feature.
2267  alias -g '${1+"$@"}'='"$@"'
2268elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2269  set -o posix
2270fi
2271DUALCASE=1; export DUALCASE # for MKS sh
2272
2273# Support unset when possible.
2274if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2275  as_unset=unset
2276else
2277  as_unset=false
2278fi
2279
2280
2281# Work around bugs in pre-3.0 UWIN ksh.
2282$as_unset ENV MAIL MAILPATH
2283PS1='$ '
2284PS2='> '
2285PS4='+ '
2286
2287# NLS nuisances.
2288for as_var in \
2289  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2290  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2291  LC_TELEPHONE LC_TIME
2292do
2293  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2294    eval $as_var=C; export $as_var
2295  else
2296    $as_unset $as_var
2297  fi
2298done
2299
2300# Required to use basename.
2301if expr a : '\(a\)' >/dev/null 2>&1; then
2302  as_expr=expr
2303else
2304  as_expr=false
2305fi
2306
2307if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2308  as_basename=basename
2309else
2310  as_basename=false
2311fi
2312
2313
2314# Name of the executable.
2315as_me=`$as_basename "$0" ||
2316$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2317         X"$0" : 'X\(//\)$' \| \
2318         X"$0" : 'X\(/\)$' \| \
2319         .     : '\(.\)' 2>/dev/null ||
2320echo X/"$0" |
2321    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2322          /^X\/\(\/\/\)$/{ s//\1/; q; }
2323          /^X\/\(\/\).*/{ s//\1/; q; }
2324          s/.*/./; q'`
2325
2326
2327# PATH needs CR, and LINENO needs CR and PATH.
2328# Avoid depending upon Character Ranges.
2329as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2330as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2331as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2332as_cr_digits='0123456789'
2333as_cr_alnum=$as_cr_Letters$as_cr_digits
2334
2335# The user is always right.
2336if test "${PATH_SEPARATOR+set}" != set; then
2337  echo "#! /bin/sh" >conf$$.sh
2338  echo  "exit 0"   >>conf$$.sh
2339  chmod +x conf$$.sh
2340  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2341    PATH_SEPARATOR=';'
2342  else
2343    PATH_SEPARATOR=:
2344  fi
2345  rm -f conf$$.sh
2346fi
2347
2348
2349  as_lineno_1=$LINENO
2350  as_lineno_2=$LINENO
2351  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2352  test "x$as_lineno_1" != "x$as_lineno_2" &&
2353  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2354  # Find who we are.  Look in the path if we contain no path at all
2355  # relative or not.
2356  case $0 in
2357    *[\\/]* ) as_myself=$0 ;;
2358    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359for as_dir in $PATH
2360do
2361  IFS=$as_save_IFS
2362  test -z "$as_dir" && as_dir=.
2363  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2364done
2365
2366       ;;
2367  esac
2368  # We did not find ourselves, most probably we were run as `sh COMMAND'
2369  # in which case we are not to be found in the path.
2370  if test "x$as_myself" = x; then
2371    as_myself=$0
2372  fi
2373  if test ! -f "$as_myself"; then
2374    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2375echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2376   { (exit 1); exit 1; }; }
2377  fi
2378  case $CONFIG_SHELL in
2379  '')
2380    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2382do
2383  IFS=$as_save_IFS
2384  test -z "$as_dir" && as_dir=.
2385  for as_base in sh bash ksh sh5; do
2386         case $as_dir in
2387         /*)
2388           if ("$as_dir/$as_base" -c '
2389  as_lineno_1=$LINENO
2390  as_lineno_2=$LINENO
2391  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2392  test "x$as_lineno_1" != "x$as_lineno_2" &&
2393  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2394             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2395             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2396             CONFIG_SHELL=$as_dir/$as_base
2397             export CONFIG_SHELL
2398             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2399           fi;;
2400         esac
2401       done
2402done
2403;;
2404  esac
2405
2406  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2407  # uniformly replaced by the line number.  The first 'sed' inserts a
2408  # line-number line before each line; the second 'sed' does the real
2409  # work.  The second script uses 'N' to pair each line-number line
2410  # with the numbered line, and appends trailing '-' during
2411  # substitution so that $LINENO is not a special case at line end.
2412  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2413  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2414  sed '=' <$as_myself |
2415    sed '
2416      N
2417      s,$,-,
2418      : loop
2419      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2420      t loop
2421      s,-$,,
2422      s,^['$as_cr_digits']*\n,,
2423    ' >$as_me.lineno &&
2424  chmod +x $as_me.lineno ||
2425    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2426echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2427   { (exit 1); exit 1; }; }
2428
2429  # Don't try to exec as it changes $[0], causing all sort of problems
2430  # (the dirname of $[0] is not the place where we might find the
2431  # original and so on.  Autoconf is especially sensible to this).
2432  . ./$as_me.lineno
2433  # Exit status is that of the last command.
2434  exit
2435}
2436
2437
2438case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2439  *c*,-n*) ECHO_N= ECHO_C='
2440' ECHO_T='      ' ;;
2441  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2442  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2443esac
2444
2445if expr a : '\(a\)' >/dev/null 2>&1; then
2446  as_expr=expr
2447else
2448  as_expr=false
2449fi
2450
2451rm -f conf$$ conf$$.exe conf$$.file
2452echo >conf$$.file
2453if ln -s conf$$.file conf$$ 2>/dev/null; then
2454  # We could just check for DJGPP; but this test a) works b) is more generic
2455  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2456  if test -f conf$$.exe; then
2457    # Don't use ln at all; we don't have any links
2458    as_ln_s='cp -p'
2459  else
2460    as_ln_s='ln -s'
2461  fi
2462elif ln conf$$.file conf$$ 2>/dev/null; then
2463  as_ln_s=ln
2464else
2465  as_ln_s='cp -p'
2466fi
2467rm -f conf$$ conf$$.exe conf$$.file
2468
2469if mkdir -p . 2>/dev/null; then
2470  as_mkdir_p=:
2471else
2472  test -d ./-p && rmdir ./-p
2473  as_mkdir_p=false
2474fi
2475
2476as_executable_p="test -f"
2477
2478# Sed expression to map a string onto a valid CPP name.
2479as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2480
2481# Sed expression to map a string onto a valid variable name.
2482as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2483
2484
2485# IFS
2486# We need space, tab and new line, in precisely that order.
2487as_nl='
2488'
2489IFS="   $as_nl"
2490
2491# CDPATH.
2492$as_unset CDPATH
2493
2494exec 6>&1
2495
2496# Open the log real soon, to keep \$[0] and so on meaningful, and to
2497# report actual input values of CONFIG_FILES etc. instead of their
2498# values after options handling.  Logging --version etc. is OK.
2499exec 5>>config.log
2500{
2501  echo
2502  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2503## Running $as_me. ##
2504_ASBOX
2505} >&5
2506cat >&5 <<_CSEOF
2507
2508This file was extended by $as_me, which was
2509generated by GNU Autoconf 2.58.  Invocation command line was
2510
2511  CONFIG_FILES    = $CONFIG_FILES
2512  CONFIG_HEADERS  = $CONFIG_HEADERS
2513  CONFIG_LINKS    = $CONFIG_LINKS
2514  CONFIG_COMMANDS = $CONFIG_COMMANDS
2515  $ $0 $@
2516
2517_CSEOF
2518echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2519echo >&5
2520_ACEOF
2521
2522# Files that config.status was made for.
2523if test -n "$ac_config_files"; then
2524  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2525fi
2526
2527if test -n "$ac_config_headers"; then
2528  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2529fi
2530
2531if test -n "$ac_config_links"; then
2532  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2533fi
2534
2535if test -n "$ac_config_commands"; then
2536  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2537fi
2538
2539cat >>$CONFIG_STATUS <<\_ACEOF
2540
2541ac_cs_usage="\
2542\`$as_me' instantiates files from templates according to the
2543current configuration.
2544
2545Usage: $0 [OPTIONS] [FILE]...
2546
2547  -h, --help       print this help, then exit
2548  -V, --version    print version number, then exit
2549  -q, --quiet      do not print progress messages
2550  -d, --debug      don't remove temporary files
2551      --recheck    update $as_me by reconfiguring in the same conditions
2552  --file=FILE[:TEMPLATE]
2553                   instantiate the configuration file FILE
2554
2555Configuration files:
2556$config_files
2557
2558Report bugs to <bug-autoconf@gnu.org>."
2559_ACEOF
2560
2561cat >>$CONFIG_STATUS <<_ACEOF
2562ac_cs_version="\\
2563config.status
2564configured by $0, generated by GNU Autoconf 2.58,
2565  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2566
2567Copyright (C) 2003 Free Software Foundation, Inc.
2568This config.status script is free software; the Free Software Foundation
2569gives unlimited permission to copy, distribute and modify it."
2570srcdir=$srcdir
2571INSTALL="$INSTALL"
2572_ACEOF
2573
2574cat >>$CONFIG_STATUS <<\_ACEOF
2575# If no file are specified by the user, then we need to provide default
2576# value.  By we need to know if files were specified by the user.
2577ac_need_defaults=:
2578while test $# != 0
2579do
2580  case $1 in
2581  --*=*)
2582    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2583    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2584    ac_shift=:
2585    ;;
2586  -*)
2587    ac_option=$1
2588    ac_optarg=$2
2589    ac_shift=shift
2590    ;;
2591  *) # This is not an option, so the user has probably given explicit
2592     # arguments.
2593     ac_option=$1
2594     ac_need_defaults=false;;
2595  esac
2596
2597  case $ac_option in
2598  # Handling of the options.
2599_ACEOF
2600cat >>$CONFIG_STATUS <<\_ACEOF
2601  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2602    ac_cs_recheck=: ;;
2603  --version | --vers* | -V )
2604    echo "$ac_cs_version"; exit 0 ;;
2605  --he | --h)
2606    # Conflict between --help and --header
2607    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2608Try \`$0 --help' for more information." >&5
2609echo "$as_me: error: ambiguous option: $1
2610Try \`$0 --help' for more information." >&2;}
2611   { (exit 1); exit 1; }; };;
2612  --help | --hel | -h )
2613    echo "$ac_cs_usage"; exit 0 ;;
2614  --debug | --d* | -d )
2615    debug=: ;;
2616  --file | --fil | --fi | --f )
2617    $ac_shift
2618    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2619    ac_need_defaults=false;;
2620  --header | --heade | --head | --hea )
2621    $ac_shift
2622    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2623    ac_need_defaults=false;;
2624  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2625  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2626    ac_cs_silent=: ;;
2627
2628  # This is an error.
2629  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2630Try \`$0 --help' for more information." >&5
2631echo "$as_me: error: unrecognized option: $1
2632Try \`$0 --help' for more information." >&2;}
2633   { (exit 1); exit 1; }; } ;;
2634
2635  *) ac_config_targets="$ac_config_targets $1" ;;
2636
2637  esac
2638  shift
2639done
2640
2641ac_configure_extra_args=
2642
2643if $ac_cs_silent; then
2644  exec 6>/dev/null
2645  ac_configure_extra_args="$ac_configure_extra_args --silent"
2646fi
2647
2648_ACEOF
2649cat >>$CONFIG_STATUS <<_ACEOF
2650if \$ac_cs_recheck; then
2651  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2652  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2653fi
2654
2655_ACEOF
2656
2657
2658
2659
2660
2661cat >>$CONFIG_STATUS <<\_ACEOF
2662for ac_config_target in $ac_config_targets
2663do
2664  case "$ac_config_target" in
2665  # Handling of arguments.
2666  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2667  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2668echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2669   { (exit 1); exit 1; }; };;
2670  esac
2671done
2672
2673# If the user did not use the arguments to specify the items to instantiate,
2674# then the envvar interface is used.  Set only those that are not.
2675# We use the long form for the default assignment because of an extremely
2676# bizarre bug on SunOS 4.1.3.
2677if $ac_need_defaults; then
2678  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2679fi
2680
2681# Have a temporary directory for convenience.  Make it in the build tree
2682# simply because there is no reason to put it here, and in addition,
2683# creating and moving files from /tmp can sometimes cause problems.
2684# Create a temporary directory, and hook for its removal unless debugging.
2685$debug ||
2686{
2687  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2688  trap '{ (exit 1); exit 1; }' 1 2 13 15
2689}
2690
2691# Create a (secure) tmp directory for tmp files.
2692
2693{
2694  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2695  test -n "$tmp" && test -d "$tmp"
2696}  ||
2697{
2698  tmp=./confstat$$-$RANDOM
2699  (umask 077 && mkdir $tmp)
2700} ||
2701{
2702   echo "$me: cannot create a temporary directory in ." >&2
2703   { (exit 1); exit 1; }
2704}
2705
2706_ACEOF
2707
2708cat >>$CONFIG_STATUS <<_ACEOF
2709
2710#
2711# CONFIG_FILES section.
2712#
2713
2714# No need to generate the scripts if there are no CONFIG_FILES.
2715# This happens for instance when ./config.status config.h
2716if test -n "\$CONFIG_FILES"; then
2717  # Protect against being on the right side of a sed subst in config.status.
2718  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2719   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2720s,@SHELL@,$SHELL,;t t
2721s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2722s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2723s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2724s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2725s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2726s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2727s,@exec_prefix@,$exec_prefix,;t t
2728s,@prefix@,$prefix,;t t
2729s,@program_transform_name@,$program_transform_name,;t t
2730s,@bindir@,$bindir,;t t
2731s,@sbindir@,$sbindir,;t t
2732s,@libexecdir@,$libexecdir,;t t
2733s,@datadir@,$datadir,;t t
2734s,@sysconfdir@,$sysconfdir,;t t
2735s,@sharedstatedir@,$sharedstatedir,;t t
2736s,@localstatedir@,$localstatedir,;t t
2737s,@libdir@,$libdir,;t t
2738s,@includedir@,$includedir,;t t
2739s,@oldincludedir@,$oldincludedir,;t t
2740s,@infodir@,$infodir,;t t
2741s,@mandir@,$mandir,;t t
2742s,@build_alias@,$build_alias,;t t
2743s,@host_alias@,$host_alias,;t t
2744s,@target_alias@,$target_alias,;t t
2745s,@DEFS@,$DEFS,;t t
2746s,@ECHO_C@,$ECHO_C,;t t
2747s,@ECHO_N@,$ECHO_N,;t t
2748s,@ECHO_T@,$ECHO_T,;t t
2749s,@LIBS@,$LIBS,;t t
2750s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2751s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2752s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2753s,@CYGPATH_W@,$CYGPATH_W,;t t
2754s,@PACKAGE@,$PACKAGE,;t t
2755s,@VERSION@,$VERSION,;t t
2756s,@ACLOCAL@,$ACLOCAL,;t t
2757s,@AUTOCONF@,$AUTOCONF,;t t
2758s,@AUTOMAKE@,$AUTOMAKE,;t t
2759s,@AUTOHEADER@,$AUTOHEADER,;t t
2760s,@MAKEINFO@,$MAKEINFO,;t t
2761s,@AMTAR@,$AMTAR,;t t
2762s,@install_sh@,$install_sh,;t t
2763s,@STRIP@,$STRIP,;t t
2764s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2765s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2766s,@AWK@,$AWK,;t t
2767s,@SET_MAKE@,$SET_MAKE,;t t
2768s,@am__leading_dot@,$am__leading_dot,;t t
2769s,@subdirs@,$subdirs,;t t
2770s,@build@,$build,;t t
2771s,@build_cpu@,$build_cpu,;t t
2772s,@build_vendor@,$build_vendor,;t t
2773s,@build_os@,$build_os,;t t
2774s,@host@,$host,;t t
2775s,@host_cpu@,$host_cpu,;t t
2776s,@host_vendor@,$host_vendor,;t t
2777s,@host_os@,$host_os,;t t
2778s,@CC@,$CC,;t t
2779s,@CFLAGS@,$CFLAGS,;t t
2780s,@LDFLAGS@,$LDFLAGS,;t t
2781s,@CPPFLAGS@,$CPPFLAGS,;t t
2782s,@CPP@,$CPP,;t t
2783s,@CXX@,$CXX,;t t
2784s,@CXXFLAGS@,$CXXFLAGS,;t t
2785s,@CXXCPP@,$CXXCPP,;t t
2786s,@F77@,$F77,;t t
2787s,@FFLAGS@,$FFLAGS,;t t
2788s,@GCJ@,$GCJ,;t t
2789s,@GCJFLAGS@,$GCJFLAGS,;t t
2790s,@LIBOBJS@,$LIBOBJS,;t t
2791s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2792CEOF
2793
2794_ACEOF
2795
2796  cat >>$CONFIG_STATUS <<\_ACEOF
2797  # Split the substitutions into bite-sized pieces for seds with
2798  # small command number limits, like on Digital OSF/1 and HP-UX.
2799  ac_max_sed_lines=48
2800  ac_sed_frag=1 # Number of current file.
2801  ac_beg=1 # First line for current file.
2802  ac_end=$ac_max_sed_lines # Line after last line for current file.
2803  ac_more_lines=:
2804  ac_sed_cmds=
2805  while $ac_more_lines; do
2806    if test $ac_beg -gt 1; then
2807      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2808    else
2809      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2810    fi
2811    if test ! -s $tmp/subs.frag; then
2812      ac_more_lines=false
2813    else
2814      # The purpose of the label and of the branching condition is to
2815      # speed up the sed processing (if there are no `@' at all, there
2816      # is no need to browse any of the substitutions).
2817      # These are the two extra sed commands mentioned above.
2818      (echo ':t
2819  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2820      if test -z "$ac_sed_cmds"; then
2821        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2822      else
2823        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2824      fi
2825      ac_sed_frag=`expr $ac_sed_frag + 1`
2826      ac_beg=$ac_end
2827      ac_end=`expr $ac_end + $ac_max_sed_lines`
2828    fi
2829  done
2830  if test -z "$ac_sed_cmds"; then
2831    ac_sed_cmds=cat
2832  fi
2833fi # test -n "$CONFIG_FILES"
2834
2835_ACEOF
2836cat >>$CONFIG_STATUS <<\_ACEOF
2837for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2838  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2839  case $ac_file in
2840  - | *:- | *:-:* ) # input from stdin
2841        cat >$tmp/stdin
2842        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2843        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2844  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2845        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2846  * )   ac_file_in=$ac_file.in ;;
2847  esac
2848
2849  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2850  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2851$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2852         X"$ac_file" : 'X\(//\)[^/]' \| \
2853         X"$ac_file" : 'X\(//\)$' \| \
2854         X"$ac_file" : 'X\(/\)' \| \
2855         .     : '\(.\)' 2>/dev/null ||
2856echo X"$ac_file" |
2857    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2858          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2859          /^X\(\/\/\)$/{ s//\1/; q; }
2860          /^X\(\/\).*/{ s//\1/; q; }
2861          s/.*/./; q'`
2862  { if $as_mkdir_p; then
2863    mkdir -p "$ac_dir"
2864  else
2865    as_dir="$ac_dir"
2866    as_dirs=
2867    while test ! -d "$as_dir"; do
2868      as_dirs="$as_dir $as_dirs"
2869      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2870$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2871         X"$as_dir" : 'X\(//\)[^/]' \| \
2872         X"$as_dir" : 'X\(//\)$' \| \
2873         X"$as_dir" : 'X\(/\)' \| \
2874         .     : '\(.\)' 2>/dev/null ||
2875echo X"$as_dir" |
2876    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2877          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2878          /^X\(\/\/\)$/{ s//\1/; q; }
2879          /^X\(\/\).*/{ s//\1/; q; }
2880          s/.*/./; q'`
2881    done
2882    test ! -n "$as_dirs" || mkdir $as_dirs
2883  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2884echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2885   { (exit 1); exit 1; }; }; }
2886
2887  ac_builddir=.
2888
2889if test "$ac_dir" != .; then
2890  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2891  # A "../" for each directory in $ac_dir_suffix.
2892  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2893else
2894  ac_dir_suffix= ac_top_builddir=
2895fi
2896
2897case $srcdir in
2898  .)  # No --srcdir option.  We are building in place.
2899    ac_srcdir=.
2900    if test -z "$ac_top_builddir"; then
2901       ac_top_srcdir=.
2902    else
2903       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2904    fi ;;
2905  [\\/]* | ?:[\\/]* )  # Absolute path.
2906    ac_srcdir=$srcdir$ac_dir_suffix;
2907    ac_top_srcdir=$srcdir ;;
2908  *) # Relative path.
2909    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2910    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2911esac
2912case "$ac_dir" in
2913.) ac_abs_builddir=$ac_builddir;;
2914*)
2915  case $ac_builddir in
2916  .) ac_abs_builddir="$ac_dir";;
2917  [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
2918  *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
2919  esac;;
2920esac
2921case "$ac_dir" in
2922.) ac_abs_top_builddir=${ac_top_builddir}.;;
2923*)
2924  case ${ac_top_builddir}. in
2925  .) ac_abs_top_builddir="$ac_dir";;
2926  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2927  *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
2928  esac;;
2929esac
2930case "$ac_dir" in
2931.) ac_abs_srcdir=$ac_srcdir;;
2932*)
2933  case $ac_srcdir in
2934  .) ac_abs_srcdir="$ac_dir";;
2935  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2936  *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
2937  esac;;
2938esac
2939case "$ac_dir" in
2940.) ac_abs_top_srcdir=$ac_top_srcdir;;
2941*)
2942  case $ac_top_srcdir in
2943  .) ac_abs_top_srcdir="$ac_dir";;
2944  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2945  *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
2946  esac;;
2947esac
2948
2949
2950  case $INSTALL in
2951  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2952  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2953  esac
2954
2955  if test x"$ac_file" != x-; then
2956    { echo "$as_me:$LINENO: creating $ac_file" >&5
2957echo "$as_me: creating $ac_file" >&6;}
2958    rm -f "$ac_file"
2959  fi
2960  # Let's still pretend it is `configure' which instantiates (i.e., don't
2961  # use $as_me), people would be surprised to read:
2962  #    /* config.h.  Generated by config.status.  */
2963  if test x"$ac_file" = x-; then
2964    configure_input=
2965  else
2966    configure_input="$ac_file.  "
2967  fi
2968  configure_input=$configure_input"Generated from `echo $ac_file_in |
2969                                     sed 's,.*/,,'` by configure."
2970
2971  # First look for the input files in the build tree, otherwise in the
2972  # src tree.
2973  ac_file_inputs=`IFS=:
2974    for f in $ac_file_in; do
2975      case $f in
2976      -) echo $tmp/stdin ;;
2977      [\\/$]*)
2978         # Absolute (can't be DOS-style, as IFS=:)
2979         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2980echo "$as_me: error: cannot find input file: $f" >&2;}
2981   { (exit 1); exit 1; }; }
2982         echo "$f";;
2983      *) # Relative
2984         if test -f "$f"; then
2985           # Build tree
2986           echo "$f"
2987         elif test -f "$srcdir/$f"; then
2988           # Source tree
2989           echo "$srcdir/$f"
2990         else
2991           # /dev/null tree
2992           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2993echo "$as_me: error: cannot find input file: $f" >&2;}
2994   { (exit 1); exit 1; }; }
2995         fi;;
2996      esac
2997    done` || { (exit 1); exit 1; }
2998_ACEOF
2999cat >>$CONFIG_STATUS <<_ACEOF
3000  sed "$ac_vpsub
3001$extrasub
3002_ACEOF
3003cat >>$CONFIG_STATUS <<\_ACEOF
3004:t
3005/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3006s,@configure_input@,$configure_input,;t t
3007s,@srcdir@,$ac_srcdir,;t t
3008s,@abs_srcdir@,$ac_abs_srcdir,;t t
3009s,@top_srcdir@,$ac_top_srcdir,;t t
3010s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3011s,@builddir@,$ac_builddir,;t t
3012s,@abs_builddir@,$ac_abs_builddir,;t t
3013s,@top_builddir@,$ac_top_builddir,;t t
3014s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3015s,@INSTALL@,$ac_INSTALL,;t t
3016" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3017  rm -f $tmp/stdin
3018  if test x"$ac_file" != x-; then
3019    mv $tmp/out $ac_file
3020  else
3021    cat $tmp/out
3022    rm -f $tmp/out
3023  fi
3024
3025done
3026_ACEOF
3027
3028cat >>$CONFIG_STATUS <<\_ACEOF
3029
3030{ (exit 0); exit 0; }
3031_ACEOF
3032chmod +x $CONFIG_STATUS
3033ac_clean_files=$ac_clean_files_save
3034
3035
3036# configure is writing to config.log, and then calls config.status.
3037# config.status does its own redirection, appending to config.log.
3038# Unfortunately, on DOS this fails, as config.log is still kept open
3039# by configure, so config.status won't be able to write to it; its
3040# output is simply discarded.  So we exec the FD to /dev/null,
3041# effectively closing config.log, so it can be properly (re)opened and
3042# appended to by config.status.  When coming back to configure, we
3043# need to make the FD available again.
3044if test "$no_create" != yes; then
3045  ac_cs_success=:
3046  ac_config_status_args=
3047  test "$silent" = yes &&
3048    ac_config_status_args="$ac_config_status_args --quiet"
3049  exec 5>/dev/null
3050  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3051  exec 5>>config.log
3052  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3053  # would make configure fail if this is the last instruction.
3054  $ac_cs_success || { (exit 1); exit 1; }
3055fi
3056
3057#
3058# CONFIG_SUBDIRS section.
3059#
3060if test "$no_recursion" != yes; then
3061
3062  # Remove --cache-file and --srcdir arguments so they do not pile up.
3063  ac_sub_configure_args=
3064  ac_prev=
3065  for ac_arg in $ac_configure_args; do
3066    if test -n "$ac_prev"; then
3067      ac_prev=
3068      continue
3069    fi
3070    case $ac_arg in
3071    -cache-file | --cache-file | --cache-fil | --cache-fi \
3072    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3073      ac_prev=cache_file ;;
3074    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3075    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3076    | --c=*)
3077      ;;
3078    --config-cache | -C)
3079      ;;
3080    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3081      ac_prev=srcdir ;;
3082    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3083      ;;
3084    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3085      ac_prev=prefix ;;
3086    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3087      ;;
3088    *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3089    esac
3090  done
3091
3092  # Always prepend --prefix to ensure using the same prefix
3093  # in subdir configurations.
3094  ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3095
3096  ac_popdir=`pwd`
3097  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3098
3099    # Do not complain, so a configure script can configure whichever
3100    # parts of a large source tree are present.
3101    test -d $srcdir/$ac_dir || continue
3102
3103    { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3104echo "$as_me: configuring in $ac_dir" >&6;}
3105    { if $as_mkdir_p; then
3106    mkdir -p "$ac_dir"
3107  else
3108    as_dir="$ac_dir"
3109    as_dirs=
3110    while test ! -d "$as_dir"; do
3111      as_dirs="$as_dir $as_dirs"
3112      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3113$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3114         X"$as_dir" : 'X\(//\)[^/]' \| \
3115         X"$as_dir" : 'X\(//\)$' \| \
3116         X"$as_dir" : 'X\(/\)' \| \
3117         .     : '\(.\)' 2>/dev/null ||
3118echo X"$as_dir" |
3119    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3120          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3121          /^X\(\/\/\)$/{ s//\1/; q; }
3122          /^X\(\/\).*/{ s//\1/; q; }
3123          s/.*/./; q'`
3124    done
3125    test ! -n "$as_dirs" || mkdir $as_dirs
3126  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3127echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3128   { (exit 1); exit 1; }; }; }
3129
3130    ac_builddir=.
3131
3132if test "$ac_dir" != .; then
3133  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3134  # A "../" for each directory in $ac_dir_suffix.
3135  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3136else
3137  ac_dir_suffix= ac_top_builddir=
3138fi
3139
3140case $srcdir in
3141  .)  # No --srcdir option.  We are building in place.
3142    ac_srcdir=.
3143    if test -z "$ac_top_builddir"; then
3144       ac_top_srcdir=.
3145    else
3146       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3147    fi ;;
3148  [\\/]* | ?:[\\/]* )  # Absolute path.
3149    ac_srcdir=$srcdir$ac_dir_suffix;
3150    ac_top_srcdir=$srcdir ;;
3151  *) # Relative path.
3152    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3153    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3154esac
3155case "$ac_dir" in
3156.) ac_abs_builddir=$ac_builddir;;
3157*)
3158  case $ac_builddir in
3159  .) ac_abs_builddir="$ac_dir";;
3160  [\\/]* | ?:[\\/]* ) ac_abs_builddir=$ac_builddir;;
3161  *) ac_abs_builddir="$ac_dir"/$ac_builddir;;
3162  esac;;
3163esac
3164case "$ac_dir" in
3165.) ac_abs_top_builddir=${ac_top_builddir}.;;
3166*)
3167  case ${ac_top_builddir}. in
3168  .) ac_abs_top_builddir="$ac_dir";;
3169  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3170  *) ac_abs_top_builddir="$ac_dir"/${ac_top_builddir}.;;
3171  esac;;
3172esac
3173case "$ac_dir" in
3174.) ac_abs_srcdir=$ac_srcdir;;
3175*)
3176  case $ac_srcdir in
3177  .) ac_abs_srcdir="$ac_dir";;
3178  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3179  *) ac_abs_srcdir="$ac_dir"/$ac_srcdir;;
3180  esac;;
3181esac
3182case "$ac_dir" in
3183.) ac_abs_top_srcdir=$ac_top_srcdir;;
3184*)
3185  case $ac_top_srcdir in
3186  .) ac_abs_top_srcdir="$ac_dir";;
3187  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3188  *) ac_abs_top_srcdir="$ac_dir"/$ac_top_srcdir;;
3189  esac;;
3190esac
3191
3192
3193    cd $ac_dir
3194
3195    # Check for guested configure; otherwise get Cygnus style configure.
3196    if test -f $ac_srcdir/configure.gnu; then
3197      ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3198    elif test -f $ac_srcdir/configure; then
3199      ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3200    elif test -f $ac_srcdir/configure.in; then
3201      ac_sub_configure=$ac_configure
3202    else
3203      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3204echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3205      ac_sub_configure=
3206    fi
3207
3208    # The recursion is here.
3209    if test -n "$ac_sub_configure"; then
3210      # Make the cache file name correct relative to the subdirectory.
3211      case $cache_file in
3212      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3213      *) # Relative path.
3214        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3215      esac
3216
3217      { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3218echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3219      # The eval makes quoting arguments work.
3220      eval $ac_sub_configure $ac_sub_configure_args \
3221           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3222        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3223echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3224   { (exit 1); exit 1; }; }
3225    fi
3226
3227    cd $ac_popdir
3228  done
3229fi
3230
Note: See TracBrowser for help on using the repository browser.