No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gettext / configure
blobbb2ea877e0154aa5545af817d02527e33ebbe849
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
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 ## --------------------- ##
12 # Be Bourne compatible
13 if 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+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for 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
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
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if 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=:
96 rm -f conf$$.sh
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
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
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
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; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
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
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
152 done
154 esac
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 '
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; }; }
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
187 case `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= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if 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'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
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}
267 # Identity of this package.
268 PACKAGE_NAME=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
274 ac_unique_file="gettext-tools/src/msgfmt.c"
275 ac_subdirs_all="$ac_subdirs_all autoconf-lib-link gettext-runtime gettext-tools"
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar subdirs build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS CPP CXX CXXFLAGS CXXCPP F77 FFLAGS GCJ GCJFLAGS EMACS EMACSLOADPATH LIBOBJS LTLIBOBJS'
277 ac_subst_files=''
279 # Initialize some variables set by options.
280 ac_init_help=
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
284 cache_file=/dev/null
285 exec_prefix=NONE
286 no_create=
287 no_recursion=
288 prefix=NONE
289 program_prefix=NONE
290 program_suffix=NONE
291 program_transform_name=s,x,x,
292 silent=
293 site=
294 srcdir=
295 verbose=
296 x_includes=NONE
297 x_libraries=NONE
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.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
317 ac_prev=
318 for ac_option
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
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
331 case $ac_option in
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 ac_prev=bindir ;;
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 bindir=$ac_optarg ;;
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
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 ;;
350 --config-cache | -C)
351 cache_file=config.cache ;;
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 ;;
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" ;;
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'" ;;
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 ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
392 with_gas=yes ;;
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 ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
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 ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 ac_prev=infodir ;;
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
419 ac_prev=libdir ;;
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 libdir=$ac_optarg ;;
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 ;;
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 ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 ac_prev=mandir ;;
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442 mandir=$ac_optarg ;;
444 -nfp | --nfp | --nf)
445 # Obsolete; use --without-fp.
446 with_fp=no ;;
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
450 no_create=yes ;;
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 ;;
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 ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 ac_prev=prefix ;;
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 prefix=$ac_optarg ;;
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 ;;
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 ;;
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 ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
503 silent=yes ;;
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 ;;
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 ;;
522 -site | --site | --sit)
523 ac_prev=site ;;
524 -site=* | --site=* | --sit=*)
525 site=$ac_optarg ;;
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 ac_prev=srcdir ;;
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 srcdir=$ac_optarg ;;
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 ;;
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 ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 verbose=yes ;;
547 -version | --version | --versio | --versi | --vers | -V)
548 ac_init_version=: ;;
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'" ;;
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" ;;
572 --x)
573 # Obsolete; use --with-x.
574 with_x=yes ;;
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 ;;
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 ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
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 ;;
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}
613 esac
614 done
616 if 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; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
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
631 done
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
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
643 done
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.
648 build=$build_alias
649 host=$host_alias
650 target=$target_alias
652 # FIXME: To remove some day.
653 if 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
663 ac_tool_prefix=
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if 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 ||
679 echo 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=..
689 else
690 ac_srcdir_defaulted=no
692 if 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; }; }
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; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
718 ac_env_CC_value=$CC
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733 ac_env_CPP_set=${CPP+set}
734 ac_env_CPP_value=$CPP
735 ac_cv_env_CPP_set=${CPP+set}
736 ac_cv_env_CPP_value=$CPP
737 ac_env_CXX_set=${CXX+set}
738 ac_env_CXX_value=$CXX
739 ac_cv_env_CXX_set=${CXX+set}
740 ac_cv_env_CXX_value=$CXX
741 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
742 ac_env_CXXFLAGS_value=$CXXFLAGS
743 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
744 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
745 ac_env_CXXCPP_set=${CXXCPP+set}
746 ac_env_CXXCPP_value=$CXXCPP
747 ac_cv_env_CXXCPP_set=${CXXCPP+set}
748 ac_cv_env_CXXCPP_value=$CXXCPP
749 ac_env_F77_set=${F77+set}
750 ac_env_F77_value=$F77
751 ac_cv_env_F77_set=${F77+set}
752 ac_cv_env_F77_value=$F77
753 ac_env_FFLAGS_set=${FFLAGS+set}
754 ac_env_FFLAGS_value=$FFLAGS
755 ac_cv_env_FFLAGS_set=${FFLAGS+set}
756 ac_cv_env_FFLAGS_value=$FFLAGS
757 ac_env_GCJ_set=${GCJ+set}
758 ac_env_GCJ_value=$GCJ
759 ac_cv_env_GCJ_set=${GCJ+set}
760 ac_cv_env_GCJ_value=$GCJ
761 ac_env_GCJFLAGS_set=${GCJFLAGS+set}
762 ac_env_GCJFLAGS_value=$GCJFLAGS
763 ac_cv_env_GCJFLAGS_set=${GCJFLAGS+set}
764 ac_cv_env_GCJFLAGS_value=$GCJFLAGS
765 ac_env_EMACS_set=${EMACS+set}
766 ac_env_EMACS_value=$EMACS
767 ac_cv_env_EMACS_set=${EMACS+set}
768 ac_cv_env_EMACS_value=$EMACS
769 ac_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
770 ac_env_EMACSLOADPATH_value=$EMACSLOADPATH
771 ac_cv_env_EMACSLOADPATH_set=${EMACSLOADPATH+set}
772 ac_cv_env_EMACSLOADPATH_value=$EMACSLOADPATH
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
780 cat <<_ACEOF
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
790 Configuration:
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
801 _ACEOF
803 cat <<_ACEOF
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
806 [$ac_default_prefix]
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
808 [PREFIX]
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
830 _ACEOF
832 cat <<\_ACEOF
834 Program names:
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
839 System types:
840 --build=BUILD configure for building on BUILD [guessed]
841 --host=HOST cross-compile to build programs to run on HOST [BUILD]
842 _ACEOF
845 if test -n "$ac_init_help"; then
847 cat <<\_ACEOF
849 Optional Features:
850 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
851 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
852 --disable-dependency-tracking speeds up one-time build
853 --enable-dependency-tracking do not reject slow dependency extractors
854 --enable-shared[=PKGS]
855 build shared libraries [default=yes]
856 --enable-static[=PKGS]
857 build static libraries [default=yes]
858 --enable-fast-install[=PKGS]
859 optimize for fast installation [default=yes]
860 --disable-libtool-lock avoid locking (might break parallel builds)
861 --enable-csharp[=IMPL] choose preferred C# implementation (pnet or mono)
862 --enable-relocatable install a package that can be moved in the filesystem
863 --disable-nls do not use Native Language Support
864 --disable-rpath do not hardcode runtime library paths
865 --disable-libasprintf do not build libasprintf
867 Optional Packages:
868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
870 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
871 --with-pic try to use only PIC/non-PIC objects [default=use
872 both]
873 --with-tags[=TAGS]
874 include additional configurations [automatic]
875 --with-gnu-ld assume the C compiler uses GNU ld default=no
876 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
877 --without-libiconv-prefix don't search for libiconv in includedir and libdir
878 --with-included-gettext use the GNU gettext library included here
879 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
880 --without-libintl-prefix don't search for libintl in includedir and libdir
881 --without-included-regex don't compile regex; this is the default on
882 systems with version 2 of the GNU C library
883 (use with caution on other system)
884 --with-libexpat-prefix[=DIR] search for libexpat in DIR/include and DIR/lib
885 --without-libexpat-prefix don't search for libexpat in includedir and libdir
886 --with-lispdir override the default lisp directory
888 Some influential environment variables:
889 CC C compiler command
890 CFLAGS C compiler flags
891 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
892 nonstandard directory <lib dir>
893 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
894 headers in a nonstandard directory <include dir>
895 CPP C preprocessor
896 CXX C++ compiler command
897 CXXFLAGS C++ compiler flags
898 CXXCPP C++ preprocessor
899 F77 Fortran 77 compiler command
900 FFLAGS Fortran 77 compiler flags
901 GCJ Java native code compiler command
902 GCJFLAGS Java native code compiler flags
903 EMACS the Emacs editor command
904 EMACSLOADPATH
905 the Emacs library search path
907 Use these variables to override the choices made by `configure' or to help
908 it to find libraries and programs with nonstandard names/locations.
910 _ACEOF
913 if test "$ac_init_help" = "recursive"; then
914 # If there are subdirs, report their specific --help.
915 ac_popdir=`pwd`
916 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
917 test -d $ac_dir || continue
918 ac_builddir=.
920 if test "$ac_dir" != .; then
921 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
922 # A "../" for each directory in $ac_dir_suffix.
923 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
924 else
925 ac_dir_suffix= ac_top_builddir=
928 case $srcdir in
929 .) # No --srcdir option. We are building in place.
930 ac_srcdir=.
931 if test -z "$ac_top_builddir"; then
932 ac_top_srcdir=.
933 else
934 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
935 fi ;;
936 [\\/]* | ?:[\\/]* ) # Absolute path.
937 ac_srcdir=$srcdir$ac_dir_suffix;
938 ac_top_srcdir=$srcdir ;;
939 *) # Relative path.
940 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
941 ac_top_srcdir=$ac_top_builddir$srcdir ;;
942 esac
944 # Do not use `cd foo && pwd` to compute absolute paths, because
945 # the directories may not exist.
946 case `pwd` in
947 .) ac_abs_builddir="$ac_dir";;
949 case "$ac_dir" in
950 .) ac_abs_builddir=`pwd`;;
951 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
952 *) ac_abs_builddir=`pwd`/"$ac_dir";;
953 esac;;
954 esac
955 case $ac_abs_builddir in
956 .) ac_abs_top_builddir=${ac_top_builddir}.;;
958 case ${ac_top_builddir}. in
959 .) ac_abs_top_builddir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
961 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
962 esac;;
963 esac
964 case $ac_abs_builddir in
965 .) ac_abs_srcdir=$ac_srcdir;;
967 case $ac_srcdir in
968 .) ac_abs_srcdir=$ac_abs_builddir;;
969 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
970 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
971 esac;;
972 esac
973 case $ac_abs_builddir in
974 .) ac_abs_top_srcdir=$ac_top_srcdir;;
976 case $ac_top_srcdir in
977 .) ac_abs_top_srcdir=$ac_abs_builddir;;
978 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
979 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
980 esac;;
981 esac
983 cd $ac_dir
984 # Check for guested configure; otherwise get Cygnus style configure.
985 if test -f $ac_srcdir/configure.gnu; then
986 echo
987 $SHELL $ac_srcdir/configure.gnu --help=recursive
988 elif test -f $ac_srcdir/configure; then
989 echo
990 $SHELL $ac_srcdir/configure --help=recursive
991 elif test -f $ac_srcdir/configure.ac ||
992 test -f $ac_srcdir/configure.in; then
993 echo
994 $ac_configure --help
995 else
996 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
998 cd $ac_popdir
999 done
1002 test -n "$ac_init_help" && exit 0
1003 if $ac_init_version; then
1004 cat <<\_ACEOF
1006 Copyright (C) 2003 Free Software Foundation, Inc.
1007 This configure script is free software; the Free Software Foundation
1008 gives unlimited permission to copy, distribute and modify it.
1009 _ACEOF
1010 exit 0
1012 exec 5>config.log
1013 cat >&5 <<_ACEOF
1014 This file contains any messages produced by compilers while
1015 running configure, to aid debugging if configure makes a mistake.
1017 It was created by $as_me, which was
1018 generated by GNU Autoconf 2.59. Invocation command line was
1020 $ $0 $@
1022 _ACEOF
1024 cat <<_ASUNAME
1025 ## --------- ##
1026 ## Platform. ##
1027 ## --------- ##
1029 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1030 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1031 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1032 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1033 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1035 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1036 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1038 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1039 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1040 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1041 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1042 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1043 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1044 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1046 _ASUNAME
1048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1049 for as_dir in $PATH
1051 IFS=$as_save_IFS
1052 test -z "$as_dir" && as_dir=.
1053 echo "PATH: $as_dir"
1054 done
1056 } >&5
1058 cat >&5 <<_ACEOF
1061 ## ----------- ##
1062 ## Core tests. ##
1063 ## ----------- ##
1065 _ACEOF
1068 # Keep a trace of the command line.
1069 # Strip out --no-create and --no-recursion so they do not pile up.
1070 # Strip out --silent because we don't want to record it for future runs.
1071 # Also quote any args containing shell meta-characters.
1072 # Make two passes to allow for proper duplicate-argument suppression.
1073 ac_configure_args=
1074 ac_configure_args0=
1075 ac_configure_args1=
1076 ac_sep=
1077 ac_must_keep_next=false
1078 for ac_pass in 1 2
1080 for ac_arg
1082 case $ac_arg in
1083 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085 | -silent | --silent | --silen | --sile | --sil)
1086 continue ;;
1087 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1088 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1089 esac
1090 case $ac_pass in
1091 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1093 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1094 if test $ac_must_keep_next = true; then
1095 ac_must_keep_next=false # Got value, back to normal.
1096 else
1097 case $ac_arg in
1098 *=* | --config-cache | -C | -disable-* | --disable-* \
1099 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1100 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1101 | -with-* | --with-* | -without-* | --without-* | --x)
1102 case "$ac_configure_args0 " in
1103 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1104 esac
1106 -* ) ac_must_keep_next=true ;;
1107 esac
1109 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1110 # Get rid of the leading space.
1111 ac_sep=" "
1113 esac
1114 done
1115 done
1116 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1117 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1119 # When interrupted or exit'd, cleanup temporary files, and complete
1120 # config.log. We remove comments because anyway the quotes in there
1121 # would cause problems or look ugly.
1122 # WARNING: Be sure not to use single quotes in there, as some shells,
1123 # such as our DU 5.0 friend, will then `close' the trap.
1124 trap 'exit_status=$?
1125 # Save into config.log some information that might help in debugging.
1127 echo
1129 cat <<\_ASBOX
1130 ## ---------------- ##
1131 ## Cache variables. ##
1132 ## ---------------- ##
1133 _ASBOX
1134 echo
1135 # The following way of writing the cache mishandles newlines in values,
1137 (set) 2>&1 |
1138 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1139 *ac_space=\ *)
1140 sed -n \
1141 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1145 sed -n \
1146 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1148 esac;
1150 echo
1152 cat <<\_ASBOX
1153 ## ----------------- ##
1154 ## Output variables. ##
1155 ## ----------------- ##
1156 _ASBOX
1157 echo
1158 for ac_var in $ac_subst_vars
1160 eval ac_val=$`echo $ac_var`
1161 echo "$ac_var='"'"'$ac_val'"'"'"
1162 done | sort
1163 echo
1165 if test -n "$ac_subst_files"; then
1166 cat <<\_ASBOX
1167 ## ------------- ##
1168 ## Output files. ##
1169 ## ------------- ##
1170 _ASBOX
1171 echo
1172 for ac_var in $ac_subst_files
1174 eval ac_val=$`echo $ac_var`
1175 echo "$ac_var='"'"'$ac_val'"'"'"
1176 done | sort
1177 echo
1180 if test -s confdefs.h; then
1181 cat <<\_ASBOX
1182 ## ----------- ##
1183 ## confdefs.h. ##
1184 ## ----------- ##
1185 _ASBOX
1186 echo
1187 sed "/^$/d" confdefs.h | sort
1188 echo
1190 test "$ac_signal" != 0 &&
1191 echo "$as_me: caught signal $ac_signal"
1192 echo "$as_me: exit $exit_status"
1193 } >&5
1194 rm -f core *.core &&
1195 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1196 exit $exit_status
1198 for ac_signal in 1 2 13 15; do
1199 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1200 done
1201 ac_signal=0
1203 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1204 rm -rf conftest* confdefs.h
1205 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1206 echo >confdefs.h
1208 # Predefined preprocessor variables.
1210 cat >>confdefs.h <<_ACEOF
1211 #define PACKAGE_NAME "$PACKAGE_NAME"
1212 _ACEOF
1215 cat >>confdefs.h <<_ACEOF
1216 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1217 _ACEOF
1220 cat >>confdefs.h <<_ACEOF
1221 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1222 _ACEOF
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_STRING "$PACKAGE_STRING"
1227 _ACEOF
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1232 _ACEOF
1235 # Let the site file select an alternate cache file if it wants to.
1236 # Prefer explicitly selected file to automatically selected ones.
1237 if test -z "$CONFIG_SITE"; then
1238 if test "x$prefix" != xNONE; then
1239 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1240 else
1241 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1244 for ac_site_file in $CONFIG_SITE; do
1245 if test -r "$ac_site_file"; then
1246 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1247 echo "$as_me: loading site script $ac_site_file" >&6;}
1248 sed 's/^/| /' "$ac_site_file" >&5
1249 . "$ac_site_file"
1251 done
1253 if test -r "$cache_file"; then
1254 # Some versions of bash will fail to source /dev/null (special
1255 # files actually), so we avoid doing that.
1256 if test -f "$cache_file"; then
1257 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1258 echo "$as_me: loading cache $cache_file" >&6;}
1259 case $cache_file in
1260 [\\/]* | ?:[\\/]* ) . $cache_file;;
1261 *) . ./$cache_file;;
1262 esac
1264 else
1265 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1266 echo "$as_me: creating cache $cache_file" >&6;}
1267 >$cache_file
1270 # Check that the precious variables saved in the cache have kept the same
1271 # value.
1272 ac_cache_corrupted=false
1273 for ac_var in `(set) 2>&1 |
1274 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1275 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1276 eval ac_new_set=\$ac_env_${ac_var}_set
1277 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1278 eval ac_new_val="\$ac_env_${ac_var}_value"
1279 case $ac_old_set,$ac_new_set in
1280 set,)
1281 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1282 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1283 ac_cache_corrupted=: ;;
1284 ,set)
1285 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1286 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1287 ac_cache_corrupted=: ;;
1288 ,);;
1290 if test "x$ac_old_val" != "x$ac_new_val"; then
1291 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1292 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1293 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1294 echo "$as_me: former value: $ac_old_val" >&2;}
1295 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1296 echo "$as_me: current value: $ac_new_val" >&2;}
1297 ac_cache_corrupted=:
1298 fi;;
1299 esac
1300 # Pass precious variables to config.status.
1301 if test "$ac_new_set" = set; then
1302 case $ac_new_val in
1303 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1304 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1305 *) ac_arg=$ac_var=$ac_new_val ;;
1306 esac
1307 case " $ac_configure_args " in
1308 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1309 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1310 esac
1312 done
1313 if $ac_cache_corrupted; then
1314 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1315 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1316 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1317 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1318 { (exit 1); exit 1; }; }
1321 ac_ext=c
1322 ac_cpp='$CPP $CPPFLAGS'
1323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1346 ac_aux_dir=
1347 for ac_dir in build-aux $srcdir/build-aux; do
1348 if test -f $ac_dir/install-sh; then
1349 ac_aux_dir=$ac_dir
1350 ac_install_sh="$ac_aux_dir/install-sh -c"
1351 break
1352 elif test -f $ac_dir/install.sh; then
1353 ac_aux_dir=$ac_dir
1354 ac_install_sh="$ac_aux_dir/install.sh -c"
1355 break
1356 elif test -f $ac_dir/shtool; then
1357 ac_aux_dir=$ac_dir
1358 ac_install_sh="$ac_aux_dir/shtool install -c"
1359 break
1361 done
1362 if test -z "$ac_aux_dir"; then
1363 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux $srcdir/build-aux" >&5
1364 echo "$as_me: error: cannot find install-sh or install.sh in build-aux $srcdir/build-aux" >&2;}
1365 { (exit 1); exit 1; }; }
1367 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1368 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1369 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1371 . $srcdir/version.sh
1372 am__api_version="1.9"
1373 # Find a good install program. We prefer a C program (faster),
1374 # so one script is as good as another. But avoid the broken or
1375 # incompatible versions:
1376 # SysV /etc/install, /usr/sbin/install
1377 # SunOS /usr/etc/install
1378 # IRIX /sbin/install
1379 # AIX /bin/install
1380 # AmigaOS /C/install, which installs bootblocks on floppy discs
1381 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1382 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1383 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1384 # OS/2's system install, which has a completely different semantic
1385 # ./install, which can be erroneously created by make from ./install.sh.
1386 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1387 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1388 if test -z "$INSTALL"; then
1389 if test "${ac_cv_path_install+set}" = set; then
1390 echo $ECHO_N "(cached) $ECHO_C" >&6
1391 else
1392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1393 for as_dir in $PATH
1395 IFS=$as_save_IFS
1396 test -z "$as_dir" && as_dir=.
1397 # Account for people who put trailing slashes in PATH elements.
1398 case $as_dir/ in
1399 ./ | .// | /cC/* | \
1400 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1401 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1402 /usr/ucb/* ) ;;
1404 # OSF1 and SCO ODT 3.0 have their own names for install.
1405 # Don't use installbsd from OSF since it installs stuff as root
1406 # by default.
1407 for ac_prog in ginstall scoinst install; do
1408 for ac_exec_ext in '' $ac_executable_extensions; do
1409 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1410 if test $ac_prog = install &&
1411 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1412 # AIX install. It has an incompatible calling convention.
1414 elif test $ac_prog = install &&
1415 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1416 # program-specific install script used by HP pwplus--don't use.
1418 else
1419 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1420 break 3
1423 done
1424 done
1426 esac
1427 done
1431 if test "${ac_cv_path_install+set}" = set; then
1432 INSTALL=$ac_cv_path_install
1433 else
1434 # As a last resort, use the slow shell script. We don't cache a
1435 # path for INSTALL within a source directory, because that will
1436 # break other packages using the cache if that directory is
1437 # removed, or if the path is relative.
1438 INSTALL=$ac_install_sh
1441 echo "$as_me:$LINENO: result: $INSTALL" >&5
1442 echo "${ECHO_T}$INSTALL" >&6
1444 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1445 # It thinks the first close brace ends the variable substitution.
1446 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1448 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1450 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1452 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1453 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1454 # Just in case
1455 sleep 1
1456 echo timestamp > conftest.file
1457 # Do `set' in a subshell so we don't clobber the current shell's
1458 # arguments. Must try -L first in case configure is actually a
1459 # symlink; some systems play weird games with the mod time of symlinks
1460 # (eg FreeBSD returns the mod time of the symlink's containing
1461 # directory).
1462 if (
1463 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1464 if test "$*" = "X"; then
1465 # -L didn't work.
1466 set X `ls -t $srcdir/configure conftest.file`
1468 rm -f conftest.file
1469 if test "$*" != "X $srcdir/configure conftest.file" \
1470 && test "$*" != "X conftest.file $srcdir/configure"; then
1472 # If neither matched, then we have a broken ls. This can happen
1473 # if, for instance, CONFIG_SHELL is bash and it inherits a
1474 # broken ls alias from the environment. This has actually
1475 # happened. Such a system could not be considered "sane".
1476 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1477 alias in your environment" >&5
1478 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1479 alias in your environment" >&2;}
1480 { (exit 1); exit 1; }; }
1483 test "$2" = conftest.file
1485 then
1486 # Ok.
1488 else
1489 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1490 Check your system clock" >&5
1491 echo "$as_me: error: newly created file is older than distributed files!
1492 Check your system clock" >&2;}
1493 { (exit 1); exit 1; }; }
1495 echo "$as_me:$LINENO: result: yes" >&5
1496 echo "${ECHO_T}yes" >&6
1497 test "$program_prefix" != NONE &&
1498 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1499 # Use a double $ so make ignores it.
1500 test "$program_suffix" != NONE &&
1501 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1502 # Double any \ or $. echo might interpret backslashes.
1503 # By default was `s,x,x', remove it if useless.
1504 cat <<\_ACEOF >conftest.sed
1505 s/[\\$]/&&/g;s/;s,x,x,$//
1506 _ACEOF
1507 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1508 rm conftest.sed
1510 # expand $ac_aux_dir to an absolute path
1511 am_aux_dir=`cd $ac_aux_dir && pwd`
1513 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1514 # Use eval to expand $SHELL
1515 if eval "$MISSING --run true"; then
1516 am_missing_run="$MISSING --run "
1517 else
1518 am_missing_run=
1519 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1520 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1523 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1524 # We used to keeping the `.' as first argument, in order to
1525 # allow $(mkdir_p) to be used without argument. As in
1526 # $(mkdir_p) $(somedir)
1527 # where $(somedir) is conditionally defined. However this is wrong
1528 # for two reasons:
1529 # 1. if the package is installed by a user who cannot write `.'
1530 # make install will fail,
1531 # 2. the above comment should most certainly read
1532 # $(mkdir_p) $(DESTDIR)$(somedir)
1533 # so it does not work when $(somedir) is undefined and
1534 # $(DESTDIR) is not.
1535 # To support the latter case, we have to write
1536 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1537 # so the `.' trick is pointless.
1538 mkdir_p='mkdir -p --'
1539 else
1540 # On NextStep and OpenStep, the `mkdir' command does not
1541 # recognize any option. It will interpret all options as
1542 # directories to create, and then abort because `.' already
1543 # exists.
1544 for d in ./-p ./--version;
1546 test -d $d && rmdir $d
1547 done
1548 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1549 if test -f "$ac_aux_dir/mkinstalldirs"; then
1550 mkdir_p='$(mkinstalldirs)'
1551 else
1552 mkdir_p='$(install_sh) -d'
1556 for ac_prog in gawk mawk nawk awk
1558 # Extract the first word of "$ac_prog", so it can be a program name with args.
1559 set dummy $ac_prog; ac_word=$2
1560 echo "$as_me:$LINENO: checking for $ac_word" >&5
1561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1562 if test "${ac_cv_prog_AWK+set}" = set; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 else
1565 if test -n "$AWK"; then
1566 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1567 else
1568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569 for as_dir in $PATH
1571 IFS=$as_save_IFS
1572 test -z "$as_dir" && as_dir=.
1573 for ac_exec_ext in '' $ac_executable_extensions; do
1574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1575 ac_cv_prog_AWK="$ac_prog"
1576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577 break 2
1579 done
1580 done
1584 AWK=$ac_cv_prog_AWK
1585 if test -n "$AWK"; then
1586 echo "$as_me:$LINENO: result: $AWK" >&5
1587 echo "${ECHO_T}$AWK" >&6
1588 else
1589 echo "$as_me:$LINENO: result: no" >&5
1590 echo "${ECHO_T}no" >&6
1593 test -n "$AWK" && break
1594 done
1596 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1597 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1598 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1599 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1600 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 else
1602 cat >conftest.make <<\_ACEOF
1603 all:
1604 @echo 'ac_maketemp="$(MAKE)"'
1605 _ACEOF
1606 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1607 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1608 if test -n "$ac_maketemp"; then
1609 eval ac_cv_prog_make_${ac_make}_set=yes
1610 else
1611 eval ac_cv_prog_make_${ac_make}_set=no
1613 rm -f conftest.make
1615 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1616 echo "$as_me:$LINENO: result: yes" >&5
1617 echo "${ECHO_T}yes" >&6
1618 SET_MAKE=
1619 else
1620 echo "$as_me:$LINENO: result: no" >&5
1621 echo "${ECHO_T}no" >&6
1622 SET_MAKE="MAKE=${MAKE-make}"
1625 rm -rf .tst 2>/dev/null
1626 mkdir .tst 2>/dev/null
1627 if test -d .tst; then
1628 am__leading_dot=.
1629 else
1630 am__leading_dot=_
1632 rmdir .tst 2>/dev/null
1634 # test to see if srcdir already configured
1635 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1636 test -f $srcdir/config.status; then
1637 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1638 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1639 { (exit 1); exit 1; }; }
1642 # test whether we have cygpath
1643 if test -z "$CYGPATH_W"; then
1644 if (cygpath --version) >/dev/null 2>/dev/null; then
1645 CYGPATH_W='cygpath -w'
1646 else
1647 CYGPATH_W=echo
1652 # Define the identity of the package.
1653 PACKAGE=gettext
1654 VERSION=$VERSION_NUMBER
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE "$PACKAGE"
1659 _ACEOF
1662 cat >>confdefs.h <<_ACEOF
1663 #define VERSION "$VERSION"
1664 _ACEOF
1666 # Some tools Automake needs.
1668 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1671 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1674 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1677 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1680 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1682 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1684 # Installed binaries are usually stripped using `strip' when the user
1685 # run `make install-strip'. However `strip' might not be the right
1686 # tool to use in cross-compilation environments, therefore Automake
1687 # will honor the `STRIP' environment variable to overrule this program.
1688 if test "$cross_compiling" != no; then
1689 if test -n "$ac_tool_prefix"; then
1690 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1691 set dummy ${ac_tool_prefix}strip; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_STRIP+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 else
1697 if test -n "$STRIP"; then
1698 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1699 else
1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1701 for as_dir in $PATH
1703 IFS=$as_save_IFS
1704 test -z "$as_dir" && as_dir=.
1705 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1709 break 2
1711 done
1712 done
1716 STRIP=$ac_cv_prog_STRIP
1717 if test -n "$STRIP"; then
1718 echo "$as_me:$LINENO: result: $STRIP" >&5
1719 echo "${ECHO_T}$STRIP" >&6
1720 else
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1726 if test -z "$ac_cv_prog_STRIP"; then
1727 ac_ct_STRIP=$STRIP
1728 # Extract the first word of "strip", so it can be a program name with args.
1729 set dummy strip; ac_word=$2
1730 echo "$as_me:$LINENO: checking for $ac_word" >&5
1731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1732 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1733 echo $ECHO_N "(cached) $ECHO_C" >&6
1734 else
1735 if test -n "$ac_ct_STRIP"; then
1736 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1737 else
1738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1739 for as_dir in $PATH
1741 IFS=$as_save_IFS
1742 test -z "$as_dir" && as_dir=.
1743 for ac_exec_ext in '' $ac_executable_extensions; do
1744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1745 ac_cv_prog_ac_ct_STRIP="strip"
1746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1747 break 2
1749 done
1750 done
1752 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1755 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1756 if test -n "$ac_ct_STRIP"; then
1757 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1758 echo "${ECHO_T}$ac_ct_STRIP" >&6
1759 else
1760 echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6
1764 STRIP=$ac_ct_STRIP
1765 else
1766 STRIP="$ac_cv_prog_STRIP"
1770 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1772 # We need awk for the "check" target. The system "awk" is bad on
1773 # some platforms.
1774 # Always define AMTAR for backward compatibility.
1776 AMTAR=${AMTAR-"${am_missing_run}tar"}
1778 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1792 subdirs="$subdirs autoconf-lib-link gettext-runtime gettext-tools"
1795 # Make sure we can run config.sub.
1796 $ac_config_sub sun4 >/dev/null 2>&1 ||
1797 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1798 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1799 { (exit 1); exit 1; }; }
1801 echo "$as_me:$LINENO: checking build system type" >&5
1802 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1803 if test "${ac_cv_build+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1805 else
1806 ac_cv_build_alias=$build_alias
1807 test -z "$ac_cv_build_alias" &&
1808 ac_cv_build_alias=`$ac_config_guess`
1809 test -z "$ac_cv_build_alias" &&
1810 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1811 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1812 { (exit 1); exit 1; }; }
1813 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1814 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1815 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1816 { (exit 1); exit 1; }; }
1819 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1820 echo "${ECHO_T}$ac_cv_build" >&6
1821 build=$ac_cv_build
1822 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1823 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1824 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1827 echo "$as_me:$LINENO: checking host system type" >&5
1828 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1829 if test "${ac_cv_host+set}" = set; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1831 else
1832 ac_cv_host_alias=$host_alias
1833 test -z "$ac_cv_host_alias" &&
1834 ac_cv_host_alias=$ac_cv_build_alias
1835 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1836 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1837 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1838 { (exit 1); exit 1; }; }
1841 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1842 echo "${ECHO_T}$ac_cv_host" >&6
1843 host=$ac_cv_host
1844 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1845 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1846 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1853 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1854 if test "${enable_dependency_tracking+set}" = set; then
1855 enableval="$enable_dependency_tracking"
1858 # Check whether --enable-shared or --disable-shared was given.
1859 if test "${enable_shared+set}" = set; then
1860 enableval="$enable_shared"
1863 # Check whether --enable-static or --disable-static was given.
1864 if test "${enable_static+set}" = set; then
1865 enableval="$enable_static"
1868 # Check whether --enable-fast-install or --disable-fast-install was given.
1869 if test "${enable_fast_install+set}" = set; then
1870 enableval="$enable_fast_install"
1874 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1875 if test "${with_gnu_ld+set}" = set; then
1876 withval="$with_gnu_ld"
1879 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1880 if test "${enable_libtool_lock+set}" = set; then
1881 enableval="$enable_libtool_lock"
1885 # Check whether --with-pic or --without-pic was given.
1886 if test "${with_pic+set}" = set; then
1887 withval="$with_pic"
1890 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1891 if test "${enable_libtool_lock+set}" = set; then
1892 enableval="$enable_libtool_lock"
1898 # Check whether --with-tags or --without-tags was given.
1899 if test "${with_tags+set}" = set; then
1900 withval="$with_tags"
1910 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1911 if test "${with_gnu_ld+set}" = set; then
1912 withval="$with_gnu_ld"
1922 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1923 if test "${enable_dependency_tracking+set}" = set; then
1924 enableval="$enable_dependency_tracking"
1929 # Check whether --enable-csharp or --disable-csharp was given.
1930 if test "${enable_csharp+set}" = set; then
1931 enableval="$enable_csharp"
1934 # Check whether --enable-shared or --disable-shared was given.
1935 if test "${enable_shared+set}" = set; then
1936 enableval="$enable_shared"
1939 # Check whether --enable-static or --disable-static was given.
1940 if test "${enable_static+set}" = set; then
1941 enableval="$enable_static"
1944 # Check whether --enable-fast-install or --disable-fast-install was given.
1945 if test "${enable_fast_install+set}" = set; then
1946 enableval="$enable_fast_install"
1950 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1951 if test "${with_gnu_ld+set}" = set; then
1952 withval="$with_gnu_ld"
1955 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1956 if test "${enable_libtool_lock+set}" = set; then
1957 enableval="$enable_libtool_lock"
1961 # Check whether --with-pic or --without-pic was given.
1962 if test "${with_pic+set}" = set; then
1963 withval="$with_pic"
1966 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1967 if test "${enable_libtool_lock+set}" = set; then
1968 enableval="$enable_libtool_lock"
1972 # Check whether --with-tags or --without-tags was given.
1973 if test "${with_tags+set}" = set; then
1974 withval="$with_tags"
1984 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1985 if test "${with_gnu_ld+set}" = set; then
1986 withval="$with_gnu_ld"
1993 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1994 if test "${with_gnu_ld+set}" = set; then
1995 withval="$with_gnu_ld"
1998 # Check whether --enable-relocatable or --disable-relocatable was given.
1999 if test "${enable_relocatable+set}" = set; then
2000 enableval="$enable_relocatable"
2003 # Check whether --enable-nls or --disable-nls was given.
2004 if test "${enable_nls+set}" = set; then
2005 enableval="$enable_nls"
2008 # Check whether --enable-rpath or --disable-rpath was given.
2009 if test "${enable_rpath+set}" = set; then
2010 enableval="$enable_rpath"
2014 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
2015 if test "${with_libiconv_prefix+set}" = set; then
2016 withval="$with_libiconv_prefix"
2019 # Check whether --enable-nls or --disable-nls was given.
2020 if test "${enable_nls+set}" = set; then
2021 enableval="$enable_nls"
2025 # Check whether --with-included-gettext or --without-included-gettext was given.
2026 if test "${with_included_gettext+set}" = set; then
2027 withval="$with_included_gettext"
2031 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
2032 if test "${with_libintl_prefix+set}" = set; then
2033 withval="$with_libintl_prefix"
2038 # Check whether --enable-libasprintf or --disable-libasprintf was given.
2039 if test "${enable_libasprintf+set}" = set; then
2040 enableval="$enable_libasprintf"
2047 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2048 if test "${enable_dependency_tracking+set}" = set; then
2049 enableval="$enable_dependency_tracking"
2056 # Check whether --enable-csharp or --disable-csharp was given.
2057 if test "${enable_csharp+set}" = set; then
2058 enableval="$enable_csharp"
2061 # Check whether --enable-shared or --disable-shared was given.
2062 if test "${enable_shared+set}" = set; then
2063 enableval="$enable_shared"
2066 # Check whether --enable-static or --disable-static was given.
2067 if test "${enable_static+set}" = set; then
2068 enableval="$enable_static"
2071 # Check whether --enable-fast-install or --disable-fast-install was given.
2072 if test "${enable_fast_install+set}" = set; then
2073 enableval="$enable_fast_install"
2077 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2078 if test "${with_gnu_ld+set}" = set; then
2079 withval="$with_gnu_ld"
2082 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2083 if test "${enable_libtool_lock+set}" = set; then
2084 enableval="$enable_libtool_lock"
2088 # Check whether --with-pic or --without-pic was given.
2089 if test "${with_pic+set}" = set; then
2090 withval="$with_pic"
2093 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2094 if test "${enable_libtool_lock+set}" = set; then
2095 enableval="$enable_libtool_lock"
2099 # Check whether --with-tags or --without-tags was given.
2100 if test "${with_tags+set}" = set; then
2101 withval="$with_tags"
2111 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2112 if test "${with_gnu_ld+set}" = set; then
2113 withval="$with_gnu_ld"
2120 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2121 if test "${with_gnu_ld+set}" = set; then
2122 withval="$with_gnu_ld"
2125 # Check whether --enable-relocatable or --disable-relocatable was given.
2126 if test "${enable_relocatable+set}" = set; then
2127 enableval="$enable_relocatable"
2131 # Check whether --with-included-regex or --without-included-regex was given.
2132 if test "${with_included_regex+set}" = set; then
2133 withval="$with_included_regex"
2136 # Check whether --enable-nls or --disable-nls was given.
2137 if test "${enable_nls+set}" = set; then
2138 enableval="$enable_nls"
2141 # Check whether --enable-rpath or --disable-rpath was given.
2142 if test "${enable_rpath+set}" = set; then
2143 enableval="$enable_rpath"
2147 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
2148 if test "${with_libiconv_prefix+set}" = set; then
2149 withval="$with_libiconv_prefix"
2152 # Check whether --enable-nls or --disable-nls was given.
2153 if test "${enable_nls+set}" = set; then
2154 enableval="$enable_nls"
2158 # Check whether --with-included-gettext or --without-included-gettext was given.
2159 if test "${with_included_gettext+set}" = set; then
2160 withval="$with_included_gettext"
2164 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
2165 if test "${with_libintl_prefix+set}" = set; then
2166 withval="$with_libintl_prefix"
2170 # Check whether --with-libexpat-prefix or --without-libexpat-prefix was given.
2171 if test "${with_libexpat_prefix+set}" = set; then
2172 withval="$with_libexpat_prefix"
2178 # Check whether --with-lispdir or --without-lispdir was given.
2179 if test "${with_lispdir+set}" = set; then
2180 withval="$with_lispdir"
2187 ac_config_files="$ac_config_files Makefile"
2190 cat >confcache <<\_ACEOF
2191 # This file is a shell script that caches the results of configure
2192 # tests run on this system so they can be shared between configure
2193 # scripts and configure runs, see configure's option --config-cache.
2194 # It is not useful on other systems. If it contains results you don't
2195 # want to keep, you may remove or edit it.
2197 # config.status only pays attention to the cache file if you give it
2198 # the --recheck option to rerun configure.
2200 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2201 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2202 # following values.
2204 _ACEOF
2206 # The following way of writing the cache mishandles newlines in values,
2207 # but we know of no workaround that is simple, portable, and efficient.
2208 # So, don't put newlines in cache variables' values.
2209 # Ultrix sh set writes to stderr and can't be redirected directly,
2210 # and sets the high bit in the cache file unless we assign to the vars.
2212 (set) 2>&1 |
2213 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2214 *ac_space=\ *)
2215 # `set' does not quote correctly, so add quotes (double-quote
2216 # substitution turns \\\\ into \\, and sed turns \\ into \).
2217 sed -n \
2218 "s/'/'\\\\''/g;
2219 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2222 # `set' quotes correctly as required by POSIX, so do not add quotes.
2223 sed -n \
2224 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2226 esac;
2228 sed '
2229 t clear
2230 : clear
2231 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2232 t end
2233 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2234 : end' >>confcache
2235 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2236 if test -w $cache_file; then
2237 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2238 cat confcache >$cache_file
2239 else
2240 echo "not updating unwritable cache $cache_file"
2243 rm -f confcache
2245 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2246 # Let make expand exec_prefix.
2247 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2249 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2250 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2251 # trailing colons and then remove the whole line if VPATH becomes empty
2252 # (actually we leave an empty line to preserve line numbers).
2253 if test "x$srcdir" = x.; then
2254 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2255 s/:*\$(srcdir):*/:/;
2256 s/:*\${srcdir}:*/:/;
2257 s/:*@srcdir@:*/:/;
2258 s/^\([^=]*=[ ]*\):*/\1/;
2259 s/:*$//;
2260 s/^[^=]*=[ ]*$//;
2264 # Transform confdefs.h into DEFS.
2265 # Protect against shell expansion while executing Makefile rules.
2266 # Protect against Makefile macro expansion.
2268 # If the first sed substitution is executed (which looks for macros that
2269 # take arguments), then we branch to the quote section. Otherwise,
2270 # look for a macro that doesn't take arguments.
2271 cat >confdef2opt.sed <<\_ACEOF
2272 t clear
2273 : clear
2274 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2275 t quote
2276 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2277 t quote
2279 : quote
2280 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2281 s,\[,\\&,g
2282 s,\],\\&,g
2283 s,\$,$$,g
2285 _ACEOF
2286 # We use echo to avoid assuming a particular line-breaking character.
2287 # The extra dot is to prevent the shell from consuming trailing
2288 # line-breaks from the sub-command output. A line-break within
2289 # single-quotes doesn't work because, if this script is created in a
2290 # platform that uses two characters for line-breaks (e.g., DOS), tr
2291 # would break.
2292 ac_LF_and_DOT=`echo; echo .`
2293 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2294 rm -f confdef2opt.sed
2297 ac_libobjs=
2298 ac_ltlibobjs=
2299 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2300 # 1. Remove the extension, and $U if already installed.
2301 ac_i=`echo "$ac_i" |
2302 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2303 # 2. Add them.
2304 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2305 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2306 done
2307 LIBOBJS=$ac_libobjs
2309 LTLIBOBJS=$ac_ltlibobjs
2313 : ${CONFIG_STATUS=./config.status}
2314 ac_clean_files_save=$ac_clean_files
2315 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2316 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2317 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2318 cat >$CONFIG_STATUS <<_ACEOF
2319 #! $SHELL
2320 # Generated by $as_me.
2321 # Run this file to recreate the current configuration.
2322 # Compiler output produced by configure, useful for debugging
2323 # configure, is in config.log if it exists.
2325 debug=false
2326 ac_cs_recheck=false
2327 ac_cs_silent=false
2328 SHELL=\${CONFIG_SHELL-$SHELL}
2329 _ACEOF
2331 cat >>$CONFIG_STATUS <<\_ACEOF
2332 ## --------------------- ##
2333 ## M4sh Initialization. ##
2334 ## --------------------- ##
2336 # Be Bourne compatible
2337 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2338 emulate sh
2339 NULLCMD=:
2340 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2341 # is contrary to our usage. Disable this feature.
2342 alias -g '${1+"$@"}'='"$@"'
2343 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2344 set -o posix
2346 DUALCASE=1; export DUALCASE # for MKS sh
2348 # Support unset when possible.
2349 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2350 as_unset=unset
2351 else
2352 as_unset=false
2356 # Work around bugs in pre-3.0 UWIN ksh.
2357 $as_unset ENV MAIL MAILPATH
2358 PS1='$ '
2359 PS2='> '
2360 PS4='+ '
2362 # NLS nuisances.
2363 for as_var in \
2364 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2365 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2366 LC_TELEPHONE LC_TIME
2368 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2369 eval $as_var=C; export $as_var
2370 else
2371 $as_unset $as_var
2373 done
2375 # Required to use basename.
2376 if expr a : '\(a\)' >/dev/null 2>&1; then
2377 as_expr=expr
2378 else
2379 as_expr=false
2382 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2383 as_basename=basename
2384 else
2385 as_basename=false
2389 # Name of the executable.
2390 as_me=`$as_basename "$0" ||
2391 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2392 X"$0" : 'X\(//\)$' \| \
2393 X"$0" : 'X\(/\)$' \| \
2394 . : '\(.\)' 2>/dev/null ||
2395 echo X/"$0" |
2396 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2397 /^X\/\(\/\/\)$/{ s//\1/; q; }
2398 /^X\/\(\/\).*/{ s//\1/; q; }
2399 s/.*/./; q'`
2402 # PATH needs CR, and LINENO needs CR and PATH.
2403 # Avoid depending upon Character Ranges.
2404 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2405 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2406 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2407 as_cr_digits='0123456789'
2408 as_cr_alnum=$as_cr_Letters$as_cr_digits
2410 # The user is always right.
2411 if test "${PATH_SEPARATOR+set}" != set; then
2412 echo "#! /bin/sh" >conf$$.sh
2413 echo "exit 0" >>conf$$.sh
2414 chmod +x conf$$.sh
2415 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2416 PATH_SEPARATOR=';'
2417 else
2418 PATH_SEPARATOR=:
2420 rm -f conf$$.sh
2424 as_lineno_1=$LINENO
2425 as_lineno_2=$LINENO
2426 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2427 test "x$as_lineno_1" != "x$as_lineno_2" &&
2428 test "x$as_lineno_3" = "x$as_lineno_2" || {
2429 # Find who we are. Look in the path if we contain no path at all
2430 # relative or not.
2431 case $0 in
2432 *[\\/]* ) as_myself=$0 ;;
2433 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 for as_dir in $PATH
2436 IFS=$as_save_IFS
2437 test -z "$as_dir" && as_dir=.
2438 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2439 done
2442 esac
2443 # We did not find ourselves, most probably we were run as `sh COMMAND'
2444 # in which case we are not to be found in the path.
2445 if test "x$as_myself" = x; then
2446 as_myself=$0
2448 if test ! -f "$as_myself"; then
2449 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2450 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2451 { (exit 1); exit 1; }; }
2453 case $CONFIG_SHELL in
2455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2458 IFS=$as_save_IFS
2459 test -z "$as_dir" && as_dir=.
2460 for as_base in sh bash ksh sh5; do
2461 case $as_dir in
2463 if ("$as_dir/$as_base" -c '
2464 as_lineno_1=$LINENO
2465 as_lineno_2=$LINENO
2466 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2467 test "x$as_lineno_1" != "x$as_lineno_2" &&
2468 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2469 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2470 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2471 CONFIG_SHELL=$as_dir/$as_base
2472 export CONFIG_SHELL
2473 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2474 fi;;
2475 esac
2476 done
2477 done
2479 esac
2481 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2482 # uniformly replaced by the line number. The first 'sed' inserts a
2483 # line-number line before each line; the second 'sed' does the real
2484 # work. The second script uses 'N' to pair each line-number line
2485 # with the numbered line, and appends trailing '-' during
2486 # substitution so that $LINENO is not a special case at line end.
2487 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2488 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2489 sed '=' <$as_myself |
2490 sed '
2492 s,$,-,
2493 : loop
2494 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2495 t loop
2496 s,-$,,
2497 s,^['$as_cr_digits']*\n,,
2498 ' >$as_me.lineno &&
2499 chmod +x $as_me.lineno ||
2500 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2501 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2502 { (exit 1); exit 1; }; }
2504 # Don't try to exec as it changes $[0], causing all sort of problems
2505 # (the dirname of $[0] is not the place where we might find the
2506 # original and so on. Autoconf is especially sensible to this).
2507 . ./$as_me.lineno
2508 # Exit status is that of the last command.
2509 exit
2513 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2514 *c*,-n*) ECHO_N= ECHO_C='
2515 ' ECHO_T=' ' ;;
2516 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2517 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2518 esac
2520 if expr a : '\(a\)' >/dev/null 2>&1; then
2521 as_expr=expr
2522 else
2523 as_expr=false
2526 rm -f conf$$ conf$$.exe conf$$.file
2527 echo >conf$$.file
2528 if ln -s conf$$.file conf$$ 2>/dev/null; then
2529 # We could just check for DJGPP; but this test a) works b) is more generic
2530 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2531 if test -f conf$$.exe; then
2532 # Don't use ln at all; we don't have any links
2533 as_ln_s='cp -p'
2534 else
2535 as_ln_s='ln -s'
2537 elif ln conf$$.file conf$$ 2>/dev/null; then
2538 as_ln_s=ln
2539 else
2540 as_ln_s='cp -p'
2542 rm -f conf$$ conf$$.exe conf$$.file
2544 if mkdir -p . 2>/dev/null; then
2545 as_mkdir_p=:
2546 else
2547 test -d ./-p && rmdir ./-p
2548 as_mkdir_p=false
2551 as_executable_p="test -f"
2553 # Sed expression to map a string onto a valid CPP name.
2554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2556 # Sed expression to map a string onto a valid variable name.
2557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2560 # IFS
2561 # We need space, tab and new line, in precisely that order.
2562 as_nl='
2564 IFS=" $as_nl"
2566 # CDPATH.
2567 $as_unset CDPATH
2569 exec 6>&1
2571 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2572 # report actual input values of CONFIG_FILES etc. instead of their
2573 # values after options handling. Logging --version etc. is OK.
2574 exec 5>>config.log
2576 echo
2577 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2578 ## Running $as_me. ##
2579 _ASBOX
2580 } >&5
2581 cat >&5 <<_CSEOF
2583 This file was extended by $as_me, which was
2584 generated by GNU Autoconf 2.59. Invocation command line was
2586 CONFIG_FILES = $CONFIG_FILES
2587 CONFIG_HEADERS = $CONFIG_HEADERS
2588 CONFIG_LINKS = $CONFIG_LINKS
2589 CONFIG_COMMANDS = $CONFIG_COMMANDS
2590 $ $0 $@
2592 _CSEOF
2593 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2594 echo >&5
2595 _ACEOF
2597 # Files that config.status was made for.
2598 if test -n "$ac_config_files"; then
2599 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2602 if test -n "$ac_config_headers"; then
2603 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2606 if test -n "$ac_config_links"; then
2607 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2610 if test -n "$ac_config_commands"; then
2611 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2614 cat >>$CONFIG_STATUS <<\_ACEOF
2616 ac_cs_usage="\
2617 \`$as_me' instantiates files from templates according to the
2618 current configuration.
2620 Usage: $0 [OPTIONS] [FILE]...
2622 -h, --help print this help, then exit
2623 -V, --version print version number, then exit
2624 -q, --quiet do not print progress messages
2625 -d, --debug don't remove temporary files
2626 --recheck update $as_me by reconfiguring in the same conditions
2627 --file=FILE[:TEMPLATE]
2628 instantiate the configuration file FILE
2630 Configuration files:
2631 $config_files
2633 Report bugs to <bug-autoconf@gnu.org>."
2634 _ACEOF
2636 cat >>$CONFIG_STATUS <<_ACEOF
2637 ac_cs_version="\\
2638 config.status
2639 configured by $0, generated by GNU Autoconf 2.59,
2640 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2642 Copyright (C) 2003 Free Software Foundation, Inc.
2643 This config.status script is free software; the Free Software Foundation
2644 gives unlimited permission to copy, distribute and modify it."
2645 srcdir=$srcdir
2646 INSTALL="$INSTALL"
2647 _ACEOF
2649 cat >>$CONFIG_STATUS <<\_ACEOF
2650 # If no file are specified by the user, then we need to provide default
2651 # value. By we need to know if files were specified by the user.
2652 ac_need_defaults=:
2653 while test $# != 0
2655 case $1 in
2656 --*=*)
2657 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2658 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2659 ac_shift=:
2662 ac_option=$1
2663 ac_optarg=$2
2664 ac_shift=shift
2666 *) # This is not an option, so the user has probably given explicit
2667 # arguments.
2668 ac_option=$1
2669 ac_need_defaults=false;;
2670 esac
2672 case $ac_option in
2673 # Handling of the options.
2674 _ACEOF
2675 cat >>$CONFIG_STATUS <<\_ACEOF
2676 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2677 ac_cs_recheck=: ;;
2678 --version | --vers* | -V )
2679 echo "$ac_cs_version"; exit 0 ;;
2680 --he | --h)
2681 # Conflict between --help and --header
2682 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2683 Try \`$0 --help' for more information." >&5
2684 echo "$as_me: error: ambiguous option: $1
2685 Try \`$0 --help' for more information." >&2;}
2686 { (exit 1); exit 1; }; };;
2687 --help | --hel | -h )
2688 echo "$ac_cs_usage"; exit 0 ;;
2689 --debug | --d* | -d )
2690 debug=: ;;
2691 --file | --fil | --fi | --f )
2692 $ac_shift
2693 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2694 ac_need_defaults=false;;
2695 --header | --heade | --head | --hea )
2696 $ac_shift
2697 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2698 ac_need_defaults=false;;
2699 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2700 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2701 ac_cs_silent=: ;;
2703 # This is an error.
2704 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2705 Try \`$0 --help' for more information." >&5
2706 echo "$as_me: error: unrecognized option: $1
2707 Try \`$0 --help' for more information." >&2;}
2708 { (exit 1); exit 1; }; } ;;
2710 *) ac_config_targets="$ac_config_targets $1" ;;
2712 esac
2713 shift
2714 done
2716 ac_configure_extra_args=
2718 if $ac_cs_silent; then
2719 exec 6>/dev/null
2720 ac_configure_extra_args="$ac_configure_extra_args --silent"
2723 _ACEOF
2724 cat >>$CONFIG_STATUS <<_ACEOF
2725 if \$ac_cs_recheck; then
2726 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2727 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2730 _ACEOF
2736 cat >>$CONFIG_STATUS <<\_ACEOF
2737 for ac_config_target in $ac_config_targets
2739 case "$ac_config_target" in
2740 # Handling of arguments.
2741 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2742 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2743 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2744 { (exit 1); exit 1; }; };;
2745 esac
2746 done
2748 # If the user did not use the arguments to specify the items to instantiate,
2749 # then the envvar interface is used. Set only those that are not.
2750 # We use the long form for the default assignment because of an extremely
2751 # bizarre bug on SunOS 4.1.3.
2752 if $ac_need_defaults; then
2753 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2756 # Have a temporary directory for convenience. Make it in the build tree
2757 # simply because there is no reason to put it here, and in addition,
2758 # creating and moving files from /tmp can sometimes cause problems.
2759 # Create a temporary directory, and hook for its removal unless debugging.
2760 $debug ||
2762 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2763 trap '{ (exit 1); exit 1; }' 1 2 13 15
2766 # Create a (secure) tmp directory for tmp files.
2769 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2770 test -n "$tmp" && test -d "$tmp"
2771 } ||
2773 tmp=./confstat$$-$RANDOM
2774 (umask 077 && mkdir $tmp)
2775 } ||
2777 echo "$me: cannot create a temporary directory in ." >&2
2778 { (exit 1); exit 1; }
2781 _ACEOF
2783 cat >>$CONFIG_STATUS <<_ACEOF
2786 # CONFIG_FILES section.
2789 # No need to generate the scripts if there are no CONFIG_FILES.
2790 # This happens for instance when ./config.status config.h
2791 if test -n "\$CONFIG_FILES"; then
2792 # Protect against being on the right side of a sed subst in config.status.
2793 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2794 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2795 s,@SHELL@,$SHELL,;t t
2796 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2797 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2798 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2799 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2800 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2801 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2802 s,@exec_prefix@,$exec_prefix,;t t
2803 s,@prefix@,$prefix,;t t
2804 s,@program_transform_name@,$program_transform_name,;t t
2805 s,@bindir@,$bindir,;t t
2806 s,@sbindir@,$sbindir,;t t
2807 s,@libexecdir@,$libexecdir,;t t
2808 s,@datadir@,$datadir,;t t
2809 s,@sysconfdir@,$sysconfdir,;t t
2810 s,@sharedstatedir@,$sharedstatedir,;t t
2811 s,@localstatedir@,$localstatedir,;t t
2812 s,@libdir@,$libdir,;t t
2813 s,@includedir@,$includedir,;t t
2814 s,@oldincludedir@,$oldincludedir,;t t
2815 s,@infodir@,$infodir,;t t
2816 s,@mandir@,$mandir,;t t
2817 s,@build_alias@,$build_alias,;t t
2818 s,@host_alias@,$host_alias,;t t
2819 s,@target_alias@,$target_alias,;t t
2820 s,@DEFS@,$DEFS,;t t
2821 s,@ECHO_C@,$ECHO_C,;t t
2822 s,@ECHO_N@,$ECHO_N,;t t
2823 s,@ECHO_T@,$ECHO_T,;t t
2824 s,@LIBS@,$LIBS,;t t
2825 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2826 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2827 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2828 s,@CYGPATH_W@,$CYGPATH_W,;t t
2829 s,@PACKAGE@,$PACKAGE,;t t
2830 s,@VERSION@,$VERSION,;t t
2831 s,@ACLOCAL@,$ACLOCAL,;t t
2832 s,@AUTOCONF@,$AUTOCONF,;t t
2833 s,@AUTOMAKE@,$AUTOMAKE,;t t
2834 s,@AUTOHEADER@,$AUTOHEADER,;t t
2835 s,@MAKEINFO@,$MAKEINFO,;t t
2836 s,@install_sh@,$install_sh,;t t
2837 s,@STRIP@,$STRIP,;t t
2838 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2839 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2840 s,@mkdir_p@,$mkdir_p,;t t
2841 s,@AWK@,$AWK,;t t
2842 s,@SET_MAKE@,$SET_MAKE,;t t
2843 s,@am__leading_dot@,$am__leading_dot,;t t
2844 s,@AMTAR@,$AMTAR,;t t
2845 s,@am__tar@,$am__tar,;t t
2846 s,@am__untar@,$am__untar,;t t
2847 s,@subdirs@,$subdirs,;t t
2848 s,@build@,$build,;t t
2849 s,@build_cpu@,$build_cpu,;t t
2850 s,@build_vendor@,$build_vendor,;t t
2851 s,@build_os@,$build_os,;t t
2852 s,@host@,$host,;t t
2853 s,@host_cpu@,$host_cpu,;t t
2854 s,@host_vendor@,$host_vendor,;t t
2855 s,@host_os@,$host_os,;t t
2856 s,@CC@,$CC,;t t
2857 s,@CFLAGS@,$CFLAGS,;t t
2858 s,@LDFLAGS@,$LDFLAGS,;t t
2859 s,@CPPFLAGS@,$CPPFLAGS,;t t
2860 s,@CPP@,$CPP,;t t
2861 s,@CXX@,$CXX,;t t
2862 s,@CXXFLAGS@,$CXXFLAGS,;t t
2863 s,@CXXCPP@,$CXXCPP,;t t
2864 s,@F77@,$F77,;t t
2865 s,@FFLAGS@,$FFLAGS,;t t
2866 s,@GCJ@,$GCJ,;t t
2867 s,@GCJFLAGS@,$GCJFLAGS,;t t
2868 s,@EMACS@,$EMACS,;t t
2869 s,@EMACSLOADPATH@,$EMACSLOADPATH,;t t
2870 s,@LIBOBJS@,$LIBOBJS,;t t
2871 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2872 CEOF
2874 _ACEOF
2876 cat >>$CONFIG_STATUS <<\_ACEOF
2877 # Split the substitutions into bite-sized pieces for seds with
2878 # small command number limits, like on Digital OSF/1 and HP-UX.
2879 ac_max_sed_lines=48
2880 ac_sed_frag=1 # Number of current file.
2881 ac_beg=1 # First line for current file.
2882 ac_end=$ac_max_sed_lines # Line after last line for current file.
2883 ac_more_lines=:
2884 ac_sed_cmds=
2885 while $ac_more_lines; do
2886 if test $ac_beg -gt 1; then
2887 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2888 else
2889 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2891 if test ! -s $tmp/subs.frag; then
2892 ac_more_lines=false
2893 else
2894 # The purpose of the label and of the branching condition is to
2895 # speed up the sed processing (if there are no `@' at all, there
2896 # is no need to browse any of the substitutions).
2897 # These are the two extra sed commands mentioned above.
2898 (echo ':t
2899 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2900 if test -z "$ac_sed_cmds"; then
2901 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2902 else
2903 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2905 ac_sed_frag=`expr $ac_sed_frag + 1`
2906 ac_beg=$ac_end
2907 ac_end=`expr $ac_end + $ac_max_sed_lines`
2909 done
2910 if test -z "$ac_sed_cmds"; then
2911 ac_sed_cmds=cat
2913 fi # test -n "$CONFIG_FILES"
2915 _ACEOF
2916 cat >>$CONFIG_STATUS <<\_ACEOF
2917 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2918 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2919 case $ac_file in
2920 - | *:- | *:-:* ) # input from stdin
2921 cat >$tmp/stdin
2922 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2923 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2924 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2925 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2926 * ) ac_file_in=$ac_file.in ;;
2927 esac
2929 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2930 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2931 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2932 X"$ac_file" : 'X\(//\)[^/]' \| \
2933 X"$ac_file" : 'X\(//\)$' \| \
2934 X"$ac_file" : 'X\(/\)' \| \
2935 . : '\(.\)' 2>/dev/null ||
2936 echo X"$ac_file" |
2937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2938 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2939 /^X\(\/\/\)$/{ s//\1/; q; }
2940 /^X\(\/\).*/{ s//\1/; q; }
2941 s/.*/./; q'`
2942 { if $as_mkdir_p; then
2943 mkdir -p "$ac_dir"
2944 else
2945 as_dir="$ac_dir"
2946 as_dirs=
2947 while test ! -d "$as_dir"; do
2948 as_dirs="$as_dir $as_dirs"
2949 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2950 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2951 X"$as_dir" : 'X\(//\)[^/]' \| \
2952 X"$as_dir" : 'X\(//\)$' \| \
2953 X"$as_dir" : 'X\(/\)' \| \
2954 . : '\(.\)' 2>/dev/null ||
2955 echo X"$as_dir" |
2956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2957 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2958 /^X\(\/\/\)$/{ s//\1/; q; }
2959 /^X\(\/\).*/{ s//\1/; q; }
2960 s/.*/./; q'`
2961 done
2962 test ! -n "$as_dirs" || mkdir $as_dirs
2963 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2964 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2965 { (exit 1); exit 1; }; }; }
2967 ac_builddir=.
2969 if test "$ac_dir" != .; then
2970 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2971 # A "../" for each directory in $ac_dir_suffix.
2972 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2973 else
2974 ac_dir_suffix= ac_top_builddir=
2977 case $srcdir in
2978 .) # No --srcdir option. We are building in place.
2979 ac_srcdir=.
2980 if test -z "$ac_top_builddir"; then
2981 ac_top_srcdir=.
2982 else
2983 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2984 fi ;;
2985 [\\/]* | ?:[\\/]* ) # Absolute path.
2986 ac_srcdir=$srcdir$ac_dir_suffix;
2987 ac_top_srcdir=$srcdir ;;
2988 *) # Relative path.
2989 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2990 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2991 esac
2993 # Do not use `cd foo && pwd` to compute absolute paths, because
2994 # the directories may not exist.
2995 case `pwd` in
2996 .) ac_abs_builddir="$ac_dir";;
2998 case "$ac_dir" in
2999 .) ac_abs_builddir=`pwd`;;
3000 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3001 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3002 esac;;
3003 esac
3004 case $ac_abs_builddir in
3005 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3007 case ${ac_top_builddir}. in
3008 .) ac_abs_top_builddir=$ac_abs_builddir;;
3009 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3010 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3011 esac;;
3012 esac
3013 case $ac_abs_builddir in
3014 .) ac_abs_srcdir=$ac_srcdir;;
3016 case $ac_srcdir in
3017 .) ac_abs_srcdir=$ac_abs_builddir;;
3018 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3019 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3020 esac;;
3021 esac
3022 case $ac_abs_builddir in
3023 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3025 case $ac_top_srcdir in
3026 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3027 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3028 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3029 esac;;
3030 esac
3033 case $INSTALL in
3034 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3035 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3036 esac
3038 if test x"$ac_file" != x-; then
3039 { echo "$as_me:$LINENO: creating $ac_file" >&5
3040 echo "$as_me: creating $ac_file" >&6;}
3041 rm -f "$ac_file"
3043 # Let's still pretend it is `configure' which instantiates (i.e., don't
3044 # use $as_me), people would be surprised to read:
3045 # /* config.h. Generated by config.status. */
3046 if test x"$ac_file" = x-; then
3047 configure_input=
3048 else
3049 configure_input="$ac_file. "
3051 configure_input=$configure_input"Generated from `echo $ac_file_in |
3052 sed 's,.*/,,'` by configure."
3054 # First look for the input files in the build tree, otherwise in the
3055 # src tree.
3056 ac_file_inputs=`IFS=:
3057 for f in $ac_file_in; do
3058 case $f in
3059 -) echo $tmp/stdin ;;
3060 [\\/$]*)
3061 # Absolute (can't be DOS-style, as IFS=:)
3062 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3063 echo "$as_me: error: cannot find input file: $f" >&2;}
3064 { (exit 1); exit 1; }; }
3065 echo "$f";;
3066 *) # Relative
3067 if test -f "$f"; then
3068 # Build tree
3069 echo "$f"
3070 elif test -f "$srcdir/$f"; then
3071 # Source tree
3072 echo "$srcdir/$f"
3073 else
3074 # /dev/null tree
3075 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3076 echo "$as_me: error: cannot find input file: $f" >&2;}
3077 { (exit 1); exit 1; }; }
3078 fi;;
3079 esac
3080 done` || { (exit 1); exit 1; }
3081 _ACEOF
3082 cat >>$CONFIG_STATUS <<_ACEOF
3083 sed "$ac_vpsub
3084 $extrasub
3085 _ACEOF
3086 cat >>$CONFIG_STATUS <<\_ACEOF
3088 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3089 s,@configure_input@,$configure_input,;t t
3090 s,@srcdir@,$ac_srcdir,;t t
3091 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3092 s,@top_srcdir@,$ac_top_srcdir,;t t
3093 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3094 s,@builddir@,$ac_builddir,;t t
3095 s,@abs_builddir@,$ac_abs_builddir,;t t
3096 s,@top_builddir@,$ac_top_builddir,;t t
3097 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3098 s,@INSTALL@,$ac_INSTALL,;t t
3099 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3100 rm -f $tmp/stdin
3101 if test x"$ac_file" != x-; then
3102 mv $tmp/out $ac_file
3103 else
3104 cat $tmp/out
3105 rm -f $tmp/out
3108 done
3109 _ACEOF
3111 cat >>$CONFIG_STATUS <<\_ACEOF
3113 { (exit 0); exit 0; }
3114 _ACEOF
3115 chmod +x $CONFIG_STATUS
3116 ac_clean_files=$ac_clean_files_save
3119 # configure is writing to config.log, and then calls config.status.
3120 # config.status does its own redirection, appending to config.log.
3121 # Unfortunately, on DOS this fails, as config.log is still kept open
3122 # by configure, so config.status won't be able to write to it; its
3123 # output is simply discarded. So we exec the FD to /dev/null,
3124 # effectively closing config.log, so it can be properly (re)opened and
3125 # appended to by config.status. When coming back to configure, we
3126 # need to make the FD available again.
3127 if test "$no_create" != yes; then
3128 ac_cs_success=:
3129 ac_config_status_args=
3130 test "$silent" = yes &&
3131 ac_config_status_args="$ac_config_status_args --quiet"
3132 exec 5>/dev/null
3133 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3134 exec 5>>config.log
3135 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3136 # would make configure fail if this is the last instruction.
3137 $ac_cs_success || { (exit 1); exit 1; }
3141 # CONFIG_SUBDIRS section.
3143 if test "$no_recursion" != yes; then
3145 # Remove --cache-file and --srcdir arguments so they do not pile up.
3146 ac_sub_configure_args=
3147 ac_prev=
3148 for ac_arg in $ac_configure_args; do
3149 if test -n "$ac_prev"; then
3150 ac_prev=
3151 continue
3153 case $ac_arg in
3154 -cache-file | --cache-file | --cache-fil | --cache-fi \
3155 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3156 ac_prev=cache_file ;;
3157 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3158 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3159 | --c=*)
3161 --config-cache | -C)
3163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3164 ac_prev=srcdir ;;
3165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3167 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3168 ac_prev=prefix ;;
3169 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3171 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
3172 esac
3173 done
3175 # Always prepend --prefix to ensure using the same prefix
3176 # in subdir configurations.
3177 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
3179 ac_popdir=`pwd`
3180 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3182 # Do not complain, so a configure script can configure whichever
3183 # parts of a large source tree are present.
3184 test -d $srcdir/$ac_dir || continue
3186 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
3187 echo "$as_me: configuring in $ac_dir" >&6;}
3188 { if $as_mkdir_p; then
3189 mkdir -p "$ac_dir"
3190 else
3191 as_dir="$ac_dir"
3192 as_dirs=
3193 while test ! -d "$as_dir"; do
3194 as_dirs="$as_dir $as_dirs"
3195 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3196 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3197 X"$as_dir" : 'X\(//\)[^/]' \| \
3198 X"$as_dir" : 'X\(//\)$' \| \
3199 X"$as_dir" : 'X\(/\)' \| \
3200 . : '\(.\)' 2>/dev/null ||
3201 echo X"$as_dir" |
3202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3204 /^X\(\/\/\)$/{ s//\1/; q; }
3205 /^X\(\/\).*/{ s//\1/; q; }
3206 s/.*/./; q'`
3207 done
3208 test ! -n "$as_dirs" || mkdir $as_dirs
3209 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3210 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3211 { (exit 1); exit 1; }; }; }
3213 ac_builddir=.
3215 if test "$ac_dir" != .; then
3216 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3217 # A "../" for each directory in $ac_dir_suffix.
3218 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3219 else
3220 ac_dir_suffix= ac_top_builddir=
3223 case $srcdir in
3224 .) # No --srcdir option. We are building in place.
3225 ac_srcdir=.
3226 if test -z "$ac_top_builddir"; then
3227 ac_top_srcdir=.
3228 else
3229 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3230 fi ;;
3231 [\\/]* | ?:[\\/]* ) # Absolute path.
3232 ac_srcdir=$srcdir$ac_dir_suffix;
3233 ac_top_srcdir=$srcdir ;;
3234 *) # Relative path.
3235 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3236 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3237 esac
3239 # Do not use `cd foo && pwd` to compute absolute paths, because
3240 # the directories may not exist.
3241 case `pwd` in
3242 .) ac_abs_builddir="$ac_dir";;
3244 case "$ac_dir" in
3245 .) ac_abs_builddir=`pwd`;;
3246 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3247 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3248 esac;;
3249 esac
3250 case $ac_abs_builddir in
3251 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3253 case ${ac_top_builddir}. in
3254 .) ac_abs_top_builddir=$ac_abs_builddir;;
3255 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3256 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3257 esac;;
3258 esac
3259 case $ac_abs_builddir in
3260 .) ac_abs_srcdir=$ac_srcdir;;
3262 case $ac_srcdir in
3263 .) ac_abs_srcdir=$ac_abs_builddir;;
3264 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3265 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3266 esac;;
3267 esac
3268 case $ac_abs_builddir in
3269 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3271 case $ac_top_srcdir in
3272 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3273 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3274 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3275 esac;;
3276 esac
3279 cd $ac_dir
3281 # Check for guested configure; otherwise get Cygnus style configure.
3282 if test -f $ac_srcdir/configure.gnu; then
3283 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
3284 elif test -f $ac_srcdir/configure; then
3285 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
3286 elif test -f $ac_srcdir/configure.in; then
3287 ac_sub_configure=$ac_configure
3288 else
3289 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
3290 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3291 ac_sub_configure=
3294 # The recursion is here.
3295 if test -n "$ac_sub_configure"; then
3296 # Make the cache file name correct relative to the subdirectory.
3297 case $cache_file in
3298 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3299 *) # Relative path.
3300 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
3301 esac
3303 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3304 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3305 # The eval makes quoting arguments work.
3306 eval $ac_sub_configure $ac_sub_configure_args \
3307 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
3308 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
3309 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
3310 { (exit 1); exit 1; }; }
3313 cd $ac_popdir
3314 done