Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gettext / autoconf-lib-link / tests / rpathlx / configure
blob19d36fe466d39b915ed9e831c71d959895d40047
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="configure.ac"
275 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBRPATHX LTLIBRPATHX global_top_auxdir LIBOBJS LTLIBOBJS'
276 ac_subst_files=''
278 # Initialize some variables set by options.
279 ac_init_help=
280 ac_init_version=false
281 # The variables have the same names as the options, with
282 # dashes changed to underlines.
283 cache_file=/dev/null
284 exec_prefix=NONE
285 no_create=
286 no_recursion=
287 prefix=NONE
288 program_prefix=NONE
289 program_suffix=NONE
290 program_transform_name=s,x,x,
291 silent=
292 site=
293 srcdir=
294 verbose=
295 x_includes=NONE
296 x_libraries=NONE
298 # Installation directory options.
299 # These are left unexpanded so users can "make install exec_prefix=/foo"
300 # and all the variables that are supposed to be based on exec_prefix
301 # by default will actually change.
302 # Use braces instead of parens because sh, perl, etc. also accept them.
303 bindir='${exec_prefix}/bin'
304 sbindir='${exec_prefix}/sbin'
305 libexecdir='${exec_prefix}/libexec'
306 datadir='${prefix}/share'
307 sysconfdir='${prefix}/etc'
308 sharedstatedir='${prefix}/com'
309 localstatedir='${prefix}/var'
310 libdir='${exec_prefix}/lib'
311 includedir='${prefix}/include'
312 oldincludedir='/usr/include'
313 infodir='${prefix}/info'
314 mandir='${prefix}/man'
316 ac_prev=
317 for ac_option
319 # If the previous option needs an argument, assign it.
320 if test -n "$ac_prev"; then
321 eval "$ac_prev=\$ac_option"
322 ac_prev=
323 continue
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328 # Accept the important Cygnus configure options, so we can diagnose typos.
330 case $ac_option in
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 ac_prev=bindir ;;
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335 bindir=$ac_optarg ;;
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
342 -cache-file | --cache-file | --cache-fil | --cache-fi \
343 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344 ac_prev=cache_file ;;
345 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347 cache_file=$ac_optarg ;;
349 --config-cache | -C)
350 cache_file=config.cache ;;
352 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353 ac_prev=datadir ;;
354 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355 | --da=*)
356 datadir=$ac_optarg ;;
358 -disable-* | --disable-*)
359 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360 # Reject names that are not valid shell variable names.
361 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363 { (exit 1); exit 1; }; }
364 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365 eval "enable_$ac_feature=no" ;;
367 -enable-* | --enable-*)
368 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369 # Reject names that are not valid shell variable names.
370 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372 { (exit 1); exit 1; }; }
373 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374 case $ac_option in
375 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376 *) ac_optarg=yes ;;
377 esac
378 eval "enable_$ac_feature='$ac_optarg'" ;;
380 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382 | --exec | --exe | --ex)
383 ac_prev=exec_prefix ;;
384 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386 | --exec=* | --exe=* | --ex=*)
387 exec_prefix=$ac_optarg ;;
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
391 with_gas=yes ;;
393 -help | --help | --hel | --he | -h)
394 ac_init_help=long ;;
395 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396 ac_init_help=recursive ;;
397 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398 ac_init_help=short ;;
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
405 -includedir | --includedir | --includedi | --included | --include \
406 | --includ | --inclu | --incl | --inc)
407 ac_prev=includedir ;;
408 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409 | --includ=* | --inclu=* | --incl=* | --inc=*)
410 includedir=$ac_optarg ;;
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
413 ac_prev=infodir ;;
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
417 -libdir | --libdir | --libdi | --libd)
418 ac_prev=libdir ;;
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
420 libdir=$ac_optarg ;;
422 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423 | --libexe | --libex | --libe)
424 ac_prev=libexecdir ;;
425 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426 | --libexe=* | --libex=* | --libe=*)
427 libexecdir=$ac_optarg ;;
429 -localstatedir | --localstatedir | --localstatedi | --localstated \
430 | --localstate | --localstat | --localsta | --localst \
431 | --locals | --local | --loca | --loc | --lo)
432 ac_prev=localstatedir ;;
433 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436 localstatedir=$ac_optarg ;;
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439 ac_prev=mandir ;;
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441 mandir=$ac_optarg ;;
443 -nfp | --nfp | --nf)
444 # Obsolete; use --without-fp.
445 with_fp=no ;;
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
449 no_create=yes ;;
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453 no_recursion=yes ;;
455 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457 | --oldin | --oldi | --old | --ol | --o)
458 ac_prev=oldincludedir ;;
459 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462 oldincludedir=$ac_optarg ;;
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465 ac_prev=prefix ;;
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467 prefix=$ac_optarg ;;
469 -program-prefix | --program-prefix | --program-prefi | --program-pref \
470 | --program-pre | --program-pr | --program-p)
471 ac_prev=program_prefix ;;
472 -program-prefix=* | --program-prefix=* | --program-prefi=* \
473 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474 program_prefix=$ac_optarg ;;
476 -program-suffix | --program-suffix | --program-suffi | --program-suff \
477 | --program-suf | --program-su | --program-s)
478 ac_prev=program_suffix ;;
479 -program-suffix=* | --program-suffix=* | --program-suffi=* \
480 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481 program_suffix=$ac_optarg ;;
483 -program-transform-name | --program-transform-name \
484 | --program-transform-nam | --program-transform-na \
485 | --program-transform-n | --program-transform- \
486 | --program-transform | --program-transfor \
487 | --program-transfo | --program-transf \
488 | --program-trans | --program-tran \
489 | --progr-tra | --program-tr | --program-t)
490 ac_prev=program_transform_name ;;
491 -program-transform-name=* | --program-transform-name=* \
492 | --program-transform-nam=* | --program-transform-na=* \
493 | --program-transform-n=* | --program-transform-=* \
494 | --program-transform=* | --program-transfor=* \
495 | --program-transfo=* | --program-transf=* \
496 | --program-trans=* | --program-tran=* \
497 | --progr-tra=* | --program-tr=* | --program-t=*)
498 program_transform_name=$ac_optarg ;;
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
502 silent=yes ;;
504 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505 ac_prev=sbindir ;;
506 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507 | --sbi=* | --sb=*)
508 sbindir=$ac_optarg ;;
510 -sharedstatedir | --sharedstatedir | --sharedstatedi \
511 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512 | --sharedst | --shareds | --shared | --share | --shar \
513 | --sha | --sh)
514 ac_prev=sharedstatedir ;;
515 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518 | --sha=* | --sh=*)
519 sharedstatedir=$ac_optarg ;;
521 -site | --site | --sit)
522 ac_prev=site ;;
523 -site=* | --site=* | --sit=*)
524 site=$ac_optarg ;;
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 ac_prev=srcdir ;;
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529 srcdir=$ac_optarg ;;
531 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532 | --syscon | --sysco | --sysc | --sys | --sy)
533 ac_prev=sysconfdir ;;
534 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536 sysconfdir=$ac_optarg ;;
538 -target | --target | --targe | --targ | --tar | --ta | --t)
539 ac_prev=target_alias ;;
540 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541 target_alias=$ac_optarg ;;
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
544 verbose=yes ;;
546 -version | --version | --versio | --versi | --vers | -V)
547 ac_init_version=: ;;
549 -with-* | --with-*)
550 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551 # Reject names that are not valid shell variable names.
552 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553 { echo "$as_me: error: invalid package name: $ac_package" >&2
554 { (exit 1); exit 1; }; }
555 ac_package=`echo $ac_package| sed 's/-/_/g'`
556 case $ac_option in
557 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558 *) ac_optarg=yes ;;
559 esac
560 eval "with_$ac_package='$ac_optarg'" ;;
562 -without-* | --without-*)
563 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid package name: $ac_package" >&2
567 { (exit 1); exit 1; }; }
568 ac_package=`echo $ac_package | sed 's/-/_/g'`
569 eval "with_$ac_package=no" ;;
571 --x)
572 # Obsolete; use --with-x.
573 with_x=yes ;;
575 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576 | --x-incl | --x-inc | --x-in | --x-i)
577 ac_prev=x_includes ;;
578 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580 x_includes=$ac_optarg ;;
582 -x-libraries | --x-libraries | --x-librarie | --x-librari \
583 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584 ac_prev=x_libraries ;;
585 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587 x_libraries=$ac_optarg ;;
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
594 *=*)
595 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596 # Reject names that are not valid shell variable names.
597 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599 { (exit 1); exit 1; }; }
600 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601 eval "$ac_envvar='$ac_optarg'"
602 export $ac_envvar ;;
605 # FIXME: should be removed in autoconf 3.0.
606 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
612 esac
613 done
615 if test -n "$ac_prev"; then
616 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617 { echo "$as_me: error: missing argument to $ac_option" >&2
618 { (exit 1); exit 1; }; }
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
624 eval ac_val=$`echo $ac_var`
625 case $ac_val in
626 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628 { (exit 1); exit 1; }; };;
629 esac
630 done
632 # Be sure to have absolute paths.
633 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 localstatedir libdir includedir oldincludedir infodir mandir
636 eval ac_val=$`echo $ac_var`
637 case $ac_val in
638 [\\/$]* | ?:[\\/]* ) ;;
639 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640 { (exit 1); exit 1; }; };;
641 esac
642 done
644 # There might be people who depend on the old broken behavior: `$host'
645 # used to hold the argument of --host etc.
646 # FIXME: To remove some day.
647 build=$build_alias
648 host=$host_alias
649 target=$target_alias
651 # FIXME: To remove some day.
652 if test "x$host_alias" != x; then
653 if test "x$build_alias" = x; then
654 cross_compiling=maybe
655 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656 If a cross compiler is detected then cross compile mode will be used." >&2
657 elif test "x$build_alias" != "x$host_alias"; then
658 cross_compiling=yes
662 ac_tool_prefix=
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665 test "$silent" = yes && exec 6>/dev/null
668 # Find the source files, if location was not specified.
669 if test -z "$srcdir"; then
670 ac_srcdir_defaulted=yes
671 # Try the directory containing this script, then its parent.
672 ac_confdir=`(dirname "$0") 2>/dev/null ||
673 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 X"$0" : 'X\(//\)[^/]' \| \
675 X"$0" : 'X\(//\)$' \| \
676 X"$0" : 'X\(/\)' \| \
677 . : '\(.\)' 2>/dev/null ||
678 echo X"$0" |
679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681 /^X\(\/\/\)$/{ s//\1/; q; }
682 /^X\(\/\).*/{ s//\1/; q; }
683 s/.*/./; q'`
684 srcdir=$ac_confdir
685 if test ! -r $srcdir/$ac_unique_file; then
686 srcdir=..
688 else
689 ac_srcdir_defaulted=no
691 if test ! -r $srcdir/$ac_unique_file; then
692 if test "$ac_srcdir_defaulted" = yes; then
693 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694 { (exit 1); exit 1; }; }
695 else
696 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697 { (exit 1); exit 1; }; }
700 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702 { (exit 1); exit 1; }; }
703 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704 ac_env_build_alias_set=${build_alias+set}
705 ac_env_build_alias_value=$build_alias
706 ac_cv_env_build_alias_set=${build_alias+set}
707 ac_cv_env_build_alias_value=$build_alias
708 ac_env_host_alias_set=${host_alias+set}
709 ac_env_host_alias_value=$host_alias
710 ac_cv_env_host_alias_set=${host_alias+set}
711 ac_cv_env_host_alias_value=$host_alias
712 ac_env_target_alias_set=${target_alias+set}
713 ac_env_target_alias_value=$target_alias
714 ac_cv_env_target_alias_set=${target_alias+set}
715 ac_cv_env_target_alias_value=$target_alias
716 ac_env_CC_set=${CC+set}
717 ac_env_CC_value=$CC
718 ac_cv_env_CC_set=${CC+set}
719 ac_cv_env_CC_value=$CC
720 ac_env_CFLAGS_set=${CFLAGS+set}
721 ac_env_CFLAGS_value=$CFLAGS
722 ac_cv_env_CFLAGS_set=${CFLAGS+set}
723 ac_cv_env_CFLAGS_value=$CFLAGS
724 ac_env_LDFLAGS_set=${LDFLAGS+set}
725 ac_env_LDFLAGS_value=$LDFLAGS
726 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727 ac_cv_env_LDFLAGS_value=$LDFLAGS
728 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729 ac_env_CPPFLAGS_value=$CPPFLAGS
730 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
734 # Report the --help message.
736 if test "$ac_init_help" = "long"; then
737 # Omit some internal or obsolete options to make the list less imposing.
738 # This message is too long to be a string in the A/UX 3.1 sh.
739 cat <<_ACEOF
740 \`configure' configures this package to adapt to many kinds of systems.
742 Usage: $0 [OPTION]... [VAR=VALUE]...
744 To assign environment variables (e.g., CC, CFLAGS...), specify them as
745 VAR=VALUE. See below for descriptions of some of the useful variables.
747 Defaults for the options are specified in brackets.
749 Configuration:
750 -h, --help display this help and exit
751 --help=short display options specific to this package
752 --help=recursive display the short help of all the included packages
753 -V, --version display version information and exit
754 -q, --quiet, --silent do not print \`checking...' messages
755 --cache-file=FILE cache test results in FILE [disabled]
756 -C, --config-cache alias for \`--cache-file=config.cache'
757 -n, --no-create do not create output files
758 --srcdir=DIR find the sources in DIR [configure dir or \`..']
760 _ACEOF
762 cat <<_ACEOF
763 Installation directories:
764 --prefix=PREFIX install architecture-independent files in PREFIX
765 [$ac_default_prefix]
766 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
767 [PREFIX]
769 By default, \`make install' will install all the files in
770 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772 for instance \`--prefix=\$HOME'.
774 For better control, use the options below.
776 Fine tuning of the installation directories:
777 --bindir=DIR user executables [EPREFIX/bin]
778 --sbindir=DIR system admin executables [EPREFIX/sbin]
779 --libexecdir=DIR program executables [EPREFIX/libexec]
780 --datadir=DIR read-only architecture-independent data [PREFIX/share]
781 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
784 --libdir=DIR object code libraries [EPREFIX/lib]
785 --includedir=DIR C header files [PREFIX/include]
786 --oldincludedir=DIR C header files for non-gcc [/usr/include]
787 --infodir=DIR info documentation [PREFIX/info]
788 --mandir=DIR man documentation [PREFIX/man]
789 _ACEOF
791 cat <<\_ACEOF
793 Program names:
794 --program-prefix=PREFIX prepend PREFIX to installed program names
795 --program-suffix=SUFFIX append SUFFIX to installed program names
796 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
798 System types:
799 --build=BUILD configure for building on BUILD [guessed]
800 --host=HOST cross-compile to build programs to run on HOST [BUILD]
801 _ACEOF
804 if test -n "$ac_init_help"; then
806 cat <<\_ACEOF
808 Optional Features:
809 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
810 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
811 --disable-dependency-tracking speeds up one-time build
812 --enable-dependency-tracking do not reject slow dependency extractors
813 --disable-rpath do not hardcode runtime library paths
815 Optional Packages:
816 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
817 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
818 --with-gnu-ld assume the C compiler uses GNU ld default=no
819 --with-librpathx-prefix[=DIR] search for librpathx in DIR/include and DIR/lib
820 --without-librpathx-prefix don't search for librpathx in includedir and libdir
822 Some influential environment variables:
823 CC C compiler command
824 CFLAGS C compiler flags
825 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
826 nonstandard directory <lib dir>
827 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
828 headers in a nonstandard directory <include dir>
830 Use these variables to override the choices made by `configure' or to help
831 it to find libraries and programs with nonstandard names/locations.
833 _ACEOF
836 if test "$ac_init_help" = "recursive"; then
837 # If there are subdirs, report their specific --help.
838 ac_popdir=`pwd`
839 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
840 test -d $ac_dir || continue
841 ac_builddir=.
843 if test "$ac_dir" != .; then
844 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
845 # A "../" for each directory in $ac_dir_suffix.
846 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
847 else
848 ac_dir_suffix= ac_top_builddir=
851 case $srcdir in
852 .) # No --srcdir option. We are building in place.
853 ac_srcdir=.
854 if test -z "$ac_top_builddir"; then
855 ac_top_srcdir=.
856 else
857 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
858 fi ;;
859 [\\/]* | ?:[\\/]* ) # Absolute path.
860 ac_srcdir=$srcdir$ac_dir_suffix;
861 ac_top_srcdir=$srcdir ;;
862 *) # Relative path.
863 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
864 ac_top_srcdir=$ac_top_builddir$srcdir ;;
865 esac
867 # Do not use `cd foo && pwd` to compute absolute paths, because
868 # the directories may not exist.
869 case `pwd` in
870 .) ac_abs_builddir="$ac_dir";;
872 case "$ac_dir" in
873 .) ac_abs_builddir=`pwd`;;
874 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
875 *) ac_abs_builddir=`pwd`/"$ac_dir";;
876 esac;;
877 esac
878 case $ac_abs_builddir in
879 .) ac_abs_top_builddir=${ac_top_builddir}.;;
881 case ${ac_top_builddir}. in
882 .) ac_abs_top_builddir=$ac_abs_builddir;;
883 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
884 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
885 esac;;
886 esac
887 case $ac_abs_builddir in
888 .) ac_abs_srcdir=$ac_srcdir;;
890 case $ac_srcdir in
891 .) ac_abs_srcdir=$ac_abs_builddir;;
892 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
893 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
894 esac;;
895 esac
896 case $ac_abs_builddir in
897 .) ac_abs_top_srcdir=$ac_top_srcdir;;
899 case $ac_top_srcdir in
900 .) ac_abs_top_srcdir=$ac_abs_builddir;;
901 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
902 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
903 esac;;
904 esac
906 cd $ac_dir
907 # Check for guested configure; otherwise get Cygnus style configure.
908 if test -f $ac_srcdir/configure.gnu; then
909 echo
910 $SHELL $ac_srcdir/configure.gnu --help=recursive
911 elif test -f $ac_srcdir/configure; then
912 echo
913 $SHELL $ac_srcdir/configure --help=recursive
914 elif test -f $ac_srcdir/configure.ac ||
915 test -f $ac_srcdir/configure.in; then
916 echo
917 $ac_configure --help
918 else
919 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
921 cd $ac_popdir
922 done
925 test -n "$ac_init_help" && exit 0
926 if $ac_init_version; then
927 cat <<\_ACEOF
929 Copyright (C) 2003 Free Software Foundation, Inc.
930 This configure script is free software; the Free Software Foundation
931 gives unlimited permission to copy, distribute and modify it.
932 _ACEOF
933 exit 0
935 exec 5>config.log
936 cat >&5 <<_ACEOF
937 This file contains any messages produced by compilers while
938 running configure, to aid debugging if configure makes a mistake.
940 It was created by $as_me, which was
941 generated by GNU Autoconf 2.59. Invocation command line was
943 $ $0 $@
945 _ACEOF
947 cat <<_ASUNAME
948 ## --------- ##
949 ## Platform. ##
950 ## --------- ##
952 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
953 uname -m = `(uname -m) 2>/dev/null || echo unknown`
954 uname -r = `(uname -r) 2>/dev/null || echo unknown`
955 uname -s = `(uname -s) 2>/dev/null || echo unknown`
956 uname -v = `(uname -v) 2>/dev/null || echo unknown`
958 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
959 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
961 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
962 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
963 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
964 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
965 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
966 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
967 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
969 _ASUNAME
971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
972 for as_dir in $PATH
974 IFS=$as_save_IFS
975 test -z "$as_dir" && as_dir=.
976 echo "PATH: $as_dir"
977 done
979 } >&5
981 cat >&5 <<_ACEOF
984 ## ----------- ##
985 ## Core tests. ##
986 ## ----------- ##
988 _ACEOF
991 # Keep a trace of the command line.
992 # Strip out --no-create and --no-recursion so they do not pile up.
993 # Strip out --silent because we don't want to record it for future runs.
994 # Also quote any args containing shell meta-characters.
995 # Make two passes to allow for proper duplicate-argument suppression.
996 ac_configure_args=
997 ac_configure_args0=
998 ac_configure_args1=
999 ac_sep=
1000 ac_must_keep_next=false
1001 for ac_pass in 1 2
1003 for ac_arg
1005 case $ac_arg in
1006 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1008 | -silent | --silent | --silen | --sile | --sil)
1009 continue ;;
1010 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1011 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1012 esac
1013 case $ac_pass in
1014 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1016 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1017 if test $ac_must_keep_next = true; then
1018 ac_must_keep_next=false # Got value, back to normal.
1019 else
1020 case $ac_arg in
1021 *=* | --config-cache | -C | -disable-* | --disable-* \
1022 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1023 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1024 | -with-* | --with-* | -without-* | --without-* | --x)
1025 case "$ac_configure_args0 " in
1026 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1027 esac
1029 -* ) ac_must_keep_next=true ;;
1030 esac
1032 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1033 # Get rid of the leading space.
1034 ac_sep=" "
1036 esac
1037 done
1038 done
1039 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1040 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1042 # When interrupted or exit'd, cleanup temporary files, and complete
1043 # config.log. We remove comments because anyway the quotes in there
1044 # would cause problems or look ugly.
1045 # WARNING: Be sure not to use single quotes in there, as some shells,
1046 # such as our DU 5.0 friend, will then `close' the trap.
1047 trap 'exit_status=$?
1048 # Save into config.log some information that might help in debugging.
1050 echo
1052 cat <<\_ASBOX
1053 ## ---------------- ##
1054 ## Cache variables. ##
1055 ## ---------------- ##
1056 _ASBOX
1057 echo
1058 # The following way of writing the cache mishandles newlines in values,
1060 (set) 2>&1 |
1061 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1062 *ac_space=\ *)
1063 sed -n \
1064 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1068 sed -n \
1069 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1071 esac;
1073 echo
1075 cat <<\_ASBOX
1076 ## ----------------- ##
1077 ## Output variables. ##
1078 ## ----------------- ##
1079 _ASBOX
1080 echo
1081 for ac_var in $ac_subst_vars
1083 eval ac_val=$`echo $ac_var`
1084 echo "$ac_var='"'"'$ac_val'"'"'"
1085 done | sort
1086 echo
1088 if test -n "$ac_subst_files"; then
1089 cat <<\_ASBOX
1090 ## ------------- ##
1091 ## Output files. ##
1092 ## ------------- ##
1093 _ASBOX
1094 echo
1095 for ac_var in $ac_subst_files
1097 eval ac_val=$`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1099 done | sort
1100 echo
1103 if test -s confdefs.h; then
1104 cat <<\_ASBOX
1105 ## ----------- ##
1106 ## confdefs.h. ##
1107 ## ----------- ##
1108 _ASBOX
1109 echo
1110 sed "/^$/d" confdefs.h | sort
1111 echo
1113 test "$ac_signal" != 0 &&
1114 echo "$as_me: caught signal $ac_signal"
1115 echo "$as_me: exit $exit_status"
1116 } >&5
1117 rm -f core *.core &&
1118 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1119 exit $exit_status
1121 for ac_signal in 1 2 13 15; do
1122 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1123 done
1124 ac_signal=0
1126 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1127 rm -rf conftest* confdefs.h
1128 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1129 echo >confdefs.h
1131 # Predefined preprocessor variables.
1133 cat >>confdefs.h <<_ACEOF
1134 #define PACKAGE_NAME "$PACKAGE_NAME"
1135 _ACEOF
1138 cat >>confdefs.h <<_ACEOF
1139 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1140 _ACEOF
1143 cat >>confdefs.h <<_ACEOF
1144 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1145 _ACEOF
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_STRING "$PACKAGE_STRING"
1150 _ACEOF
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1155 _ACEOF
1158 # Let the site file select an alternate cache file if it wants to.
1159 # Prefer explicitly selected file to automatically selected ones.
1160 if test -z "$CONFIG_SITE"; then
1161 if test "x$prefix" != xNONE; then
1162 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1163 else
1164 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1167 for ac_site_file in $CONFIG_SITE; do
1168 if test -r "$ac_site_file"; then
1169 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1170 echo "$as_me: loading site script $ac_site_file" >&6;}
1171 sed 's/^/| /' "$ac_site_file" >&5
1172 . "$ac_site_file"
1174 done
1176 if test -r "$cache_file"; then
1177 # Some versions of bash will fail to source /dev/null (special
1178 # files actually), so we avoid doing that.
1179 if test -f "$cache_file"; then
1180 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1181 echo "$as_me: loading cache $cache_file" >&6;}
1182 case $cache_file in
1183 [\\/]* | ?:[\\/]* ) . $cache_file;;
1184 *) . ./$cache_file;;
1185 esac
1187 else
1188 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1189 echo "$as_me: creating cache $cache_file" >&6;}
1190 >$cache_file
1193 # Check that the precious variables saved in the cache have kept the same
1194 # value.
1195 ac_cache_corrupted=false
1196 for ac_var in `(set) 2>&1 |
1197 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1198 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1199 eval ac_new_set=\$ac_env_${ac_var}_set
1200 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1201 eval ac_new_val="\$ac_env_${ac_var}_value"
1202 case $ac_old_set,$ac_new_set in
1203 set,)
1204 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1205 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1206 ac_cache_corrupted=: ;;
1207 ,set)
1208 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1209 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1210 ac_cache_corrupted=: ;;
1211 ,);;
1213 if test "x$ac_old_val" != "x$ac_new_val"; then
1214 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1215 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1216 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1217 echo "$as_me: former value: $ac_old_val" >&2;}
1218 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1219 echo "$as_me: current value: $ac_new_val" >&2;}
1220 ac_cache_corrupted=:
1221 fi;;
1222 esac
1223 # Pass precious variables to config.status.
1224 if test "$ac_new_set" = set; then
1225 case $ac_new_val in
1226 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1227 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 *) ac_arg=$ac_var=$ac_new_val ;;
1229 esac
1230 case " $ac_configure_args " in
1231 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1232 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1233 esac
1235 done
1236 if $ac_cache_corrupted; then
1237 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1238 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1239 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1240 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1241 { (exit 1); exit 1; }; }
1244 ac_ext=c
1245 ac_cpp='$CPP $CPPFLAGS'
1246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1268 ac_aux_dir=
1269 for ac_dir in ../../../build-aux $srcdir/../../../build-aux; do
1270 if test -f $ac_dir/install-sh; then
1271 ac_aux_dir=$ac_dir
1272 ac_install_sh="$ac_aux_dir/install-sh -c"
1273 break
1274 elif test -f $ac_dir/install.sh; then
1275 ac_aux_dir=$ac_dir
1276 ac_install_sh="$ac_aux_dir/install.sh -c"
1277 break
1278 elif test -f $ac_dir/shtool; then
1279 ac_aux_dir=$ac_dir
1280 ac_install_sh="$ac_aux_dir/shtool install -c"
1281 break
1283 done
1284 if test -z "$ac_aux_dir"; then
1285 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../build-aux $srcdir/../../../build-aux" >&5
1286 echo "$as_me: error: cannot find install-sh or install.sh in ../../../build-aux $srcdir/../../../build-aux" >&2;}
1287 { (exit 1); exit 1; }; }
1289 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1290 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1291 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1293 am__api_version="1.9"
1294 # Find a good install program. We prefer a C program (faster),
1295 # so one script is as good as another. But avoid the broken or
1296 # incompatible versions:
1297 # SysV /etc/install, /usr/sbin/install
1298 # SunOS /usr/etc/install
1299 # IRIX /sbin/install
1300 # AIX /bin/install
1301 # AmigaOS /C/install, which installs bootblocks on floppy discs
1302 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1303 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1304 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1305 # OS/2's system install, which has a completely different semantic
1306 # ./install, which can be erroneously created by make from ./install.sh.
1307 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1308 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1309 if test -z "$INSTALL"; then
1310 if test "${ac_cv_path_install+set}" = set; then
1311 echo $ECHO_N "(cached) $ECHO_C" >&6
1312 else
1313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1314 for as_dir in $PATH
1316 IFS=$as_save_IFS
1317 test -z "$as_dir" && as_dir=.
1318 # Account for people who put trailing slashes in PATH elements.
1319 case $as_dir/ in
1320 ./ | .// | /cC/* | \
1321 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1322 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1323 /usr/ucb/* ) ;;
1325 # OSF1 and SCO ODT 3.0 have their own names for install.
1326 # Don't use installbsd from OSF since it installs stuff as root
1327 # by default.
1328 for ac_prog in ginstall scoinst install; do
1329 for ac_exec_ext in '' $ac_executable_extensions; do
1330 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1331 if test $ac_prog = install &&
1332 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1333 # AIX install. It has an incompatible calling convention.
1335 elif test $ac_prog = install &&
1336 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1337 # program-specific install script used by HP pwplus--don't use.
1339 else
1340 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1341 break 3
1344 done
1345 done
1347 esac
1348 done
1352 if test "${ac_cv_path_install+set}" = set; then
1353 INSTALL=$ac_cv_path_install
1354 else
1355 # As a last resort, use the slow shell script. We don't cache a
1356 # path for INSTALL within a source directory, because that will
1357 # break other packages using the cache if that directory is
1358 # removed, or if the path is relative.
1359 INSTALL=$ac_install_sh
1362 echo "$as_me:$LINENO: result: $INSTALL" >&5
1363 echo "${ECHO_T}$INSTALL" >&6
1365 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1366 # It thinks the first close brace ends the variable substitution.
1367 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1369 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1371 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1373 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1374 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1375 # Just in case
1376 sleep 1
1377 echo timestamp > conftest.file
1378 # Do `set' in a subshell so we don't clobber the current shell's
1379 # arguments. Must try -L first in case configure is actually a
1380 # symlink; some systems play weird games with the mod time of symlinks
1381 # (eg FreeBSD returns the mod time of the symlink's containing
1382 # directory).
1383 if (
1384 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1385 if test "$*" = "X"; then
1386 # -L didn't work.
1387 set X `ls -t $srcdir/configure conftest.file`
1389 rm -f conftest.file
1390 if test "$*" != "X $srcdir/configure conftest.file" \
1391 && test "$*" != "X conftest.file $srcdir/configure"; then
1393 # If neither matched, then we have a broken ls. This can happen
1394 # if, for instance, CONFIG_SHELL is bash and it inherits a
1395 # broken ls alias from the environment. This has actually
1396 # happened. Such a system could not be considered "sane".
1397 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1398 alias in your environment" >&5
1399 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1400 alias in your environment" >&2;}
1401 { (exit 1); exit 1; }; }
1404 test "$2" = conftest.file
1406 then
1407 # Ok.
1409 else
1410 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1411 Check your system clock" >&5
1412 echo "$as_me: error: newly created file is older than distributed files!
1413 Check your system clock" >&2;}
1414 { (exit 1); exit 1; }; }
1416 echo "$as_me:$LINENO: result: yes" >&5
1417 echo "${ECHO_T}yes" >&6
1418 test "$program_prefix" != NONE &&
1419 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1420 # Use a double $ so make ignores it.
1421 test "$program_suffix" != NONE &&
1422 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1423 # Double any \ or $. echo might interpret backslashes.
1424 # By default was `s,x,x', remove it if useless.
1425 cat <<\_ACEOF >conftest.sed
1426 s/[\\$]/&&/g;s/;s,x,x,$//
1427 _ACEOF
1428 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1429 rm conftest.sed
1431 # expand $ac_aux_dir to an absolute path
1432 am_aux_dir=`cd $ac_aux_dir && pwd`
1434 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1435 # Use eval to expand $SHELL
1436 if eval "$MISSING --run true"; then
1437 am_missing_run="$MISSING --run "
1438 else
1439 am_missing_run=
1440 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1441 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1444 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1445 # We used to keeping the `.' as first argument, in order to
1446 # allow $(mkdir_p) to be used without argument. As in
1447 # $(mkdir_p) $(somedir)
1448 # where $(somedir) is conditionally defined. However this is wrong
1449 # for two reasons:
1450 # 1. if the package is installed by a user who cannot write `.'
1451 # make install will fail,
1452 # 2. the above comment should most certainly read
1453 # $(mkdir_p) $(DESTDIR)$(somedir)
1454 # so it does not work when $(somedir) is undefined and
1455 # $(DESTDIR) is not.
1456 # To support the latter case, we have to write
1457 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1458 # so the `.' trick is pointless.
1459 mkdir_p='mkdir -p --'
1460 else
1461 # On NextStep and OpenStep, the `mkdir' command does not
1462 # recognize any option. It will interpret all options as
1463 # directories to create, and then abort because `.' already
1464 # exists.
1465 for d in ./-p ./--version;
1467 test -d $d && rmdir $d
1468 done
1469 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1470 if test -f "$ac_aux_dir/mkinstalldirs"; then
1471 mkdir_p='$(mkinstalldirs)'
1472 else
1473 mkdir_p='$(install_sh) -d'
1477 for ac_prog in gawk mawk nawk awk
1479 # Extract the first word of "$ac_prog", so it can be a program name with args.
1480 set dummy $ac_prog; ac_word=$2
1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_AWK+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1485 else
1486 if test -n "$AWK"; then
1487 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1488 else
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 for as_dir in $PATH
1492 IFS=$as_save_IFS
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 ac_cv_prog_AWK="$ac_prog"
1497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1498 break 2
1500 done
1501 done
1505 AWK=$ac_cv_prog_AWK
1506 if test -n "$AWK"; then
1507 echo "$as_me:$LINENO: result: $AWK" >&5
1508 echo "${ECHO_T}$AWK" >&6
1509 else
1510 echo "$as_me:$LINENO: result: no" >&5
1511 echo "${ECHO_T}no" >&6
1514 test -n "$AWK" && break
1515 done
1517 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1518 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1519 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1520 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 else
1523 cat >conftest.make <<\_ACEOF
1524 all:
1525 @echo 'ac_maketemp="$(MAKE)"'
1526 _ACEOF
1527 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1528 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1529 if test -n "$ac_maketemp"; then
1530 eval ac_cv_prog_make_${ac_make}_set=yes
1531 else
1532 eval ac_cv_prog_make_${ac_make}_set=no
1534 rm -f conftest.make
1536 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1537 echo "$as_me:$LINENO: result: yes" >&5
1538 echo "${ECHO_T}yes" >&6
1539 SET_MAKE=
1540 else
1541 echo "$as_me:$LINENO: result: no" >&5
1542 echo "${ECHO_T}no" >&6
1543 SET_MAKE="MAKE=${MAKE-make}"
1546 rm -rf .tst 2>/dev/null
1547 mkdir .tst 2>/dev/null
1548 if test -d .tst; then
1549 am__leading_dot=.
1550 else
1551 am__leading_dot=_
1553 rmdir .tst 2>/dev/null
1555 # test to see if srcdir already configured
1556 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1557 test -f $srcdir/config.status; then
1558 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1559 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1560 { (exit 1); exit 1; }; }
1563 # test whether we have cygpath
1564 if test -z "$CYGPATH_W"; then
1565 if (cygpath --version) >/dev/null 2>/dev/null; then
1566 CYGPATH_W='cygpath -w'
1567 else
1568 CYGPATH_W=echo
1573 # Define the identity of the package.
1574 PACKAGE=gettext_rpathlx
1575 VERSION=0
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE "$PACKAGE"
1580 _ACEOF
1583 cat >>confdefs.h <<_ACEOF
1584 #define VERSION "$VERSION"
1585 _ACEOF
1587 # Some tools Automake needs.
1589 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1592 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1595 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1598 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1601 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1603 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1605 # Installed binaries are usually stripped using `strip' when the user
1606 # run `make install-strip'. However `strip' might not be the right
1607 # tool to use in cross-compilation environments, therefore Automake
1608 # will honor the `STRIP' environment variable to overrule this program.
1609 if test "$cross_compiling" != no; then
1610 if test -n "$ac_tool_prefix"; then
1611 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1612 set dummy ${ac_tool_prefix}strip; ac_word=$2
1613 echo "$as_me:$LINENO: checking for $ac_word" >&5
1614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1615 if test "${ac_cv_prog_STRIP+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 else
1618 if test -n "$STRIP"; then
1619 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1620 else
1621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622 for as_dir in $PATH
1624 IFS=$as_save_IFS
1625 test -z "$as_dir" && as_dir=.
1626 for ac_exec_ext in '' $ac_executable_extensions; do
1627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1628 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630 break 2
1632 done
1633 done
1637 STRIP=$ac_cv_prog_STRIP
1638 if test -n "$STRIP"; then
1639 echo "$as_me:$LINENO: result: $STRIP" >&5
1640 echo "${ECHO_T}$STRIP" >&6
1641 else
1642 echo "$as_me:$LINENO: result: no" >&5
1643 echo "${ECHO_T}no" >&6
1647 if test -z "$ac_cv_prog_STRIP"; then
1648 ac_ct_STRIP=$STRIP
1649 # Extract the first word of "strip", so it can be a program name with args.
1650 set dummy strip; ac_word=$2
1651 echo "$as_me:$LINENO: checking for $ac_word" >&5
1652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1653 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 else
1656 if test -n "$ac_ct_STRIP"; then
1657 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1658 else
1659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1660 for as_dir in $PATH
1662 IFS=$as_save_IFS
1663 test -z "$as_dir" && as_dir=.
1664 for ac_exec_ext in '' $ac_executable_extensions; do
1665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1666 ac_cv_prog_ac_ct_STRIP="strip"
1667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668 break 2
1670 done
1671 done
1673 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1676 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1677 if test -n "$ac_ct_STRIP"; then
1678 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1679 echo "${ECHO_T}$ac_ct_STRIP" >&6
1680 else
1681 echo "$as_me:$LINENO: result: no" >&5
1682 echo "${ECHO_T}no" >&6
1685 STRIP=$ac_ct_STRIP
1686 else
1687 STRIP="$ac_cv_prog_STRIP"
1691 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1693 # We need awk for the "check" target. The system "awk" is bad on
1694 # some platforms.
1695 # Always define AMTAR for backward compatibility.
1697 AMTAR=${AMTAR-"${am_missing_run}tar"}
1699 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1705 ac_ext=c
1706 ac_cpp='$CPP $CPPFLAGS'
1707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1710 if test -n "$ac_tool_prefix"; then
1711 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1712 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1713 echo "$as_me:$LINENO: checking for $ac_word" >&5
1714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1715 if test "${ac_cv_prog_CC+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 else
1718 if test -n "$CC"; then
1719 ac_cv_prog_CC="$CC" # Let the user override the test.
1720 else
1721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722 for as_dir in $PATH
1724 IFS=$as_save_IFS
1725 test -z "$as_dir" && as_dir=.
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1728 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730 break 2
1732 done
1733 done
1737 CC=$ac_cv_prog_CC
1738 if test -n "$CC"; then
1739 echo "$as_me:$LINENO: result: $CC" >&5
1740 echo "${ECHO_T}$CC" >&6
1741 else
1742 echo "$as_me:$LINENO: result: no" >&5
1743 echo "${ECHO_T}no" >&6
1747 if test -z "$ac_cv_prog_CC"; then
1748 ac_ct_CC=$CC
1749 # Extract the first word of "gcc", so it can be a program name with args.
1750 set dummy gcc; ac_word=$2
1751 echo "$as_me:$LINENO: checking for $ac_word" >&5
1752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 else
1756 if test -n "$ac_ct_CC"; then
1757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1758 else
1759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 for as_dir in $PATH
1762 IFS=$as_save_IFS
1763 test -z "$as_dir" && as_dir=.
1764 for ac_exec_ext in '' $ac_executable_extensions; do
1765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1766 ac_cv_prog_ac_ct_CC="gcc"
1767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1768 break 2
1770 done
1771 done
1775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1776 if test -n "$ac_ct_CC"; then
1777 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1778 echo "${ECHO_T}$ac_ct_CC" >&6
1779 else
1780 echo "$as_me:$LINENO: result: no" >&5
1781 echo "${ECHO_T}no" >&6
1784 CC=$ac_ct_CC
1785 else
1786 CC="$ac_cv_prog_CC"
1789 if test -z "$CC"; then
1790 if test -n "$ac_tool_prefix"; then
1791 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1792 set dummy ${ac_tool_prefix}cc; ac_word=$2
1793 echo "$as_me:$LINENO: checking for $ac_word" >&5
1794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1795 if test "${ac_cv_prog_CC+set}" = set; then
1796 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 else
1798 if test -n "$CC"; then
1799 ac_cv_prog_CC="$CC" # Let the user override the test.
1800 else
1801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1802 for as_dir in $PATH
1804 IFS=$as_save_IFS
1805 test -z "$as_dir" && as_dir=.
1806 for ac_exec_ext in '' $ac_executable_extensions; do
1807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1808 ac_cv_prog_CC="${ac_tool_prefix}cc"
1809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1810 break 2
1812 done
1813 done
1817 CC=$ac_cv_prog_CC
1818 if test -n "$CC"; then
1819 echo "$as_me:$LINENO: result: $CC" >&5
1820 echo "${ECHO_T}$CC" >&6
1821 else
1822 echo "$as_me:$LINENO: result: no" >&5
1823 echo "${ECHO_T}no" >&6
1827 if test -z "$ac_cv_prog_CC"; then
1828 ac_ct_CC=$CC
1829 # Extract the first word of "cc", so it can be a program name with args.
1830 set dummy cc; ac_word=$2
1831 echo "$as_me:$LINENO: checking for $ac_word" >&5
1832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1833 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 else
1836 if test -n "$ac_ct_CC"; then
1837 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1838 else
1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 for as_dir in $PATH
1842 IFS=$as_save_IFS
1843 test -z "$as_dir" && as_dir=.
1844 for ac_exec_ext in '' $ac_executable_extensions; do
1845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1846 ac_cv_prog_ac_ct_CC="cc"
1847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 break 2
1850 done
1851 done
1855 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1856 if test -n "$ac_ct_CC"; then
1857 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1858 echo "${ECHO_T}$ac_ct_CC" >&6
1859 else
1860 echo "$as_me:$LINENO: result: no" >&5
1861 echo "${ECHO_T}no" >&6
1864 CC=$ac_ct_CC
1865 else
1866 CC="$ac_cv_prog_CC"
1870 if test -z "$CC"; then
1871 # Extract the first word of "cc", so it can be a program name with args.
1872 set dummy cc; ac_word=$2
1873 echo "$as_me:$LINENO: checking for $ac_word" >&5
1874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1875 if test "${ac_cv_prog_CC+set}" = set; then
1876 echo $ECHO_N "(cached) $ECHO_C" >&6
1877 else
1878 if test -n "$CC"; then
1879 ac_cv_prog_CC="$CC" # Let the user override the test.
1880 else
1881 ac_prog_rejected=no
1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1883 for as_dir in $PATH
1885 IFS=$as_save_IFS
1886 test -z "$as_dir" && as_dir=.
1887 for ac_exec_ext in '' $ac_executable_extensions; do
1888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1889 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1890 ac_prog_rejected=yes
1891 continue
1893 ac_cv_prog_CC="cc"
1894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1895 break 2
1897 done
1898 done
1900 if test $ac_prog_rejected = yes; then
1901 # We found a bogon in the path, so make sure we never use it.
1902 set dummy $ac_cv_prog_CC
1903 shift
1904 if test $# != 0; then
1905 # We chose a different compiler from the bogus one.
1906 # However, it has the same basename, so the bogon will be chosen
1907 # first if we set CC to just the basename; use the full file name.
1908 shift
1909 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1914 CC=$ac_cv_prog_CC
1915 if test -n "$CC"; then
1916 echo "$as_me:$LINENO: result: $CC" >&5
1917 echo "${ECHO_T}$CC" >&6
1918 else
1919 echo "$as_me:$LINENO: result: no" >&5
1920 echo "${ECHO_T}no" >&6
1924 if test -z "$CC"; then
1925 if test -n "$ac_tool_prefix"; then
1926 for ac_prog in cl
1928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1930 echo "$as_me:$LINENO: checking for $ac_word" >&5
1931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1932 if test "${ac_cv_prog_CC+set}" = set; then
1933 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 else
1935 if test -n "$CC"; then
1936 ac_cv_prog_CC="$CC" # Let the user override the test.
1937 else
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 for as_dir in $PATH
1941 IFS=$as_save_IFS
1942 test -z "$as_dir" && as_dir=.
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1945 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947 break 2
1949 done
1950 done
1954 CC=$ac_cv_prog_CC
1955 if test -n "$CC"; then
1956 echo "$as_me:$LINENO: result: $CC" >&5
1957 echo "${ECHO_T}$CC" >&6
1958 else
1959 echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6
1963 test -n "$CC" && break
1964 done
1966 if test -z "$CC"; then
1967 ac_ct_CC=$CC
1968 for ac_prog in cl
1970 # Extract the first word of "$ac_prog", so it can be a program name with args.
1971 set dummy $ac_prog; ac_word=$2
1972 echo "$as_me:$LINENO: checking for $ac_word" >&5
1973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1974 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1975 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 else
1977 if test -n "$ac_ct_CC"; then
1978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1979 else
1980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 for as_dir in $PATH
1983 IFS=$as_save_IFS
1984 test -z "$as_dir" && as_dir=.
1985 for ac_exec_ext in '' $ac_executable_extensions; do
1986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1987 ac_cv_prog_ac_ct_CC="$ac_prog"
1988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989 break 2
1991 done
1992 done
1996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1997 if test -n "$ac_ct_CC"; then
1998 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1999 echo "${ECHO_T}$ac_ct_CC" >&6
2000 else
2001 echo "$as_me:$LINENO: result: no" >&5
2002 echo "${ECHO_T}no" >&6
2005 test -n "$ac_ct_CC" && break
2006 done
2008 CC=$ac_ct_CC
2014 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2015 See \`config.log' for more details." >&5
2016 echo "$as_me: error: no acceptable C compiler found in \$PATH
2017 See \`config.log' for more details." >&2;}
2018 { (exit 1); exit 1; }; }
2020 # Provide some information about the compiler.
2021 echo "$as_me:$LINENO:" \
2022 "checking for C compiler version" >&5
2023 ac_compiler=`set X $ac_compile; echo $2`
2024 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2025 (eval $ac_compiler --version </dev/null >&5) 2>&5
2026 ac_status=$?
2027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2028 (exit $ac_status); }
2029 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2030 (eval $ac_compiler -v </dev/null >&5) 2>&5
2031 ac_status=$?
2032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033 (exit $ac_status); }
2034 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2035 (eval $ac_compiler -V </dev/null >&5) 2>&5
2036 ac_status=$?
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); }
2040 cat >conftest.$ac_ext <<_ACEOF
2041 /* confdefs.h. */
2042 _ACEOF
2043 cat confdefs.h >>conftest.$ac_ext
2044 cat >>conftest.$ac_ext <<_ACEOF
2045 /* end confdefs.h. */
2048 main ()
2052 return 0;
2054 _ACEOF
2055 ac_clean_files_save=$ac_clean_files
2056 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2057 # Try to create an executable without -o first, disregard a.out.
2058 # It will help us diagnose broken compilers, and finding out an intuition
2059 # of exeext.
2060 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2061 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2062 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2063 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2064 (eval $ac_link_default) 2>&5
2065 ac_status=$?
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); }; then
2068 # Find the output, starting from the most likely. This scheme is
2069 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2070 # resort.
2072 # Be careful to initialize this variable, since it used to be cached.
2073 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2074 ac_cv_exeext=
2075 # b.out is created by i960 compilers.
2076 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2078 test -f "$ac_file" || continue
2079 case $ac_file in
2080 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2082 conftest.$ac_ext )
2083 # This is the source file.
2085 [ab].out )
2086 # We found the default executable, but exeext='' is most
2087 # certainly right.
2088 break;;
2089 *.* )
2090 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2091 # FIXME: I believe we export ac_cv_exeext for Libtool,
2092 # but it would be cool to find out if it's true. Does anybody
2093 # maintain Libtool? --akim.
2094 export ac_cv_exeext
2095 break;;
2097 break;;
2098 esac
2099 done
2100 else
2101 echo "$as_me: failed program was:" >&5
2102 sed 's/^/| /' conftest.$ac_ext >&5
2104 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2105 See \`config.log' for more details." >&5
2106 echo "$as_me: error: C compiler cannot create executables
2107 See \`config.log' for more details." >&2;}
2108 { (exit 77); exit 77; }; }
2111 ac_exeext=$ac_cv_exeext
2112 echo "$as_me:$LINENO: result: $ac_file" >&5
2113 echo "${ECHO_T}$ac_file" >&6
2115 # Check the compiler produces executables we can run. If not, either
2116 # the compiler is broken, or we cross compile.
2117 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2118 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2119 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2120 # If not cross compiling, check that we can run a simple program.
2121 if test "$cross_compiling" != yes; then
2122 if { ac_try='./$ac_file'
2123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2124 (eval $ac_try) 2>&5
2125 ac_status=$?
2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2127 (exit $ac_status); }; }; then
2128 cross_compiling=no
2129 else
2130 if test "$cross_compiling" = maybe; then
2131 cross_compiling=yes
2132 else
2133 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2134 If you meant to cross compile, use \`--host'.
2135 See \`config.log' for more details." >&5
2136 echo "$as_me: error: cannot run C compiled programs.
2137 If you meant to cross compile, use \`--host'.
2138 See \`config.log' for more details." >&2;}
2139 { (exit 1); exit 1; }; }
2143 echo "$as_me:$LINENO: result: yes" >&5
2144 echo "${ECHO_T}yes" >&6
2146 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2147 ac_clean_files=$ac_clean_files_save
2148 # Check the compiler produces executables we can run. If not, either
2149 # the compiler is broken, or we cross compile.
2150 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2151 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2152 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2153 echo "${ECHO_T}$cross_compiling" >&6
2155 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2156 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2158 (eval $ac_link) 2>&5
2159 ac_status=$?
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); }; then
2162 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2163 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2164 # work properly (i.e., refer to `conftest.exe'), while it won't with
2165 # `rm'.
2166 for ac_file in conftest.exe conftest conftest.*; do
2167 test -f "$ac_file" || continue
2168 case $ac_file in
2169 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2170 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2171 export ac_cv_exeext
2172 break;;
2173 * ) break;;
2174 esac
2175 done
2176 else
2177 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2178 See \`config.log' for more details." >&5
2179 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2180 See \`config.log' for more details." >&2;}
2181 { (exit 1); exit 1; }; }
2184 rm -f conftest$ac_cv_exeext
2185 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2186 echo "${ECHO_T}$ac_cv_exeext" >&6
2188 rm -f conftest.$ac_ext
2189 EXEEXT=$ac_cv_exeext
2190 ac_exeext=$EXEEXT
2191 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2192 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2193 if test "${ac_cv_objext+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 else
2196 cat >conftest.$ac_ext <<_ACEOF
2197 /* confdefs.h. */
2198 _ACEOF
2199 cat confdefs.h >>conftest.$ac_ext
2200 cat >>conftest.$ac_ext <<_ACEOF
2201 /* end confdefs.h. */
2204 main ()
2208 return 0;
2210 _ACEOF
2211 rm -f conftest.o conftest.obj
2212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2213 (eval $ac_compile) 2>&5
2214 ac_status=$?
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; then
2217 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2218 case $ac_file in
2219 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2220 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2221 break;;
2222 esac
2223 done
2224 else
2225 echo "$as_me: failed program was:" >&5
2226 sed 's/^/| /' conftest.$ac_ext >&5
2228 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2229 See \`config.log' for more details." >&5
2230 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2231 See \`config.log' for more details." >&2;}
2232 { (exit 1); exit 1; }; }
2235 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2237 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2238 echo "${ECHO_T}$ac_cv_objext" >&6
2239 OBJEXT=$ac_cv_objext
2240 ac_objext=$OBJEXT
2241 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2242 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2243 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2244 echo $ECHO_N "(cached) $ECHO_C" >&6
2245 else
2246 cat >conftest.$ac_ext <<_ACEOF
2247 /* confdefs.h. */
2248 _ACEOF
2249 cat confdefs.h >>conftest.$ac_ext
2250 cat >>conftest.$ac_ext <<_ACEOF
2251 /* end confdefs.h. */
2254 main ()
2256 #ifndef __GNUC__
2257 choke me
2258 #endif
2261 return 0;
2263 _ACEOF
2264 rm -f conftest.$ac_objext
2265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2266 (eval $ac_compile) 2>conftest.er1
2267 ac_status=$?
2268 grep -v '^ *+' conftest.er1 >conftest.err
2269 rm -f conftest.er1
2270 cat conftest.err >&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); } &&
2273 { ac_try='test -z "$ac_c_werror_flag"
2274 || test ! -s conftest.err'
2275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276 (eval $ac_try) 2>&5
2277 ac_status=$?
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; } &&
2280 { ac_try='test -s conftest.$ac_objext'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 (eval $ac_try) 2>&5
2283 ac_status=$?
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; }; then
2286 ac_compiler_gnu=yes
2287 else
2288 echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.$ac_ext >&5
2291 ac_compiler_gnu=no
2293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2294 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2297 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2298 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2299 GCC=`test $ac_compiler_gnu = yes && echo yes`
2300 ac_test_CFLAGS=${CFLAGS+set}
2301 ac_save_CFLAGS=$CFLAGS
2302 CFLAGS="-g"
2303 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2304 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2305 if test "${ac_cv_prog_cc_g+set}" = set; then
2306 echo $ECHO_N "(cached) $ECHO_C" >&6
2307 else
2308 cat >conftest.$ac_ext <<_ACEOF
2309 /* confdefs.h. */
2310 _ACEOF
2311 cat confdefs.h >>conftest.$ac_ext
2312 cat >>conftest.$ac_ext <<_ACEOF
2313 /* end confdefs.h. */
2316 main ()
2320 return 0;
2322 _ACEOF
2323 rm -f conftest.$ac_objext
2324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2325 (eval $ac_compile) 2>conftest.er1
2326 ac_status=$?
2327 grep -v '^ *+' conftest.er1 >conftest.err
2328 rm -f conftest.er1
2329 cat conftest.err >&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); } &&
2332 { ac_try='test -z "$ac_c_werror_flag"
2333 || test ! -s conftest.err'
2334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335 (eval $ac_try) 2>&5
2336 ac_status=$?
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; } &&
2339 { ac_try='test -s conftest.$ac_objext'
2340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2341 (eval $ac_try) 2>&5
2342 ac_status=$?
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; }; then
2345 ac_cv_prog_cc_g=yes
2346 else
2347 echo "$as_me: failed program was:" >&5
2348 sed 's/^/| /' conftest.$ac_ext >&5
2350 ac_cv_prog_cc_g=no
2352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2354 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2355 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2356 if test "$ac_test_CFLAGS" = set; then
2357 CFLAGS=$ac_save_CFLAGS
2358 elif test $ac_cv_prog_cc_g = yes; then
2359 if test "$GCC" = yes; then
2360 CFLAGS="-g -O2"
2361 else
2362 CFLAGS="-g"
2364 else
2365 if test "$GCC" = yes; then
2366 CFLAGS="-O2"
2367 else
2368 CFLAGS=
2371 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2372 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2373 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2374 echo $ECHO_N "(cached) $ECHO_C" >&6
2375 else
2376 ac_cv_prog_cc_stdc=no
2377 ac_save_CC=$CC
2378 cat >conftest.$ac_ext <<_ACEOF
2379 /* confdefs.h. */
2380 _ACEOF
2381 cat confdefs.h >>conftest.$ac_ext
2382 cat >>conftest.$ac_ext <<_ACEOF
2383 /* end confdefs.h. */
2384 #include <stdarg.h>
2385 #include <stdio.h>
2386 #include <sys/types.h>
2387 #include <sys/stat.h>
2388 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2389 struct buf { int x; };
2390 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2391 static char *e (p, i)
2392 char **p;
2393 int i;
2395 return p[i];
2397 static char *f (char * (*g) (char **, int), char **p, ...)
2399 char *s;
2400 va_list v;
2401 va_start (v,p);
2402 s = g (p, va_arg (v,int));
2403 va_end (v);
2404 return s;
2407 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2408 function prototypes and stuff, but not '\xHH' hex character constants.
2409 These don't provoke an error unfortunately, instead are silently treated
2410 as 'x'. The following induces an error, until -std1 is added to get
2411 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2412 array size at least. It's necessary to write '\x00'==0 to get something
2413 that's true only with -std1. */
2414 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2416 int test (int i, double x);
2417 struct s1 {int (*f) (int a);};
2418 struct s2 {int (*f) (double a);};
2419 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2420 int argc;
2421 char **argv;
2423 main ()
2425 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2427 return 0;
2429 _ACEOF
2430 # Don't try gcc -ansi; that turns off useful extensions and
2431 # breaks some systems' header files.
2432 # AIX -qlanglvl=ansi
2433 # Ultrix and OSF/1 -std1
2434 # HP-UX 10.20 and later -Ae
2435 # HP-UX older versions -Aa -D_HPUX_SOURCE
2436 # SVR4 -Xc -D__EXTENSIONS__
2437 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2439 CC="$ac_save_CC $ac_arg"
2440 rm -f conftest.$ac_objext
2441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2442 (eval $ac_compile) 2>conftest.er1
2443 ac_status=$?
2444 grep -v '^ *+' conftest.er1 >conftest.err
2445 rm -f conftest.er1
2446 cat conftest.err >&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); } &&
2449 { ac_try='test -z "$ac_c_werror_flag"
2450 || test ! -s conftest.err'
2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2452 (eval $ac_try) 2>&5
2453 ac_status=$?
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; } &&
2456 { ac_try='test -s conftest.$ac_objext'
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2458 (eval $ac_try) 2>&5
2459 ac_status=$?
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; }; then
2462 ac_cv_prog_cc_stdc=$ac_arg
2463 break
2464 else
2465 echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.$ac_ext >&5
2469 rm -f conftest.err conftest.$ac_objext
2470 done
2471 rm -f conftest.$ac_ext conftest.$ac_objext
2472 CC=$ac_save_CC
2476 case "x$ac_cv_prog_cc_stdc" in
2477 x|xno)
2478 echo "$as_me:$LINENO: result: none needed" >&5
2479 echo "${ECHO_T}none needed" >&6 ;;
2481 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2482 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2483 CC="$CC $ac_cv_prog_cc_stdc" ;;
2484 esac
2486 # Some people use a C++ compiler to compile C. Since we use `exit',
2487 # in C++ we need to declare it. In case someone uses the same compiler
2488 # for both compiling C and C++ we need to have the C++ compiler decide
2489 # the declaration of exit, since it's the most demanding environment.
2490 cat >conftest.$ac_ext <<_ACEOF
2491 #ifndef __cplusplus
2492 choke me
2493 #endif
2494 _ACEOF
2495 rm -f conftest.$ac_objext
2496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2497 (eval $ac_compile) 2>conftest.er1
2498 ac_status=$?
2499 grep -v '^ *+' conftest.er1 >conftest.err
2500 rm -f conftest.er1
2501 cat conftest.err >&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); } &&
2504 { ac_try='test -z "$ac_c_werror_flag"
2505 || test ! -s conftest.err'
2506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 (eval $ac_try) 2>&5
2508 ac_status=$?
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; } &&
2511 { ac_try='test -s conftest.$ac_objext'
2512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 (eval $ac_try) 2>&5
2514 ac_status=$?
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }; }; then
2517 for ac_declaration in \
2518 '' \
2519 'extern "C" void std::exit (int) throw (); using std::exit;' \
2520 'extern "C" void std::exit (int); using std::exit;' \
2521 'extern "C" void exit (int) throw ();' \
2522 'extern "C" void exit (int);' \
2523 'void exit (int);'
2525 cat >conftest.$ac_ext <<_ACEOF
2526 /* confdefs.h. */
2527 _ACEOF
2528 cat confdefs.h >>conftest.$ac_ext
2529 cat >>conftest.$ac_ext <<_ACEOF
2530 /* end confdefs.h. */
2531 $ac_declaration
2532 #include <stdlib.h>
2534 main ()
2536 exit (42);
2538 return 0;
2540 _ACEOF
2541 rm -f conftest.$ac_objext
2542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2543 (eval $ac_compile) 2>conftest.er1
2544 ac_status=$?
2545 grep -v '^ *+' conftest.er1 >conftest.err
2546 rm -f conftest.er1
2547 cat conftest.err >&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); } &&
2550 { ac_try='test -z "$ac_c_werror_flag"
2551 || test ! -s conftest.err'
2552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2553 (eval $ac_try) 2>&5
2554 ac_status=$?
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); }; } &&
2557 { ac_try='test -s conftest.$ac_objext'
2558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559 (eval $ac_try) 2>&5
2560 ac_status=$?
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; }; then
2564 else
2565 echo "$as_me: failed program was:" >&5
2566 sed 's/^/| /' conftest.$ac_ext >&5
2568 continue
2570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2571 cat >conftest.$ac_ext <<_ACEOF
2572 /* confdefs.h. */
2573 _ACEOF
2574 cat confdefs.h >>conftest.$ac_ext
2575 cat >>conftest.$ac_ext <<_ACEOF
2576 /* end confdefs.h. */
2577 $ac_declaration
2579 main ()
2581 exit (42);
2583 return 0;
2585 _ACEOF
2586 rm -f conftest.$ac_objext
2587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2588 (eval $ac_compile) 2>conftest.er1
2589 ac_status=$?
2590 grep -v '^ *+' conftest.er1 >conftest.err
2591 rm -f conftest.er1
2592 cat conftest.err >&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); } &&
2595 { ac_try='test -z "$ac_c_werror_flag"
2596 || test ! -s conftest.err'
2597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 (eval $ac_try) 2>&5
2599 ac_status=$?
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; } &&
2602 { ac_try='test -s conftest.$ac_objext'
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 (eval $ac_try) 2>&5
2605 ac_status=$?
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; }; then
2608 break
2609 else
2610 echo "$as_me: failed program was:" >&5
2611 sed 's/^/| /' conftest.$ac_ext >&5
2614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2615 done
2616 rm -f conftest*
2617 if test -n "$ac_declaration"; then
2618 echo '#ifdef __cplusplus' >>confdefs.h
2619 echo $ac_declaration >>confdefs.h
2620 echo '#endif' >>confdefs.h
2623 else
2624 echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2629 ac_ext=c
2630 ac_cpp='$CPP $CPPFLAGS'
2631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2634 DEPDIR="${am__leading_dot}deps"
2636 ac_config_commands="$ac_config_commands depfiles"
2639 am_make=${MAKE-make}
2640 cat > confinc << 'END'
2641 am__doit:
2642 @echo done
2643 .PHONY: am__doit
2645 # If we don't find an include directive, just comment out the code.
2646 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2647 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2648 am__include="#"
2649 am__quote=
2650 _am_result=none
2651 # First try GNU make style include.
2652 echo "include confinc" > confmf
2653 # We grep out `Entering directory' and `Leaving directory'
2654 # messages which can occur if `w' ends up in MAKEFLAGS.
2655 # In particular we don't look at `^make:' because GNU make might
2656 # be invoked under some other name (usually "gmake"), in which
2657 # case it prints its new name instead of `make'.
2658 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2659 am__include=include
2660 am__quote=
2661 _am_result=GNU
2663 # Now try BSD make style include.
2664 if test "$am__include" = "#"; then
2665 echo '.include "confinc"' > confmf
2666 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2667 am__include=.include
2668 am__quote="\""
2669 _am_result=BSD
2674 echo "$as_me:$LINENO: result: $_am_result" >&5
2675 echo "${ECHO_T}$_am_result" >&6
2676 rm -f confinc confmf
2678 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2679 if test "${enable_dependency_tracking+set}" = set; then
2680 enableval="$enable_dependency_tracking"
2683 if test "x$enable_dependency_tracking" != xno; then
2684 am_depcomp="$ac_aux_dir/depcomp"
2685 AMDEPBACKSLASH='\'
2689 if test "x$enable_dependency_tracking" != xno; then
2690 AMDEP_TRUE=
2691 AMDEP_FALSE='#'
2692 else
2693 AMDEP_TRUE='#'
2694 AMDEP_FALSE=
2700 depcc="$CC" am_compiler_list=
2702 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2703 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2704 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2706 else
2707 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2708 # We make a subdir and do the tests there. Otherwise we can end up
2709 # making bogus files that we don't know about and never remove. For
2710 # instance it was reported that on HP-UX the gcc test will end up
2711 # making a dummy file named `D' -- because `-MD' means `put the output
2712 # in D'.
2713 mkdir conftest.dir
2714 # Copy depcomp to subdir because otherwise we won't find it if we're
2715 # using a relative directory.
2716 cp "$am_depcomp" conftest.dir
2717 cd conftest.dir
2718 # We will build objects and dependencies in a subdirectory because
2719 # it helps to detect inapplicable dependency modes. For instance
2720 # both Tru64's cc and ICC support -MD to output dependencies as a
2721 # side effect of compilation, but ICC will put the dependencies in
2722 # the current directory while Tru64 will put them in the object
2723 # directory.
2724 mkdir sub
2726 am_cv_CC_dependencies_compiler_type=none
2727 if test "$am_compiler_list" = ""; then
2728 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2730 for depmode in $am_compiler_list; do
2731 # Setup a source with many dependencies, because some compilers
2732 # like to wrap large dependency lists on column 80 (with \), and
2733 # we should not choose a depcomp mode which is confused by this.
2735 # We need to recreate these files for each test, as the compiler may
2736 # overwrite some of them when testing with obscure command lines.
2737 # This happens at least with the AIX C compiler.
2738 : > sub/conftest.c
2739 for i in 1 2 3 4 5 6; do
2740 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2741 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2742 # Solaris 8's {/usr,}/bin/sh.
2743 touch sub/conftst$i.h
2744 done
2745 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2747 case $depmode in
2748 nosideeffect)
2749 # after this tag, mechanisms are not by side-effect, so they'll
2750 # only be used when explicitly requested
2751 if test "x$enable_dependency_tracking" = xyes; then
2752 continue
2753 else
2754 break
2757 none) break ;;
2758 esac
2759 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2760 # mode. It turns out that the SunPro C++ compiler does not properly
2761 # handle `-M -o', and we need to detect this.
2762 if depmode=$depmode \
2763 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2764 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2765 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2766 >/dev/null 2>conftest.err &&
2767 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2768 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2769 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2770 # icc doesn't choke on unknown options, it will just issue warnings
2771 # or remarks (even with -Werror). So we grep stderr for any message
2772 # that says an option was ignored or not supported.
2773 # When given -MP, icc 7.0 and 7.1 complain thusly:
2774 # icc: Command line warning: ignoring option '-M'; no argument required
2775 # The diagnosis changed in icc 8.0:
2776 # icc: Command line remark: option '-MP' not supported
2777 if (grep 'ignoring option' conftest.err ||
2778 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2779 am_cv_CC_dependencies_compiler_type=$depmode
2780 break
2783 done
2785 cd ..
2786 rm -rf conftest.dir
2787 else
2788 am_cv_CC_dependencies_compiler_type=none
2792 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2793 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2794 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2799 test "x$enable_dependency_tracking" != xno \
2800 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2801 am__fastdepCC_TRUE=
2802 am__fastdepCC_FALSE='#'
2803 else
2804 am__fastdepCC_TRUE='#'
2805 am__fastdepCC_FALSE=
2810 if test "X$prefix" = "XNONE"; then
2811 acl_final_prefix="$ac_default_prefix"
2812 else
2813 acl_final_prefix="$prefix"
2815 if test "X$exec_prefix" = "XNONE"; then
2816 acl_final_exec_prefix='${prefix}'
2817 else
2818 acl_final_exec_prefix="$exec_prefix"
2820 acl_save_prefix="$prefix"
2821 prefix="$acl_final_prefix"
2822 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
2823 prefix="$acl_save_prefix"
2825 # Make sure we can run config.sub.
2826 $ac_config_sub sun4 >/dev/null 2>&1 ||
2827 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2828 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2829 { (exit 1); exit 1; }; }
2831 echo "$as_me:$LINENO: checking build system type" >&5
2832 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2833 if test "${ac_cv_build+set}" = set; then
2834 echo $ECHO_N "(cached) $ECHO_C" >&6
2835 else
2836 ac_cv_build_alias=$build_alias
2837 test -z "$ac_cv_build_alias" &&
2838 ac_cv_build_alias=`$ac_config_guess`
2839 test -z "$ac_cv_build_alias" &&
2840 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2841 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2842 { (exit 1); exit 1; }; }
2843 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2844 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2845 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2846 { (exit 1); exit 1; }; }
2849 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2850 echo "${ECHO_T}$ac_cv_build" >&6
2851 build=$ac_cv_build
2852 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2853 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2854 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2857 echo "$as_me:$LINENO: checking host system type" >&5
2858 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2859 if test "${ac_cv_host+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 else
2862 ac_cv_host_alias=$host_alias
2863 test -z "$ac_cv_host_alias" &&
2864 ac_cv_host_alias=$ac_cv_build_alias
2865 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2866 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2867 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2868 { (exit 1); exit 1; }; }
2871 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2872 echo "${ECHO_T}$ac_cv_host" >&6
2873 host=$ac_cv_host
2874 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2875 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2876 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2880 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2881 if test "${with_gnu_ld+set}" = set; then
2882 withval="$with_gnu_ld"
2883 test "$withval" = no || with_gnu_ld=yes
2884 else
2885 with_gnu_ld=no
2887 # Prepare PATH_SEPARATOR.
2888 # The user is always right.
2889 if test "${PATH_SEPARATOR+set}" != set; then
2890 echo "#! /bin/sh" >conf$$.sh
2891 echo "exit 0" >>conf$$.sh
2892 chmod +x conf$$.sh
2893 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2894 PATH_SEPARATOR=';'
2895 else
2896 PATH_SEPARATOR=:
2898 rm -f conf$$.sh
2900 ac_prog=ld
2901 if test "$GCC" = yes; then
2902 # Check if gcc -print-prog-name=ld gives a path.
2903 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2904 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2905 case $host in
2906 *-*-mingw*)
2907 # gcc leaves a trailing carriage return which upsets mingw
2908 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2910 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2911 esac
2912 case $ac_prog in
2913 # Accept absolute paths.
2914 [\\/]* | [A-Za-z]:[\\/]*)
2915 re_direlt='/[^/][^/]*/\.\./'
2916 # Canonicalize the path of ld
2917 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
2918 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2919 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
2920 done
2921 test -z "$LD" && LD="$ac_prog"
2924 # If it fails, then pretend we aren't using GCC.
2925 ac_prog=ld
2928 # If it is relative, then search for the first ld in PATH.
2929 with_gnu_ld=unknown
2931 esac
2932 elif test "$with_gnu_ld" = yes; then
2933 echo "$as_me:$LINENO: checking for GNU ld" >&5
2934 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2935 else
2936 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2937 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
2939 if test "${acl_cv_path_LD+set}" = set; then
2940 echo $ECHO_N "(cached) $ECHO_C" >&6
2941 else
2942 if test -z "$LD"; then
2943 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2944 for ac_dir in $PATH; do
2945 test -z "$ac_dir" && ac_dir=.
2946 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2947 acl_cv_path_LD="$ac_dir/$ac_prog"
2948 # Check to see if the program is GNU ld. I'd rather use --version,
2949 # but apparently some GNU ld's only accept -v.
2950 # Break only if it was the GNU/non-GNU ld that we prefer.
2951 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
2952 *GNU* | *'with BFD'*)
2953 test "$with_gnu_ld" != no && break ;;
2955 test "$with_gnu_ld" != yes && break ;;
2956 esac
2958 done
2959 IFS="$ac_save_ifs"
2960 else
2961 acl_cv_path_LD="$LD" # Let the user override the test with a path.
2965 LD="$acl_cv_path_LD"
2966 if test -n "$LD"; then
2967 echo "$as_me:$LINENO: result: $LD" >&5
2968 echo "${ECHO_T}$LD" >&6
2969 else
2970 echo "$as_me:$LINENO: result: no" >&5
2971 echo "${ECHO_T}no" >&6
2973 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
2974 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
2975 { (exit 1); exit 1; }; }
2976 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
2977 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
2978 if test "${acl_cv_prog_gnu_ld+set}" = set; then
2979 echo $ECHO_N "(cached) $ECHO_C" >&6
2980 else
2981 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
2982 case `$LD -v 2>&1 </dev/null` in
2983 *GNU* | *'with BFD'*)
2984 acl_cv_prog_gnu_ld=yes ;;
2986 acl_cv_prog_gnu_ld=no ;;
2987 esac
2989 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
2990 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
2991 with_gnu_ld=$acl_cv_prog_gnu_ld
2996 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
2997 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
2998 if test "${acl_cv_rpath+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3000 else
3002 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3003 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3004 . ./conftest.sh
3005 rm -f ./conftest.sh
3006 acl_cv_rpath=done
3009 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3010 echo "${ECHO_T}$acl_cv_rpath" >&6
3011 wl="$acl_cv_wl"
3012 libext="$acl_cv_libext"
3013 shlibext="$acl_cv_shlibext"
3014 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3015 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3016 hardcode_direct="$acl_cv_hardcode_direct"
3017 hardcode_minus_L="$acl_cv_hardcode_minus_L"
3018 # Check whether --enable-rpath or --disable-rpath was given.
3019 if test "${enable_rpath+set}" = set; then
3020 enableval="$enable_rpath"
3022 else
3023 enable_rpath=yes
3031 echo "$as_me:$LINENO: checking how to link with librpathx" >&5
3032 echo $ECHO_N "checking how to link with librpathx... $ECHO_C" >&6
3033 if test "${ac_cv_librpathx_libs+set}" = set; then
3034 echo $ECHO_N "(cached) $ECHO_C" >&6
3035 else
3039 use_additional=yes
3041 acl_save_prefix="$prefix"
3042 prefix="$acl_final_prefix"
3043 acl_save_exec_prefix="$exec_prefix"
3044 exec_prefix="$acl_final_exec_prefix"
3046 eval additional_includedir=\"$includedir\"
3047 eval additional_libdir=\"$libdir\"
3049 exec_prefix="$acl_save_exec_prefix"
3050 prefix="$acl_save_prefix"
3053 # Check whether --with-librpathx-prefix or --without-librpathx-prefix was given.
3054 if test "${with_librpathx_prefix+set}" = set; then
3055 withval="$with_librpathx_prefix"
3057 if test "X$withval" = "Xno"; then
3058 use_additional=no
3059 else
3060 if test "X$withval" = "X"; then
3062 acl_save_prefix="$prefix"
3063 prefix="$acl_final_prefix"
3064 acl_save_exec_prefix="$exec_prefix"
3065 exec_prefix="$acl_final_exec_prefix"
3067 eval additional_includedir=\"$includedir\"
3068 eval additional_libdir=\"$libdir\"
3070 exec_prefix="$acl_save_exec_prefix"
3071 prefix="$acl_save_prefix"
3073 else
3074 additional_includedir="$withval/include"
3075 additional_libdir="$withval/lib"
3080 LIBRPATHX=
3081 LTLIBRPATHX=
3082 INCRPATHX=
3083 rpathdirs=
3084 ltrpathdirs=
3085 names_already_handled=
3086 names_next_round='rpathx '
3087 while test -n "$names_next_round"; do
3088 names_this_round="$names_next_round"
3089 names_next_round=
3090 for name in $names_this_round; do
3091 already_handled=
3092 for n in $names_already_handled; do
3093 if test "$n" = "$name"; then
3094 already_handled=yes
3095 break
3097 done
3098 if test -z "$already_handled"; then
3099 names_already_handled="$names_already_handled $name"
3100 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3101 eval value=\"\$HAVE_LIB$uppername\"
3102 if test -n "$value"; then
3103 if test "$value" = yes; then
3104 eval value=\"\$LIB$uppername\"
3105 test -z "$value" || LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$value"
3106 eval value=\"\$LTLIB$uppername\"
3107 test -z "$value" || LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }$value"
3108 else
3111 else
3112 found_dir=
3113 found_la=
3114 found_so=
3115 found_a=
3116 if test $use_additional = yes; then
3117 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3118 found_dir="$additional_libdir"
3119 found_so="$additional_libdir/lib$name.$shlibext"
3120 if test -f "$additional_libdir/lib$name.la"; then
3121 found_la="$additional_libdir/lib$name.la"
3123 else
3124 if test -f "$additional_libdir/lib$name.$libext"; then
3125 found_dir="$additional_libdir"
3126 found_a="$additional_libdir/lib$name.$libext"
3127 if test -f "$additional_libdir/lib$name.la"; then
3128 found_la="$additional_libdir/lib$name.la"
3133 if test "X$found_dir" = "X"; then
3134 for x in $LDFLAGS $LTLIBRPATHX; do
3136 acl_save_prefix="$prefix"
3137 prefix="$acl_final_prefix"
3138 acl_save_exec_prefix="$exec_prefix"
3139 exec_prefix="$acl_final_exec_prefix"
3140 eval x=\"$x\"
3141 exec_prefix="$acl_save_exec_prefix"
3142 prefix="$acl_save_prefix"
3144 case "$x" in
3145 -L*)
3146 dir=`echo "X$x" | sed -e 's/^X-L//'`
3147 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3148 found_dir="$dir"
3149 found_so="$dir/lib$name.$shlibext"
3150 if test -f "$dir/lib$name.la"; then
3151 found_la="$dir/lib$name.la"
3153 else
3154 if test -f "$dir/lib$name.$libext"; then
3155 found_dir="$dir"
3156 found_a="$dir/lib$name.$libext"
3157 if test -f "$dir/lib$name.la"; then
3158 found_la="$dir/lib$name.la"
3163 esac
3164 if test "X$found_dir" != "X"; then
3165 break
3167 done
3169 if test "X$found_dir" != "X"; then
3170 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$found_dir -l$name"
3171 if test "X$found_so" != "X"; then
3172 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
3173 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3174 else
3175 haveit=
3176 for x in $ltrpathdirs; do
3177 if test "X$x" = "X$found_dir"; then
3178 haveit=yes
3179 break
3181 done
3182 if test -z "$haveit"; then
3183 ltrpathdirs="$ltrpathdirs $found_dir"
3185 if test "$hardcode_direct" = yes; then
3186 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3187 else
3188 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
3189 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3190 haveit=
3191 for x in $rpathdirs; do
3192 if test "X$x" = "X$found_dir"; then
3193 haveit=yes
3194 break
3196 done
3197 if test -z "$haveit"; then
3198 rpathdirs="$rpathdirs $found_dir"
3200 else
3201 haveit=
3202 for x in $LDFLAGS $LIBRPATHX; do
3204 acl_save_prefix="$prefix"
3205 prefix="$acl_final_prefix"
3206 acl_save_exec_prefix="$exec_prefix"
3207 exec_prefix="$acl_final_exec_prefix"
3208 eval x=\"$x\"
3209 exec_prefix="$acl_save_exec_prefix"
3210 prefix="$acl_save_prefix"
3212 if test "X$x" = "X-L$found_dir"; then
3213 haveit=yes
3214 break
3216 done
3217 if test -z "$haveit"; then
3218 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir"
3220 if test "$hardcode_minus_L" != no; then
3221 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3222 else
3223 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-l$name"
3228 else
3229 if test "X$found_a" != "X"; then
3230 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_a"
3231 else
3232 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir -l$name"
3235 additional_includedir=
3236 case "$found_dir" in
3237 */lib | */lib/)
3238 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3239 additional_includedir="$basedir/include"
3241 esac
3242 if test "X$additional_includedir" != "X"; then
3243 if test "X$additional_includedir" != "X/usr/include"; then
3244 haveit=
3245 if test "X$additional_includedir" = "X/usr/local/include"; then
3246 if test -n "$GCC"; then
3247 case $host_os in
3248 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3249 esac
3252 if test -z "$haveit"; then
3253 for x in $CPPFLAGS $INCRPATHX; do
3255 acl_save_prefix="$prefix"
3256 prefix="$acl_final_prefix"
3257 acl_save_exec_prefix="$exec_prefix"
3258 exec_prefix="$acl_final_exec_prefix"
3259 eval x=\"$x\"
3260 exec_prefix="$acl_save_exec_prefix"
3261 prefix="$acl_save_prefix"
3263 if test "X$x" = "X-I$additional_includedir"; then
3264 haveit=yes
3265 break
3267 done
3268 if test -z "$haveit"; then
3269 if test -d "$additional_includedir"; then
3270 INCRPATHX="${INCRPATHX}${INCRPATHX:+ }-I$additional_includedir"
3276 if test -n "$found_la"; then
3277 save_libdir="$libdir"
3278 case "$found_la" in
3279 */* | *\\*) . "$found_la" ;;
3280 *) . "./$found_la" ;;
3281 esac
3282 libdir="$save_libdir"
3283 for dep in $dependency_libs; do
3284 case "$dep" in
3285 -L*)
3286 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
3287 if test "X$additional_libdir" != "X/usr/lib"; then
3288 haveit=
3289 if test "X$additional_libdir" = "X/usr/local/lib"; then
3290 if test -n "$GCC"; then
3291 case $host_os in
3292 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3293 esac
3296 if test -z "$haveit"; then
3297 haveit=
3298 for x in $LDFLAGS $LIBRPATHX; do
3300 acl_save_prefix="$prefix"
3301 prefix="$acl_final_prefix"
3302 acl_save_exec_prefix="$exec_prefix"
3303 exec_prefix="$acl_final_exec_prefix"
3304 eval x=\"$x\"
3305 exec_prefix="$acl_save_exec_prefix"
3306 prefix="$acl_save_prefix"
3308 if test "X$x" = "X-L$additional_libdir"; then
3309 haveit=yes
3310 break
3312 done
3313 if test -z "$haveit"; then
3314 if test -d "$additional_libdir"; then
3315 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$additional_libdir"
3318 haveit=
3319 for x in $LDFLAGS $LTLIBRPATHX; do
3321 acl_save_prefix="$prefix"
3322 prefix="$acl_final_prefix"
3323 acl_save_exec_prefix="$exec_prefix"
3324 exec_prefix="$acl_final_exec_prefix"
3325 eval x=\"$x\"
3326 exec_prefix="$acl_save_exec_prefix"
3327 prefix="$acl_save_prefix"
3329 if test "X$x" = "X-L$additional_libdir"; then
3330 haveit=yes
3331 break
3333 done
3334 if test -z "$haveit"; then
3335 if test -d "$additional_libdir"; then
3336 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$additional_libdir"
3342 -R*)
3343 dir=`echo "X$dep" | sed -e 's/^X-R//'`
3344 if test "$enable_rpath" != no; then
3345 haveit=
3346 for x in $rpathdirs; do
3347 if test "X$x" = "X$dir"; then
3348 haveit=yes
3349 break
3351 done
3352 if test -z "$haveit"; then
3353 rpathdirs="$rpathdirs $dir"
3355 haveit=
3356 for x in $ltrpathdirs; do
3357 if test "X$x" = "X$dir"; then
3358 haveit=yes
3359 break
3361 done
3362 if test -z "$haveit"; then
3363 ltrpathdirs="$ltrpathdirs $dir"
3367 -l*)
3368 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
3370 *.la)
3371 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
3374 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$dep"
3375 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }$dep"
3377 esac
3378 done
3380 else
3381 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-l$name"
3382 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-l$name"
3386 done
3387 done
3388 if test "X$rpathdirs" != "X"; then
3389 if test -n "$hardcode_libdir_separator"; then
3390 alldirs=
3391 for found_dir in $rpathdirs; do
3392 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
3393 done
3394 acl_save_libdir="$libdir"
3395 libdir="$alldirs"
3396 eval flag=\"$hardcode_libdir_flag_spec\"
3397 libdir="$acl_save_libdir"
3398 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$flag"
3399 else
3400 for found_dir in $rpathdirs; do
3401 acl_save_libdir="$libdir"
3402 libdir="$found_dir"
3403 eval flag=\"$hardcode_libdir_flag_spec\"
3404 libdir="$acl_save_libdir"
3405 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$flag"
3406 done
3409 if test "X$ltrpathdirs" != "X"; then
3410 for found_dir in $ltrpathdirs; do
3411 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-R$found_dir"
3412 done
3415 ac_cv_librpathx_libs="$LIBRPATHX"
3416 ac_cv_librpathx_ltlibs="$LTLIBRPATHX"
3417 ac_cv_librpathx_cppflags="$INCRPATHX"
3420 echo "$as_me:$LINENO: result: $ac_cv_librpathx_libs" >&5
3421 echo "${ECHO_T}$ac_cv_librpathx_libs" >&6
3422 LIBRPATHX="$ac_cv_librpathx_libs"
3423 LTLIBRPATHX="$ac_cv_librpathx_ltlibs"
3424 INCRPATHX="$ac_cv_librpathx_cppflags"
3426 for element in $INCRPATHX; do
3427 haveit=
3428 for x in $CPPFLAGS; do
3430 acl_save_prefix="$prefix"
3431 prefix="$acl_final_prefix"
3432 acl_save_exec_prefix="$exec_prefix"
3433 exec_prefix="$acl_final_exec_prefix"
3434 eval x=\"$x\"
3435 exec_prefix="$acl_save_exec_prefix"
3436 prefix="$acl_save_prefix"
3438 if test "X$x" = "X$element"; then
3439 haveit=yes
3440 break
3442 done
3443 if test -z "$haveit"; then
3444 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
3446 done
3450 HAVE_LIBRPATHX=yes
3455 ac_config_files="$ac_config_files Makefile"
3456 cat >confcache <<\_ACEOF
3457 # This file is a shell script that caches the results of configure
3458 # tests run on this system so they can be shared between configure
3459 # scripts and configure runs, see configure's option --config-cache.
3460 # It is not useful on other systems. If it contains results you don't
3461 # want to keep, you may remove or edit it.
3463 # config.status only pays attention to the cache file if you give it
3464 # the --recheck option to rerun configure.
3466 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3467 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3468 # following values.
3470 _ACEOF
3472 # The following way of writing the cache mishandles newlines in values,
3473 # but we know of no workaround that is simple, portable, and efficient.
3474 # So, don't put newlines in cache variables' values.
3475 # Ultrix sh set writes to stderr and can't be redirected directly,
3476 # and sets the high bit in the cache file unless we assign to the vars.
3478 (set) 2>&1 |
3479 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3480 *ac_space=\ *)
3481 # `set' does not quote correctly, so add quotes (double-quote
3482 # substitution turns \\\\ into \\, and sed turns \\ into \).
3483 sed -n \
3484 "s/'/'\\\\''/g;
3485 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3488 # `set' quotes correctly as required by POSIX, so do not add quotes.
3489 sed -n \
3490 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3492 esac;
3494 sed '
3495 t clear
3496 : clear
3497 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3498 t end
3499 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3500 : end' >>confcache
3501 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3502 if test -w $cache_file; then
3503 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3504 cat confcache >$cache_file
3505 else
3506 echo "not updating unwritable cache $cache_file"
3509 rm -f confcache
3511 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3512 # Let make expand exec_prefix.
3513 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3515 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3516 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3517 # trailing colons and then remove the whole line if VPATH becomes empty
3518 # (actually we leave an empty line to preserve line numbers).
3519 if test "x$srcdir" = x.; then
3520 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3521 s/:*\$(srcdir):*/:/;
3522 s/:*\${srcdir}:*/:/;
3523 s/:*@srcdir@:*/:/;
3524 s/^\([^=]*=[ ]*\):*/\1/;
3525 s/:*$//;
3526 s/^[^=]*=[ ]*$//;
3530 # Transform confdefs.h into DEFS.
3531 # Protect against shell expansion while executing Makefile rules.
3532 # Protect against Makefile macro expansion.
3534 # If the first sed substitution is executed (which looks for macros that
3535 # take arguments), then we branch to the quote section. Otherwise,
3536 # look for a macro that doesn't take arguments.
3537 cat >confdef2opt.sed <<\_ACEOF
3538 t clear
3539 : clear
3540 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3541 t quote
3542 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3543 t quote
3545 : quote
3546 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3547 s,\[,\\&,g
3548 s,\],\\&,g
3549 s,\$,$$,g
3551 _ACEOF
3552 # We use echo to avoid assuming a particular line-breaking character.
3553 # The extra dot is to prevent the shell from consuming trailing
3554 # line-breaks from the sub-command output. A line-break within
3555 # single-quotes doesn't work because, if this script is created in a
3556 # platform that uses two characters for line-breaks (e.g., DOS), tr
3557 # would break.
3558 ac_LF_and_DOT=`echo; echo .`
3559 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3560 rm -f confdef2opt.sed
3563 ac_libobjs=
3564 ac_ltlibobjs=
3565 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3566 # 1. Remove the extension, and $U if already installed.
3567 ac_i=`echo "$ac_i" |
3568 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3569 # 2. Add them.
3570 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3571 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3572 done
3573 LIBOBJS=$ac_libobjs
3575 LTLIBOBJS=$ac_ltlibobjs
3578 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3579 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3580 Usually this means the macro was only invoked conditionally." >&5
3581 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3582 Usually this means the macro was only invoked conditionally." >&2;}
3583 { (exit 1); exit 1; }; }
3585 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3586 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3587 Usually this means the macro was only invoked conditionally." >&5
3588 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3589 Usually this means the macro was only invoked conditionally." >&2;}
3590 { (exit 1); exit 1; }; }
3593 : ${CONFIG_STATUS=./config.status}
3594 ac_clean_files_save=$ac_clean_files
3595 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3596 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3597 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3598 cat >$CONFIG_STATUS <<_ACEOF
3599 #! $SHELL
3600 # Generated by $as_me.
3601 # Run this file to recreate the current configuration.
3602 # Compiler output produced by configure, useful for debugging
3603 # configure, is in config.log if it exists.
3605 debug=false
3606 ac_cs_recheck=false
3607 ac_cs_silent=false
3608 SHELL=\${CONFIG_SHELL-$SHELL}
3609 _ACEOF
3611 cat >>$CONFIG_STATUS <<\_ACEOF
3612 ## --------------------- ##
3613 ## M4sh Initialization. ##
3614 ## --------------------- ##
3616 # Be Bourne compatible
3617 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3618 emulate sh
3619 NULLCMD=:
3620 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3621 # is contrary to our usage. Disable this feature.
3622 alias -g '${1+"$@"}'='"$@"'
3623 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3624 set -o posix
3626 DUALCASE=1; export DUALCASE # for MKS sh
3628 # Support unset when possible.
3629 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3630 as_unset=unset
3631 else
3632 as_unset=false
3636 # Work around bugs in pre-3.0 UWIN ksh.
3637 $as_unset ENV MAIL MAILPATH
3638 PS1='$ '
3639 PS2='> '
3640 PS4='+ '
3642 # NLS nuisances.
3643 for as_var in \
3644 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3645 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3646 LC_TELEPHONE LC_TIME
3648 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3649 eval $as_var=C; export $as_var
3650 else
3651 $as_unset $as_var
3653 done
3655 # Required to use basename.
3656 if expr a : '\(a\)' >/dev/null 2>&1; then
3657 as_expr=expr
3658 else
3659 as_expr=false
3662 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3663 as_basename=basename
3664 else
3665 as_basename=false
3669 # Name of the executable.
3670 as_me=`$as_basename "$0" ||
3671 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3672 X"$0" : 'X\(//\)$' \| \
3673 X"$0" : 'X\(/\)$' \| \
3674 . : '\(.\)' 2>/dev/null ||
3675 echo X/"$0" |
3676 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3677 /^X\/\(\/\/\)$/{ s//\1/; q; }
3678 /^X\/\(\/\).*/{ s//\1/; q; }
3679 s/.*/./; q'`
3682 # PATH needs CR, and LINENO needs CR and PATH.
3683 # Avoid depending upon Character Ranges.
3684 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3685 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3686 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3687 as_cr_digits='0123456789'
3688 as_cr_alnum=$as_cr_Letters$as_cr_digits
3690 # The user is always right.
3691 if test "${PATH_SEPARATOR+set}" != set; then
3692 echo "#! /bin/sh" >conf$$.sh
3693 echo "exit 0" >>conf$$.sh
3694 chmod +x conf$$.sh
3695 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3696 PATH_SEPARATOR=';'
3697 else
3698 PATH_SEPARATOR=:
3700 rm -f conf$$.sh
3704 as_lineno_1=$LINENO
3705 as_lineno_2=$LINENO
3706 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3707 test "x$as_lineno_1" != "x$as_lineno_2" &&
3708 test "x$as_lineno_3" = "x$as_lineno_2" || {
3709 # Find who we are. Look in the path if we contain no path at all
3710 # relative or not.
3711 case $0 in
3712 *[\\/]* ) as_myself=$0 ;;
3713 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3714 for as_dir in $PATH
3716 IFS=$as_save_IFS
3717 test -z "$as_dir" && as_dir=.
3718 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3719 done
3722 esac
3723 # We did not find ourselves, most probably we were run as `sh COMMAND'
3724 # in which case we are not to be found in the path.
3725 if test "x$as_myself" = x; then
3726 as_myself=$0
3728 if test ! -f "$as_myself"; then
3729 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3730 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3731 { (exit 1); exit 1; }; }
3733 case $CONFIG_SHELL in
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for as_base in sh bash ksh sh5; do
3741 case $as_dir in
3743 if ("$as_dir/$as_base" -c '
3744 as_lineno_1=$LINENO
3745 as_lineno_2=$LINENO
3746 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3747 test "x$as_lineno_1" != "x$as_lineno_2" &&
3748 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3749 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3750 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3751 CONFIG_SHELL=$as_dir/$as_base
3752 export CONFIG_SHELL
3753 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3754 fi;;
3755 esac
3756 done
3757 done
3759 esac
3761 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3762 # uniformly replaced by the line number. The first 'sed' inserts a
3763 # line-number line before each line; the second 'sed' does the real
3764 # work. The second script uses 'N' to pair each line-number line
3765 # with the numbered line, and appends trailing '-' during
3766 # substitution so that $LINENO is not a special case at line end.
3767 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3768 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3769 sed '=' <$as_myself |
3770 sed '
3772 s,$,-,
3773 : loop
3774 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3775 t loop
3776 s,-$,,
3777 s,^['$as_cr_digits']*\n,,
3778 ' >$as_me.lineno &&
3779 chmod +x $as_me.lineno ||
3780 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3781 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3782 { (exit 1); exit 1; }; }
3784 # Don't try to exec as it changes $[0], causing all sort of problems
3785 # (the dirname of $[0] is not the place where we might find the
3786 # original and so on. Autoconf is especially sensible to this).
3787 . ./$as_me.lineno
3788 # Exit status is that of the last command.
3789 exit
3793 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3794 *c*,-n*) ECHO_N= ECHO_C='
3795 ' ECHO_T=' ' ;;
3796 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3797 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3798 esac
3800 if expr a : '\(a\)' >/dev/null 2>&1; then
3801 as_expr=expr
3802 else
3803 as_expr=false
3806 rm -f conf$$ conf$$.exe conf$$.file
3807 echo >conf$$.file
3808 if ln -s conf$$.file conf$$ 2>/dev/null; then
3809 # We could just check for DJGPP; but this test a) works b) is more generic
3810 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3811 if test -f conf$$.exe; then
3812 # Don't use ln at all; we don't have any links
3813 as_ln_s='cp -p'
3814 else
3815 as_ln_s='ln -s'
3817 elif ln conf$$.file conf$$ 2>/dev/null; then
3818 as_ln_s=ln
3819 else
3820 as_ln_s='cp -p'
3822 rm -f conf$$ conf$$.exe conf$$.file
3824 if mkdir -p . 2>/dev/null; then
3825 as_mkdir_p=:
3826 else
3827 test -d ./-p && rmdir ./-p
3828 as_mkdir_p=false
3831 as_executable_p="test -f"
3833 # Sed expression to map a string onto a valid CPP name.
3834 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3836 # Sed expression to map a string onto a valid variable name.
3837 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3840 # IFS
3841 # We need space, tab and new line, in precisely that order.
3842 as_nl='
3844 IFS=" $as_nl"
3846 # CDPATH.
3847 $as_unset CDPATH
3849 exec 6>&1
3851 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3852 # report actual input values of CONFIG_FILES etc. instead of their
3853 # values after options handling. Logging --version etc. is OK.
3854 exec 5>>config.log
3856 echo
3857 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3858 ## Running $as_me. ##
3859 _ASBOX
3860 } >&5
3861 cat >&5 <<_CSEOF
3863 This file was extended by $as_me, which was
3864 generated by GNU Autoconf 2.59. Invocation command line was
3866 CONFIG_FILES = $CONFIG_FILES
3867 CONFIG_HEADERS = $CONFIG_HEADERS
3868 CONFIG_LINKS = $CONFIG_LINKS
3869 CONFIG_COMMANDS = $CONFIG_COMMANDS
3870 $ $0 $@
3872 _CSEOF
3873 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3874 echo >&5
3875 _ACEOF
3877 # Files that config.status was made for.
3878 if test -n "$ac_config_files"; then
3879 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3882 if test -n "$ac_config_headers"; then
3883 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3886 if test -n "$ac_config_links"; then
3887 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3890 if test -n "$ac_config_commands"; then
3891 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3894 cat >>$CONFIG_STATUS <<\_ACEOF
3896 ac_cs_usage="\
3897 \`$as_me' instantiates files from templates according to the
3898 current configuration.
3900 Usage: $0 [OPTIONS] [FILE]...
3902 -h, --help print this help, then exit
3903 -V, --version print version number, then exit
3904 -q, --quiet do not print progress messages
3905 -d, --debug don't remove temporary files
3906 --recheck update $as_me by reconfiguring in the same conditions
3907 --file=FILE[:TEMPLATE]
3908 instantiate the configuration file FILE
3910 Configuration files:
3911 $config_files
3913 Configuration commands:
3914 $config_commands
3916 Report bugs to <bug-autoconf@gnu.org>."
3917 _ACEOF
3919 cat >>$CONFIG_STATUS <<_ACEOF
3920 ac_cs_version="\\
3921 config.status
3922 configured by $0, generated by GNU Autoconf 2.59,
3923 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3925 Copyright (C) 2003 Free Software Foundation, Inc.
3926 This config.status script is free software; the Free Software Foundation
3927 gives unlimited permission to copy, distribute and modify it."
3928 srcdir=$srcdir
3929 INSTALL="$INSTALL"
3930 _ACEOF
3932 cat >>$CONFIG_STATUS <<\_ACEOF
3933 # If no file are specified by the user, then we need to provide default
3934 # value. By we need to know if files were specified by the user.
3935 ac_need_defaults=:
3936 while test $# != 0
3938 case $1 in
3939 --*=*)
3940 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3941 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3942 ac_shift=:
3945 ac_option=$1
3946 ac_optarg=$2
3947 ac_shift=shift
3949 *) # This is not an option, so the user has probably given explicit
3950 # arguments.
3951 ac_option=$1
3952 ac_need_defaults=false;;
3953 esac
3955 case $ac_option in
3956 # Handling of the options.
3957 _ACEOF
3958 cat >>$CONFIG_STATUS <<\_ACEOF
3959 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3960 ac_cs_recheck=: ;;
3961 --version | --vers* | -V )
3962 echo "$ac_cs_version"; exit 0 ;;
3963 --he | --h)
3964 # Conflict between --help and --header
3965 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3966 Try \`$0 --help' for more information." >&5
3967 echo "$as_me: error: ambiguous option: $1
3968 Try \`$0 --help' for more information." >&2;}
3969 { (exit 1); exit 1; }; };;
3970 --help | --hel | -h )
3971 echo "$ac_cs_usage"; exit 0 ;;
3972 --debug | --d* | -d )
3973 debug=: ;;
3974 --file | --fil | --fi | --f )
3975 $ac_shift
3976 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3977 ac_need_defaults=false;;
3978 --header | --heade | --head | --hea )
3979 $ac_shift
3980 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3981 ac_need_defaults=false;;
3982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3983 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3984 ac_cs_silent=: ;;
3986 # This is an error.
3987 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3988 Try \`$0 --help' for more information." >&5
3989 echo "$as_me: error: unrecognized option: $1
3990 Try \`$0 --help' for more information." >&2;}
3991 { (exit 1); exit 1; }; } ;;
3993 *) ac_config_targets="$ac_config_targets $1" ;;
3995 esac
3996 shift
3997 done
3999 ac_configure_extra_args=
4001 if $ac_cs_silent; then
4002 exec 6>/dev/null
4003 ac_configure_extra_args="$ac_configure_extra_args --silent"
4006 _ACEOF
4007 cat >>$CONFIG_STATUS <<_ACEOF
4008 if \$ac_cs_recheck; then
4009 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4010 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4013 _ACEOF
4015 cat >>$CONFIG_STATUS <<_ACEOF
4017 # INIT-COMMANDS section.
4020 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4022 _ACEOF
4026 cat >>$CONFIG_STATUS <<\_ACEOF
4027 for ac_config_target in $ac_config_targets
4029 case "$ac_config_target" in
4030 # Handling of arguments.
4031 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4032 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4033 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4034 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4035 { (exit 1); exit 1; }; };;
4036 esac
4037 done
4039 # If the user did not use the arguments to specify the items to instantiate,
4040 # then the envvar interface is used. Set only those that are not.
4041 # We use the long form for the default assignment because of an extremely
4042 # bizarre bug on SunOS 4.1.3.
4043 if $ac_need_defaults; then
4044 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4045 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4048 # Have a temporary directory for convenience. Make it in the build tree
4049 # simply because there is no reason to put it here, and in addition,
4050 # creating and moving files from /tmp can sometimes cause problems.
4051 # Create a temporary directory, and hook for its removal unless debugging.
4052 $debug ||
4054 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4055 trap '{ (exit 1); exit 1; }' 1 2 13 15
4058 # Create a (secure) tmp directory for tmp files.
4061 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4062 test -n "$tmp" && test -d "$tmp"
4063 } ||
4065 tmp=./confstat$$-$RANDOM
4066 (umask 077 && mkdir $tmp)
4067 } ||
4069 echo "$me: cannot create a temporary directory in ." >&2
4070 { (exit 1); exit 1; }
4073 _ACEOF
4075 cat >>$CONFIG_STATUS <<_ACEOF
4078 # CONFIG_FILES section.
4081 # No need to generate the scripts if there are no CONFIG_FILES.
4082 # This happens for instance when ./config.status config.h
4083 if test -n "\$CONFIG_FILES"; then
4084 # Protect against being on the right side of a sed subst in config.status.
4085 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4086 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4087 s,@SHELL@,$SHELL,;t t
4088 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4089 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4090 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4091 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4092 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4093 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4094 s,@exec_prefix@,$exec_prefix,;t t
4095 s,@prefix@,$prefix,;t t
4096 s,@program_transform_name@,$program_transform_name,;t t
4097 s,@bindir@,$bindir,;t t
4098 s,@sbindir@,$sbindir,;t t
4099 s,@libexecdir@,$libexecdir,;t t
4100 s,@datadir@,$datadir,;t t
4101 s,@sysconfdir@,$sysconfdir,;t t
4102 s,@sharedstatedir@,$sharedstatedir,;t t
4103 s,@localstatedir@,$localstatedir,;t t
4104 s,@libdir@,$libdir,;t t
4105 s,@includedir@,$includedir,;t t
4106 s,@oldincludedir@,$oldincludedir,;t t
4107 s,@infodir@,$infodir,;t t
4108 s,@mandir@,$mandir,;t t
4109 s,@build_alias@,$build_alias,;t t
4110 s,@host_alias@,$host_alias,;t t
4111 s,@target_alias@,$target_alias,;t t
4112 s,@DEFS@,$DEFS,;t t
4113 s,@ECHO_C@,$ECHO_C,;t t
4114 s,@ECHO_N@,$ECHO_N,;t t
4115 s,@ECHO_T@,$ECHO_T,;t t
4116 s,@LIBS@,$LIBS,;t t
4117 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4118 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4119 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4120 s,@CYGPATH_W@,$CYGPATH_W,;t t
4121 s,@PACKAGE@,$PACKAGE,;t t
4122 s,@VERSION@,$VERSION,;t t
4123 s,@ACLOCAL@,$ACLOCAL,;t t
4124 s,@AUTOCONF@,$AUTOCONF,;t t
4125 s,@AUTOMAKE@,$AUTOMAKE,;t t
4126 s,@AUTOHEADER@,$AUTOHEADER,;t t
4127 s,@MAKEINFO@,$MAKEINFO,;t t
4128 s,@install_sh@,$install_sh,;t t
4129 s,@STRIP@,$STRIP,;t t
4130 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4131 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4132 s,@mkdir_p@,$mkdir_p,;t t
4133 s,@AWK@,$AWK,;t t
4134 s,@SET_MAKE@,$SET_MAKE,;t t
4135 s,@am__leading_dot@,$am__leading_dot,;t t
4136 s,@AMTAR@,$AMTAR,;t t
4137 s,@am__tar@,$am__tar,;t t
4138 s,@am__untar@,$am__untar,;t t
4139 s,@CC@,$CC,;t t
4140 s,@CFLAGS@,$CFLAGS,;t t
4141 s,@LDFLAGS@,$LDFLAGS,;t t
4142 s,@CPPFLAGS@,$CPPFLAGS,;t t
4143 s,@ac_ct_CC@,$ac_ct_CC,;t t
4144 s,@EXEEXT@,$EXEEXT,;t t
4145 s,@OBJEXT@,$OBJEXT,;t t
4146 s,@DEPDIR@,$DEPDIR,;t t
4147 s,@am__include@,$am__include,;t t
4148 s,@am__quote@,$am__quote,;t t
4149 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4150 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4151 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4152 s,@CCDEPMODE@,$CCDEPMODE,;t t
4153 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4154 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4155 s,@build@,$build,;t t
4156 s,@build_cpu@,$build_cpu,;t t
4157 s,@build_vendor@,$build_vendor,;t t
4158 s,@build_os@,$build_os,;t t
4159 s,@host@,$host,;t t
4160 s,@host_cpu@,$host_cpu,;t t
4161 s,@host_vendor@,$host_vendor,;t t
4162 s,@host_os@,$host_os,;t t
4163 s,@LIBRPATHX@,$LIBRPATHX,;t t
4164 s,@LTLIBRPATHX@,$LTLIBRPATHX,;t t
4165 s,@global_top_auxdir@,$global_top_auxdir,;t t
4166 s,@LIBOBJS@,$LIBOBJS,;t t
4167 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4168 CEOF
4170 _ACEOF
4172 cat >>$CONFIG_STATUS <<\_ACEOF
4173 # Split the substitutions into bite-sized pieces for seds with
4174 # small command number limits, like on Digital OSF/1 and HP-UX.
4175 ac_max_sed_lines=48
4176 ac_sed_frag=1 # Number of current file.
4177 ac_beg=1 # First line for current file.
4178 ac_end=$ac_max_sed_lines # Line after last line for current file.
4179 ac_more_lines=:
4180 ac_sed_cmds=
4181 while $ac_more_lines; do
4182 if test $ac_beg -gt 1; then
4183 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4184 else
4185 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4187 if test ! -s $tmp/subs.frag; then
4188 ac_more_lines=false
4189 else
4190 # The purpose of the label and of the branching condition is to
4191 # speed up the sed processing (if there are no `@' at all, there
4192 # is no need to browse any of the substitutions).
4193 # These are the two extra sed commands mentioned above.
4194 (echo ':t
4195 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4196 if test -z "$ac_sed_cmds"; then
4197 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4198 else
4199 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4201 ac_sed_frag=`expr $ac_sed_frag + 1`
4202 ac_beg=$ac_end
4203 ac_end=`expr $ac_end + $ac_max_sed_lines`
4205 done
4206 if test -z "$ac_sed_cmds"; then
4207 ac_sed_cmds=cat
4209 fi # test -n "$CONFIG_FILES"
4211 _ACEOF
4212 cat >>$CONFIG_STATUS <<\_ACEOF
4213 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4214 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4215 case $ac_file in
4216 - | *:- | *:-:* ) # input from stdin
4217 cat >$tmp/stdin
4218 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4219 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4220 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4221 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4222 * ) ac_file_in=$ac_file.in ;;
4223 esac
4225 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4226 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4227 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4228 X"$ac_file" : 'X\(//\)[^/]' \| \
4229 X"$ac_file" : 'X\(//\)$' \| \
4230 X"$ac_file" : 'X\(/\)' \| \
4231 . : '\(.\)' 2>/dev/null ||
4232 echo X"$ac_file" |
4233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4234 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4235 /^X\(\/\/\)$/{ s//\1/; q; }
4236 /^X\(\/\).*/{ s//\1/; q; }
4237 s/.*/./; q'`
4238 { if $as_mkdir_p; then
4239 mkdir -p "$ac_dir"
4240 else
4241 as_dir="$ac_dir"
4242 as_dirs=
4243 while test ! -d "$as_dir"; do
4244 as_dirs="$as_dir $as_dirs"
4245 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4247 X"$as_dir" : 'X\(//\)[^/]' \| \
4248 X"$as_dir" : 'X\(//\)$' \| \
4249 X"$as_dir" : 'X\(/\)' \| \
4250 . : '\(.\)' 2>/dev/null ||
4251 echo X"$as_dir" |
4252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4254 /^X\(\/\/\)$/{ s//\1/; q; }
4255 /^X\(\/\).*/{ s//\1/; q; }
4256 s/.*/./; q'`
4257 done
4258 test ! -n "$as_dirs" || mkdir $as_dirs
4259 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4260 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4261 { (exit 1); exit 1; }; }; }
4263 ac_builddir=.
4265 if test "$ac_dir" != .; then
4266 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4267 # A "../" for each directory in $ac_dir_suffix.
4268 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4269 else
4270 ac_dir_suffix= ac_top_builddir=
4273 case $srcdir in
4274 .) # No --srcdir option. We are building in place.
4275 ac_srcdir=.
4276 if test -z "$ac_top_builddir"; then
4277 ac_top_srcdir=.
4278 else
4279 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4280 fi ;;
4281 [\\/]* | ?:[\\/]* ) # Absolute path.
4282 ac_srcdir=$srcdir$ac_dir_suffix;
4283 ac_top_srcdir=$srcdir ;;
4284 *) # Relative path.
4285 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4286 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4287 esac
4289 # Do not use `cd foo && pwd` to compute absolute paths, because
4290 # the directories may not exist.
4291 case `pwd` in
4292 .) ac_abs_builddir="$ac_dir";;
4294 case "$ac_dir" in
4295 .) ac_abs_builddir=`pwd`;;
4296 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4297 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4298 esac;;
4299 esac
4300 case $ac_abs_builddir in
4301 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4303 case ${ac_top_builddir}. in
4304 .) ac_abs_top_builddir=$ac_abs_builddir;;
4305 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4306 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4307 esac;;
4308 esac
4309 case $ac_abs_builddir in
4310 .) ac_abs_srcdir=$ac_srcdir;;
4312 case $ac_srcdir in
4313 .) ac_abs_srcdir=$ac_abs_builddir;;
4314 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4315 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4316 esac;;
4317 esac
4318 case $ac_abs_builddir in
4319 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4321 case $ac_top_srcdir in
4322 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4323 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4324 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4325 esac;;
4326 esac
4329 case $INSTALL in
4330 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4331 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4332 esac
4334 if test x"$ac_file" != x-; then
4335 { echo "$as_me:$LINENO: creating $ac_file" >&5
4336 echo "$as_me: creating $ac_file" >&6;}
4337 rm -f "$ac_file"
4339 # Let's still pretend it is `configure' which instantiates (i.e., don't
4340 # use $as_me), people would be surprised to read:
4341 # /* config.h. Generated by config.status. */
4342 if test x"$ac_file" = x-; then
4343 configure_input=
4344 else
4345 configure_input="$ac_file. "
4347 configure_input=$configure_input"Generated from `echo $ac_file_in |
4348 sed 's,.*/,,'` by configure."
4350 # First look for the input files in the build tree, otherwise in the
4351 # src tree.
4352 ac_file_inputs=`IFS=:
4353 for f in $ac_file_in; do
4354 case $f in
4355 -) echo $tmp/stdin ;;
4356 [\\/$]*)
4357 # Absolute (can't be DOS-style, as IFS=:)
4358 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4359 echo "$as_me: error: cannot find input file: $f" >&2;}
4360 { (exit 1); exit 1; }; }
4361 echo "$f";;
4362 *) # Relative
4363 if test -f "$f"; then
4364 # Build tree
4365 echo "$f"
4366 elif test -f "$srcdir/$f"; then
4367 # Source tree
4368 echo "$srcdir/$f"
4369 else
4370 # /dev/null tree
4371 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4372 echo "$as_me: error: cannot find input file: $f" >&2;}
4373 { (exit 1); exit 1; }; }
4374 fi;;
4375 esac
4376 done` || { (exit 1); exit 1; }
4377 _ACEOF
4378 cat >>$CONFIG_STATUS <<_ACEOF
4379 sed "$ac_vpsub
4380 $extrasub
4381 _ACEOF
4382 cat >>$CONFIG_STATUS <<\_ACEOF
4384 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4385 s,@configure_input@,$configure_input,;t t
4386 s,@srcdir@,$ac_srcdir,;t t
4387 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4388 s,@top_srcdir@,$ac_top_srcdir,;t t
4389 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4390 s,@builddir@,$ac_builddir,;t t
4391 s,@abs_builddir@,$ac_abs_builddir,;t t
4392 s,@top_builddir@,$ac_top_builddir,;t t
4393 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4394 s,@INSTALL@,$ac_INSTALL,;t t
4395 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4396 rm -f $tmp/stdin
4397 if test x"$ac_file" != x-; then
4398 mv $tmp/out $ac_file
4399 else
4400 cat $tmp/out
4401 rm -f $tmp/out
4404 done
4405 _ACEOF
4406 cat >>$CONFIG_STATUS <<\_ACEOF
4409 # CONFIG_COMMANDS section.
4411 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4412 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4413 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4414 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4415 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4416 X"$ac_dest" : 'X\(//\)[^/]' \| \
4417 X"$ac_dest" : 'X\(//\)$' \| \
4418 X"$ac_dest" : 'X\(/\)' \| \
4419 . : '\(.\)' 2>/dev/null ||
4420 echo X"$ac_dest" |
4421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4422 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4423 /^X\(\/\/\)$/{ s//\1/; q; }
4424 /^X\(\/\).*/{ s//\1/; q; }
4425 s/.*/./; q'`
4426 { if $as_mkdir_p; then
4427 mkdir -p "$ac_dir"
4428 else
4429 as_dir="$ac_dir"
4430 as_dirs=
4431 while test ! -d "$as_dir"; do
4432 as_dirs="$as_dir $as_dirs"
4433 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4434 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4435 X"$as_dir" : 'X\(//\)[^/]' \| \
4436 X"$as_dir" : 'X\(//\)$' \| \
4437 X"$as_dir" : 'X\(/\)' \| \
4438 . : '\(.\)' 2>/dev/null ||
4439 echo X"$as_dir" |
4440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4441 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4442 /^X\(\/\/\)$/{ s//\1/; q; }
4443 /^X\(\/\).*/{ s//\1/; q; }
4444 s/.*/./; q'`
4445 done
4446 test ! -n "$as_dirs" || mkdir $as_dirs
4447 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4448 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4449 { (exit 1); exit 1; }; }; }
4451 ac_builddir=.
4453 if test "$ac_dir" != .; then
4454 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4455 # A "../" for each directory in $ac_dir_suffix.
4456 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4457 else
4458 ac_dir_suffix= ac_top_builddir=
4461 case $srcdir in
4462 .) # No --srcdir option. We are building in place.
4463 ac_srcdir=.
4464 if test -z "$ac_top_builddir"; then
4465 ac_top_srcdir=.
4466 else
4467 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4468 fi ;;
4469 [\\/]* | ?:[\\/]* ) # Absolute path.
4470 ac_srcdir=$srcdir$ac_dir_suffix;
4471 ac_top_srcdir=$srcdir ;;
4472 *) # Relative path.
4473 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4474 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4475 esac
4477 # Do not use `cd foo && pwd` to compute absolute paths, because
4478 # the directories may not exist.
4479 case `pwd` in
4480 .) ac_abs_builddir="$ac_dir";;
4482 case "$ac_dir" in
4483 .) ac_abs_builddir=`pwd`;;
4484 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4485 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4486 esac;;
4487 esac
4488 case $ac_abs_builddir in
4489 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4491 case ${ac_top_builddir}. in
4492 .) ac_abs_top_builddir=$ac_abs_builddir;;
4493 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4494 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4495 esac;;
4496 esac
4497 case $ac_abs_builddir in
4498 .) ac_abs_srcdir=$ac_srcdir;;
4500 case $ac_srcdir in
4501 .) ac_abs_srcdir=$ac_abs_builddir;;
4502 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4503 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4504 esac;;
4505 esac
4506 case $ac_abs_builddir in
4507 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4509 case $ac_top_srcdir in
4510 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4511 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4512 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4513 esac;;
4514 esac
4517 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4518 echo "$as_me: executing $ac_dest commands" >&6;}
4519 case $ac_dest in
4520 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4521 # Strip MF so we end up with the name of the file.
4522 mf=`echo "$mf" | sed -e 's/:.*$//'`
4523 # Check whether this is an Automake generated Makefile or not.
4524 # We used to match only the files named `Makefile.in', but
4525 # some people rename them; so instead we look at the file content.
4526 # Grep'ing the first line is not enough: some people post-process
4527 # each Makefile.in and add a new line on top of each file to say so.
4528 # So let's grep whole file.
4529 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4530 dirpart=`(dirname "$mf") 2>/dev/null ||
4531 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4532 X"$mf" : 'X\(//\)[^/]' \| \
4533 X"$mf" : 'X\(//\)$' \| \
4534 X"$mf" : 'X\(/\)' \| \
4535 . : '\(.\)' 2>/dev/null ||
4536 echo X"$mf" |
4537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4538 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4539 /^X\(\/\/\)$/{ s//\1/; q; }
4540 /^X\(\/\).*/{ s//\1/; q; }
4541 s/.*/./; q'`
4542 else
4543 continue
4545 # Extract the definition of DEPDIR, am__include, and am__quote
4546 # from the Makefile without running `make'.
4547 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4548 test -z "$DEPDIR" && continue
4549 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4550 test -z "am__include" && continue
4551 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4552 # When using ansi2knr, U may be empty or an underscore; expand it
4553 U=`sed -n 's/^U = //p' < "$mf"`
4554 # Find all dependency output files, they are included files with
4555 # $(DEPDIR) in their names. We invoke sed twice because it is the
4556 # simplest approach to changing $(DEPDIR) to its actual value in the
4557 # expansion.
4558 for file in `sed -n "
4559 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4560 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4561 # Make sure the directory exists.
4562 test -f "$dirpart/$file" && continue
4563 fdir=`(dirname "$file") 2>/dev/null ||
4564 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4565 X"$file" : 'X\(//\)[^/]' \| \
4566 X"$file" : 'X\(//\)$' \| \
4567 X"$file" : 'X\(/\)' \| \
4568 . : '\(.\)' 2>/dev/null ||
4569 echo X"$file" |
4570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4571 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4572 /^X\(\/\/\)$/{ s//\1/; q; }
4573 /^X\(\/\).*/{ s//\1/; q; }
4574 s/.*/./; q'`
4575 { if $as_mkdir_p; then
4576 mkdir -p $dirpart/$fdir
4577 else
4578 as_dir=$dirpart/$fdir
4579 as_dirs=
4580 while test ! -d "$as_dir"; do
4581 as_dirs="$as_dir $as_dirs"
4582 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4584 X"$as_dir" : 'X\(//\)[^/]' \| \
4585 X"$as_dir" : 'X\(//\)$' \| \
4586 X"$as_dir" : 'X\(/\)' \| \
4587 . : '\(.\)' 2>/dev/null ||
4588 echo X"$as_dir" |
4589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4590 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4591 /^X\(\/\/\)$/{ s//\1/; q; }
4592 /^X\(\/\).*/{ s//\1/; q; }
4593 s/.*/./; q'`
4594 done
4595 test ! -n "$as_dirs" || mkdir $as_dirs
4596 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4597 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4598 { (exit 1); exit 1; }; }; }
4600 # echo "creating $dirpart/$file"
4601 echo '# dummy' > "$dirpart/$file"
4602 done
4603 done
4605 esac
4606 done
4607 _ACEOF
4609 cat >>$CONFIG_STATUS <<\_ACEOF
4611 { (exit 0); exit 0; }
4612 _ACEOF
4613 chmod +x $CONFIG_STATUS
4614 ac_clean_files=$ac_clean_files_save
4617 # configure is writing to config.log, and then calls config.status.
4618 # config.status does its own redirection, appending to config.log.
4619 # Unfortunately, on DOS this fails, as config.log is still kept open
4620 # by configure, so config.status won't be able to write to it; its
4621 # output is simply discarded. So we exec the FD to /dev/null,
4622 # effectively closing config.log, so it can be properly (re)opened and
4623 # appended to by config.status. When coming back to configure, we
4624 # need to make the FD available again.
4625 if test "$no_create" != yes; then
4626 ac_cs_success=:
4627 ac_config_status_args=
4628 test "$silent" = yes &&
4629 ac_config_status_args="$ac_config_status_args --quiet"
4630 exec 5>/dev/null
4631 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4632 exec 5>>config.log
4633 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4634 # would make configure fail if this is the last instruction.
4635 $ac_cs_success || { (exit 1); exit 1; }