No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gettext / autoconf-lib-link / tests / rpathlzyx / configure
blob785440722740e28f1e1eb495709d1fc53b2b8824
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 LIBRPATHY LTLIBRPATHY LIBRPATHZ LTLIBRPATHZ 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
821 --with-librpathy-prefix[=DIR] search for librpathy in DIR/include and DIR/lib
822 --without-librpathy-prefix don't search for librpathy in includedir and libdir
823 --with-librpathz-prefix[=DIR] search for librpathz in DIR/include and DIR/lib
824 --without-librpathz-prefix don't search for librpathz in includedir and libdir
826 Some influential environment variables:
827 CC C compiler command
828 CFLAGS C compiler flags
829 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
830 nonstandard directory <lib dir>
831 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
832 headers in a nonstandard directory <include dir>
834 Use these variables to override the choices made by `configure' or to help
835 it to find libraries and programs with nonstandard names/locations.
837 _ACEOF
840 if test "$ac_init_help" = "recursive"; then
841 # If there are subdirs, report their specific --help.
842 ac_popdir=`pwd`
843 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
844 test -d $ac_dir || continue
845 ac_builddir=.
847 if test "$ac_dir" != .; then
848 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
849 # A "../" for each directory in $ac_dir_suffix.
850 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
851 else
852 ac_dir_suffix= ac_top_builddir=
855 case $srcdir in
856 .) # No --srcdir option. We are building in place.
857 ac_srcdir=.
858 if test -z "$ac_top_builddir"; then
859 ac_top_srcdir=.
860 else
861 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
862 fi ;;
863 [\\/]* | ?:[\\/]* ) # Absolute path.
864 ac_srcdir=$srcdir$ac_dir_suffix;
865 ac_top_srcdir=$srcdir ;;
866 *) # Relative path.
867 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
868 ac_top_srcdir=$ac_top_builddir$srcdir ;;
869 esac
871 # Do not use `cd foo && pwd` to compute absolute paths, because
872 # the directories may not exist.
873 case `pwd` in
874 .) ac_abs_builddir="$ac_dir";;
876 case "$ac_dir" in
877 .) ac_abs_builddir=`pwd`;;
878 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
879 *) ac_abs_builddir=`pwd`/"$ac_dir";;
880 esac;;
881 esac
882 case $ac_abs_builddir in
883 .) ac_abs_top_builddir=${ac_top_builddir}.;;
885 case ${ac_top_builddir}. in
886 .) ac_abs_top_builddir=$ac_abs_builddir;;
887 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
888 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
889 esac;;
890 esac
891 case $ac_abs_builddir in
892 .) ac_abs_srcdir=$ac_srcdir;;
894 case $ac_srcdir in
895 .) ac_abs_srcdir=$ac_abs_builddir;;
896 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
897 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
898 esac;;
899 esac
900 case $ac_abs_builddir in
901 .) ac_abs_top_srcdir=$ac_top_srcdir;;
903 case $ac_top_srcdir in
904 .) ac_abs_top_srcdir=$ac_abs_builddir;;
905 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
906 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
907 esac;;
908 esac
910 cd $ac_dir
911 # Check for guested configure; otherwise get Cygnus style configure.
912 if test -f $ac_srcdir/configure.gnu; then
913 echo
914 $SHELL $ac_srcdir/configure.gnu --help=recursive
915 elif test -f $ac_srcdir/configure; then
916 echo
917 $SHELL $ac_srcdir/configure --help=recursive
918 elif test -f $ac_srcdir/configure.ac ||
919 test -f $ac_srcdir/configure.in; then
920 echo
921 $ac_configure --help
922 else
923 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
925 cd $ac_popdir
926 done
929 test -n "$ac_init_help" && exit 0
930 if $ac_init_version; then
931 cat <<\_ACEOF
933 Copyright (C) 2003 Free Software Foundation, Inc.
934 This configure script is free software; the Free Software Foundation
935 gives unlimited permission to copy, distribute and modify it.
936 _ACEOF
937 exit 0
939 exec 5>config.log
940 cat >&5 <<_ACEOF
941 This file contains any messages produced by compilers while
942 running configure, to aid debugging if configure makes a mistake.
944 It was created by $as_me, which was
945 generated by GNU Autoconf 2.59. Invocation command line was
947 $ $0 $@
949 _ACEOF
951 cat <<_ASUNAME
952 ## --------- ##
953 ## Platform. ##
954 ## --------- ##
956 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
957 uname -m = `(uname -m) 2>/dev/null || echo unknown`
958 uname -r = `(uname -r) 2>/dev/null || echo unknown`
959 uname -s = `(uname -s) 2>/dev/null || echo unknown`
960 uname -v = `(uname -v) 2>/dev/null || echo unknown`
962 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
963 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
965 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
966 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
967 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
968 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
969 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
970 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
971 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
973 _ASUNAME
975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
976 for as_dir in $PATH
978 IFS=$as_save_IFS
979 test -z "$as_dir" && as_dir=.
980 echo "PATH: $as_dir"
981 done
983 } >&5
985 cat >&5 <<_ACEOF
988 ## ----------- ##
989 ## Core tests. ##
990 ## ----------- ##
992 _ACEOF
995 # Keep a trace of the command line.
996 # Strip out --no-create and --no-recursion so they do not pile up.
997 # Strip out --silent because we don't want to record it for future runs.
998 # Also quote any args containing shell meta-characters.
999 # Make two passes to allow for proper duplicate-argument suppression.
1000 ac_configure_args=
1001 ac_configure_args0=
1002 ac_configure_args1=
1003 ac_sep=
1004 ac_must_keep_next=false
1005 for ac_pass in 1 2
1007 for ac_arg
1009 case $ac_arg in
1010 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1012 | -silent | --silent | --silen | --sile | --sil)
1013 continue ;;
1014 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1015 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1016 esac
1017 case $ac_pass in
1018 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1020 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1021 if test $ac_must_keep_next = true; then
1022 ac_must_keep_next=false # Got value, back to normal.
1023 else
1024 case $ac_arg in
1025 *=* | --config-cache | -C | -disable-* | --disable-* \
1026 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1027 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1028 | -with-* | --with-* | -without-* | --without-* | --x)
1029 case "$ac_configure_args0 " in
1030 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1031 esac
1033 -* ) ac_must_keep_next=true ;;
1034 esac
1036 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1037 # Get rid of the leading space.
1038 ac_sep=" "
1040 esac
1041 done
1042 done
1043 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1044 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1046 # When interrupted or exit'd, cleanup temporary files, and complete
1047 # config.log. We remove comments because anyway the quotes in there
1048 # would cause problems or look ugly.
1049 # WARNING: Be sure not to use single quotes in there, as some shells,
1050 # such as our DU 5.0 friend, will then `close' the trap.
1051 trap 'exit_status=$?
1052 # Save into config.log some information that might help in debugging.
1054 echo
1056 cat <<\_ASBOX
1057 ## ---------------- ##
1058 ## Cache variables. ##
1059 ## ---------------- ##
1060 _ASBOX
1061 echo
1062 # The following way of writing the cache mishandles newlines in values,
1064 (set) 2>&1 |
1065 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1066 *ac_space=\ *)
1067 sed -n \
1068 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1072 sed -n \
1073 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1075 esac;
1077 echo
1079 cat <<\_ASBOX
1080 ## ----------------- ##
1081 ## Output variables. ##
1082 ## ----------------- ##
1083 _ASBOX
1084 echo
1085 for ac_var in $ac_subst_vars
1087 eval ac_val=$`echo $ac_var`
1088 echo "$ac_var='"'"'$ac_val'"'"'"
1089 done | sort
1090 echo
1092 if test -n "$ac_subst_files"; then
1093 cat <<\_ASBOX
1094 ## ------------- ##
1095 ## Output files. ##
1096 ## ------------- ##
1097 _ASBOX
1098 echo
1099 for ac_var in $ac_subst_files
1101 eval ac_val=$`echo $ac_var`
1102 echo "$ac_var='"'"'$ac_val'"'"'"
1103 done | sort
1104 echo
1107 if test -s confdefs.h; then
1108 cat <<\_ASBOX
1109 ## ----------- ##
1110 ## confdefs.h. ##
1111 ## ----------- ##
1112 _ASBOX
1113 echo
1114 sed "/^$/d" confdefs.h | sort
1115 echo
1117 test "$ac_signal" != 0 &&
1118 echo "$as_me: caught signal $ac_signal"
1119 echo "$as_me: exit $exit_status"
1120 } >&5
1121 rm -f core *.core &&
1122 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1123 exit $exit_status
1125 for ac_signal in 1 2 13 15; do
1126 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1127 done
1128 ac_signal=0
1130 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1131 rm -rf conftest* confdefs.h
1132 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1133 echo >confdefs.h
1135 # Predefined preprocessor variables.
1137 cat >>confdefs.h <<_ACEOF
1138 #define PACKAGE_NAME "$PACKAGE_NAME"
1139 _ACEOF
1142 cat >>confdefs.h <<_ACEOF
1143 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1144 _ACEOF
1147 cat >>confdefs.h <<_ACEOF
1148 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1149 _ACEOF
1152 cat >>confdefs.h <<_ACEOF
1153 #define PACKAGE_STRING "$PACKAGE_STRING"
1154 _ACEOF
1157 cat >>confdefs.h <<_ACEOF
1158 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1159 _ACEOF
1162 # Let the site file select an alternate cache file if it wants to.
1163 # Prefer explicitly selected file to automatically selected ones.
1164 if test -z "$CONFIG_SITE"; then
1165 if test "x$prefix" != xNONE; then
1166 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1167 else
1168 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1171 for ac_site_file in $CONFIG_SITE; do
1172 if test -r "$ac_site_file"; then
1173 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1174 echo "$as_me: loading site script $ac_site_file" >&6;}
1175 sed 's/^/| /' "$ac_site_file" >&5
1176 . "$ac_site_file"
1178 done
1180 if test -r "$cache_file"; then
1181 # Some versions of bash will fail to source /dev/null (special
1182 # files actually), so we avoid doing that.
1183 if test -f "$cache_file"; then
1184 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1185 echo "$as_me: loading cache $cache_file" >&6;}
1186 case $cache_file in
1187 [\\/]* | ?:[\\/]* ) . $cache_file;;
1188 *) . ./$cache_file;;
1189 esac
1191 else
1192 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1193 echo "$as_me: creating cache $cache_file" >&6;}
1194 >$cache_file
1197 # Check that the precious variables saved in the cache have kept the same
1198 # value.
1199 ac_cache_corrupted=false
1200 for ac_var in `(set) 2>&1 |
1201 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1202 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1203 eval ac_new_set=\$ac_env_${ac_var}_set
1204 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1205 eval ac_new_val="\$ac_env_${ac_var}_value"
1206 case $ac_old_set,$ac_new_set in
1207 set,)
1208 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1209 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1210 ac_cache_corrupted=: ;;
1211 ,set)
1212 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1213 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1214 ac_cache_corrupted=: ;;
1215 ,);;
1217 if test "x$ac_old_val" != "x$ac_new_val"; then
1218 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1219 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1220 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1221 echo "$as_me: former value: $ac_old_val" >&2;}
1222 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1223 echo "$as_me: current value: $ac_new_val" >&2;}
1224 ac_cache_corrupted=:
1225 fi;;
1226 esac
1227 # Pass precious variables to config.status.
1228 if test "$ac_new_set" = set; then
1229 case $ac_new_val in
1230 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1231 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1232 *) ac_arg=$ac_var=$ac_new_val ;;
1233 esac
1234 case " $ac_configure_args " in
1235 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1236 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1237 esac
1239 done
1240 if $ac_cache_corrupted; then
1241 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1242 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1243 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1244 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1245 { (exit 1); exit 1; }; }
1248 ac_ext=c
1249 ac_cpp='$CPP $CPPFLAGS'
1250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1272 ac_aux_dir=
1273 for ac_dir in ../../../build-aux $srcdir/../../../build-aux; do
1274 if 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/install.sh; then
1279 ac_aux_dir=$ac_dir
1280 ac_install_sh="$ac_aux_dir/install.sh -c"
1281 break
1282 elif test -f $ac_dir/shtool; then
1283 ac_aux_dir=$ac_dir
1284 ac_install_sh="$ac_aux_dir/shtool install -c"
1285 break
1287 done
1288 if test -z "$ac_aux_dir"; then
1289 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../../build-aux $srcdir/../../../build-aux" >&5
1290 echo "$as_me: error: cannot find install-sh or install.sh in ../../../build-aux $srcdir/../../../build-aux" >&2;}
1291 { (exit 1); exit 1; }; }
1293 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1294 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1295 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1297 am__api_version="1.9"
1298 # Find a good install program. We prefer a C program (faster),
1299 # so one script is as good as another. But avoid the broken or
1300 # incompatible versions:
1301 # SysV /etc/install, /usr/sbin/install
1302 # SunOS /usr/etc/install
1303 # IRIX /sbin/install
1304 # AIX /bin/install
1305 # AmigaOS /C/install, which installs bootblocks on floppy discs
1306 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1307 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1308 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1309 # OS/2's system install, which has a completely different semantic
1310 # ./install, which can be erroneously created by make from ./install.sh.
1311 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1312 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1313 if test -z "$INSTALL"; then
1314 if test "${ac_cv_path_install+set}" = set; then
1315 echo $ECHO_N "(cached) $ECHO_C" >&6
1316 else
1317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1318 for as_dir in $PATH
1320 IFS=$as_save_IFS
1321 test -z "$as_dir" && as_dir=.
1322 # Account for people who put trailing slashes in PATH elements.
1323 case $as_dir/ in
1324 ./ | .// | /cC/* | \
1325 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1326 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1327 /usr/ucb/* ) ;;
1329 # OSF1 and SCO ODT 3.0 have their own names for install.
1330 # Don't use installbsd from OSF since it installs stuff as root
1331 # by default.
1332 for ac_prog in ginstall scoinst install; do
1333 for ac_exec_ext in '' $ac_executable_extensions; do
1334 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1335 if test $ac_prog = install &&
1336 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1337 # AIX install. It has an incompatible calling convention.
1339 elif test $ac_prog = install &&
1340 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1341 # program-specific install script used by HP pwplus--don't use.
1343 else
1344 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1345 break 3
1348 done
1349 done
1351 esac
1352 done
1356 if test "${ac_cv_path_install+set}" = set; then
1357 INSTALL=$ac_cv_path_install
1358 else
1359 # As a last resort, use the slow shell script. We don't cache a
1360 # path for INSTALL within a source directory, because that will
1361 # break other packages using the cache if that directory is
1362 # removed, or if the path is relative.
1363 INSTALL=$ac_install_sh
1366 echo "$as_me:$LINENO: result: $INSTALL" >&5
1367 echo "${ECHO_T}$INSTALL" >&6
1369 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1370 # It thinks the first close brace ends the variable substitution.
1371 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1373 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1375 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1377 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1378 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1379 # Just in case
1380 sleep 1
1381 echo timestamp > conftest.file
1382 # Do `set' in a subshell so we don't clobber the current shell's
1383 # arguments. Must try -L first in case configure is actually a
1384 # symlink; some systems play weird games with the mod time of symlinks
1385 # (eg FreeBSD returns the mod time of the symlink's containing
1386 # directory).
1387 if (
1388 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1389 if test "$*" = "X"; then
1390 # -L didn't work.
1391 set X `ls -t $srcdir/configure conftest.file`
1393 rm -f conftest.file
1394 if test "$*" != "X $srcdir/configure conftest.file" \
1395 && test "$*" != "X conftest.file $srcdir/configure"; then
1397 # If neither matched, then we have a broken ls. This can happen
1398 # if, for instance, CONFIG_SHELL is bash and it inherits a
1399 # broken ls alias from the environment. This has actually
1400 # happened. Such a system could not be considered "sane".
1401 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1402 alias in your environment" >&5
1403 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1404 alias in your environment" >&2;}
1405 { (exit 1); exit 1; }; }
1408 test "$2" = conftest.file
1410 then
1411 # Ok.
1413 else
1414 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1415 Check your system clock" >&5
1416 echo "$as_me: error: newly created file is older than distributed files!
1417 Check your system clock" >&2;}
1418 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: yes" >&5
1421 echo "${ECHO_T}yes" >&6
1422 test "$program_prefix" != NONE &&
1423 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1424 # Use a double $ so make ignores it.
1425 test "$program_suffix" != NONE &&
1426 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1427 # Double any \ or $. echo might interpret backslashes.
1428 # By default was `s,x,x', remove it if useless.
1429 cat <<\_ACEOF >conftest.sed
1430 s/[\\$]/&&/g;s/;s,x,x,$//
1431 _ACEOF
1432 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1433 rm conftest.sed
1435 # expand $ac_aux_dir to an absolute path
1436 am_aux_dir=`cd $ac_aux_dir && pwd`
1438 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1439 # Use eval to expand $SHELL
1440 if eval "$MISSING --run true"; then
1441 am_missing_run="$MISSING --run "
1442 else
1443 am_missing_run=
1444 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1445 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1448 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1449 # We used to keeping the `.' as first argument, in order to
1450 # allow $(mkdir_p) to be used without argument. As in
1451 # $(mkdir_p) $(somedir)
1452 # where $(somedir) is conditionally defined. However this is wrong
1453 # for two reasons:
1454 # 1. if the package is installed by a user who cannot write `.'
1455 # make install will fail,
1456 # 2. the above comment should most certainly read
1457 # $(mkdir_p) $(DESTDIR)$(somedir)
1458 # so it does not work when $(somedir) is undefined and
1459 # $(DESTDIR) is not.
1460 # To support the latter case, we have to write
1461 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1462 # so the `.' trick is pointless.
1463 mkdir_p='mkdir -p --'
1464 else
1465 # On NextStep and OpenStep, the `mkdir' command does not
1466 # recognize any option. It will interpret all options as
1467 # directories to create, and then abort because `.' already
1468 # exists.
1469 for d in ./-p ./--version;
1471 test -d $d && rmdir $d
1472 done
1473 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1474 if test -f "$ac_aux_dir/mkinstalldirs"; then
1475 mkdir_p='$(mkinstalldirs)'
1476 else
1477 mkdir_p='$(install_sh) -d'
1481 for ac_prog in gawk mawk nawk awk
1483 # Extract the first word of "$ac_prog", so it can be a program name with args.
1484 set dummy $ac_prog; ac_word=$2
1485 echo "$as_me:$LINENO: checking for $ac_word" >&5
1486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1487 if test "${ac_cv_prog_AWK+set}" = set; then
1488 echo $ECHO_N "(cached) $ECHO_C" >&6
1489 else
1490 if test -n "$AWK"; then
1491 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1492 else
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1494 for as_dir in $PATH
1496 IFS=$as_save_IFS
1497 test -z "$as_dir" && as_dir=.
1498 for ac_exec_ext in '' $ac_executable_extensions; do
1499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1500 ac_cv_prog_AWK="$ac_prog"
1501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1502 break 2
1504 done
1505 done
1509 AWK=$ac_cv_prog_AWK
1510 if test -n "$AWK"; then
1511 echo "$as_me:$LINENO: result: $AWK" >&5
1512 echo "${ECHO_T}$AWK" >&6
1513 else
1514 echo "$as_me:$LINENO: result: no" >&5
1515 echo "${ECHO_T}no" >&6
1518 test -n "$AWK" && break
1519 done
1521 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1522 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1523 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1524 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1525 echo $ECHO_N "(cached) $ECHO_C" >&6
1526 else
1527 cat >conftest.make <<\_ACEOF
1528 all:
1529 @echo 'ac_maketemp="$(MAKE)"'
1530 _ACEOF
1531 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1532 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1533 if test -n "$ac_maketemp"; then
1534 eval ac_cv_prog_make_${ac_make}_set=yes
1535 else
1536 eval ac_cv_prog_make_${ac_make}_set=no
1538 rm -f conftest.make
1540 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1541 echo "$as_me:$LINENO: result: yes" >&5
1542 echo "${ECHO_T}yes" >&6
1543 SET_MAKE=
1544 else
1545 echo "$as_me:$LINENO: result: no" >&5
1546 echo "${ECHO_T}no" >&6
1547 SET_MAKE="MAKE=${MAKE-make}"
1550 rm -rf .tst 2>/dev/null
1551 mkdir .tst 2>/dev/null
1552 if test -d .tst; then
1553 am__leading_dot=.
1554 else
1555 am__leading_dot=_
1557 rmdir .tst 2>/dev/null
1559 # test to see if srcdir already configured
1560 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1561 test -f $srcdir/config.status; then
1562 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1563 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1564 { (exit 1); exit 1; }; }
1567 # test whether we have cygpath
1568 if test -z "$CYGPATH_W"; then
1569 if (cygpath --version) >/dev/null 2>/dev/null; then
1570 CYGPATH_W='cygpath -w'
1571 else
1572 CYGPATH_W=echo
1577 # Define the identity of the package.
1578 PACKAGE=gettext_rpathlzyx
1579 VERSION=0
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE "$PACKAGE"
1584 _ACEOF
1587 cat >>confdefs.h <<_ACEOF
1588 #define VERSION "$VERSION"
1589 _ACEOF
1591 # Some tools Automake needs.
1593 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1596 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1599 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1602 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1605 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1607 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1609 # Installed binaries are usually stripped using `strip' when the user
1610 # run `make install-strip'. However `strip' might not be the right
1611 # tool to use in cross-compilation environments, therefore Automake
1612 # will honor the `STRIP' environment variable to overrule this program.
1613 if test "$cross_compiling" != no; then
1614 if test -n "$ac_tool_prefix"; then
1615 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1616 set dummy ${ac_tool_prefix}strip; ac_word=$2
1617 echo "$as_me:$LINENO: checking for $ac_word" >&5
1618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1619 if test "${ac_cv_prog_STRIP+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 else
1622 if test -n "$STRIP"; then
1623 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1624 else
1625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1626 for as_dir in $PATH
1628 IFS=$as_save_IFS
1629 test -z "$as_dir" && as_dir=.
1630 for ac_exec_ext in '' $ac_executable_extensions; do
1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1632 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1634 break 2
1636 done
1637 done
1641 STRIP=$ac_cv_prog_STRIP
1642 if test -n "$STRIP"; then
1643 echo "$as_me:$LINENO: result: $STRIP" >&5
1644 echo "${ECHO_T}$STRIP" >&6
1645 else
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1651 if test -z "$ac_cv_prog_STRIP"; then
1652 ac_ct_STRIP=$STRIP
1653 # Extract the first word of "strip", so it can be a program name with args.
1654 set dummy strip; ac_word=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 else
1660 if test -n "$ac_ct_STRIP"; then
1661 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1662 else
1663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1664 for as_dir in $PATH
1666 IFS=$as_save_IFS
1667 test -z "$as_dir" && as_dir=.
1668 for ac_exec_ext in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_ac_ct_STRIP="strip"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1672 break 2
1674 done
1675 done
1677 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1680 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1681 if test -n "$ac_ct_STRIP"; then
1682 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1683 echo "${ECHO_T}$ac_ct_STRIP" >&6
1684 else
1685 echo "$as_me:$LINENO: result: no" >&5
1686 echo "${ECHO_T}no" >&6
1689 STRIP=$ac_ct_STRIP
1690 else
1691 STRIP="$ac_cv_prog_STRIP"
1695 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1697 # We need awk for the "check" target. The system "awk" is bad on
1698 # some platforms.
1699 # Always define AMTAR for backward compatibility.
1701 AMTAR=${AMTAR-"${am_missing_run}tar"}
1703 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1709 ac_ext=c
1710 ac_cpp='$CPP $CPPFLAGS'
1711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1714 if test -n "$ac_tool_prefix"; then
1715 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1716 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1717 echo "$as_me:$LINENO: checking for $ac_word" >&5
1718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1719 if test "${ac_cv_prog_CC+set}" = set; then
1720 echo $ECHO_N "(cached) $ECHO_C" >&6
1721 else
1722 if test -n "$CC"; then
1723 ac_cv_prog_CC="$CC" # Let the user override the test.
1724 else
1725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1726 for as_dir in $PATH
1728 IFS=$as_save_IFS
1729 test -z "$as_dir" && as_dir=.
1730 for ac_exec_ext in '' $ac_executable_extensions; do
1731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1732 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1734 break 2
1736 done
1737 done
1741 CC=$ac_cv_prog_CC
1742 if test -n "$CC"; then
1743 echo "$as_me:$LINENO: result: $CC" >&5
1744 echo "${ECHO_T}$CC" >&6
1745 else
1746 echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6
1751 if test -z "$ac_cv_prog_CC"; then
1752 ac_ct_CC=$CC
1753 # Extract the first word of "gcc", so it can be a program name with args.
1754 set dummy gcc; ac_word=$2
1755 echo "$as_me:$LINENO: checking for $ac_word" >&5
1756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1757 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 else
1760 if test -n "$ac_ct_CC"; then
1761 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1762 else
1763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1764 for as_dir in $PATH
1766 IFS=$as_save_IFS
1767 test -z "$as_dir" && as_dir=.
1768 for ac_exec_ext in '' $ac_executable_extensions; do
1769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1770 ac_cv_prog_ac_ct_CC="gcc"
1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1772 break 2
1774 done
1775 done
1779 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1780 if test -n "$ac_ct_CC"; then
1781 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1782 echo "${ECHO_T}$ac_ct_CC" >&6
1783 else
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1788 CC=$ac_ct_CC
1789 else
1790 CC="$ac_cv_prog_CC"
1793 if test -z "$CC"; then
1794 if test -n "$ac_tool_prefix"; then
1795 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1796 set dummy ${ac_tool_prefix}cc; ac_word=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_CC+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1801 else
1802 if test -n "$CC"; then
1803 ac_cv_prog_CC="$CC" # Let the user override the test.
1804 else
1805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1806 for as_dir in $PATH
1808 IFS=$as_save_IFS
1809 test -z "$as_dir" && as_dir=.
1810 for ac_exec_ext in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812 ac_cv_prog_CC="${ac_tool_prefix}cc"
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814 break 2
1816 done
1817 done
1821 CC=$ac_cv_prog_CC
1822 if test -n "$CC"; then
1823 echo "$as_me:$LINENO: result: $CC" >&5
1824 echo "${ECHO_T}$CC" >&6
1825 else
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1831 if test -z "$ac_cv_prog_CC"; then
1832 ac_ct_CC=$CC
1833 # Extract the first word of "cc", so it can be a program name with args.
1834 set dummy cc; ac_word=$2
1835 echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1839 else
1840 if test -n "$ac_ct_CC"; then
1841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1842 else
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1844 for as_dir in $PATH
1846 IFS=$as_save_IFS
1847 test -z "$as_dir" && as_dir=.
1848 for ac_exec_ext in '' $ac_executable_extensions; do
1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1850 ac_cv_prog_ac_ct_CC="cc"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1852 break 2
1854 done
1855 done
1859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1860 if test -n "$ac_ct_CC"; then
1861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1862 echo "${ECHO_T}$ac_ct_CC" >&6
1863 else
1864 echo "$as_me:$LINENO: result: no" >&5
1865 echo "${ECHO_T}no" >&6
1868 CC=$ac_ct_CC
1869 else
1870 CC="$ac_cv_prog_CC"
1874 if test -z "$CC"; then
1875 # Extract the first word of "cc", so it can be a program name with args.
1876 set dummy cc; ac_word=$2
1877 echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1879 if test "${ac_cv_prog_CC+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1881 else
1882 if test -n "$CC"; then
1883 ac_cv_prog_CC="$CC" # Let the user override the test.
1884 else
1885 ac_prog_rejected=no
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 for as_dir in $PATH
1889 IFS=$as_save_IFS
1890 test -z "$as_dir" && as_dir=.
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1894 ac_prog_rejected=yes
1895 continue
1897 ac_cv_prog_CC="cc"
1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1899 break 2
1901 done
1902 done
1904 if test $ac_prog_rejected = yes; then
1905 # We found a bogon in the path, so make sure we never use it.
1906 set dummy $ac_cv_prog_CC
1907 shift
1908 if test $# != 0; then
1909 # We chose a different compiler from the bogus one.
1910 # However, it has the same basename, so the bogon will be chosen
1911 # first if we set CC to just the basename; use the full file name.
1912 shift
1913 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1918 CC=$ac_cv_prog_CC
1919 if test -n "$CC"; then
1920 echo "$as_me:$LINENO: result: $CC" >&5
1921 echo "${ECHO_T}$CC" >&6
1922 else
1923 echo "$as_me:$LINENO: result: no" >&5
1924 echo "${ECHO_T}no" >&6
1928 if test -z "$CC"; then
1929 if test -n "$ac_tool_prefix"; then
1930 for ac_prog in cl
1932 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1933 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1934 echo "$as_me:$LINENO: checking for $ac_word" >&5
1935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1936 if test "${ac_cv_prog_CC+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1938 else
1939 if test -n "$CC"; then
1940 ac_cv_prog_CC="$CC" # Let the user override the test.
1941 else
1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1943 for as_dir in $PATH
1945 IFS=$as_save_IFS
1946 test -z "$as_dir" && as_dir=.
1947 for ac_exec_ext in '' $ac_executable_extensions; do
1948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1949 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1951 break 2
1953 done
1954 done
1958 CC=$ac_cv_prog_CC
1959 if test -n "$CC"; then
1960 echo "$as_me:$LINENO: result: $CC" >&5
1961 echo "${ECHO_T}$CC" >&6
1962 else
1963 echo "$as_me:$LINENO: result: no" >&5
1964 echo "${ECHO_T}no" >&6
1967 test -n "$CC" && break
1968 done
1970 if test -z "$CC"; then
1971 ac_ct_CC=$CC
1972 for ac_prog in cl
1974 # Extract the first word of "$ac_prog", so it can be a program name with args.
1975 set dummy $ac_prog; ac_word=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 else
1981 if test -n "$ac_ct_CC"; then
1982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1983 else
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 for as_dir in $PATH
1987 IFS=$as_save_IFS
1988 test -z "$as_dir" && as_dir=.
1989 for ac_exec_ext in '' $ac_executable_extensions; do
1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_ac_ct_CC="$ac_prog"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 break 2
1995 done
1996 done
2000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2001 if test -n "$ac_ct_CC"; then
2002 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2003 echo "${ECHO_T}$ac_ct_CC" >&6
2004 else
2005 echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2009 test -n "$ac_ct_CC" && break
2010 done
2012 CC=$ac_ct_CC
2018 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2019 See \`config.log' for more details." >&5
2020 echo "$as_me: error: no acceptable C compiler found in \$PATH
2021 See \`config.log' for more details." >&2;}
2022 { (exit 1); exit 1; }; }
2024 # Provide some information about the compiler.
2025 echo "$as_me:$LINENO:" \
2026 "checking for C compiler version" >&5
2027 ac_compiler=`set X $ac_compile; echo $2`
2028 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2029 (eval $ac_compiler --version </dev/null >&5) 2>&5
2030 ac_status=$?
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }
2033 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2034 (eval $ac_compiler -v </dev/null >&5) 2>&5
2035 ac_status=$?
2036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037 (exit $ac_status); }
2038 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2039 (eval $ac_compiler -V </dev/null >&5) 2>&5
2040 ac_status=$?
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); }
2044 cat >conftest.$ac_ext <<_ACEOF
2045 /* confdefs.h. */
2046 _ACEOF
2047 cat confdefs.h >>conftest.$ac_ext
2048 cat >>conftest.$ac_ext <<_ACEOF
2049 /* end confdefs.h. */
2052 main ()
2056 return 0;
2058 _ACEOF
2059 ac_clean_files_save=$ac_clean_files
2060 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2061 # Try to create an executable without -o first, disregard a.out.
2062 # It will help us diagnose broken compilers, and finding out an intuition
2063 # of exeext.
2064 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2065 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2066 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2067 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2068 (eval $ac_link_default) 2>&5
2069 ac_status=$?
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }; then
2072 # Find the output, starting from the most likely. This scheme is
2073 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2074 # resort.
2076 # Be careful to initialize this variable, since it used to be cached.
2077 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2078 ac_cv_exeext=
2079 # b.out is created by i960 compilers.
2080 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2082 test -f "$ac_file" || continue
2083 case $ac_file in
2084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2086 conftest.$ac_ext )
2087 # This is the source file.
2089 [ab].out )
2090 # We found the default executable, but exeext='' is most
2091 # certainly right.
2092 break;;
2093 *.* )
2094 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2095 # FIXME: I believe we export ac_cv_exeext for Libtool,
2096 # but it would be cool to find out if it's true. Does anybody
2097 # maintain Libtool? --akim.
2098 export ac_cv_exeext
2099 break;;
2101 break;;
2102 esac
2103 done
2104 else
2105 echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.$ac_ext >&5
2108 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2109 See \`config.log' for more details." >&5
2110 echo "$as_me: error: C compiler cannot create executables
2111 See \`config.log' for more details." >&2;}
2112 { (exit 77); exit 77; }; }
2115 ac_exeext=$ac_cv_exeext
2116 echo "$as_me:$LINENO: result: $ac_file" >&5
2117 echo "${ECHO_T}$ac_file" >&6
2119 # Check the compiler produces executables we can run. If not, either
2120 # the compiler is broken, or we cross compile.
2121 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2122 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2123 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2124 # If not cross compiling, check that we can run a simple program.
2125 if test "$cross_compiling" != yes; then
2126 if { ac_try='./$ac_file'
2127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2128 (eval $ac_try) 2>&5
2129 ac_status=$?
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }; }; then
2132 cross_compiling=no
2133 else
2134 if test "$cross_compiling" = maybe; then
2135 cross_compiling=yes
2136 else
2137 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2138 If you meant to cross compile, use \`--host'.
2139 See \`config.log' for more details." >&5
2140 echo "$as_me: error: cannot run C compiled programs.
2141 If you meant to cross compile, use \`--host'.
2142 See \`config.log' for more details." >&2;}
2143 { (exit 1); exit 1; }; }
2147 echo "$as_me:$LINENO: result: yes" >&5
2148 echo "${ECHO_T}yes" >&6
2150 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2151 ac_clean_files=$ac_clean_files_save
2152 # Check the compiler produces executables we can run. If not, either
2153 # the compiler is broken, or we cross compile.
2154 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2155 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2156 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2157 echo "${ECHO_T}$cross_compiling" >&6
2159 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2160 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2162 (eval $ac_link) 2>&5
2163 ac_status=$?
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }; then
2166 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2167 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2168 # work properly (i.e., refer to `conftest.exe'), while it won't with
2169 # `rm'.
2170 for ac_file in conftest.exe conftest conftest.*; do
2171 test -f "$ac_file" || continue
2172 case $ac_file in
2173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2174 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2175 export ac_cv_exeext
2176 break;;
2177 * ) break;;
2178 esac
2179 done
2180 else
2181 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2182 See \`config.log' for more details." >&5
2183 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2184 See \`config.log' for more details." >&2;}
2185 { (exit 1); exit 1; }; }
2188 rm -f conftest$ac_cv_exeext
2189 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2190 echo "${ECHO_T}$ac_cv_exeext" >&6
2192 rm -f conftest.$ac_ext
2193 EXEEXT=$ac_cv_exeext
2194 ac_exeext=$EXEEXT
2195 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2196 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2197 if test "${ac_cv_objext+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 else
2200 cat >conftest.$ac_ext <<_ACEOF
2201 /* confdefs.h. */
2202 _ACEOF
2203 cat confdefs.h >>conftest.$ac_ext
2204 cat >>conftest.$ac_ext <<_ACEOF
2205 /* end confdefs.h. */
2208 main ()
2212 return 0;
2214 _ACEOF
2215 rm -f conftest.o conftest.obj
2216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2217 (eval $ac_compile) 2>&5
2218 ac_status=$?
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; then
2221 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2222 case $ac_file in
2223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2224 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2225 break;;
2226 esac
2227 done
2228 else
2229 echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.$ac_ext >&5
2232 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2233 See \`config.log' for more details." >&5
2234 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2235 See \`config.log' for more details." >&2;}
2236 { (exit 1); exit 1; }; }
2239 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2241 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2242 echo "${ECHO_T}$ac_cv_objext" >&6
2243 OBJEXT=$ac_cv_objext
2244 ac_objext=$OBJEXT
2245 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2246 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2247 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 else
2250 cat >conftest.$ac_ext <<_ACEOF
2251 /* confdefs.h. */
2252 _ACEOF
2253 cat confdefs.h >>conftest.$ac_ext
2254 cat >>conftest.$ac_ext <<_ACEOF
2255 /* end confdefs.h. */
2258 main ()
2260 #ifndef __GNUC__
2261 choke me
2262 #endif
2265 return 0;
2267 _ACEOF
2268 rm -f conftest.$ac_objext
2269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270 (eval $ac_compile) 2>conftest.er1
2271 ac_status=$?
2272 grep -v '^ *+' conftest.er1 >conftest.err
2273 rm -f conftest.er1
2274 cat conftest.err >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); } &&
2277 { ac_try='test -z "$ac_c_werror_flag"
2278 || test ! -s conftest.err'
2279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280 (eval $ac_try) 2>&5
2281 ac_status=$?
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); }; } &&
2284 { ac_try='test -s conftest.$ac_objext'
2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286 (eval $ac_try) 2>&5
2287 ac_status=$?
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }; }; then
2290 ac_compiler_gnu=yes
2291 else
2292 echo "$as_me: failed program was:" >&5
2293 sed 's/^/| /' conftest.$ac_ext >&5
2295 ac_compiler_gnu=no
2297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2298 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2301 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2302 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2303 GCC=`test $ac_compiler_gnu = yes && echo yes`
2304 ac_test_CFLAGS=${CFLAGS+set}
2305 ac_save_CFLAGS=$CFLAGS
2306 CFLAGS="-g"
2307 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2308 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2309 if test "${ac_cv_prog_cc_g+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 else
2312 cat >conftest.$ac_ext <<_ACEOF
2313 /* confdefs.h. */
2314 _ACEOF
2315 cat confdefs.h >>conftest.$ac_ext
2316 cat >>conftest.$ac_ext <<_ACEOF
2317 /* end confdefs.h. */
2320 main ()
2324 return 0;
2326 _ACEOF
2327 rm -f conftest.$ac_objext
2328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2329 (eval $ac_compile) 2>conftest.er1
2330 ac_status=$?
2331 grep -v '^ *+' conftest.er1 >conftest.err
2332 rm -f conftest.er1
2333 cat conftest.err >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); } &&
2336 { ac_try='test -z "$ac_c_werror_flag"
2337 || test ! -s conftest.err'
2338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339 (eval $ac_try) 2>&5
2340 ac_status=$?
2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342 (exit $ac_status); }; } &&
2343 { ac_try='test -s conftest.$ac_objext'
2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2345 (eval $ac_try) 2>&5
2346 ac_status=$?
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }; }; then
2349 ac_cv_prog_cc_g=yes
2350 else
2351 echo "$as_me: failed program was:" >&5
2352 sed 's/^/| /' conftest.$ac_ext >&5
2354 ac_cv_prog_cc_g=no
2356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2358 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2359 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2360 if test "$ac_test_CFLAGS" = set; then
2361 CFLAGS=$ac_save_CFLAGS
2362 elif test $ac_cv_prog_cc_g = yes; then
2363 if test "$GCC" = yes; then
2364 CFLAGS="-g -O2"
2365 else
2366 CFLAGS="-g"
2368 else
2369 if test "$GCC" = yes; then
2370 CFLAGS="-O2"
2371 else
2372 CFLAGS=
2375 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2376 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2377 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2378 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 else
2380 ac_cv_prog_cc_stdc=no
2381 ac_save_CC=$CC
2382 cat >conftest.$ac_ext <<_ACEOF
2383 /* confdefs.h. */
2384 _ACEOF
2385 cat confdefs.h >>conftest.$ac_ext
2386 cat >>conftest.$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2388 #include <stdarg.h>
2389 #include <stdio.h>
2390 #include <sys/types.h>
2391 #include <sys/stat.h>
2392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2393 struct buf { int x; };
2394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2395 static char *e (p, i)
2396 char **p;
2397 int i;
2399 return p[i];
2401 static char *f (char * (*g) (char **, int), char **p, ...)
2403 char *s;
2404 va_list v;
2405 va_start (v,p);
2406 s = g (p, va_arg (v,int));
2407 va_end (v);
2408 return s;
2411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2412 function prototypes and stuff, but not '\xHH' hex character constants.
2413 These don't provoke an error unfortunately, instead are silently treated
2414 as 'x'. The following induces an error, until -std1 is added to get
2415 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2416 array size at least. It's necessary to write '\x00'==0 to get something
2417 that's true only with -std1. */
2418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2420 int test (int i, double x);
2421 struct s1 {int (*f) (int a);};
2422 struct s2 {int (*f) (double a);};
2423 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2424 int argc;
2425 char **argv;
2427 main ()
2429 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2431 return 0;
2433 _ACEOF
2434 # Don't try gcc -ansi; that turns off useful extensions and
2435 # breaks some systems' header files.
2436 # AIX -qlanglvl=ansi
2437 # Ultrix and OSF/1 -std1
2438 # HP-UX 10.20 and later -Ae
2439 # HP-UX older versions -Aa -D_HPUX_SOURCE
2440 # SVR4 -Xc -D__EXTENSIONS__
2441 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2443 CC="$ac_save_CC $ac_arg"
2444 rm -f conftest.$ac_objext
2445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2446 (eval $ac_compile) 2>conftest.er1
2447 ac_status=$?
2448 grep -v '^ *+' conftest.er1 >conftest.err
2449 rm -f conftest.er1
2450 cat conftest.err >&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); } &&
2453 { ac_try='test -z "$ac_c_werror_flag"
2454 || test ! -s conftest.err'
2455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2456 (eval $ac_try) 2>&5
2457 ac_status=$?
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }; } &&
2460 { ac_try='test -s conftest.$ac_objext'
2461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 (eval $ac_try) 2>&5
2463 ac_status=$?
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; }; then
2466 ac_cv_prog_cc_stdc=$ac_arg
2467 break
2468 else
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.$ac_ext >&5
2473 rm -f conftest.err conftest.$ac_objext
2474 done
2475 rm -f conftest.$ac_ext conftest.$ac_objext
2476 CC=$ac_save_CC
2480 case "x$ac_cv_prog_cc_stdc" in
2481 x|xno)
2482 echo "$as_me:$LINENO: result: none needed" >&5
2483 echo "${ECHO_T}none needed" >&6 ;;
2485 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2486 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2487 CC="$CC $ac_cv_prog_cc_stdc" ;;
2488 esac
2490 # Some people use a C++ compiler to compile C. Since we use `exit',
2491 # in C++ we need to declare it. In case someone uses the same compiler
2492 # for both compiling C and C++ we need to have the C++ compiler decide
2493 # the declaration of exit, since it's the most demanding environment.
2494 cat >conftest.$ac_ext <<_ACEOF
2495 #ifndef __cplusplus
2496 choke me
2497 #endif
2498 _ACEOF
2499 rm -f conftest.$ac_objext
2500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2501 (eval $ac_compile) 2>conftest.er1
2502 ac_status=$?
2503 grep -v '^ *+' conftest.er1 >conftest.err
2504 rm -f conftest.er1
2505 cat conftest.err >&5
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); } &&
2508 { ac_try='test -z "$ac_c_werror_flag"
2509 || test ! -s conftest.err'
2510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 (eval $ac_try) 2>&5
2512 ac_status=$?
2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2514 (exit $ac_status); }; } &&
2515 { ac_try='test -s conftest.$ac_objext'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 (eval $ac_try) 2>&5
2518 ac_status=$?
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; }; then
2521 for ac_declaration in \
2522 '' \
2523 'extern "C" void std::exit (int) throw (); using std::exit;' \
2524 'extern "C" void std::exit (int); using std::exit;' \
2525 'extern "C" void exit (int) throw ();' \
2526 'extern "C" void exit (int);' \
2527 'void exit (int);'
2529 cat >conftest.$ac_ext <<_ACEOF
2530 /* confdefs.h. */
2531 _ACEOF
2532 cat confdefs.h >>conftest.$ac_ext
2533 cat >>conftest.$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2535 $ac_declaration
2536 #include <stdlib.h>
2538 main ()
2540 exit (42);
2542 return 0;
2544 _ACEOF
2545 rm -f conftest.$ac_objext
2546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2547 (eval $ac_compile) 2>conftest.er1
2548 ac_status=$?
2549 grep -v '^ *+' conftest.er1 >conftest.err
2550 rm -f conftest.er1
2551 cat conftest.err >&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); } &&
2554 { ac_try='test -z "$ac_c_werror_flag"
2555 || test ! -s conftest.err'
2556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2557 (eval $ac_try) 2>&5
2558 ac_status=$?
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }; } &&
2561 { ac_try='test -s conftest.$ac_objext'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2563 (eval $ac_try) 2>&5
2564 ac_status=$?
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; }; then
2568 else
2569 echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.$ac_ext >&5
2572 continue
2574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2575 cat >conftest.$ac_ext <<_ACEOF
2576 /* confdefs.h. */
2577 _ACEOF
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2581 $ac_declaration
2583 main ()
2585 exit (42);
2587 return 0;
2589 _ACEOF
2590 rm -f conftest.$ac_objext
2591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2592 (eval $ac_compile) 2>conftest.er1
2593 ac_status=$?
2594 grep -v '^ *+' conftest.er1 >conftest.err
2595 rm -f conftest.er1
2596 cat conftest.err >&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); } &&
2599 { ac_try='test -z "$ac_c_werror_flag"
2600 || test ! -s conftest.err'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 (eval $ac_try) 2>&5
2603 ac_status=$?
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; } &&
2606 { ac_try='test -s conftest.$ac_objext'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2608 (eval $ac_try) 2>&5
2609 ac_status=$?
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; }; then
2612 break
2613 else
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2619 done
2620 rm -f conftest*
2621 if test -n "$ac_declaration"; then
2622 echo '#ifdef __cplusplus' >>confdefs.h
2623 echo $ac_declaration >>confdefs.h
2624 echo '#endif' >>confdefs.h
2627 else
2628 echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.$ac_ext >&5
2632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2633 ac_ext=c
2634 ac_cpp='$CPP $CPPFLAGS'
2635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2638 DEPDIR="${am__leading_dot}deps"
2640 ac_config_commands="$ac_config_commands depfiles"
2643 am_make=${MAKE-make}
2644 cat > confinc << 'END'
2645 am__doit:
2646 @echo done
2647 .PHONY: am__doit
2649 # If we don't find an include directive, just comment out the code.
2650 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2651 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2652 am__include="#"
2653 am__quote=
2654 _am_result=none
2655 # First try GNU make style include.
2656 echo "include confinc" > confmf
2657 # We grep out `Entering directory' and `Leaving directory'
2658 # messages which can occur if `w' ends up in MAKEFLAGS.
2659 # In particular we don't look at `^make:' because GNU make might
2660 # be invoked under some other name (usually "gmake"), in which
2661 # case it prints its new name instead of `make'.
2662 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2663 am__include=include
2664 am__quote=
2665 _am_result=GNU
2667 # Now try BSD make style include.
2668 if test "$am__include" = "#"; then
2669 echo '.include "confinc"' > confmf
2670 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2671 am__include=.include
2672 am__quote="\""
2673 _am_result=BSD
2678 echo "$as_me:$LINENO: result: $_am_result" >&5
2679 echo "${ECHO_T}$_am_result" >&6
2680 rm -f confinc confmf
2682 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2683 if test "${enable_dependency_tracking+set}" = set; then
2684 enableval="$enable_dependency_tracking"
2687 if test "x$enable_dependency_tracking" != xno; then
2688 am_depcomp="$ac_aux_dir/depcomp"
2689 AMDEPBACKSLASH='\'
2693 if test "x$enable_dependency_tracking" != xno; then
2694 AMDEP_TRUE=
2695 AMDEP_FALSE='#'
2696 else
2697 AMDEP_TRUE='#'
2698 AMDEP_FALSE=
2704 depcc="$CC" am_compiler_list=
2706 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2707 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2708 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 else
2711 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2712 # We make a subdir and do the tests there. Otherwise we can end up
2713 # making bogus files that we don't know about and never remove. For
2714 # instance it was reported that on HP-UX the gcc test will end up
2715 # making a dummy file named `D' -- because `-MD' means `put the output
2716 # in D'.
2717 mkdir conftest.dir
2718 # Copy depcomp to subdir because otherwise we won't find it if we're
2719 # using a relative directory.
2720 cp "$am_depcomp" conftest.dir
2721 cd conftest.dir
2722 # We will build objects and dependencies in a subdirectory because
2723 # it helps to detect inapplicable dependency modes. For instance
2724 # both Tru64's cc and ICC support -MD to output dependencies as a
2725 # side effect of compilation, but ICC will put the dependencies in
2726 # the current directory while Tru64 will put them in the object
2727 # directory.
2728 mkdir sub
2730 am_cv_CC_dependencies_compiler_type=none
2731 if test "$am_compiler_list" = ""; then
2732 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2734 for depmode in $am_compiler_list; do
2735 # Setup a source with many dependencies, because some compilers
2736 # like to wrap large dependency lists on column 80 (with \), and
2737 # we should not choose a depcomp mode which is confused by this.
2739 # We need to recreate these files for each test, as the compiler may
2740 # overwrite some of them when testing with obscure command lines.
2741 # This happens at least with the AIX C compiler.
2742 : > sub/conftest.c
2743 for i in 1 2 3 4 5 6; do
2744 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2745 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2746 # Solaris 8's {/usr,}/bin/sh.
2747 touch sub/conftst$i.h
2748 done
2749 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2751 case $depmode in
2752 nosideeffect)
2753 # after this tag, mechanisms are not by side-effect, so they'll
2754 # only be used when explicitly requested
2755 if test "x$enable_dependency_tracking" = xyes; then
2756 continue
2757 else
2758 break
2761 none) break ;;
2762 esac
2763 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2764 # mode. It turns out that the SunPro C++ compiler does not properly
2765 # handle `-M -o', and we need to detect this.
2766 if depmode=$depmode \
2767 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2768 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2769 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2770 >/dev/null 2>conftest.err &&
2771 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2772 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2773 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2774 # icc doesn't choke on unknown options, it will just issue warnings
2775 # or remarks (even with -Werror). So we grep stderr for any message
2776 # that says an option was ignored or not supported.
2777 # When given -MP, icc 7.0 and 7.1 complain thusly:
2778 # icc: Command line warning: ignoring option '-M'; no argument required
2779 # The diagnosis changed in icc 8.0:
2780 # icc: Command line remark: option '-MP' not supported
2781 if (grep 'ignoring option' conftest.err ||
2782 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2783 am_cv_CC_dependencies_compiler_type=$depmode
2784 break
2787 done
2789 cd ..
2790 rm -rf conftest.dir
2791 else
2792 am_cv_CC_dependencies_compiler_type=none
2796 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2797 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2798 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2803 test "x$enable_dependency_tracking" != xno \
2804 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2805 am__fastdepCC_TRUE=
2806 am__fastdepCC_FALSE='#'
2807 else
2808 am__fastdepCC_TRUE='#'
2809 am__fastdepCC_FALSE=
2814 if test "X$prefix" = "XNONE"; then
2815 acl_final_prefix="$ac_default_prefix"
2816 else
2817 acl_final_prefix="$prefix"
2819 if test "X$exec_prefix" = "XNONE"; then
2820 acl_final_exec_prefix='${prefix}'
2821 else
2822 acl_final_exec_prefix="$exec_prefix"
2824 acl_save_prefix="$prefix"
2825 prefix="$acl_final_prefix"
2826 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
2827 prefix="$acl_save_prefix"
2829 # Make sure we can run config.sub.
2830 $ac_config_sub sun4 >/dev/null 2>&1 ||
2831 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2832 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2833 { (exit 1); exit 1; }; }
2835 echo "$as_me:$LINENO: checking build system type" >&5
2836 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2837 if test "${ac_cv_build+set}" = set; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2839 else
2840 ac_cv_build_alias=$build_alias
2841 test -z "$ac_cv_build_alias" &&
2842 ac_cv_build_alias=`$ac_config_guess`
2843 test -z "$ac_cv_build_alias" &&
2844 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2845 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2846 { (exit 1); exit 1; }; }
2847 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2848 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2849 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2850 { (exit 1); exit 1; }; }
2853 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2854 echo "${ECHO_T}$ac_cv_build" >&6
2855 build=$ac_cv_build
2856 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2857 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2858 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2861 echo "$as_me:$LINENO: checking host system type" >&5
2862 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2863 if test "${ac_cv_host+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2865 else
2866 ac_cv_host_alias=$host_alias
2867 test -z "$ac_cv_host_alias" &&
2868 ac_cv_host_alias=$ac_cv_build_alias
2869 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2870 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2871 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2872 { (exit 1); exit 1; }; }
2875 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2876 echo "${ECHO_T}$ac_cv_host" >&6
2877 host=$ac_cv_host
2878 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2879 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2880 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2884 # Check whether --with-gnu-ld or --without-gnu-ld was given.
2885 if test "${with_gnu_ld+set}" = set; then
2886 withval="$with_gnu_ld"
2887 test "$withval" = no || with_gnu_ld=yes
2888 else
2889 with_gnu_ld=no
2891 # Prepare PATH_SEPARATOR.
2892 # The user is always right.
2893 if test "${PATH_SEPARATOR+set}" != set; then
2894 echo "#! /bin/sh" >conf$$.sh
2895 echo "exit 0" >>conf$$.sh
2896 chmod +x conf$$.sh
2897 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2898 PATH_SEPARATOR=';'
2899 else
2900 PATH_SEPARATOR=:
2902 rm -f conf$$.sh
2904 ac_prog=ld
2905 if test "$GCC" = yes; then
2906 # Check if gcc -print-prog-name=ld gives a path.
2907 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
2908 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
2909 case $host in
2910 *-*-mingw*)
2911 # gcc leaves a trailing carriage return which upsets mingw
2912 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
2914 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
2915 esac
2916 case $ac_prog in
2917 # Accept absolute paths.
2918 [\\/]* | [A-Za-z]:[\\/]*)
2919 re_direlt='/[^/][^/]*/\.\./'
2920 # Canonicalize the path of ld
2921 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
2922 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
2923 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
2924 done
2925 test -z "$LD" && LD="$ac_prog"
2928 # If it fails, then pretend we aren't using GCC.
2929 ac_prog=ld
2932 # If it is relative, then search for the first ld in PATH.
2933 with_gnu_ld=unknown
2935 esac
2936 elif test "$with_gnu_ld" = yes; then
2937 echo "$as_me:$LINENO: checking for GNU ld" >&5
2938 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
2939 else
2940 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
2941 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
2943 if test "${acl_cv_path_LD+set}" = set; then
2944 echo $ECHO_N "(cached) $ECHO_C" >&6
2945 else
2946 if test -z "$LD"; then
2947 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
2948 for ac_dir in $PATH; do
2949 test -z "$ac_dir" && ac_dir=.
2950 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
2951 acl_cv_path_LD="$ac_dir/$ac_prog"
2952 # Check to see if the program is GNU ld. I'd rather use --version,
2953 # but apparently some GNU ld's only accept -v.
2954 # Break only if it was the GNU/non-GNU ld that we prefer.
2955 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
2956 *GNU* | *'with BFD'*)
2957 test "$with_gnu_ld" != no && break ;;
2959 test "$with_gnu_ld" != yes && break ;;
2960 esac
2962 done
2963 IFS="$ac_save_ifs"
2964 else
2965 acl_cv_path_LD="$LD" # Let the user override the test with a path.
2969 LD="$acl_cv_path_LD"
2970 if test -n "$LD"; then
2971 echo "$as_me:$LINENO: result: $LD" >&5
2972 echo "${ECHO_T}$LD" >&6
2973 else
2974 echo "$as_me:$LINENO: result: no" >&5
2975 echo "${ECHO_T}no" >&6
2977 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
2978 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
2979 { (exit 1); exit 1; }; }
2980 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
2981 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
2982 if test "${acl_cv_prog_gnu_ld+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2984 else
2985 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
2986 case `$LD -v 2>&1 </dev/null` in
2987 *GNU* | *'with BFD'*)
2988 acl_cv_prog_gnu_ld=yes ;;
2990 acl_cv_prog_gnu_ld=no ;;
2991 esac
2993 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
2994 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
2995 with_gnu_ld=$acl_cv_prog_gnu_ld
3000 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
3001 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
3002 if test "${acl_cv_rpath+set}" = set; then
3003 echo $ECHO_N "(cached) $ECHO_C" >&6
3004 else
3006 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
3007 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
3008 . ./conftest.sh
3009 rm -f ./conftest.sh
3010 acl_cv_rpath=done
3013 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
3014 echo "${ECHO_T}$acl_cv_rpath" >&6
3015 wl="$acl_cv_wl"
3016 libext="$acl_cv_libext"
3017 shlibext="$acl_cv_shlibext"
3018 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
3019 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
3020 hardcode_direct="$acl_cv_hardcode_direct"
3021 hardcode_minus_L="$acl_cv_hardcode_minus_L"
3022 # Check whether --enable-rpath or --disable-rpath was given.
3023 if test "${enable_rpath+set}" = set; then
3024 enableval="$enable_rpath"
3026 else
3027 enable_rpath=yes
3035 echo "$as_me:$LINENO: checking how to link with librpathx" >&5
3036 echo $ECHO_N "checking how to link with librpathx... $ECHO_C" >&6
3037 if test "${ac_cv_librpathx_libs+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3039 else
3043 use_additional=yes
3045 acl_save_prefix="$prefix"
3046 prefix="$acl_final_prefix"
3047 acl_save_exec_prefix="$exec_prefix"
3048 exec_prefix="$acl_final_exec_prefix"
3050 eval additional_includedir=\"$includedir\"
3051 eval additional_libdir=\"$libdir\"
3053 exec_prefix="$acl_save_exec_prefix"
3054 prefix="$acl_save_prefix"
3057 # Check whether --with-librpathx-prefix or --without-librpathx-prefix was given.
3058 if test "${with_librpathx_prefix+set}" = set; then
3059 withval="$with_librpathx_prefix"
3061 if test "X$withval" = "Xno"; then
3062 use_additional=no
3063 else
3064 if test "X$withval" = "X"; then
3066 acl_save_prefix="$prefix"
3067 prefix="$acl_final_prefix"
3068 acl_save_exec_prefix="$exec_prefix"
3069 exec_prefix="$acl_final_exec_prefix"
3071 eval additional_includedir=\"$includedir\"
3072 eval additional_libdir=\"$libdir\"
3074 exec_prefix="$acl_save_exec_prefix"
3075 prefix="$acl_save_prefix"
3077 else
3078 additional_includedir="$withval/include"
3079 additional_libdir="$withval/lib"
3084 LIBRPATHX=
3085 LTLIBRPATHX=
3086 INCRPATHX=
3087 rpathdirs=
3088 ltrpathdirs=
3089 names_already_handled=
3090 names_next_round='rpathx '
3091 while test -n "$names_next_round"; do
3092 names_this_round="$names_next_round"
3093 names_next_round=
3094 for name in $names_this_round; do
3095 already_handled=
3096 for n in $names_already_handled; do
3097 if test "$n" = "$name"; then
3098 already_handled=yes
3099 break
3101 done
3102 if test -z "$already_handled"; then
3103 names_already_handled="$names_already_handled $name"
3104 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3105 eval value=\"\$HAVE_LIB$uppername\"
3106 if test -n "$value"; then
3107 if test "$value" = yes; then
3108 eval value=\"\$LIB$uppername\"
3109 test -z "$value" || LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$value"
3110 eval value=\"\$LTLIB$uppername\"
3111 test -z "$value" || LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }$value"
3112 else
3115 else
3116 found_dir=
3117 found_la=
3118 found_so=
3119 found_a=
3120 if test $use_additional = yes; then
3121 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3122 found_dir="$additional_libdir"
3123 found_so="$additional_libdir/lib$name.$shlibext"
3124 if test -f "$additional_libdir/lib$name.la"; then
3125 found_la="$additional_libdir/lib$name.la"
3127 else
3128 if test -f "$additional_libdir/lib$name.$libext"; then
3129 found_dir="$additional_libdir"
3130 found_a="$additional_libdir/lib$name.$libext"
3131 if test -f "$additional_libdir/lib$name.la"; then
3132 found_la="$additional_libdir/lib$name.la"
3137 if test "X$found_dir" = "X"; then
3138 for x in $LDFLAGS $LTLIBRPATHX; do
3140 acl_save_prefix="$prefix"
3141 prefix="$acl_final_prefix"
3142 acl_save_exec_prefix="$exec_prefix"
3143 exec_prefix="$acl_final_exec_prefix"
3144 eval x=\"$x\"
3145 exec_prefix="$acl_save_exec_prefix"
3146 prefix="$acl_save_prefix"
3148 case "$x" in
3149 -L*)
3150 dir=`echo "X$x" | sed -e 's/^X-L//'`
3151 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3152 found_dir="$dir"
3153 found_so="$dir/lib$name.$shlibext"
3154 if test -f "$dir/lib$name.la"; then
3155 found_la="$dir/lib$name.la"
3157 else
3158 if test -f "$dir/lib$name.$libext"; then
3159 found_dir="$dir"
3160 found_a="$dir/lib$name.$libext"
3161 if test -f "$dir/lib$name.la"; then
3162 found_la="$dir/lib$name.la"
3167 esac
3168 if test "X$found_dir" != "X"; then
3169 break
3171 done
3173 if test "X$found_dir" != "X"; then
3174 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$found_dir -l$name"
3175 if test "X$found_so" != "X"; then
3176 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
3177 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3178 else
3179 haveit=
3180 for x in $ltrpathdirs; do
3181 if test "X$x" = "X$found_dir"; then
3182 haveit=yes
3183 break
3185 done
3186 if test -z "$haveit"; then
3187 ltrpathdirs="$ltrpathdirs $found_dir"
3189 if test "$hardcode_direct" = yes; then
3190 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3191 else
3192 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
3193 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3194 haveit=
3195 for x in $rpathdirs; do
3196 if test "X$x" = "X$found_dir"; then
3197 haveit=yes
3198 break
3200 done
3201 if test -z "$haveit"; then
3202 rpathdirs="$rpathdirs $found_dir"
3204 else
3205 haveit=
3206 for x in $LDFLAGS $LIBRPATHX; do
3208 acl_save_prefix="$prefix"
3209 prefix="$acl_final_prefix"
3210 acl_save_exec_prefix="$exec_prefix"
3211 exec_prefix="$acl_final_exec_prefix"
3212 eval x=\"$x\"
3213 exec_prefix="$acl_save_exec_prefix"
3214 prefix="$acl_save_prefix"
3216 if test "X$x" = "X-L$found_dir"; then
3217 haveit=yes
3218 break
3220 done
3221 if test -z "$haveit"; then
3222 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir"
3224 if test "$hardcode_minus_L" != no; then
3225 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_so"
3226 else
3227 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-l$name"
3232 else
3233 if test "X$found_a" != "X"; then
3234 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$found_a"
3235 else
3236 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$found_dir -l$name"
3239 additional_includedir=
3240 case "$found_dir" in
3241 */lib | */lib/)
3242 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3243 additional_includedir="$basedir/include"
3245 esac
3246 if test "X$additional_includedir" != "X"; then
3247 if test "X$additional_includedir" != "X/usr/include"; then
3248 haveit=
3249 if test "X$additional_includedir" = "X/usr/local/include"; then
3250 if test -n "$GCC"; then
3251 case $host_os in
3252 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3253 esac
3256 if test -z "$haveit"; then
3257 for x in $CPPFLAGS $INCRPATHX; do
3259 acl_save_prefix="$prefix"
3260 prefix="$acl_final_prefix"
3261 acl_save_exec_prefix="$exec_prefix"
3262 exec_prefix="$acl_final_exec_prefix"
3263 eval x=\"$x\"
3264 exec_prefix="$acl_save_exec_prefix"
3265 prefix="$acl_save_prefix"
3267 if test "X$x" = "X-I$additional_includedir"; then
3268 haveit=yes
3269 break
3271 done
3272 if test -z "$haveit"; then
3273 if test -d "$additional_includedir"; then
3274 INCRPATHX="${INCRPATHX}${INCRPATHX:+ }-I$additional_includedir"
3280 if test -n "$found_la"; then
3281 save_libdir="$libdir"
3282 case "$found_la" in
3283 */* | *\\*) . "$found_la" ;;
3284 *) . "./$found_la" ;;
3285 esac
3286 libdir="$save_libdir"
3287 for dep in $dependency_libs; do
3288 case "$dep" in
3289 -L*)
3290 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
3291 if test "X$additional_libdir" != "X/usr/lib"; then
3292 haveit=
3293 if test "X$additional_libdir" = "X/usr/local/lib"; then
3294 if test -n "$GCC"; then
3295 case $host_os in
3296 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3297 esac
3300 if test -z "$haveit"; then
3301 haveit=
3302 for x in $LDFLAGS $LIBRPATHX; do
3304 acl_save_prefix="$prefix"
3305 prefix="$acl_final_prefix"
3306 acl_save_exec_prefix="$exec_prefix"
3307 exec_prefix="$acl_final_exec_prefix"
3308 eval x=\"$x\"
3309 exec_prefix="$acl_save_exec_prefix"
3310 prefix="$acl_save_prefix"
3312 if test "X$x" = "X-L$additional_libdir"; then
3313 haveit=yes
3314 break
3316 done
3317 if test -z "$haveit"; then
3318 if test -d "$additional_libdir"; then
3319 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-L$additional_libdir"
3322 haveit=
3323 for x in $LDFLAGS $LTLIBRPATHX; do
3325 acl_save_prefix="$prefix"
3326 prefix="$acl_final_prefix"
3327 acl_save_exec_prefix="$exec_prefix"
3328 exec_prefix="$acl_final_exec_prefix"
3329 eval x=\"$x\"
3330 exec_prefix="$acl_save_exec_prefix"
3331 prefix="$acl_save_prefix"
3333 if test "X$x" = "X-L$additional_libdir"; then
3334 haveit=yes
3335 break
3337 done
3338 if test -z "$haveit"; then
3339 if test -d "$additional_libdir"; then
3340 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-L$additional_libdir"
3346 -R*)
3347 dir=`echo "X$dep" | sed -e 's/^X-R//'`
3348 if test "$enable_rpath" != no; then
3349 haveit=
3350 for x in $rpathdirs; do
3351 if test "X$x" = "X$dir"; then
3352 haveit=yes
3353 break
3355 done
3356 if test -z "$haveit"; then
3357 rpathdirs="$rpathdirs $dir"
3359 haveit=
3360 for x in $ltrpathdirs; do
3361 if test "X$x" = "X$dir"; then
3362 haveit=yes
3363 break
3365 done
3366 if test -z "$haveit"; then
3367 ltrpathdirs="$ltrpathdirs $dir"
3371 -l*)
3372 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
3374 *.la)
3375 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
3378 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$dep"
3379 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }$dep"
3381 esac
3382 done
3384 else
3385 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }-l$name"
3386 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-l$name"
3390 done
3391 done
3392 if test "X$rpathdirs" != "X"; then
3393 if test -n "$hardcode_libdir_separator"; then
3394 alldirs=
3395 for found_dir in $rpathdirs; do
3396 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
3397 done
3398 acl_save_libdir="$libdir"
3399 libdir="$alldirs"
3400 eval flag=\"$hardcode_libdir_flag_spec\"
3401 libdir="$acl_save_libdir"
3402 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$flag"
3403 else
3404 for found_dir in $rpathdirs; do
3405 acl_save_libdir="$libdir"
3406 libdir="$found_dir"
3407 eval flag=\"$hardcode_libdir_flag_spec\"
3408 libdir="$acl_save_libdir"
3409 LIBRPATHX="${LIBRPATHX}${LIBRPATHX:+ }$flag"
3410 done
3413 if test "X$ltrpathdirs" != "X"; then
3414 for found_dir in $ltrpathdirs; do
3415 LTLIBRPATHX="${LTLIBRPATHX}${LTLIBRPATHX:+ }-R$found_dir"
3416 done
3419 ac_cv_librpathx_libs="$LIBRPATHX"
3420 ac_cv_librpathx_ltlibs="$LTLIBRPATHX"
3421 ac_cv_librpathx_cppflags="$INCRPATHX"
3424 echo "$as_me:$LINENO: result: $ac_cv_librpathx_libs" >&5
3425 echo "${ECHO_T}$ac_cv_librpathx_libs" >&6
3426 LIBRPATHX="$ac_cv_librpathx_libs"
3427 LTLIBRPATHX="$ac_cv_librpathx_ltlibs"
3428 INCRPATHX="$ac_cv_librpathx_cppflags"
3430 for element in $INCRPATHX; do
3431 haveit=
3432 for x in $CPPFLAGS; do
3434 acl_save_prefix="$prefix"
3435 prefix="$acl_final_prefix"
3436 acl_save_exec_prefix="$exec_prefix"
3437 exec_prefix="$acl_final_exec_prefix"
3438 eval x=\"$x\"
3439 exec_prefix="$acl_save_exec_prefix"
3440 prefix="$acl_save_prefix"
3442 if test "X$x" = "X$element"; then
3443 haveit=yes
3444 break
3446 done
3447 if test -z "$haveit"; then
3448 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
3450 done
3454 HAVE_LIBRPATHX=yes
3463 echo "$as_me:$LINENO: checking how to link with librpathy" >&5
3464 echo $ECHO_N "checking how to link with librpathy... $ECHO_C" >&6
3465 if test "${ac_cv_librpathy_libs+set}" = set; then
3466 echo $ECHO_N "(cached) $ECHO_C" >&6
3467 else
3471 use_additional=yes
3473 acl_save_prefix="$prefix"
3474 prefix="$acl_final_prefix"
3475 acl_save_exec_prefix="$exec_prefix"
3476 exec_prefix="$acl_final_exec_prefix"
3478 eval additional_includedir=\"$includedir\"
3479 eval additional_libdir=\"$libdir\"
3481 exec_prefix="$acl_save_exec_prefix"
3482 prefix="$acl_save_prefix"
3485 # Check whether --with-librpathy-prefix or --without-librpathy-prefix was given.
3486 if test "${with_librpathy_prefix+set}" = set; then
3487 withval="$with_librpathy_prefix"
3489 if test "X$withval" = "Xno"; then
3490 use_additional=no
3491 else
3492 if test "X$withval" = "X"; then
3494 acl_save_prefix="$prefix"
3495 prefix="$acl_final_prefix"
3496 acl_save_exec_prefix="$exec_prefix"
3497 exec_prefix="$acl_final_exec_prefix"
3499 eval additional_includedir=\"$includedir\"
3500 eval additional_libdir=\"$libdir\"
3502 exec_prefix="$acl_save_exec_prefix"
3503 prefix="$acl_save_prefix"
3505 else
3506 additional_includedir="$withval/include"
3507 additional_libdir="$withval/lib"
3512 LIBRPATHY=
3513 LTLIBRPATHY=
3514 INCRPATHY=
3515 rpathdirs=
3516 ltrpathdirs=
3517 names_already_handled=
3518 names_next_round='rpathy rpathx'
3519 while test -n "$names_next_round"; do
3520 names_this_round="$names_next_round"
3521 names_next_round=
3522 for name in $names_this_round; do
3523 already_handled=
3524 for n in $names_already_handled; do
3525 if test "$n" = "$name"; then
3526 already_handled=yes
3527 break
3529 done
3530 if test -z "$already_handled"; then
3531 names_already_handled="$names_already_handled $name"
3532 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3533 eval value=\"\$HAVE_LIB$uppername\"
3534 if test -n "$value"; then
3535 if test "$value" = yes; then
3536 eval value=\"\$LIB$uppername\"
3537 test -z "$value" || LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$value"
3538 eval value=\"\$LTLIB$uppername\"
3539 test -z "$value" || LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }$value"
3540 else
3543 else
3544 found_dir=
3545 found_la=
3546 found_so=
3547 found_a=
3548 if test $use_additional = yes; then
3549 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3550 found_dir="$additional_libdir"
3551 found_so="$additional_libdir/lib$name.$shlibext"
3552 if test -f "$additional_libdir/lib$name.la"; then
3553 found_la="$additional_libdir/lib$name.la"
3555 else
3556 if test -f "$additional_libdir/lib$name.$libext"; then
3557 found_dir="$additional_libdir"
3558 found_a="$additional_libdir/lib$name.$libext"
3559 if test -f "$additional_libdir/lib$name.la"; then
3560 found_la="$additional_libdir/lib$name.la"
3565 if test "X$found_dir" = "X"; then
3566 for x in $LDFLAGS $LTLIBRPATHY; do
3568 acl_save_prefix="$prefix"
3569 prefix="$acl_final_prefix"
3570 acl_save_exec_prefix="$exec_prefix"
3571 exec_prefix="$acl_final_exec_prefix"
3572 eval x=\"$x\"
3573 exec_prefix="$acl_save_exec_prefix"
3574 prefix="$acl_save_prefix"
3576 case "$x" in
3577 -L*)
3578 dir=`echo "X$x" | sed -e 's/^X-L//'`
3579 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
3580 found_dir="$dir"
3581 found_so="$dir/lib$name.$shlibext"
3582 if test -f "$dir/lib$name.la"; then
3583 found_la="$dir/lib$name.la"
3585 else
3586 if test -f "$dir/lib$name.$libext"; then
3587 found_dir="$dir"
3588 found_a="$dir/lib$name.$libext"
3589 if test -f "$dir/lib$name.la"; then
3590 found_la="$dir/lib$name.la"
3595 esac
3596 if test "X$found_dir" != "X"; then
3597 break
3599 done
3601 if test "X$found_dir" != "X"; then
3602 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$found_dir -l$name"
3603 if test "X$found_so" != "X"; then
3604 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
3605 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
3606 else
3607 haveit=
3608 for x in $ltrpathdirs; do
3609 if test "X$x" = "X$found_dir"; then
3610 haveit=yes
3611 break
3613 done
3614 if test -z "$haveit"; then
3615 ltrpathdirs="$ltrpathdirs $found_dir"
3617 if test "$hardcode_direct" = yes; then
3618 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
3619 else
3620 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
3621 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
3622 haveit=
3623 for x in $rpathdirs; do
3624 if test "X$x" = "X$found_dir"; then
3625 haveit=yes
3626 break
3628 done
3629 if test -z "$haveit"; then
3630 rpathdirs="$rpathdirs $found_dir"
3632 else
3633 haveit=
3634 for x in $LDFLAGS $LIBRPATHY; do
3636 acl_save_prefix="$prefix"
3637 prefix="$acl_final_prefix"
3638 acl_save_exec_prefix="$exec_prefix"
3639 exec_prefix="$acl_final_exec_prefix"
3640 eval x=\"$x\"
3641 exec_prefix="$acl_save_exec_prefix"
3642 prefix="$acl_save_prefix"
3644 if test "X$x" = "X-L$found_dir"; then
3645 haveit=yes
3646 break
3648 done
3649 if test -z "$haveit"; then
3650 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir"
3652 if test "$hardcode_minus_L" != no; then
3653 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_so"
3654 else
3655 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-l$name"
3660 else
3661 if test "X$found_a" != "X"; then
3662 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$found_a"
3663 else
3664 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$found_dir -l$name"
3667 additional_includedir=
3668 case "$found_dir" in
3669 */lib | */lib/)
3670 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
3671 additional_includedir="$basedir/include"
3673 esac
3674 if test "X$additional_includedir" != "X"; then
3675 if test "X$additional_includedir" != "X/usr/include"; then
3676 haveit=
3677 if test "X$additional_includedir" = "X/usr/local/include"; then
3678 if test -n "$GCC"; then
3679 case $host_os in
3680 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3681 esac
3684 if test -z "$haveit"; then
3685 for x in $CPPFLAGS $INCRPATHY; do
3687 acl_save_prefix="$prefix"
3688 prefix="$acl_final_prefix"
3689 acl_save_exec_prefix="$exec_prefix"
3690 exec_prefix="$acl_final_exec_prefix"
3691 eval x=\"$x\"
3692 exec_prefix="$acl_save_exec_prefix"
3693 prefix="$acl_save_prefix"
3695 if test "X$x" = "X-I$additional_includedir"; then
3696 haveit=yes
3697 break
3699 done
3700 if test -z "$haveit"; then
3701 if test -d "$additional_includedir"; then
3702 INCRPATHY="${INCRPATHY}${INCRPATHY:+ }-I$additional_includedir"
3708 if test -n "$found_la"; then
3709 save_libdir="$libdir"
3710 case "$found_la" in
3711 */* | *\\*) . "$found_la" ;;
3712 *) . "./$found_la" ;;
3713 esac
3714 libdir="$save_libdir"
3715 for dep in $dependency_libs; do
3716 case "$dep" in
3717 -L*)
3718 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
3719 if test "X$additional_libdir" != "X/usr/lib"; then
3720 haveit=
3721 if test "X$additional_libdir" = "X/usr/local/lib"; then
3722 if test -n "$GCC"; then
3723 case $host_os in
3724 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
3725 esac
3728 if test -z "$haveit"; then
3729 haveit=
3730 for x in $LDFLAGS $LIBRPATHY; do
3732 acl_save_prefix="$prefix"
3733 prefix="$acl_final_prefix"
3734 acl_save_exec_prefix="$exec_prefix"
3735 exec_prefix="$acl_final_exec_prefix"
3736 eval x=\"$x\"
3737 exec_prefix="$acl_save_exec_prefix"
3738 prefix="$acl_save_prefix"
3740 if test "X$x" = "X-L$additional_libdir"; then
3741 haveit=yes
3742 break
3744 done
3745 if test -z "$haveit"; then
3746 if test -d "$additional_libdir"; then
3747 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-L$additional_libdir"
3750 haveit=
3751 for x in $LDFLAGS $LTLIBRPATHY; do
3753 acl_save_prefix="$prefix"
3754 prefix="$acl_final_prefix"
3755 acl_save_exec_prefix="$exec_prefix"
3756 exec_prefix="$acl_final_exec_prefix"
3757 eval x=\"$x\"
3758 exec_prefix="$acl_save_exec_prefix"
3759 prefix="$acl_save_prefix"
3761 if test "X$x" = "X-L$additional_libdir"; then
3762 haveit=yes
3763 break
3765 done
3766 if test -z "$haveit"; then
3767 if test -d "$additional_libdir"; then
3768 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-L$additional_libdir"
3774 -R*)
3775 dir=`echo "X$dep" | sed -e 's/^X-R//'`
3776 if test "$enable_rpath" != no; then
3777 haveit=
3778 for x in $rpathdirs; do
3779 if test "X$x" = "X$dir"; then
3780 haveit=yes
3781 break
3783 done
3784 if test -z "$haveit"; then
3785 rpathdirs="$rpathdirs $dir"
3787 haveit=
3788 for x in $ltrpathdirs; do
3789 if test "X$x" = "X$dir"; then
3790 haveit=yes
3791 break
3793 done
3794 if test -z "$haveit"; then
3795 ltrpathdirs="$ltrpathdirs $dir"
3799 -l*)
3800 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
3802 *.la)
3803 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
3806 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$dep"
3807 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }$dep"
3809 esac
3810 done
3812 else
3813 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }-l$name"
3814 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-l$name"
3818 done
3819 done
3820 if test "X$rpathdirs" != "X"; then
3821 if test -n "$hardcode_libdir_separator"; then
3822 alldirs=
3823 for found_dir in $rpathdirs; do
3824 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
3825 done
3826 acl_save_libdir="$libdir"
3827 libdir="$alldirs"
3828 eval flag=\"$hardcode_libdir_flag_spec\"
3829 libdir="$acl_save_libdir"
3830 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$flag"
3831 else
3832 for found_dir in $rpathdirs; do
3833 acl_save_libdir="$libdir"
3834 libdir="$found_dir"
3835 eval flag=\"$hardcode_libdir_flag_spec\"
3836 libdir="$acl_save_libdir"
3837 LIBRPATHY="${LIBRPATHY}${LIBRPATHY:+ }$flag"
3838 done
3841 if test "X$ltrpathdirs" != "X"; then
3842 for found_dir in $ltrpathdirs; do
3843 LTLIBRPATHY="${LTLIBRPATHY}${LTLIBRPATHY:+ }-R$found_dir"
3844 done
3847 ac_cv_librpathy_libs="$LIBRPATHY"
3848 ac_cv_librpathy_ltlibs="$LTLIBRPATHY"
3849 ac_cv_librpathy_cppflags="$INCRPATHY"
3852 echo "$as_me:$LINENO: result: $ac_cv_librpathy_libs" >&5
3853 echo "${ECHO_T}$ac_cv_librpathy_libs" >&6
3854 LIBRPATHY="$ac_cv_librpathy_libs"
3855 LTLIBRPATHY="$ac_cv_librpathy_ltlibs"
3856 INCRPATHY="$ac_cv_librpathy_cppflags"
3858 for element in $INCRPATHY; do
3859 haveit=
3860 for x in $CPPFLAGS; do
3862 acl_save_prefix="$prefix"
3863 prefix="$acl_final_prefix"
3864 acl_save_exec_prefix="$exec_prefix"
3865 exec_prefix="$acl_final_exec_prefix"
3866 eval x=\"$x\"
3867 exec_prefix="$acl_save_exec_prefix"
3868 prefix="$acl_save_prefix"
3870 if test "X$x" = "X$element"; then
3871 haveit=yes
3872 break
3874 done
3875 if test -z "$haveit"; then
3876 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
3878 done
3882 HAVE_LIBRPATHY=yes
3891 echo "$as_me:$LINENO: checking how to link with librpathz" >&5
3892 echo $ECHO_N "checking how to link with librpathz... $ECHO_C" >&6
3893 if test "${ac_cv_librpathz_libs+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 else
3899 use_additional=yes
3901 acl_save_prefix="$prefix"
3902 prefix="$acl_final_prefix"
3903 acl_save_exec_prefix="$exec_prefix"
3904 exec_prefix="$acl_final_exec_prefix"
3906 eval additional_includedir=\"$includedir\"
3907 eval additional_libdir=\"$libdir\"
3909 exec_prefix="$acl_save_exec_prefix"
3910 prefix="$acl_save_prefix"
3913 # Check whether --with-librpathz-prefix or --without-librpathz-prefix was given.
3914 if test "${with_librpathz_prefix+set}" = set; then
3915 withval="$with_librpathz_prefix"
3917 if test "X$withval" = "Xno"; then
3918 use_additional=no
3919 else
3920 if test "X$withval" = "X"; then
3922 acl_save_prefix="$prefix"
3923 prefix="$acl_final_prefix"
3924 acl_save_exec_prefix="$exec_prefix"
3925 exec_prefix="$acl_final_exec_prefix"
3927 eval additional_includedir=\"$includedir\"
3928 eval additional_libdir=\"$libdir\"
3930 exec_prefix="$acl_save_exec_prefix"
3931 prefix="$acl_save_prefix"
3933 else
3934 additional_includedir="$withval/include"
3935 additional_libdir="$withval/lib"
3940 LIBRPATHZ=
3941 LTLIBRPATHZ=
3942 INCRPATHZ=
3943 rpathdirs=
3944 ltrpathdirs=
3945 names_already_handled=
3946 names_next_round='rpathz rpathx rpathy'
3947 while test -n "$names_next_round"; do
3948 names_this_round="$names_next_round"
3949 names_next_round=
3950 for name in $names_this_round; do
3951 already_handled=
3952 for n in $names_already_handled; do
3953 if test "$n" = "$name"; then
3954 already_handled=yes
3955 break
3957 done
3958 if test -z "$already_handled"; then
3959 names_already_handled="$names_already_handled $name"
3960 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
3961 eval value=\"\$HAVE_LIB$uppername\"
3962 if test -n "$value"; then
3963 if test "$value" = yes; then
3964 eval value=\"\$LIB$uppername\"
3965 test -z "$value" || LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$value"
3966 eval value=\"\$LTLIB$uppername\"
3967 test -z "$value" || LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }$value"
3968 else
3971 else
3972 found_dir=
3973 found_la=
3974 found_so=
3975 found_a=
3976 if test $use_additional = yes; then
3977 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
3978 found_dir="$additional_libdir"
3979 found_so="$additional_libdir/lib$name.$shlibext"
3980 if test -f "$additional_libdir/lib$name.la"; then
3981 found_la="$additional_libdir/lib$name.la"
3983 else
3984 if test -f "$additional_libdir/lib$name.$libext"; then
3985 found_dir="$additional_libdir"
3986 found_a="$additional_libdir/lib$name.$libext"
3987 if test -f "$additional_libdir/lib$name.la"; then
3988 found_la="$additional_libdir/lib$name.la"
3993 if test "X$found_dir" = "X"; then
3994 for x in $LDFLAGS $LTLIBRPATHZ; do
3996 acl_save_prefix="$prefix"
3997 prefix="$acl_final_prefix"
3998 acl_save_exec_prefix="$exec_prefix"
3999 exec_prefix="$acl_final_exec_prefix"
4000 eval x=\"$x\"
4001 exec_prefix="$acl_save_exec_prefix"
4002 prefix="$acl_save_prefix"
4004 case "$x" in
4005 -L*)
4006 dir=`echo "X$x" | sed -e 's/^X-L//'`
4007 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
4008 found_dir="$dir"
4009 found_so="$dir/lib$name.$shlibext"
4010 if test -f "$dir/lib$name.la"; then
4011 found_la="$dir/lib$name.la"
4013 else
4014 if test -f "$dir/lib$name.$libext"; then
4015 found_dir="$dir"
4016 found_a="$dir/lib$name.$libext"
4017 if test -f "$dir/lib$name.la"; then
4018 found_la="$dir/lib$name.la"
4023 esac
4024 if test "X$found_dir" != "X"; then
4025 break
4027 done
4029 if test "X$found_dir" != "X"; then
4030 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-L$found_dir -l$name"
4031 if test "X$found_so" != "X"; then
4032 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
4033 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so"
4034 else
4035 haveit=
4036 for x in $ltrpathdirs; do
4037 if test "X$x" = "X$found_dir"; then
4038 haveit=yes
4039 break
4041 done
4042 if test -z "$haveit"; then
4043 ltrpathdirs="$ltrpathdirs $found_dir"
4045 if test "$hardcode_direct" = yes; then
4046 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so"
4047 else
4048 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
4049 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so"
4050 haveit=
4051 for x in $rpathdirs; do
4052 if test "X$x" = "X$found_dir"; then
4053 haveit=yes
4054 break
4056 done
4057 if test -z "$haveit"; then
4058 rpathdirs="$rpathdirs $found_dir"
4060 else
4061 haveit=
4062 for x in $LDFLAGS $LIBRPATHZ; do
4064 acl_save_prefix="$prefix"
4065 prefix="$acl_final_prefix"
4066 acl_save_exec_prefix="$exec_prefix"
4067 exec_prefix="$acl_final_exec_prefix"
4068 eval x=\"$x\"
4069 exec_prefix="$acl_save_exec_prefix"
4070 prefix="$acl_save_prefix"
4072 if test "X$x" = "X-L$found_dir"; then
4073 haveit=yes
4074 break
4076 done
4077 if test -z "$haveit"; then
4078 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-L$found_dir"
4080 if test "$hardcode_minus_L" != no; then
4081 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_so"
4082 else
4083 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-l$name"
4088 else
4089 if test "X$found_a" != "X"; then
4090 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$found_a"
4091 else
4092 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-L$found_dir -l$name"
4095 additional_includedir=
4096 case "$found_dir" in
4097 */lib | */lib/)
4098 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
4099 additional_includedir="$basedir/include"
4101 esac
4102 if test "X$additional_includedir" != "X"; then
4103 if test "X$additional_includedir" != "X/usr/include"; then
4104 haveit=
4105 if test "X$additional_includedir" = "X/usr/local/include"; then
4106 if test -n "$GCC"; then
4107 case $host_os in
4108 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4109 esac
4112 if test -z "$haveit"; then
4113 for x in $CPPFLAGS $INCRPATHZ; do
4115 acl_save_prefix="$prefix"
4116 prefix="$acl_final_prefix"
4117 acl_save_exec_prefix="$exec_prefix"
4118 exec_prefix="$acl_final_exec_prefix"
4119 eval x=\"$x\"
4120 exec_prefix="$acl_save_exec_prefix"
4121 prefix="$acl_save_prefix"
4123 if test "X$x" = "X-I$additional_includedir"; then
4124 haveit=yes
4125 break
4127 done
4128 if test -z "$haveit"; then
4129 if test -d "$additional_includedir"; then
4130 INCRPATHZ="${INCRPATHZ}${INCRPATHZ:+ }-I$additional_includedir"
4136 if test -n "$found_la"; then
4137 save_libdir="$libdir"
4138 case "$found_la" in
4139 */* | *\\*) . "$found_la" ;;
4140 *) . "./$found_la" ;;
4141 esac
4142 libdir="$save_libdir"
4143 for dep in $dependency_libs; do
4144 case "$dep" in
4145 -L*)
4146 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
4147 if test "X$additional_libdir" != "X/usr/lib"; then
4148 haveit=
4149 if test "X$additional_libdir" = "X/usr/local/lib"; then
4150 if test -n "$GCC"; then
4151 case $host_os in
4152 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
4153 esac
4156 if test -z "$haveit"; then
4157 haveit=
4158 for x in $LDFLAGS $LIBRPATHZ; do
4160 acl_save_prefix="$prefix"
4161 prefix="$acl_final_prefix"
4162 acl_save_exec_prefix="$exec_prefix"
4163 exec_prefix="$acl_final_exec_prefix"
4164 eval x=\"$x\"
4165 exec_prefix="$acl_save_exec_prefix"
4166 prefix="$acl_save_prefix"
4168 if test "X$x" = "X-L$additional_libdir"; then
4169 haveit=yes
4170 break
4172 done
4173 if test -z "$haveit"; then
4174 if test -d "$additional_libdir"; then
4175 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-L$additional_libdir"
4178 haveit=
4179 for x in $LDFLAGS $LTLIBRPATHZ; do
4181 acl_save_prefix="$prefix"
4182 prefix="$acl_final_prefix"
4183 acl_save_exec_prefix="$exec_prefix"
4184 exec_prefix="$acl_final_exec_prefix"
4185 eval x=\"$x\"
4186 exec_prefix="$acl_save_exec_prefix"
4187 prefix="$acl_save_prefix"
4189 if test "X$x" = "X-L$additional_libdir"; then
4190 haveit=yes
4191 break
4193 done
4194 if test -z "$haveit"; then
4195 if test -d "$additional_libdir"; then
4196 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-L$additional_libdir"
4202 -R*)
4203 dir=`echo "X$dep" | sed -e 's/^X-R//'`
4204 if test "$enable_rpath" != no; then
4205 haveit=
4206 for x in $rpathdirs; do
4207 if test "X$x" = "X$dir"; then
4208 haveit=yes
4209 break
4211 done
4212 if test -z "$haveit"; then
4213 rpathdirs="$rpathdirs $dir"
4215 haveit=
4216 for x in $ltrpathdirs; do
4217 if test "X$x" = "X$dir"; then
4218 haveit=yes
4219 break
4221 done
4222 if test -z "$haveit"; then
4223 ltrpathdirs="$ltrpathdirs $dir"
4227 -l*)
4228 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
4230 *.la)
4231 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
4234 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$dep"
4235 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }$dep"
4237 esac
4238 done
4240 else
4241 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }-l$name"
4242 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-l$name"
4246 done
4247 done
4248 if test "X$rpathdirs" != "X"; then
4249 if test -n "$hardcode_libdir_separator"; then
4250 alldirs=
4251 for found_dir in $rpathdirs; do
4252 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
4253 done
4254 acl_save_libdir="$libdir"
4255 libdir="$alldirs"
4256 eval flag=\"$hardcode_libdir_flag_spec\"
4257 libdir="$acl_save_libdir"
4258 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$flag"
4259 else
4260 for found_dir in $rpathdirs; do
4261 acl_save_libdir="$libdir"
4262 libdir="$found_dir"
4263 eval flag=\"$hardcode_libdir_flag_spec\"
4264 libdir="$acl_save_libdir"
4265 LIBRPATHZ="${LIBRPATHZ}${LIBRPATHZ:+ }$flag"
4266 done
4269 if test "X$ltrpathdirs" != "X"; then
4270 for found_dir in $ltrpathdirs; do
4271 LTLIBRPATHZ="${LTLIBRPATHZ}${LTLIBRPATHZ:+ }-R$found_dir"
4272 done
4275 ac_cv_librpathz_libs="$LIBRPATHZ"
4276 ac_cv_librpathz_ltlibs="$LTLIBRPATHZ"
4277 ac_cv_librpathz_cppflags="$INCRPATHZ"
4280 echo "$as_me:$LINENO: result: $ac_cv_librpathz_libs" >&5
4281 echo "${ECHO_T}$ac_cv_librpathz_libs" >&6
4282 LIBRPATHZ="$ac_cv_librpathz_libs"
4283 LTLIBRPATHZ="$ac_cv_librpathz_ltlibs"
4284 INCRPATHZ="$ac_cv_librpathz_cppflags"
4286 for element in $INCRPATHZ; do
4287 haveit=
4288 for x in $CPPFLAGS; do
4290 acl_save_prefix="$prefix"
4291 prefix="$acl_final_prefix"
4292 acl_save_exec_prefix="$exec_prefix"
4293 exec_prefix="$acl_final_exec_prefix"
4294 eval x=\"$x\"
4295 exec_prefix="$acl_save_exec_prefix"
4296 prefix="$acl_save_prefix"
4298 if test "X$x" = "X$element"; then
4299 haveit=yes
4300 break
4302 done
4303 if test -z "$haveit"; then
4304 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
4306 done
4310 HAVE_LIBRPATHZ=yes
4314 LIBRPATHZ="$LIBRPATHZ $LIBRPATHY $LIBRPATHX"
4316 ac_config_files="$ac_config_files Makefile"
4317 cat >confcache <<\_ACEOF
4318 # This file is a shell script that caches the results of configure
4319 # tests run on this system so they can be shared between configure
4320 # scripts and configure runs, see configure's option --config-cache.
4321 # It is not useful on other systems. If it contains results you don't
4322 # want to keep, you may remove or edit it.
4324 # config.status only pays attention to the cache file if you give it
4325 # the --recheck option to rerun configure.
4327 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4328 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4329 # following values.
4331 _ACEOF
4333 # The following way of writing the cache mishandles newlines in values,
4334 # but we know of no workaround that is simple, portable, and efficient.
4335 # So, don't put newlines in cache variables' values.
4336 # Ultrix sh set writes to stderr and can't be redirected directly,
4337 # and sets the high bit in the cache file unless we assign to the vars.
4339 (set) 2>&1 |
4340 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4341 *ac_space=\ *)
4342 # `set' does not quote correctly, so add quotes (double-quote
4343 # substitution turns \\\\ into \\, and sed turns \\ into \).
4344 sed -n \
4345 "s/'/'\\\\''/g;
4346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4349 # `set' quotes correctly as required by POSIX, so do not add quotes.
4350 sed -n \
4351 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4353 esac;
4355 sed '
4356 t clear
4357 : clear
4358 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4359 t end
4360 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4361 : end' >>confcache
4362 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4363 if test -w $cache_file; then
4364 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4365 cat confcache >$cache_file
4366 else
4367 echo "not updating unwritable cache $cache_file"
4370 rm -f confcache
4372 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4373 # Let make expand exec_prefix.
4374 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4376 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4377 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4378 # trailing colons and then remove the whole line if VPATH becomes empty
4379 # (actually we leave an empty line to preserve line numbers).
4380 if test "x$srcdir" = x.; then
4381 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4382 s/:*\$(srcdir):*/:/;
4383 s/:*\${srcdir}:*/:/;
4384 s/:*@srcdir@:*/:/;
4385 s/^\([^=]*=[ ]*\):*/\1/;
4386 s/:*$//;
4387 s/^[^=]*=[ ]*$//;
4391 # Transform confdefs.h into DEFS.
4392 # Protect against shell expansion while executing Makefile rules.
4393 # Protect against Makefile macro expansion.
4395 # If the first sed substitution is executed (which looks for macros that
4396 # take arguments), then we branch to the quote section. Otherwise,
4397 # look for a macro that doesn't take arguments.
4398 cat >confdef2opt.sed <<\_ACEOF
4399 t clear
4400 : clear
4401 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4402 t quote
4403 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4404 t quote
4406 : quote
4407 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4408 s,\[,\\&,g
4409 s,\],\\&,g
4410 s,\$,$$,g
4412 _ACEOF
4413 # We use echo to avoid assuming a particular line-breaking character.
4414 # The extra dot is to prevent the shell from consuming trailing
4415 # line-breaks from the sub-command output. A line-break within
4416 # single-quotes doesn't work because, if this script is created in a
4417 # platform that uses two characters for line-breaks (e.g., DOS), tr
4418 # would break.
4419 ac_LF_and_DOT=`echo; echo .`
4420 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4421 rm -f confdef2opt.sed
4424 ac_libobjs=
4425 ac_ltlibobjs=
4426 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4427 # 1. Remove the extension, and $U if already installed.
4428 ac_i=`echo "$ac_i" |
4429 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4430 # 2. Add them.
4431 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4432 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4433 done
4434 LIBOBJS=$ac_libobjs
4436 LTLIBOBJS=$ac_ltlibobjs
4439 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4440 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4441 Usually this means the macro was only invoked conditionally." >&5
4442 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4443 Usually this means the macro was only invoked conditionally." >&2;}
4444 { (exit 1); exit 1; }; }
4446 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4447 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4448 Usually this means the macro was only invoked conditionally." >&5
4449 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4450 Usually this means the macro was only invoked conditionally." >&2;}
4451 { (exit 1); exit 1; }; }
4454 : ${CONFIG_STATUS=./config.status}
4455 ac_clean_files_save=$ac_clean_files
4456 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4457 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4458 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4459 cat >$CONFIG_STATUS <<_ACEOF
4460 #! $SHELL
4461 # Generated by $as_me.
4462 # Run this file to recreate the current configuration.
4463 # Compiler output produced by configure, useful for debugging
4464 # configure, is in config.log if it exists.
4466 debug=false
4467 ac_cs_recheck=false
4468 ac_cs_silent=false
4469 SHELL=\${CONFIG_SHELL-$SHELL}
4470 _ACEOF
4472 cat >>$CONFIG_STATUS <<\_ACEOF
4473 ## --------------------- ##
4474 ## M4sh Initialization. ##
4475 ## --------------------- ##
4477 # Be Bourne compatible
4478 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4479 emulate sh
4480 NULLCMD=:
4481 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4482 # is contrary to our usage. Disable this feature.
4483 alias -g '${1+"$@"}'='"$@"'
4484 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4485 set -o posix
4487 DUALCASE=1; export DUALCASE # for MKS sh
4489 # Support unset when possible.
4490 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4491 as_unset=unset
4492 else
4493 as_unset=false
4497 # Work around bugs in pre-3.0 UWIN ksh.
4498 $as_unset ENV MAIL MAILPATH
4499 PS1='$ '
4500 PS2='> '
4501 PS4='+ '
4503 # NLS nuisances.
4504 for as_var in \
4505 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4506 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4507 LC_TELEPHONE LC_TIME
4509 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4510 eval $as_var=C; export $as_var
4511 else
4512 $as_unset $as_var
4514 done
4516 # Required to use basename.
4517 if expr a : '\(a\)' >/dev/null 2>&1; then
4518 as_expr=expr
4519 else
4520 as_expr=false
4523 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4524 as_basename=basename
4525 else
4526 as_basename=false
4530 # Name of the executable.
4531 as_me=`$as_basename "$0" ||
4532 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4533 X"$0" : 'X\(//\)$' \| \
4534 X"$0" : 'X\(/\)$' \| \
4535 . : '\(.\)' 2>/dev/null ||
4536 echo X/"$0" |
4537 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4538 /^X\/\(\/\/\)$/{ s//\1/; q; }
4539 /^X\/\(\/\).*/{ s//\1/; q; }
4540 s/.*/./; q'`
4543 # PATH needs CR, and LINENO needs CR and PATH.
4544 # Avoid depending upon Character Ranges.
4545 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4546 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4547 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4548 as_cr_digits='0123456789'
4549 as_cr_alnum=$as_cr_Letters$as_cr_digits
4551 # The user is always right.
4552 if test "${PATH_SEPARATOR+set}" != set; then
4553 echo "#! /bin/sh" >conf$$.sh
4554 echo "exit 0" >>conf$$.sh
4555 chmod +x conf$$.sh
4556 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4557 PATH_SEPARATOR=';'
4558 else
4559 PATH_SEPARATOR=:
4561 rm -f conf$$.sh
4565 as_lineno_1=$LINENO
4566 as_lineno_2=$LINENO
4567 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4568 test "x$as_lineno_1" != "x$as_lineno_2" &&
4569 test "x$as_lineno_3" = "x$as_lineno_2" || {
4570 # Find who we are. Look in the path if we contain no path at all
4571 # relative or not.
4572 case $0 in
4573 *[\\/]* ) as_myself=$0 ;;
4574 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 for as_dir in $PATH
4577 IFS=$as_save_IFS
4578 test -z "$as_dir" && as_dir=.
4579 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4580 done
4583 esac
4584 # We did not find ourselves, most probably we were run as `sh COMMAND'
4585 # in which case we are not to be found in the path.
4586 if test "x$as_myself" = x; then
4587 as_myself=$0
4589 if test ! -f "$as_myself"; then
4590 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4591 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4592 { (exit 1); exit 1; }; }
4594 case $CONFIG_SHELL in
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4599 IFS=$as_save_IFS
4600 test -z "$as_dir" && as_dir=.
4601 for as_base in sh bash ksh sh5; do
4602 case $as_dir in
4604 if ("$as_dir/$as_base" -c '
4605 as_lineno_1=$LINENO
4606 as_lineno_2=$LINENO
4607 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4608 test "x$as_lineno_1" != "x$as_lineno_2" &&
4609 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4610 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4611 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4612 CONFIG_SHELL=$as_dir/$as_base
4613 export CONFIG_SHELL
4614 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4615 fi;;
4616 esac
4617 done
4618 done
4620 esac
4622 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4623 # uniformly replaced by the line number. The first 'sed' inserts a
4624 # line-number line before each line; the second 'sed' does the real
4625 # work. The second script uses 'N' to pair each line-number line
4626 # with the numbered line, and appends trailing '-' during
4627 # substitution so that $LINENO is not a special case at line end.
4628 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4629 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4630 sed '=' <$as_myself |
4631 sed '
4633 s,$,-,
4634 : loop
4635 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4636 t loop
4637 s,-$,,
4638 s,^['$as_cr_digits']*\n,,
4639 ' >$as_me.lineno &&
4640 chmod +x $as_me.lineno ||
4641 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4642 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4643 { (exit 1); exit 1; }; }
4645 # Don't try to exec as it changes $[0], causing all sort of problems
4646 # (the dirname of $[0] is not the place where we might find the
4647 # original and so on. Autoconf is especially sensible to this).
4648 . ./$as_me.lineno
4649 # Exit status is that of the last command.
4650 exit
4654 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4655 *c*,-n*) ECHO_N= ECHO_C='
4656 ' ECHO_T=' ' ;;
4657 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4658 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4659 esac
4661 if expr a : '\(a\)' >/dev/null 2>&1; then
4662 as_expr=expr
4663 else
4664 as_expr=false
4667 rm -f conf$$ conf$$.exe conf$$.file
4668 echo >conf$$.file
4669 if ln -s conf$$.file conf$$ 2>/dev/null; then
4670 # We could just check for DJGPP; but this test a) works b) is more generic
4671 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4672 if test -f conf$$.exe; then
4673 # Don't use ln at all; we don't have any links
4674 as_ln_s='cp -p'
4675 else
4676 as_ln_s='ln -s'
4678 elif ln conf$$.file conf$$ 2>/dev/null; then
4679 as_ln_s=ln
4680 else
4681 as_ln_s='cp -p'
4683 rm -f conf$$ conf$$.exe conf$$.file
4685 if mkdir -p . 2>/dev/null; then
4686 as_mkdir_p=:
4687 else
4688 test -d ./-p && rmdir ./-p
4689 as_mkdir_p=false
4692 as_executable_p="test -f"
4694 # Sed expression to map a string onto a valid CPP name.
4695 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4697 # Sed expression to map a string onto a valid variable name.
4698 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4701 # IFS
4702 # We need space, tab and new line, in precisely that order.
4703 as_nl='
4705 IFS=" $as_nl"
4707 # CDPATH.
4708 $as_unset CDPATH
4710 exec 6>&1
4712 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4713 # report actual input values of CONFIG_FILES etc. instead of their
4714 # values after options handling. Logging --version etc. is OK.
4715 exec 5>>config.log
4717 echo
4718 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4719 ## Running $as_me. ##
4720 _ASBOX
4721 } >&5
4722 cat >&5 <<_CSEOF
4724 This file was extended by $as_me, which was
4725 generated by GNU Autoconf 2.59. Invocation command line was
4727 CONFIG_FILES = $CONFIG_FILES
4728 CONFIG_HEADERS = $CONFIG_HEADERS
4729 CONFIG_LINKS = $CONFIG_LINKS
4730 CONFIG_COMMANDS = $CONFIG_COMMANDS
4731 $ $0 $@
4733 _CSEOF
4734 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4735 echo >&5
4736 _ACEOF
4738 # Files that config.status was made for.
4739 if test -n "$ac_config_files"; then
4740 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4743 if test -n "$ac_config_headers"; then
4744 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4747 if test -n "$ac_config_links"; then
4748 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4751 if test -n "$ac_config_commands"; then
4752 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4755 cat >>$CONFIG_STATUS <<\_ACEOF
4757 ac_cs_usage="\
4758 \`$as_me' instantiates files from templates according to the
4759 current configuration.
4761 Usage: $0 [OPTIONS] [FILE]...
4763 -h, --help print this help, then exit
4764 -V, --version print version number, then exit
4765 -q, --quiet do not print progress messages
4766 -d, --debug don't remove temporary files
4767 --recheck update $as_me by reconfiguring in the same conditions
4768 --file=FILE[:TEMPLATE]
4769 instantiate the configuration file FILE
4771 Configuration files:
4772 $config_files
4774 Configuration commands:
4775 $config_commands
4777 Report bugs to <bug-autoconf@gnu.org>."
4778 _ACEOF
4780 cat >>$CONFIG_STATUS <<_ACEOF
4781 ac_cs_version="\\
4782 config.status
4783 configured by $0, generated by GNU Autoconf 2.59,
4784 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4786 Copyright (C) 2003 Free Software Foundation, Inc.
4787 This config.status script is free software; the Free Software Foundation
4788 gives unlimited permission to copy, distribute and modify it."
4789 srcdir=$srcdir
4790 INSTALL="$INSTALL"
4791 _ACEOF
4793 cat >>$CONFIG_STATUS <<\_ACEOF
4794 # If no file are specified by the user, then we need to provide default
4795 # value. By we need to know if files were specified by the user.
4796 ac_need_defaults=:
4797 while test $# != 0
4799 case $1 in
4800 --*=*)
4801 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4802 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4803 ac_shift=:
4806 ac_option=$1
4807 ac_optarg=$2
4808 ac_shift=shift
4810 *) # This is not an option, so the user has probably given explicit
4811 # arguments.
4812 ac_option=$1
4813 ac_need_defaults=false;;
4814 esac
4816 case $ac_option in
4817 # Handling of the options.
4818 _ACEOF
4819 cat >>$CONFIG_STATUS <<\_ACEOF
4820 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4821 ac_cs_recheck=: ;;
4822 --version | --vers* | -V )
4823 echo "$ac_cs_version"; exit 0 ;;
4824 --he | --h)
4825 # Conflict between --help and --header
4826 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4827 Try \`$0 --help' for more information." >&5
4828 echo "$as_me: error: ambiguous option: $1
4829 Try \`$0 --help' for more information." >&2;}
4830 { (exit 1); exit 1; }; };;
4831 --help | --hel | -h )
4832 echo "$ac_cs_usage"; exit 0 ;;
4833 --debug | --d* | -d )
4834 debug=: ;;
4835 --file | --fil | --fi | --f )
4836 $ac_shift
4837 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4838 ac_need_defaults=false;;
4839 --header | --heade | --head | --hea )
4840 $ac_shift
4841 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4842 ac_need_defaults=false;;
4843 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4844 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4845 ac_cs_silent=: ;;
4847 # This is an error.
4848 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4849 Try \`$0 --help' for more information." >&5
4850 echo "$as_me: error: unrecognized option: $1
4851 Try \`$0 --help' for more information." >&2;}
4852 { (exit 1); exit 1; }; } ;;
4854 *) ac_config_targets="$ac_config_targets $1" ;;
4856 esac
4857 shift
4858 done
4860 ac_configure_extra_args=
4862 if $ac_cs_silent; then
4863 exec 6>/dev/null
4864 ac_configure_extra_args="$ac_configure_extra_args --silent"
4867 _ACEOF
4868 cat >>$CONFIG_STATUS <<_ACEOF
4869 if \$ac_cs_recheck; then
4870 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4871 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4874 _ACEOF
4876 cat >>$CONFIG_STATUS <<_ACEOF
4878 # INIT-COMMANDS section.
4881 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4883 _ACEOF
4887 cat >>$CONFIG_STATUS <<\_ACEOF
4888 for ac_config_target in $ac_config_targets
4890 case "$ac_config_target" in
4891 # Handling of arguments.
4892 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4893 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4894 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4895 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4896 { (exit 1); exit 1; }; };;
4897 esac
4898 done
4900 # If the user did not use the arguments to specify the items to instantiate,
4901 # then the envvar interface is used. Set only those that are not.
4902 # We use the long form for the default assignment because of an extremely
4903 # bizarre bug on SunOS 4.1.3.
4904 if $ac_need_defaults; then
4905 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4906 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4909 # Have a temporary directory for convenience. Make it in the build tree
4910 # simply because there is no reason to put it here, and in addition,
4911 # creating and moving files from /tmp can sometimes cause problems.
4912 # Create a temporary directory, and hook for its removal unless debugging.
4913 $debug ||
4915 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4916 trap '{ (exit 1); exit 1; }' 1 2 13 15
4919 # Create a (secure) tmp directory for tmp files.
4922 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4923 test -n "$tmp" && test -d "$tmp"
4924 } ||
4926 tmp=./confstat$$-$RANDOM
4927 (umask 077 && mkdir $tmp)
4928 } ||
4930 echo "$me: cannot create a temporary directory in ." >&2
4931 { (exit 1); exit 1; }
4934 _ACEOF
4936 cat >>$CONFIG_STATUS <<_ACEOF
4939 # CONFIG_FILES section.
4942 # No need to generate the scripts if there are no CONFIG_FILES.
4943 # This happens for instance when ./config.status config.h
4944 if test -n "\$CONFIG_FILES"; then
4945 # Protect against being on the right side of a sed subst in config.status.
4946 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4947 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4948 s,@SHELL@,$SHELL,;t t
4949 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4950 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4951 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4952 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4953 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4954 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4955 s,@exec_prefix@,$exec_prefix,;t t
4956 s,@prefix@,$prefix,;t t
4957 s,@program_transform_name@,$program_transform_name,;t t
4958 s,@bindir@,$bindir,;t t
4959 s,@sbindir@,$sbindir,;t t
4960 s,@libexecdir@,$libexecdir,;t t
4961 s,@datadir@,$datadir,;t t
4962 s,@sysconfdir@,$sysconfdir,;t t
4963 s,@sharedstatedir@,$sharedstatedir,;t t
4964 s,@localstatedir@,$localstatedir,;t t
4965 s,@libdir@,$libdir,;t t
4966 s,@includedir@,$includedir,;t t
4967 s,@oldincludedir@,$oldincludedir,;t t
4968 s,@infodir@,$infodir,;t t
4969 s,@mandir@,$mandir,;t t
4970 s,@build_alias@,$build_alias,;t t
4971 s,@host_alias@,$host_alias,;t t
4972 s,@target_alias@,$target_alias,;t t
4973 s,@DEFS@,$DEFS,;t t
4974 s,@ECHO_C@,$ECHO_C,;t t
4975 s,@ECHO_N@,$ECHO_N,;t t
4976 s,@ECHO_T@,$ECHO_T,;t t
4977 s,@LIBS@,$LIBS,;t t
4978 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4979 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4980 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4981 s,@CYGPATH_W@,$CYGPATH_W,;t t
4982 s,@PACKAGE@,$PACKAGE,;t t
4983 s,@VERSION@,$VERSION,;t t
4984 s,@ACLOCAL@,$ACLOCAL,;t t
4985 s,@AUTOCONF@,$AUTOCONF,;t t
4986 s,@AUTOMAKE@,$AUTOMAKE,;t t
4987 s,@AUTOHEADER@,$AUTOHEADER,;t t
4988 s,@MAKEINFO@,$MAKEINFO,;t t
4989 s,@install_sh@,$install_sh,;t t
4990 s,@STRIP@,$STRIP,;t t
4991 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4992 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4993 s,@mkdir_p@,$mkdir_p,;t t
4994 s,@AWK@,$AWK,;t t
4995 s,@SET_MAKE@,$SET_MAKE,;t t
4996 s,@am__leading_dot@,$am__leading_dot,;t t
4997 s,@AMTAR@,$AMTAR,;t t
4998 s,@am__tar@,$am__tar,;t t
4999 s,@am__untar@,$am__untar,;t t
5000 s,@CC@,$CC,;t t
5001 s,@CFLAGS@,$CFLAGS,;t t
5002 s,@LDFLAGS@,$LDFLAGS,;t t
5003 s,@CPPFLAGS@,$CPPFLAGS,;t t
5004 s,@ac_ct_CC@,$ac_ct_CC,;t t
5005 s,@EXEEXT@,$EXEEXT,;t t
5006 s,@OBJEXT@,$OBJEXT,;t t
5007 s,@DEPDIR@,$DEPDIR,;t t
5008 s,@am__include@,$am__include,;t t
5009 s,@am__quote@,$am__quote,;t t
5010 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5011 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5012 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5013 s,@CCDEPMODE@,$CCDEPMODE,;t t
5014 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5015 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5016 s,@build@,$build,;t t
5017 s,@build_cpu@,$build_cpu,;t t
5018 s,@build_vendor@,$build_vendor,;t t
5019 s,@build_os@,$build_os,;t t
5020 s,@host@,$host,;t t
5021 s,@host_cpu@,$host_cpu,;t t
5022 s,@host_vendor@,$host_vendor,;t t
5023 s,@host_os@,$host_os,;t t
5024 s,@LIBRPATHX@,$LIBRPATHX,;t t
5025 s,@LTLIBRPATHX@,$LTLIBRPATHX,;t t
5026 s,@LIBRPATHY@,$LIBRPATHY,;t t
5027 s,@LTLIBRPATHY@,$LTLIBRPATHY,;t t
5028 s,@LIBRPATHZ@,$LIBRPATHZ,;t t
5029 s,@LTLIBRPATHZ@,$LTLIBRPATHZ,;t t
5030 s,@global_top_auxdir@,$global_top_auxdir,;t t
5031 s,@LIBOBJS@,$LIBOBJS,;t t
5032 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5033 CEOF
5035 _ACEOF
5037 cat >>$CONFIG_STATUS <<\_ACEOF
5038 # Split the substitutions into bite-sized pieces for seds with
5039 # small command number limits, like on Digital OSF/1 and HP-UX.
5040 ac_max_sed_lines=48
5041 ac_sed_frag=1 # Number of current file.
5042 ac_beg=1 # First line for current file.
5043 ac_end=$ac_max_sed_lines # Line after last line for current file.
5044 ac_more_lines=:
5045 ac_sed_cmds=
5046 while $ac_more_lines; do
5047 if test $ac_beg -gt 1; then
5048 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5049 else
5050 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5052 if test ! -s $tmp/subs.frag; then
5053 ac_more_lines=false
5054 else
5055 # The purpose of the label and of the branching condition is to
5056 # speed up the sed processing (if there are no `@' at all, there
5057 # is no need to browse any of the substitutions).
5058 # These are the two extra sed commands mentioned above.
5059 (echo ':t
5060 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5061 if test -z "$ac_sed_cmds"; then
5062 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5063 else
5064 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5066 ac_sed_frag=`expr $ac_sed_frag + 1`
5067 ac_beg=$ac_end
5068 ac_end=`expr $ac_end + $ac_max_sed_lines`
5070 done
5071 if test -z "$ac_sed_cmds"; then
5072 ac_sed_cmds=cat
5074 fi # test -n "$CONFIG_FILES"
5076 _ACEOF
5077 cat >>$CONFIG_STATUS <<\_ACEOF
5078 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5079 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5080 case $ac_file in
5081 - | *:- | *:-:* ) # input from stdin
5082 cat >$tmp/stdin
5083 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5084 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5085 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5086 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5087 * ) ac_file_in=$ac_file.in ;;
5088 esac
5090 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5091 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5092 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5093 X"$ac_file" : 'X\(//\)[^/]' \| \
5094 X"$ac_file" : 'X\(//\)$' \| \
5095 X"$ac_file" : 'X\(/\)' \| \
5096 . : '\(.\)' 2>/dev/null ||
5097 echo X"$ac_file" |
5098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5099 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5100 /^X\(\/\/\)$/{ s//\1/; q; }
5101 /^X\(\/\).*/{ s//\1/; q; }
5102 s/.*/./; q'`
5103 { if $as_mkdir_p; then
5104 mkdir -p "$ac_dir"
5105 else
5106 as_dir="$ac_dir"
5107 as_dirs=
5108 while test ! -d "$as_dir"; do
5109 as_dirs="$as_dir $as_dirs"
5110 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5112 X"$as_dir" : 'X\(//\)[^/]' \| \
5113 X"$as_dir" : 'X\(//\)$' \| \
5114 X"$as_dir" : 'X\(/\)' \| \
5115 . : '\(.\)' 2>/dev/null ||
5116 echo X"$as_dir" |
5117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5118 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5119 /^X\(\/\/\)$/{ s//\1/; q; }
5120 /^X\(\/\).*/{ s//\1/; q; }
5121 s/.*/./; q'`
5122 done
5123 test ! -n "$as_dirs" || mkdir $as_dirs
5124 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5125 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5126 { (exit 1); exit 1; }; }; }
5128 ac_builddir=.
5130 if test "$ac_dir" != .; then
5131 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5132 # A "../" for each directory in $ac_dir_suffix.
5133 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5134 else
5135 ac_dir_suffix= ac_top_builddir=
5138 case $srcdir in
5139 .) # No --srcdir option. We are building in place.
5140 ac_srcdir=.
5141 if test -z "$ac_top_builddir"; then
5142 ac_top_srcdir=.
5143 else
5144 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5145 fi ;;
5146 [\\/]* | ?:[\\/]* ) # Absolute path.
5147 ac_srcdir=$srcdir$ac_dir_suffix;
5148 ac_top_srcdir=$srcdir ;;
5149 *) # Relative path.
5150 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5151 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5152 esac
5154 # Do not use `cd foo && pwd` to compute absolute paths, because
5155 # the directories may not exist.
5156 case `pwd` in
5157 .) ac_abs_builddir="$ac_dir";;
5159 case "$ac_dir" in
5160 .) ac_abs_builddir=`pwd`;;
5161 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5162 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5163 esac;;
5164 esac
5165 case $ac_abs_builddir in
5166 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5168 case ${ac_top_builddir}. in
5169 .) ac_abs_top_builddir=$ac_abs_builddir;;
5170 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5171 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5172 esac;;
5173 esac
5174 case $ac_abs_builddir in
5175 .) ac_abs_srcdir=$ac_srcdir;;
5177 case $ac_srcdir in
5178 .) ac_abs_srcdir=$ac_abs_builddir;;
5179 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5180 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5181 esac;;
5182 esac
5183 case $ac_abs_builddir in
5184 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5186 case $ac_top_srcdir in
5187 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5188 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5189 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5190 esac;;
5191 esac
5194 case $INSTALL in
5195 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5196 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5197 esac
5199 if test x"$ac_file" != x-; then
5200 { echo "$as_me:$LINENO: creating $ac_file" >&5
5201 echo "$as_me: creating $ac_file" >&6;}
5202 rm -f "$ac_file"
5204 # Let's still pretend it is `configure' which instantiates (i.e., don't
5205 # use $as_me), people would be surprised to read:
5206 # /* config.h. Generated by config.status. */
5207 if test x"$ac_file" = x-; then
5208 configure_input=
5209 else
5210 configure_input="$ac_file. "
5212 configure_input=$configure_input"Generated from `echo $ac_file_in |
5213 sed 's,.*/,,'` by configure."
5215 # First look for the input files in the build tree, otherwise in the
5216 # src tree.
5217 ac_file_inputs=`IFS=:
5218 for f in $ac_file_in; do
5219 case $f in
5220 -) echo $tmp/stdin ;;
5221 [\\/$]*)
5222 # Absolute (can't be DOS-style, as IFS=:)
5223 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5224 echo "$as_me: error: cannot find input file: $f" >&2;}
5225 { (exit 1); exit 1; }; }
5226 echo "$f";;
5227 *) # Relative
5228 if test -f "$f"; then
5229 # Build tree
5230 echo "$f"
5231 elif test -f "$srcdir/$f"; then
5232 # Source tree
5233 echo "$srcdir/$f"
5234 else
5235 # /dev/null tree
5236 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5237 echo "$as_me: error: cannot find input file: $f" >&2;}
5238 { (exit 1); exit 1; }; }
5239 fi;;
5240 esac
5241 done` || { (exit 1); exit 1; }
5242 _ACEOF
5243 cat >>$CONFIG_STATUS <<_ACEOF
5244 sed "$ac_vpsub
5245 $extrasub
5246 _ACEOF
5247 cat >>$CONFIG_STATUS <<\_ACEOF
5249 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5250 s,@configure_input@,$configure_input,;t t
5251 s,@srcdir@,$ac_srcdir,;t t
5252 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5253 s,@top_srcdir@,$ac_top_srcdir,;t t
5254 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5255 s,@builddir@,$ac_builddir,;t t
5256 s,@abs_builddir@,$ac_abs_builddir,;t t
5257 s,@top_builddir@,$ac_top_builddir,;t t
5258 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5259 s,@INSTALL@,$ac_INSTALL,;t t
5260 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5261 rm -f $tmp/stdin
5262 if test x"$ac_file" != x-; then
5263 mv $tmp/out $ac_file
5264 else
5265 cat $tmp/out
5266 rm -f $tmp/out
5269 done
5270 _ACEOF
5271 cat >>$CONFIG_STATUS <<\_ACEOF
5274 # CONFIG_COMMANDS section.
5276 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5277 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5278 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5279 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5280 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5281 X"$ac_dest" : 'X\(//\)[^/]' \| \
5282 X"$ac_dest" : 'X\(//\)$' \| \
5283 X"$ac_dest" : 'X\(/\)' \| \
5284 . : '\(.\)' 2>/dev/null ||
5285 echo X"$ac_dest" |
5286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5288 /^X\(\/\/\)$/{ s//\1/; q; }
5289 /^X\(\/\).*/{ s//\1/; q; }
5290 s/.*/./; q'`
5291 { if $as_mkdir_p; then
5292 mkdir -p "$ac_dir"
5293 else
5294 as_dir="$ac_dir"
5295 as_dirs=
5296 while test ! -d "$as_dir"; do
5297 as_dirs="$as_dir $as_dirs"
5298 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5300 X"$as_dir" : 'X\(//\)[^/]' \| \
5301 X"$as_dir" : 'X\(//\)$' \| \
5302 X"$as_dir" : 'X\(/\)' \| \
5303 . : '\(.\)' 2>/dev/null ||
5304 echo X"$as_dir" |
5305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5307 /^X\(\/\/\)$/{ s//\1/; q; }
5308 /^X\(\/\).*/{ s//\1/; q; }
5309 s/.*/./; q'`
5310 done
5311 test ! -n "$as_dirs" || mkdir $as_dirs
5312 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5313 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5314 { (exit 1); exit 1; }; }; }
5316 ac_builddir=.
5318 if test "$ac_dir" != .; then
5319 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5320 # A "../" for each directory in $ac_dir_suffix.
5321 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5322 else
5323 ac_dir_suffix= ac_top_builddir=
5326 case $srcdir in
5327 .) # No --srcdir option. We are building in place.
5328 ac_srcdir=.
5329 if test -z "$ac_top_builddir"; then
5330 ac_top_srcdir=.
5331 else
5332 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5333 fi ;;
5334 [\\/]* | ?:[\\/]* ) # Absolute path.
5335 ac_srcdir=$srcdir$ac_dir_suffix;
5336 ac_top_srcdir=$srcdir ;;
5337 *) # Relative path.
5338 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5339 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5340 esac
5342 # Do not use `cd foo && pwd` to compute absolute paths, because
5343 # the directories may not exist.
5344 case `pwd` in
5345 .) ac_abs_builddir="$ac_dir";;
5347 case "$ac_dir" in
5348 .) ac_abs_builddir=`pwd`;;
5349 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5350 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5351 esac;;
5352 esac
5353 case $ac_abs_builddir in
5354 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5356 case ${ac_top_builddir}. in
5357 .) ac_abs_top_builddir=$ac_abs_builddir;;
5358 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5359 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5360 esac;;
5361 esac
5362 case $ac_abs_builddir in
5363 .) ac_abs_srcdir=$ac_srcdir;;
5365 case $ac_srcdir in
5366 .) ac_abs_srcdir=$ac_abs_builddir;;
5367 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5368 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5369 esac;;
5370 esac
5371 case $ac_abs_builddir in
5372 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5374 case $ac_top_srcdir in
5375 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5376 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5377 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5378 esac;;
5379 esac
5382 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5383 echo "$as_me: executing $ac_dest commands" >&6;}
5384 case $ac_dest in
5385 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5386 # Strip MF so we end up with the name of the file.
5387 mf=`echo "$mf" | sed -e 's/:.*$//'`
5388 # Check whether this is an Automake generated Makefile or not.
5389 # We used to match only the files named `Makefile.in', but
5390 # some people rename them; so instead we look at the file content.
5391 # Grep'ing the first line is not enough: some people post-process
5392 # each Makefile.in and add a new line on top of each file to say so.
5393 # So let's grep whole file.
5394 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5395 dirpart=`(dirname "$mf") 2>/dev/null ||
5396 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5397 X"$mf" : 'X\(//\)[^/]' \| \
5398 X"$mf" : 'X\(//\)$' \| \
5399 X"$mf" : 'X\(/\)' \| \
5400 . : '\(.\)' 2>/dev/null ||
5401 echo X"$mf" |
5402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5404 /^X\(\/\/\)$/{ s//\1/; q; }
5405 /^X\(\/\).*/{ s//\1/; q; }
5406 s/.*/./; q'`
5407 else
5408 continue
5410 # Extract the definition of DEPDIR, am__include, and am__quote
5411 # from the Makefile without running `make'.
5412 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5413 test -z "$DEPDIR" && continue
5414 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5415 test -z "am__include" && continue
5416 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5417 # When using ansi2knr, U may be empty or an underscore; expand it
5418 U=`sed -n 's/^U = //p' < "$mf"`
5419 # Find all dependency output files, they are included files with
5420 # $(DEPDIR) in their names. We invoke sed twice because it is the
5421 # simplest approach to changing $(DEPDIR) to its actual value in the
5422 # expansion.
5423 for file in `sed -n "
5424 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5425 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5426 # Make sure the directory exists.
5427 test -f "$dirpart/$file" && continue
5428 fdir=`(dirname "$file") 2>/dev/null ||
5429 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5430 X"$file" : 'X\(//\)[^/]' \| \
5431 X"$file" : 'X\(//\)$' \| \
5432 X"$file" : 'X\(/\)' \| \
5433 . : '\(.\)' 2>/dev/null ||
5434 echo X"$file" |
5435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5436 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5437 /^X\(\/\/\)$/{ s//\1/; q; }
5438 /^X\(\/\).*/{ s//\1/; q; }
5439 s/.*/./; q'`
5440 { if $as_mkdir_p; then
5441 mkdir -p $dirpart/$fdir
5442 else
5443 as_dir=$dirpart/$fdir
5444 as_dirs=
5445 while test ! -d "$as_dir"; do
5446 as_dirs="$as_dir $as_dirs"
5447 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5449 X"$as_dir" : 'X\(//\)[^/]' \| \
5450 X"$as_dir" : 'X\(//\)$' \| \
5451 X"$as_dir" : 'X\(/\)' \| \
5452 . : '\(.\)' 2>/dev/null ||
5453 echo X"$as_dir" |
5454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5455 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5456 /^X\(\/\/\)$/{ s//\1/; q; }
5457 /^X\(\/\).*/{ s//\1/; q; }
5458 s/.*/./; q'`
5459 done
5460 test ! -n "$as_dirs" || mkdir $as_dirs
5461 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5462 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5463 { (exit 1); exit 1; }; }; }
5465 # echo "creating $dirpart/$file"
5466 echo '# dummy' > "$dirpart/$file"
5467 done
5468 done
5470 esac
5471 done
5472 _ACEOF
5474 cat >>$CONFIG_STATUS <<\_ACEOF
5476 { (exit 0); exit 0; }
5477 _ACEOF
5478 chmod +x $CONFIG_STATUS
5479 ac_clean_files=$ac_clean_files_save
5482 # configure is writing to config.log, and then calls config.status.
5483 # config.status does its own redirection, appending to config.log.
5484 # Unfortunately, on DOS this fails, as config.log is still kept open
5485 # by configure, so config.status won't be able to write to it; its
5486 # output is simply discarded. So we exec the FD to /dev/null,
5487 # effectively closing config.log, so it can be properly (re)opened and
5488 # appended to by config.status. When coming back to configure, we
5489 # need to make the FD available again.
5490 if test "$no_create" != yes; then
5491 ac_cs_success=:
5492 ac_config_status_args=
5493 test "$silent" = yes &&
5494 ac_config_status_args="$ac_config_status_args --quiet"
5495 exec 5>/dev/null
5496 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5497 exec 5>>config.log
5498 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5499 # would make configure fail if this is the last instruction.
5500 $ac_cs_success || { (exit 1); exit 1; }