Initial CVS checkin of gold
[deliverable/binutils-gdb.git] / gold / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
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
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
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
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
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
43 do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
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
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
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'`
76
77
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
85
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=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
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
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
153 ;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184 }
185
186
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
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
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'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
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
223 fi
224
225 as_executable_p="test -f"
226
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'"
229
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'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
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}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME=
269 PACKAGE_TARNAME=
270 PACKAGE_VERSION=
271 PACKAGE_STRING=
272 PACKAGE_BUGREPORT=
273
274 ac_unique_file="gold.cc"
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE WARN_CFLAGS NO_WERROR WARN_CXXFLAGS LFS_CXXFLAGS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBOBJS LTLIBOBJS'
276 ac_subst_files=''
277
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
297
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'
315
316 ac_prev=
317 for ac_option
318 do
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
324 fi
325
326 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327
328 # Accept the important Cygnus configure options, so we can diagnose typos.
329
330 case $ac_option in
331
332 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 ac_prev=bindir ;;
334 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335 bindir=$ac_optarg ;;
336
337 -build | --build | --buil | --bui | --bu)
338 ac_prev=build_alias ;;
339 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340 build_alias=$ac_optarg ;;
341
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 ;;
348
349 --config-cache | -C)
350 cache_file=config.cache ;;
351
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 ;;
357
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" ;;
366
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'" ;;
379
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 ;;
388
389 -gas | --gas | --ga | --g)
390 # Obsolete; use --with-gas.
391 with_gas=yes ;;
392
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 ;;
399
400 -host | --host | --hos | --ho)
401 ac_prev=host_alias ;;
402 -host=* | --host=* | --hos=* | --ho=*)
403 host_alias=$ac_optarg ;;
404
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 ;;
411
412 -infodir | --infodir | --infodi | --infod | --info | --inf)
413 ac_prev=infodir ;;
414 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415 infodir=$ac_optarg ;;
416
417 -libdir | --libdir | --libdi | --libd)
418 ac_prev=libdir ;;
419 -libdir=* | --libdir=* | --libdi=* | --libd=*)
420 libdir=$ac_optarg ;;
421
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 ;;
428
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 ;;
437
438 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439 ac_prev=mandir ;;
440 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441 mandir=$ac_optarg ;;
442
443 -nfp | --nfp | --nf)
444 # Obsolete; use --without-fp.
445 with_fp=no ;;
446
447 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448 | --no-cr | --no-c | -n)
449 no_create=yes ;;
450
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 ;;
454
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 ;;
463
464 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465 ac_prev=prefix ;;
466 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467 prefix=$ac_optarg ;;
468
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 ;;
475
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 ;;
482
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 ;;
499
500 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501 | -silent | --silent | --silen | --sile | --sil)
502 silent=yes ;;
503
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 ;;
509
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 ;;
520
521 -site | --site | --sit)
522 ac_prev=site ;;
523 -site=* | --site=* | --sit=*)
524 site=$ac_optarg ;;
525
526 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527 ac_prev=srcdir ;;
528 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529 srcdir=$ac_optarg ;;
530
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 ;;
537
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 ;;
542
543 -v | -verbose | --verbose | --verbos | --verbo | --verb)
544 verbose=yes ;;
545
546 -version | --version | --versio | --versi | --vers | -V)
547 ac_init_version=: ;;
548
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'" ;;
561
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" ;;
570
571 --x)
572 # Obsolete; use --with-x.
573 with_x=yes ;;
574
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 ;;
581
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 ;;
588
589 -*) { echo "$as_me: error: unrecognized option: $ac_option
590 Try \`$0 --help' for more information." >&2
591 { (exit 1); exit 1; }; }
592 ;;
593
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 ;;
603
604 *)
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}
610 ;;
611
612 esac
613 done
614
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; }; }
619 fi
620
621 # Be sure to have absolute paths.
622 for ac_var in exec_prefix prefix
623 do
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
631
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
635 do
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
643
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
650
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
659 fi
660 fi
661
662 ac_tool_prefix=
663 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664
665 test "$silent" = yes && exec 6>/dev/null
666
667
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=..
687 fi
688 else
689 ac_srcdir_defaulted=no
690 fi
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; }; }
698 fi
699 fi
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
732 ac_env_CXX_set=${CXX+set}
733 ac_env_CXX_value=$CXX
734 ac_cv_env_CXX_set=${CXX+set}
735 ac_cv_env_CXX_value=$CXX
736 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
737 ac_env_CXXFLAGS_value=$CXXFLAGS
738 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
739 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
740
741 #
742 # Report the --help message.
743 #
744 if test "$ac_init_help" = "long"; then
745 # Omit some internal or obsolete options to make the list less imposing.
746 # This message is too long to be a string in the A/UX 3.1 sh.
747 cat <<_ACEOF
748 \`configure' configures this package to adapt to many kinds of systems.
749
750 Usage: $0 [OPTION]... [VAR=VALUE]...
751
752 To assign environment variables (e.g., CC, CFLAGS...), specify them as
753 VAR=VALUE. See below for descriptions of some of the useful variables.
754
755 Defaults for the options are specified in brackets.
756
757 Configuration:
758 -h, --help display this help and exit
759 --help=short display options specific to this package
760 --help=recursive display the short help of all the included packages
761 -V, --version display version information and exit
762 -q, --quiet, --silent do not print \`checking...' messages
763 --cache-file=FILE cache test results in FILE [disabled]
764 -C, --config-cache alias for \`--cache-file=config.cache'
765 -n, --no-create do not create output files
766 --srcdir=DIR find the sources in DIR [configure dir or \`..']
767
768 _ACEOF
769
770 cat <<_ACEOF
771 Installation directories:
772 --prefix=PREFIX install architecture-independent files in PREFIX
773 [$ac_default_prefix]
774 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
775 [PREFIX]
776
777 By default, \`make install' will install all the files in
778 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
779 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
780 for instance \`--prefix=\$HOME'.
781
782 For better control, use the options below.
783
784 Fine tuning of the installation directories:
785 --bindir=DIR user executables [EPREFIX/bin]
786 --sbindir=DIR system admin executables [EPREFIX/sbin]
787 --libexecdir=DIR program executables [EPREFIX/libexec]
788 --datadir=DIR read-only architecture-independent data [PREFIX/share]
789 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
790 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
791 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
792 --libdir=DIR object code libraries [EPREFIX/lib]
793 --includedir=DIR C header files [PREFIX/include]
794 --oldincludedir=DIR C header files for non-gcc [/usr/include]
795 --infodir=DIR info documentation [PREFIX/info]
796 --mandir=DIR man documentation [PREFIX/man]
797 _ACEOF
798
799 cat <<\_ACEOF
800
801 Program names:
802 --program-prefix=PREFIX prepend PREFIX to installed program names
803 --program-suffix=SUFFIX append SUFFIX to installed program names
804 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
805
806 System types:
807 --build=BUILD configure for building on BUILD [guessed]
808 --host=HOST cross-compile to build programs to run on HOST [BUILD]
809 --target=TARGET configure for building compilers for TARGET [HOST]
810 _ACEOF
811 fi
812
813 if test -n "$ac_init_help"; then
814
815 cat <<\_ACEOF
816
817 Optional Features:
818 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
819 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
820 --disable-dependency-tracking speeds up one-time build
821 --enable-dependency-tracking do not reject slow dependency extractors
822 --disable-nls do not use Native Language Support
823 --enable-werror treat compile warnings as errors
824 --enable-build-warnings enable build-time compiler warnings
825 --enable-maintainer-mode enable make rules and dependencies not useful
826 (and sometimes confusing) to the casual installer
827
828 Some influential environment variables:
829 CC C compiler command
830 CFLAGS C compiler flags
831 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
832 nonstandard directory <lib dir>
833 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
834 headers in a nonstandard directory <include dir>
835 CXX C++ compiler command
836 CXXFLAGS C++ compiler flags
837
838 Use these variables to override the choices made by `configure' or to help
839 it to find libraries and programs with nonstandard names/locations.
840
841 _ACEOF
842 fi
843
844 if test "$ac_init_help" = "recursive"; then
845 # If there are subdirs, report their specific --help.
846 ac_popdir=`pwd`
847 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
848 test -d $ac_dir || continue
849 ac_builddir=.
850
851 if test "$ac_dir" != .; then
852 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
853 # A "../" for each directory in $ac_dir_suffix.
854 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
855 else
856 ac_dir_suffix= ac_top_builddir=
857 fi
858
859 case $srcdir in
860 .) # No --srcdir option. We are building in place.
861 ac_srcdir=.
862 if test -z "$ac_top_builddir"; then
863 ac_top_srcdir=.
864 else
865 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
866 fi ;;
867 [\\/]* | ?:[\\/]* ) # Absolute path.
868 ac_srcdir=$srcdir$ac_dir_suffix;
869 ac_top_srcdir=$srcdir ;;
870 *) # Relative path.
871 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
872 ac_top_srcdir=$ac_top_builddir$srcdir ;;
873 esac
874
875 # Do not use `cd foo && pwd` to compute absolute paths, because
876 # the directories may not exist.
877 case `pwd` in
878 .) ac_abs_builddir="$ac_dir";;
879 *)
880 case "$ac_dir" in
881 .) ac_abs_builddir=`pwd`;;
882 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
883 *) ac_abs_builddir=`pwd`/"$ac_dir";;
884 esac;;
885 esac
886 case $ac_abs_builddir in
887 .) ac_abs_top_builddir=${ac_top_builddir}.;;
888 *)
889 case ${ac_top_builddir}. in
890 .) ac_abs_top_builddir=$ac_abs_builddir;;
891 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
892 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
893 esac;;
894 esac
895 case $ac_abs_builddir in
896 .) ac_abs_srcdir=$ac_srcdir;;
897 *)
898 case $ac_srcdir in
899 .) ac_abs_srcdir=$ac_abs_builddir;;
900 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
901 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
902 esac;;
903 esac
904 case $ac_abs_builddir in
905 .) ac_abs_top_srcdir=$ac_top_srcdir;;
906 *)
907 case $ac_top_srcdir in
908 .) ac_abs_top_srcdir=$ac_abs_builddir;;
909 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
910 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
911 esac;;
912 esac
913
914 cd $ac_dir
915 # Check for guested configure; otherwise get Cygnus style configure.
916 if test -f $ac_srcdir/configure.gnu; then
917 echo
918 $SHELL $ac_srcdir/configure.gnu --help=recursive
919 elif test -f $ac_srcdir/configure; then
920 echo
921 $SHELL $ac_srcdir/configure --help=recursive
922 elif test -f $ac_srcdir/configure.ac ||
923 test -f $ac_srcdir/configure.in; then
924 echo
925 $ac_configure --help
926 else
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
928 fi
929 cd $ac_popdir
930 done
931 fi
932
933 test -n "$ac_init_help" && exit 0
934 if $ac_init_version; then
935 cat <<\_ACEOF
936
937 Copyright (C) 2003 Free Software Foundation, Inc.
938 This configure script is free software; the Free Software Foundation
939 gives unlimited permission to copy, distribute and modify it.
940 _ACEOF
941 exit 0
942 fi
943 exec 5>config.log
944 cat >&5 <<_ACEOF
945 This file contains any messages produced by compilers while
946 running configure, to aid debugging if configure makes a mistake.
947
948 It was created by $as_me, which was
949 generated by GNU Autoconf 2.59. Invocation command line was
950
951 $ $0 $@
952
953 _ACEOF
954 {
955 cat <<_ASUNAME
956 ## --------- ##
957 ## Platform. ##
958 ## --------- ##
959
960 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
961 uname -m = `(uname -m) 2>/dev/null || echo unknown`
962 uname -r = `(uname -r) 2>/dev/null || echo unknown`
963 uname -s = `(uname -s) 2>/dev/null || echo unknown`
964 uname -v = `(uname -v) 2>/dev/null || echo unknown`
965
966 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
967 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
968
969 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
970 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
971 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
972 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
973 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
974 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
975 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
976
977 _ASUNAME
978
979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
980 for as_dir in $PATH
981 do
982 IFS=$as_save_IFS
983 test -z "$as_dir" && as_dir=.
984 echo "PATH: $as_dir"
985 done
986
987 } >&5
988
989 cat >&5 <<_ACEOF
990
991
992 ## ----------- ##
993 ## Core tests. ##
994 ## ----------- ##
995
996 _ACEOF
997
998
999 # Keep a trace of the command line.
1000 # Strip out --no-create and --no-recursion so they do not pile up.
1001 # Strip out --silent because we don't want to record it for future runs.
1002 # Also quote any args containing shell meta-characters.
1003 # Make two passes to allow for proper duplicate-argument suppression.
1004 ac_configure_args=
1005 ac_configure_args0=
1006 ac_configure_args1=
1007 ac_sep=
1008 ac_must_keep_next=false
1009 for ac_pass in 1 2
1010 do
1011 for ac_arg
1012 do
1013 case $ac_arg in
1014 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1016 | -silent | --silent | --silen | --sile | --sil)
1017 continue ;;
1018 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1019 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1020 esac
1021 case $ac_pass in
1022 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1023 2)
1024 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1025 if test $ac_must_keep_next = true; then
1026 ac_must_keep_next=false # Got value, back to normal.
1027 else
1028 case $ac_arg in
1029 *=* | --config-cache | -C | -disable-* | --disable-* \
1030 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1031 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1032 | -with-* | --with-* | -without-* | --without-* | --x)
1033 case "$ac_configure_args0 " in
1034 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1035 esac
1036 ;;
1037 -* ) ac_must_keep_next=true ;;
1038 esac
1039 fi
1040 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1041 # Get rid of the leading space.
1042 ac_sep=" "
1043 ;;
1044 esac
1045 done
1046 done
1047 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1048 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1049
1050 # When interrupted or exit'd, cleanup temporary files, and complete
1051 # config.log. We remove comments because anyway the quotes in there
1052 # would cause problems or look ugly.
1053 # WARNING: Be sure not to use single quotes in there, as some shells,
1054 # such as our DU 5.0 friend, will then `close' the trap.
1055 trap 'exit_status=$?
1056 # Save into config.log some information that might help in debugging.
1057 {
1058 echo
1059
1060 cat <<\_ASBOX
1061 ## ---------------- ##
1062 ## Cache variables. ##
1063 ## ---------------- ##
1064 _ASBOX
1065 echo
1066 # The following way of writing the cache mishandles newlines in values,
1067 {
1068 (set) 2>&1 |
1069 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1070 *ac_space=\ *)
1071 sed -n \
1072 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1074 ;;
1075 *)
1076 sed -n \
1077 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1078 ;;
1079 esac;
1080 }
1081 echo
1082
1083 cat <<\_ASBOX
1084 ## ----------------- ##
1085 ## Output variables. ##
1086 ## ----------------- ##
1087 _ASBOX
1088 echo
1089 for ac_var in $ac_subst_vars
1090 do
1091 eval ac_val=$`echo $ac_var`
1092 echo "$ac_var='"'"'$ac_val'"'"'"
1093 done | sort
1094 echo
1095
1096 if test -n "$ac_subst_files"; then
1097 cat <<\_ASBOX
1098 ## ------------- ##
1099 ## Output files. ##
1100 ## ------------- ##
1101 _ASBOX
1102 echo
1103 for ac_var in $ac_subst_files
1104 do
1105 eval ac_val=$`echo $ac_var`
1106 echo "$ac_var='"'"'$ac_val'"'"'"
1107 done | sort
1108 echo
1109 fi
1110
1111 if test -s confdefs.h; then
1112 cat <<\_ASBOX
1113 ## ----------- ##
1114 ## confdefs.h. ##
1115 ## ----------- ##
1116 _ASBOX
1117 echo
1118 sed "/^$/d" confdefs.h | sort
1119 echo
1120 fi
1121 test "$ac_signal" != 0 &&
1122 echo "$as_me: caught signal $ac_signal"
1123 echo "$as_me: exit $exit_status"
1124 } >&5
1125 rm -f core *.core &&
1126 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1127 exit $exit_status
1128 ' 0
1129 for ac_signal in 1 2 13 15; do
1130 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1131 done
1132 ac_signal=0
1133
1134 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1135 rm -rf conftest* confdefs.h
1136 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1137 echo >confdefs.h
1138
1139 # Predefined preprocessor variables.
1140
1141 cat >>confdefs.h <<_ACEOF
1142 #define PACKAGE_NAME "$PACKAGE_NAME"
1143 _ACEOF
1144
1145
1146 cat >>confdefs.h <<_ACEOF
1147 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1148 _ACEOF
1149
1150
1151 cat >>confdefs.h <<_ACEOF
1152 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1153 _ACEOF
1154
1155
1156 cat >>confdefs.h <<_ACEOF
1157 #define PACKAGE_STRING "$PACKAGE_STRING"
1158 _ACEOF
1159
1160
1161 cat >>confdefs.h <<_ACEOF
1162 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1163 _ACEOF
1164
1165
1166 # Let the site file select an alternate cache file if it wants to.
1167 # Prefer explicitly selected file to automatically selected ones.
1168 if test -z "$CONFIG_SITE"; then
1169 if test "x$prefix" != xNONE; then
1170 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1171 else
1172 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1173 fi
1174 fi
1175 for ac_site_file in $CONFIG_SITE; do
1176 if test -r "$ac_site_file"; then
1177 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1178 echo "$as_me: loading site script $ac_site_file" >&6;}
1179 sed 's/^/| /' "$ac_site_file" >&5
1180 . "$ac_site_file"
1181 fi
1182 done
1183
1184 if test -r "$cache_file"; then
1185 # Some versions of bash will fail to source /dev/null (special
1186 # files actually), so we avoid doing that.
1187 if test -f "$cache_file"; then
1188 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1189 echo "$as_me: loading cache $cache_file" >&6;}
1190 case $cache_file in
1191 [\\/]* | ?:[\\/]* ) . $cache_file;;
1192 *) . ./$cache_file;;
1193 esac
1194 fi
1195 else
1196 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1197 echo "$as_me: creating cache $cache_file" >&6;}
1198 >$cache_file
1199 fi
1200
1201 # Check that the precious variables saved in the cache have kept the same
1202 # value.
1203 ac_cache_corrupted=false
1204 for ac_var in `(set) 2>&1 |
1205 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1206 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1207 eval ac_new_set=\$ac_env_${ac_var}_set
1208 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1209 eval ac_new_val="\$ac_env_${ac_var}_value"
1210 case $ac_old_set,$ac_new_set in
1211 set,)
1212 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1213 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1214 ac_cache_corrupted=: ;;
1215 ,set)
1216 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1217 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1218 ac_cache_corrupted=: ;;
1219 ,);;
1220 *)
1221 if test "x$ac_old_val" != "x$ac_new_val"; then
1222 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1223 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1224 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1225 echo "$as_me: former value: $ac_old_val" >&2;}
1226 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1227 echo "$as_me: current value: $ac_new_val" >&2;}
1228 ac_cache_corrupted=:
1229 fi;;
1230 esac
1231 # Pass precious variables to config.status.
1232 if test "$ac_new_set" = set; then
1233 case $ac_new_val in
1234 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1235 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1236 *) ac_arg=$ac_var=$ac_new_val ;;
1237 esac
1238 case " $ac_configure_args " in
1239 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1240 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1241 esac
1242 fi
1243 done
1244 if $ac_cache_corrupted; then
1245 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1246 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1247 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1248 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1249 { (exit 1); exit 1; }; }
1250 fi
1251
1252 ac_ext=c
1253 ac_cpp='$CPP $CPPFLAGS'
1254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278 ac_aux_dir=
1279 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1280 if test -f $ac_dir/install-sh; then
1281 ac_aux_dir=$ac_dir
1282 ac_install_sh="$ac_aux_dir/install-sh -c"
1283 break
1284 elif test -f $ac_dir/install.sh; then
1285 ac_aux_dir=$ac_dir
1286 ac_install_sh="$ac_aux_dir/install.sh -c"
1287 break
1288 elif test -f $ac_dir/shtool; then
1289 ac_aux_dir=$ac_dir
1290 ac_install_sh="$ac_aux_dir/shtool install -c"
1291 break
1292 fi
1293 done
1294 if test -z "$ac_aux_dir"; then
1295 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1296 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1297 { (exit 1); exit 1; }; }
1298 fi
1299 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1300 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1301 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1302
1303 # Make sure we can run config.sub.
1304 $ac_config_sub sun4 >/dev/null 2>&1 ||
1305 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1306 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1307 { (exit 1); exit 1; }; }
1308
1309 echo "$as_me:$LINENO: checking build system type" >&5
1310 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1311 if test "${ac_cv_build+set}" = set; then
1312 echo $ECHO_N "(cached) $ECHO_C" >&6
1313 else
1314 ac_cv_build_alias=$build_alias
1315 test -z "$ac_cv_build_alias" &&
1316 ac_cv_build_alias=`$ac_config_guess`
1317 test -z "$ac_cv_build_alias" &&
1318 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1319 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1320 { (exit 1); exit 1; }; }
1321 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1322 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1323 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1324 { (exit 1); exit 1; }; }
1325
1326 fi
1327 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1328 echo "${ECHO_T}$ac_cv_build" >&6
1329 build=$ac_cv_build
1330 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1331 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1332 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1333
1334
1335 echo "$as_me:$LINENO: checking host system type" >&5
1336 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1337 if test "${ac_cv_host+set}" = set; then
1338 echo $ECHO_N "(cached) $ECHO_C" >&6
1339 else
1340 ac_cv_host_alias=$host_alias
1341 test -z "$ac_cv_host_alias" &&
1342 ac_cv_host_alias=$ac_cv_build_alias
1343 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1344 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1345 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1346 { (exit 1); exit 1; }; }
1347
1348 fi
1349 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1350 echo "${ECHO_T}$ac_cv_host" >&6
1351 host=$ac_cv_host
1352 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1353 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1354 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1355
1356
1357 echo "$as_me:$LINENO: checking target system type" >&5
1358 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1359 if test "${ac_cv_target+set}" = set; then
1360 echo $ECHO_N "(cached) $ECHO_C" >&6
1361 else
1362 ac_cv_target_alias=$target_alias
1363 test "x$ac_cv_target_alias" = "x" &&
1364 ac_cv_target_alias=$ac_cv_host_alias
1365 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1366 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1367 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1368 { (exit 1); exit 1; }; }
1369
1370 fi
1371 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1372 echo "${ECHO_T}$ac_cv_target" >&6
1373 target=$ac_cv_target
1374 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1375 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1376 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1377
1378
1379 # The aliases save the names the user supplied, while $host etc.
1380 # will get canonicalized.
1381 test -n "$target_alias" &&
1382 test "$program_prefix$program_suffix$program_transform_name" = \
1383 NONENONEs,x,x, &&
1384 program_prefix=${target_alias}-
1385
1386 am__api_version="1.9"
1387 # Find a good install program. We prefer a C program (faster),
1388 # so one script is as good as another. But avoid the broken or
1389 # incompatible versions:
1390 # SysV /etc/install, /usr/sbin/install
1391 # SunOS /usr/etc/install
1392 # IRIX /sbin/install
1393 # AIX /bin/install
1394 # AmigaOS /C/install, which installs bootblocks on floppy discs
1395 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1398 # OS/2's system install, which has a completely different semantic
1399 # ./install, which can be erroneously created by make from ./install.sh.
1400 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1401 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1402 if test -z "$INSTALL"; then
1403 if test "${ac_cv_path_install+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 else
1406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1407 for as_dir in $PATH
1408 do
1409 IFS=$as_save_IFS
1410 test -z "$as_dir" && as_dir=.
1411 # Account for people who put trailing slashes in PATH elements.
1412 case $as_dir/ in
1413 ./ | .// | /cC/* | \
1414 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1415 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1416 /usr/ucb/* ) ;;
1417 *)
1418 # OSF1 and SCO ODT 3.0 have their own names for install.
1419 # Don't use installbsd from OSF since it installs stuff as root
1420 # by default.
1421 for ac_prog in ginstall scoinst install; do
1422 for ac_exec_ext in '' $ac_executable_extensions; do
1423 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1424 if test $ac_prog = install &&
1425 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1426 # AIX install. It has an incompatible calling convention.
1427 :
1428 elif test $ac_prog = install &&
1429 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1430 # program-specific install script used by HP pwplus--don't use.
1431 :
1432 else
1433 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1434 break 3
1435 fi
1436 fi
1437 done
1438 done
1439 ;;
1440 esac
1441 done
1442
1443
1444 fi
1445 if test "${ac_cv_path_install+set}" = set; then
1446 INSTALL=$ac_cv_path_install
1447 else
1448 # As a last resort, use the slow shell script. We don't cache a
1449 # path for INSTALL within a source directory, because that will
1450 # break other packages using the cache if that directory is
1451 # removed, or if the path is relative.
1452 INSTALL=$ac_install_sh
1453 fi
1454 fi
1455 echo "$as_me:$LINENO: result: $INSTALL" >&5
1456 echo "${ECHO_T}$INSTALL" >&6
1457
1458 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1459 # It thinks the first close brace ends the variable substitution.
1460 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1461
1462 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1463
1464 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1465
1466 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1467 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1468 # Just in case
1469 sleep 1
1470 echo timestamp > conftest.file
1471 # Do `set' in a subshell so we don't clobber the current shell's
1472 # arguments. Must try -L first in case configure is actually a
1473 # symlink; some systems play weird games with the mod time of symlinks
1474 # (eg FreeBSD returns the mod time of the symlink's containing
1475 # directory).
1476 if (
1477 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1478 if test "$*" = "X"; then
1479 # -L didn't work.
1480 set X `ls -t $srcdir/configure conftest.file`
1481 fi
1482 rm -f conftest.file
1483 if test "$*" != "X $srcdir/configure conftest.file" \
1484 && test "$*" != "X conftest.file $srcdir/configure"; then
1485
1486 # If neither matched, then we have a broken ls. This can happen
1487 # if, for instance, CONFIG_SHELL is bash and it inherits a
1488 # broken ls alias from the environment. This has actually
1489 # happened. Such a system could not be considered "sane".
1490 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1491 alias in your environment" >&5
1492 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1493 alias in your environment" >&2;}
1494 { (exit 1); exit 1; }; }
1495 fi
1496
1497 test "$2" = conftest.file
1498 )
1499 then
1500 # Ok.
1501 :
1502 else
1503 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1504 Check your system clock" >&5
1505 echo "$as_me: error: newly created file is older than distributed files!
1506 Check your system clock" >&2;}
1507 { (exit 1); exit 1; }; }
1508 fi
1509 echo "$as_me:$LINENO: result: yes" >&5
1510 echo "${ECHO_T}yes" >&6
1511 test "$program_prefix" != NONE &&
1512 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1513 # Use a double $ so make ignores it.
1514 test "$program_suffix" != NONE &&
1515 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1516 # Double any \ or $. echo might interpret backslashes.
1517 # By default was `s,x,x', remove it if useless.
1518 cat <<\_ACEOF >conftest.sed
1519 s/[\\$]/&&/g;s/;s,x,x,$//
1520 _ACEOF
1521 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1522 rm conftest.sed
1523
1524 # expand $ac_aux_dir to an absolute path
1525 am_aux_dir=`cd $ac_aux_dir && pwd`
1526
1527 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1528 # Use eval to expand $SHELL
1529 if eval "$MISSING --run true"; then
1530 am_missing_run="$MISSING --run "
1531 else
1532 am_missing_run=
1533 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1534 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1535 fi
1536
1537 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1538 # We used to keeping the `.' as first argument, in order to
1539 # allow $(mkdir_p) to be used without argument. As in
1540 # $(mkdir_p) $(somedir)
1541 # where $(somedir) is conditionally defined. However this is wrong
1542 # for two reasons:
1543 # 1. if the package is installed by a user who cannot write `.'
1544 # make install will fail,
1545 # 2. the above comment should most certainly read
1546 # $(mkdir_p) $(DESTDIR)$(somedir)
1547 # so it does not work when $(somedir) is undefined and
1548 # $(DESTDIR) is not.
1549 # To support the latter case, we have to write
1550 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1551 # so the `.' trick is pointless.
1552 mkdir_p='mkdir -p --'
1553 else
1554 # On NextStep and OpenStep, the `mkdir' command does not
1555 # recognize any option. It will interpret all options as
1556 # directories to create, and then abort because `.' already
1557 # exists.
1558 for d in ./-p ./--version;
1559 do
1560 test -d $d && rmdir $d
1561 done
1562 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1563 if test -f "$ac_aux_dir/mkinstalldirs"; then
1564 mkdir_p='$(mkinstalldirs)'
1565 else
1566 mkdir_p='$(install_sh) -d'
1567 fi
1568 fi
1569
1570 for ac_prog in gawk mawk nawk awk
1571 do
1572 # Extract the first word of "$ac_prog", so it can be a program name with args.
1573 set dummy $ac_prog; ac_word=$2
1574 echo "$as_me:$LINENO: checking for $ac_word" >&5
1575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1576 if test "${ac_cv_prog_AWK+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 else
1579 if test -n "$AWK"; then
1580 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1581 else
1582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1583 for as_dir in $PATH
1584 do
1585 IFS=$as_save_IFS
1586 test -z "$as_dir" && as_dir=.
1587 for ac_exec_ext in '' $ac_executable_extensions; do
1588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1589 ac_cv_prog_AWK="$ac_prog"
1590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1591 break 2
1592 fi
1593 done
1594 done
1595
1596 fi
1597 fi
1598 AWK=$ac_cv_prog_AWK
1599 if test -n "$AWK"; then
1600 echo "$as_me:$LINENO: result: $AWK" >&5
1601 echo "${ECHO_T}$AWK" >&6
1602 else
1603 echo "$as_me:$LINENO: result: no" >&5
1604 echo "${ECHO_T}no" >&6
1605 fi
1606
1607 test -n "$AWK" && break
1608 done
1609
1610 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1611 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1612 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1613 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1615 else
1616 cat >conftest.make <<\_ACEOF
1617 all:
1618 @echo 'ac_maketemp="$(MAKE)"'
1619 _ACEOF
1620 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1621 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1622 if test -n "$ac_maketemp"; then
1623 eval ac_cv_prog_make_${ac_make}_set=yes
1624 else
1625 eval ac_cv_prog_make_${ac_make}_set=no
1626 fi
1627 rm -f conftest.make
1628 fi
1629 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1630 echo "$as_me:$LINENO: result: yes" >&5
1631 echo "${ECHO_T}yes" >&6
1632 SET_MAKE=
1633 else
1634 echo "$as_me:$LINENO: result: no" >&5
1635 echo "${ECHO_T}no" >&6
1636 SET_MAKE="MAKE=${MAKE-make}"
1637 fi
1638
1639 rm -rf .tst 2>/dev/null
1640 mkdir .tst 2>/dev/null
1641 if test -d .tst; then
1642 am__leading_dot=.
1643 else
1644 am__leading_dot=_
1645 fi
1646 rmdir .tst 2>/dev/null
1647
1648 # test to see if srcdir already configured
1649 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1650 test -f $srcdir/config.status; then
1651 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1652 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1653 { (exit 1); exit 1; }; }
1654 fi
1655
1656 # test whether we have cygpath
1657 if test -z "$CYGPATH_W"; then
1658 if (cygpath --version) >/dev/null 2>/dev/null; then
1659 CYGPATH_W='cygpath -w'
1660 else
1661 CYGPATH_W=echo
1662 fi
1663 fi
1664
1665
1666 # Define the identity of the package.
1667 PACKAGE=gold
1668 VERSION=0.1
1669
1670
1671 cat >>confdefs.h <<_ACEOF
1672 #define PACKAGE "$PACKAGE"
1673 _ACEOF
1674
1675
1676 cat >>confdefs.h <<_ACEOF
1677 #define VERSION "$VERSION"
1678 _ACEOF
1679
1680 # Some tools Automake needs.
1681
1682 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1683
1684
1685 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1686
1687
1688 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1689
1690
1691 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1692
1693
1694 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1695
1696 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1697
1698 # Installed binaries are usually stripped using `strip' when the user
1699 # run `make install-strip'. However `strip' might not be the right
1700 # tool to use in cross-compilation environments, therefore Automake
1701 # will honor the `STRIP' environment variable to overrule this program.
1702 if test "$cross_compiling" != no; then
1703 if test -n "$ac_tool_prefix"; then
1704 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1705 set dummy ${ac_tool_prefix}strip; ac_word=$2
1706 echo "$as_me:$LINENO: checking for $ac_word" >&5
1707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1708 if test "${ac_cv_prog_STRIP+set}" = set; then
1709 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 else
1711 if test -n "$STRIP"; then
1712 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1713 else
1714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715 for as_dir in $PATH
1716 do
1717 IFS=$as_save_IFS
1718 test -z "$as_dir" && as_dir=.
1719 for ac_exec_ext in '' $ac_executable_extensions; do
1720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1721 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 break 2
1724 fi
1725 done
1726 done
1727
1728 fi
1729 fi
1730 STRIP=$ac_cv_prog_STRIP
1731 if test -n "$STRIP"; then
1732 echo "$as_me:$LINENO: result: $STRIP" >&5
1733 echo "${ECHO_T}$STRIP" >&6
1734 else
1735 echo "$as_me:$LINENO: result: no" >&5
1736 echo "${ECHO_T}no" >&6
1737 fi
1738
1739 fi
1740 if test -z "$ac_cv_prog_STRIP"; then
1741 ac_ct_STRIP=$STRIP
1742 # Extract the first word of "strip", so it can be a program name with args.
1743 set dummy strip; ac_word=$2
1744 echo "$as_me:$LINENO: checking for $ac_word" >&5
1745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1746 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1747 echo $ECHO_N "(cached) $ECHO_C" >&6
1748 else
1749 if test -n "$ac_ct_STRIP"; then
1750 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1751 else
1752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1753 for as_dir in $PATH
1754 do
1755 IFS=$as_save_IFS
1756 test -z "$as_dir" && as_dir=.
1757 for ac_exec_ext in '' $ac_executable_extensions; do
1758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1759 ac_cv_prog_ac_ct_STRIP="strip"
1760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1761 break 2
1762 fi
1763 done
1764 done
1765
1766 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1767 fi
1768 fi
1769 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1770 if test -n "$ac_ct_STRIP"; then
1771 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1772 echo "${ECHO_T}$ac_ct_STRIP" >&6
1773 else
1774 echo "$as_me:$LINENO: result: no" >&5
1775 echo "${ECHO_T}no" >&6
1776 fi
1777
1778 STRIP=$ac_ct_STRIP
1779 else
1780 STRIP="$ac_cv_prog_STRIP"
1781 fi
1782
1783 fi
1784 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1785
1786 # We need awk for the "check" target. The system "awk" is bad on
1787 # some platforms.
1788 # Always define AMTAR for backward compatibility.
1789
1790 AMTAR=${AMTAR-"${am_missing_run}tar"}
1791
1792 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1793
1794
1795
1796
1797
1798
1799 ac_config_headers="$ac_config_headers config.h:config.in"
1800
1801
1802 ac_ext=c
1803 ac_cpp='$CPP $CPPFLAGS'
1804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1807 if test -n "$ac_tool_prefix"; then
1808 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1809 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1810 echo "$as_me:$LINENO: checking for $ac_word" >&5
1811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1812 if test "${ac_cv_prog_CC+set}" = set; then
1813 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 else
1815 if test -n "$CC"; then
1816 ac_cv_prog_CC="$CC" # Let the user override the test.
1817 else
1818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819 for as_dir in $PATH
1820 do
1821 IFS=$as_save_IFS
1822 test -z "$as_dir" && as_dir=.
1823 for ac_exec_ext in '' $ac_executable_extensions; do
1824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1825 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1827 break 2
1828 fi
1829 done
1830 done
1831
1832 fi
1833 fi
1834 CC=$ac_cv_prog_CC
1835 if test -n "$CC"; then
1836 echo "$as_me:$LINENO: result: $CC" >&5
1837 echo "${ECHO_T}$CC" >&6
1838 else
1839 echo "$as_me:$LINENO: result: no" >&5
1840 echo "${ECHO_T}no" >&6
1841 fi
1842
1843 fi
1844 if test -z "$ac_cv_prog_CC"; then
1845 ac_ct_CC=$CC
1846 # Extract the first word of "gcc", so it can be a program name with args.
1847 set dummy gcc; ac_word=$2
1848 echo "$as_me:$LINENO: checking for $ac_word" >&5
1849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1850 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1851 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 else
1853 if test -n "$ac_ct_CC"; then
1854 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1855 else
1856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857 for as_dir in $PATH
1858 do
1859 IFS=$as_save_IFS
1860 test -z "$as_dir" && as_dir=.
1861 for ac_exec_ext in '' $ac_executable_extensions; do
1862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1863 ac_cv_prog_ac_ct_CC="gcc"
1864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865 break 2
1866 fi
1867 done
1868 done
1869
1870 fi
1871 fi
1872 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1873 if test -n "$ac_ct_CC"; then
1874 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1875 echo "${ECHO_T}$ac_ct_CC" >&6
1876 else
1877 echo "$as_me:$LINENO: result: no" >&5
1878 echo "${ECHO_T}no" >&6
1879 fi
1880
1881 CC=$ac_ct_CC
1882 else
1883 CC="$ac_cv_prog_CC"
1884 fi
1885
1886 if test -z "$CC"; then
1887 if test -n "$ac_tool_prefix"; then
1888 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1889 set dummy ${ac_tool_prefix}cc; ac_word=$2
1890 echo "$as_me:$LINENO: checking for $ac_word" >&5
1891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1892 if test "${ac_cv_prog_CC+set}" = set; then
1893 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 else
1895 if test -n "$CC"; then
1896 ac_cv_prog_CC="$CC" # Let the user override the test.
1897 else
1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 for as_dir in $PATH
1900 do
1901 IFS=$as_save_IFS
1902 test -z "$as_dir" && as_dir=.
1903 for ac_exec_ext in '' $ac_executable_extensions; do
1904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1905 ac_cv_prog_CC="${ac_tool_prefix}cc"
1906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907 break 2
1908 fi
1909 done
1910 done
1911
1912 fi
1913 fi
1914 CC=$ac_cv_prog_CC
1915 if test -n "$CC"; then
1916 echo "$as_me:$LINENO: result: $CC" >&5
1917 echo "${ECHO_T}$CC" >&6
1918 else
1919 echo "$as_me:$LINENO: result: no" >&5
1920 echo "${ECHO_T}no" >&6
1921 fi
1922
1923 fi
1924 if test -z "$ac_cv_prog_CC"; then
1925 ac_ct_CC=$CC
1926 # Extract the first word of "cc", so it can be a program name with args.
1927 set dummy cc; ac_word=$2
1928 echo "$as_me:$LINENO: checking for $ac_word" >&5
1929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1930 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 else
1933 if test -n "$ac_ct_CC"; then
1934 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1935 else
1936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1937 for as_dir in $PATH
1938 do
1939 IFS=$as_save_IFS
1940 test -z "$as_dir" && as_dir=.
1941 for ac_exec_ext in '' $ac_executable_extensions; do
1942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1943 ac_cv_prog_ac_ct_CC="cc"
1944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 break 2
1946 fi
1947 done
1948 done
1949
1950 fi
1951 fi
1952 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1953 if test -n "$ac_ct_CC"; then
1954 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1955 echo "${ECHO_T}$ac_ct_CC" >&6
1956 else
1957 echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6
1959 fi
1960
1961 CC=$ac_ct_CC
1962 else
1963 CC="$ac_cv_prog_CC"
1964 fi
1965
1966 fi
1967 if test -z "$CC"; then
1968 # Extract the first word of "cc", so it can be a program name with args.
1969 set dummy cc; ac_word=$2
1970 echo "$as_me:$LINENO: checking for $ac_word" >&5
1971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1972 if test "${ac_cv_prog_CC+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 else
1975 if test -n "$CC"; then
1976 ac_cv_prog_CC="$CC" # Let the user override the test.
1977 else
1978 ac_prog_rejected=no
1979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980 for as_dir in $PATH
1981 do
1982 IFS=$as_save_IFS
1983 test -z "$as_dir" && as_dir=.
1984 for ac_exec_ext in '' $ac_executable_extensions; do
1985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1986 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1987 ac_prog_rejected=yes
1988 continue
1989 fi
1990 ac_cv_prog_CC="cc"
1991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992 break 2
1993 fi
1994 done
1995 done
1996
1997 if test $ac_prog_rejected = yes; then
1998 # We found a bogon in the path, so make sure we never use it.
1999 set dummy $ac_cv_prog_CC
2000 shift
2001 if test $# != 0; then
2002 # We chose a different compiler from the bogus one.
2003 # However, it has the same basename, so the bogon will be chosen
2004 # first if we set CC to just the basename; use the full file name.
2005 shift
2006 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2007 fi
2008 fi
2009 fi
2010 fi
2011 CC=$ac_cv_prog_CC
2012 if test -n "$CC"; then
2013 echo "$as_me:$LINENO: result: $CC" >&5
2014 echo "${ECHO_T}$CC" >&6
2015 else
2016 echo "$as_me:$LINENO: result: no" >&5
2017 echo "${ECHO_T}no" >&6
2018 fi
2019
2020 fi
2021 if test -z "$CC"; then
2022 if test -n "$ac_tool_prefix"; then
2023 for ac_prog in cl
2024 do
2025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2027 echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2029 if test "${ac_cv_prog_CC+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 else
2032 if test -n "$CC"; then
2033 ac_cv_prog_CC="$CC" # Let the user override the test.
2034 else
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 for as_dir in $PATH
2037 do
2038 IFS=$as_save_IFS
2039 test -z "$as_dir" && as_dir=.
2040 for ac_exec_ext in '' $ac_executable_extensions; do
2041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2042 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2044 break 2
2045 fi
2046 done
2047 done
2048
2049 fi
2050 fi
2051 CC=$ac_cv_prog_CC
2052 if test -n "$CC"; then
2053 echo "$as_me:$LINENO: result: $CC" >&5
2054 echo "${ECHO_T}$CC" >&6
2055 else
2056 echo "$as_me:$LINENO: result: no" >&5
2057 echo "${ECHO_T}no" >&6
2058 fi
2059
2060 test -n "$CC" && break
2061 done
2062 fi
2063 if test -z "$CC"; then
2064 ac_ct_CC=$CC
2065 for ac_prog in cl
2066 do
2067 # Extract the first word of "$ac_prog", so it can be a program name with args.
2068 set dummy $ac_prog; ac_word=$2
2069 echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2071 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 else
2074 if test -n "$ac_ct_CC"; then
2075 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2076 else
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 for as_dir in $PATH
2079 do
2080 IFS=$as_save_IFS
2081 test -z "$as_dir" && as_dir=.
2082 for ac_exec_ext in '' $ac_executable_extensions; do
2083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2084 ac_cv_prog_ac_ct_CC="$ac_prog"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 break 2
2087 fi
2088 done
2089 done
2090
2091 fi
2092 fi
2093 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2094 if test -n "$ac_ct_CC"; then
2095 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2096 echo "${ECHO_T}$ac_ct_CC" >&6
2097 else
2098 echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6
2100 fi
2101
2102 test -n "$ac_ct_CC" && break
2103 done
2104
2105 CC=$ac_ct_CC
2106 fi
2107
2108 fi
2109
2110
2111 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2112 See \`config.log' for more details." >&5
2113 echo "$as_me: error: no acceptable C compiler found in \$PATH
2114 See \`config.log' for more details." >&2;}
2115 { (exit 1); exit 1; }; }
2116
2117 # Provide some information about the compiler.
2118 echo "$as_me:$LINENO:" \
2119 "checking for C compiler version" >&5
2120 ac_compiler=`set X $ac_compile; echo $2`
2121 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2122 (eval $ac_compiler --version </dev/null >&5) 2>&5
2123 ac_status=$?
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }
2126 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2127 (eval $ac_compiler -v </dev/null >&5) 2>&5
2128 ac_status=$?
2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }
2131 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2132 (eval $ac_compiler -V </dev/null >&5) 2>&5
2133 ac_status=$?
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }
2136
2137 cat >conftest.$ac_ext <<_ACEOF
2138 /* confdefs.h. */
2139 _ACEOF
2140 cat confdefs.h >>conftest.$ac_ext
2141 cat >>conftest.$ac_ext <<_ACEOF
2142 /* end confdefs.h. */
2143
2144 int
2145 main ()
2146 {
2147
2148 ;
2149 return 0;
2150 }
2151 _ACEOF
2152 ac_clean_files_save=$ac_clean_files
2153 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2154 # Try to create an executable without -o first, disregard a.out.
2155 # It will help us diagnose broken compilers, and finding out an intuition
2156 # of exeext.
2157 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2158 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2159 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2160 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2161 (eval $ac_link_default) 2>&5
2162 ac_status=$?
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; then
2165 # Find the output, starting from the most likely. This scheme is
2166 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2167 # resort.
2168
2169 # Be careful to initialize this variable, since it used to be cached.
2170 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2171 ac_cv_exeext=
2172 # b.out is created by i960 compilers.
2173 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2174 do
2175 test -f "$ac_file" || continue
2176 case $ac_file in
2177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2178 ;;
2179 conftest.$ac_ext )
2180 # This is the source file.
2181 ;;
2182 [ab].out )
2183 # We found the default executable, but exeext='' is most
2184 # certainly right.
2185 break;;
2186 *.* )
2187 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2188 # FIXME: I believe we export ac_cv_exeext for Libtool,
2189 # but it would be cool to find out if it's true. Does anybody
2190 # maintain Libtool? --akim.
2191 export ac_cv_exeext
2192 break;;
2193 * )
2194 break;;
2195 esac
2196 done
2197 else
2198 echo "$as_me: failed program was:" >&5
2199 sed 's/^/| /' conftest.$ac_ext >&5
2200
2201 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2202 See \`config.log' for more details." >&5
2203 echo "$as_me: error: C compiler cannot create executables
2204 See \`config.log' for more details." >&2;}
2205 { (exit 77); exit 77; }; }
2206 fi
2207
2208 ac_exeext=$ac_cv_exeext
2209 echo "$as_me:$LINENO: result: $ac_file" >&5
2210 echo "${ECHO_T}$ac_file" >&6
2211
2212 # Check the compiler produces executables we can run. If not, either
2213 # the compiler is broken, or we cross compile.
2214 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2215 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2216 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2217 # If not cross compiling, check that we can run a simple program.
2218 if test "$cross_compiling" != yes; then
2219 if { ac_try='./$ac_file'
2220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2221 (eval $ac_try) 2>&5
2222 ac_status=$?
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); }; }; then
2225 cross_compiling=no
2226 else
2227 if test "$cross_compiling" = maybe; then
2228 cross_compiling=yes
2229 else
2230 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2231 If you meant to cross compile, use \`--host'.
2232 See \`config.log' for more details." >&5
2233 echo "$as_me: error: cannot run C compiled programs.
2234 If you meant to cross compile, use \`--host'.
2235 See \`config.log' for more details." >&2;}
2236 { (exit 1); exit 1; }; }
2237 fi
2238 fi
2239 fi
2240 echo "$as_me:$LINENO: result: yes" >&5
2241 echo "${ECHO_T}yes" >&6
2242
2243 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2244 ac_clean_files=$ac_clean_files_save
2245 # Check the compiler produces executables we can run. If not, either
2246 # the compiler is broken, or we cross compile.
2247 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2248 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2249 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2250 echo "${ECHO_T}$cross_compiling" >&6
2251
2252 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2253 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2255 (eval $ac_link) 2>&5
2256 ac_status=$?
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }; then
2259 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2260 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2261 # work properly (i.e., refer to `conftest.exe'), while it won't with
2262 # `rm'.
2263 for ac_file in conftest.exe conftest conftest.*; do
2264 test -f "$ac_file" || continue
2265 case $ac_file in
2266 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2267 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2268 export ac_cv_exeext
2269 break;;
2270 * ) break;;
2271 esac
2272 done
2273 else
2274 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2275 See \`config.log' for more details." >&5
2276 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2277 See \`config.log' for more details." >&2;}
2278 { (exit 1); exit 1; }; }
2279 fi
2280
2281 rm -f conftest$ac_cv_exeext
2282 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2283 echo "${ECHO_T}$ac_cv_exeext" >&6
2284
2285 rm -f conftest.$ac_ext
2286 EXEEXT=$ac_cv_exeext
2287 ac_exeext=$EXEEXT
2288 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2289 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2290 if test "${ac_cv_objext+set}" = set; then
2291 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 else
2293 cat >conftest.$ac_ext <<_ACEOF
2294 /* confdefs.h. */
2295 _ACEOF
2296 cat confdefs.h >>conftest.$ac_ext
2297 cat >>conftest.$ac_ext <<_ACEOF
2298 /* end confdefs.h. */
2299
2300 int
2301 main ()
2302 {
2303
2304 ;
2305 return 0;
2306 }
2307 _ACEOF
2308 rm -f conftest.o conftest.obj
2309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2310 (eval $ac_compile) 2>&5
2311 ac_status=$?
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }; then
2314 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2315 case $ac_file in
2316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2317 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2318 break;;
2319 esac
2320 done
2321 else
2322 echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.$ac_ext >&5
2324
2325 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2326 See \`config.log' for more details." >&5
2327 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2328 See \`config.log' for more details." >&2;}
2329 { (exit 1); exit 1; }; }
2330 fi
2331
2332 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2333 fi
2334 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2335 echo "${ECHO_T}$ac_cv_objext" >&6
2336 OBJEXT=$ac_cv_objext
2337 ac_objext=$OBJEXT
2338 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2339 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2340 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2341 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 else
2343 cat >conftest.$ac_ext <<_ACEOF
2344 /* confdefs.h. */
2345 _ACEOF
2346 cat confdefs.h >>conftest.$ac_ext
2347 cat >>conftest.$ac_ext <<_ACEOF
2348 /* end confdefs.h. */
2349
2350 int
2351 main ()
2352 {
2353 #ifndef __GNUC__
2354 choke me
2355 #endif
2356
2357 ;
2358 return 0;
2359 }
2360 _ACEOF
2361 rm -f conftest.$ac_objext
2362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2363 (eval $ac_compile) 2>conftest.er1
2364 ac_status=$?
2365 grep -v '^ *+' conftest.er1 >conftest.err
2366 rm -f conftest.er1
2367 cat conftest.err >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); } &&
2370 { ac_try='test -z "$ac_c_werror_flag"
2371 || test ! -s conftest.err'
2372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 (eval $ac_try) 2>&5
2374 ac_status=$?
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; } &&
2377 { ac_try='test -s conftest.$ac_objext'
2378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379 (eval $ac_try) 2>&5
2380 ac_status=$?
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }; }; then
2383 ac_compiler_gnu=yes
2384 else
2385 echo "$as_me: failed program was:" >&5
2386 sed 's/^/| /' conftest.$ac_ext >&5
2387
2388 ac_compiler_gnu=no
2389 fi
2390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2391 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2392
2393 fi
2394 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2395 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2396 GCC=`test $ac_compiler_gnu = yes && echo yes`
2397 ac_test_CFLAGS=${CFLAGS+set}
2398 ac_save_CFLAGS=$CFLAGS
2399 CFLAGS="-g"
2400 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2401 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2402 if test "${ac_cv_prog_cc_g+set}" = set; then
2403 echo $ECHO_N "(cached) $ECHO_C" >&6
2404 else
2405 cat >conftest.$ac_ext <<_ACEOF
2406 /* confdefs.h. */
2407 _ACEOF
2408 cat confdefs.h >>conftest.$ac_ext
2409 cat >>conftest.$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2411
2412 int
2413 main ()
2414 {
2415
2416 ;
2417 return 0;
2418 }
2419 _ACEOF
2420 rm -f conftest.$ac_objext
2421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2422 (eval $ac_compile) 2>conftest.er1
2423 ac_status=$?
2424 grep -v '^ *+' conftest.er1 >conftest.err
2425 rm -f conftest.er1
2426 cat conftest.err >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); } &&
2429 { ac_try='test -z "$ac_c_werror_flag"
2430 || test ! -s conftest.err'
2431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432 (eval $ac_try) 2>&5
2433 ac_status=$?
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; } &&
2436 { ac_try='test -s conftest.$ac_objext'
2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2438 (eval $ac_try) 2>&5
2439 ac_status=$?
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; }; then
2442 ac_cv_prog_cc_g=yes
2443 else
2444 echo "$as_me: failed program was:" >&5
2445 sed 's/^/| /' conftest.$ac_ext >&5
2446
2447 ac_cv_prog_cc_g=no
2448 fi
2449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2450 fi
2451 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2452 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2453 if test "$ac_test_CFLAGS" = set; then
2454 CFLAGS=$ac_save_CFLAGS
2455 elif test $ac_cv_prog_cc_g = yes; then
2456 if test "$GCC" = yes; then
2457 CFLAGS="-g -O2"
2458 else
2459 CFLAGS="-g"
2460 fi
2461 else
2462 if test "$GCC" = yes; then
2463 CFLAGS="-O2"
2464 else
2465 CFLAGS=
2466 fi
2467 fi
2468 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2469 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2470 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 else
2473 ac_cv_prog_cc_stdc=no
2474 ac_save_CC=$CC
2475 cat >conftest.$ac_ext <<_ACEOF
2476 /* confdefs.h. */
2477 _ACEOF
2478 cat confdefs.h >>conftest.$ac_ext
2479 cat >>conftest.$ac_ext <<_ACEOF
2480 /* end confdefs.h. */
2481 #include <stdarg.h>
2482 #include <stdio.h>
2483 #include <sys/types.h>
2484 #include <sys/stat.h>
2485 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2486 struct buf { int x; };
2487 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2488 static char *e (p, i)
2489 char **p;
2490 int i;
2491 {
2492 return p[i];
2493 }
2494 static char *f (char * (*g) (char **, int), char **p, ...)
2495 {
2496 char *s;
2497 va_list v;
2498 va_start (v,p);
2499 s = g (p, va_arg (v,int));
2500 va_end (v);
2501 return s;
2502 }
2503
2504 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2505 function prototypes and stuff, but not '\xHH' hex character constants.
2506 These don't provoke an error unfortunately, instead are silently treated
2507 as 'x'. The following induces an error, until -std1 is added to get
2508 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2509 array size at least. It's necessary to write '\x00'==0 to get something
2510 that's true only with -std1. */
2511 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2512
2513 int test (int i, double x);
2514 struct s1 {int (*f) (int a);};
2515 struct s2 {int (*f) (double a);};
2516 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2517 int argc;
2518 char **argv;
2519 int
2520 main ()
2521 {
2522 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2523 ;
2524 return 0;
2525 }
2526 _ACEOF
2527 # Don't try gcc -ansi; that turns off useful extensions and
2528 # breaks some systems' header files.
2529 # AIX -qlanglvl=ansi
2530 # Ultrix and OSF/1 -std1
2531 # HP-UX 10.20 and later -Ae
2532 # HP-UX older versions -Aa -D_HPUX_SOURCE
2533 # SVR4 -Xc -D__EXTENSIONS__
2534 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2535 do
2536 CC="$ac_save_CC $ac_arg"
2537 rm -f conftest.$ac_objext
2538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2539 (eval $ac_compile) 2>conftest.er1
2540 ac_status=$?
2541 grep -v '^ *+' conftest.er1 >conftest.err
2542 rm -f conftest.er1
2543 cat conftest.err >&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); } &&
2546 { ac_try='test -z "$ac_c_werror_flag"
2547 || test ! -s conftest.err'
2548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2549 (eval $ac_try) 2>&5
2550 ac_status=$?
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }; } &&
2553 { ac_try='test -s conftest.$ac_objext'
2554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2555 (eval $ac_try) 2>&5
2556 ac_status=$?
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }; }; then
2559 ac_cv_prog_cc_stdc=$ac_arg
2560 break
2561 else
2562 echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.$ac_ext >&5
2564
2565 fi
2566 rm -f conftest.err conftest.$ac_objext
2567 done
2568 rm -f conftest.$ac_ext conftest.$ac_objext
2569 CC=$ac_save_CC
2570
2571 fi
2572
2573 case "x$ac_cv_prog_cc_stdc" in
2574 x|xno)
2575 echo "$as_me:$LINENO: result: none needed" >&5
2576 echo "${ECHO_T}none needed" >&6 ;;
2577 *)
2578 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2579 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2580 CC="$CC $ac_cv_prog_cc_stdc" ;;
2581 esac
2582
2583 # Some people use a C++ compiler to compile C. Since we use `exit',
2584 # in C++ we need to declare it. In case someone uses the same compiler
2585 # for both compiling C and C++ we need to have the C++ compiler decide
2586 # the declaration of exit, since it's the most demanding environment.
2587 cat >conftest.$ac_ext <<_ACEOF
2588 #ifndef __cplusplus
2589 choke me
2590 #endif
2591 _ACEOF
2592 rm -f conftest.$ac_objext
2593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2594 (eval $ac_compile) 2>conftest.er1
2595 ac_status=$?
2596 grep -v '^ *+' conftest.er1 >conftest.err
2597 rm -f conftest.er1
2598 cat conftest.err >&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); } &&
2601 { ac_try='test -z "$ac_c_werror_flag"
2602 || test ! -s conftest.err'
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 (eval $ac_try) 2>&5
2605 ac_status=$?
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; } &&
2608 { ac_try='test -s conftest.$ac_objext'
2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 (eval $ac_try) 2>&5
2611 ac_status=$?
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }; }; then
2614 for ac_declaration in \
2615 '' \
2616 'extern "C" void std::exit (int) throw (); using std::exit;' \
2617 'extern "C" void std::exit (int); using std::exit;' \
2618 'extern "C" void exit (int) throw ();' \
2619 'extern "C" void exit (int);' \
2620 'void exit (int);'
2621 do
2622 cat >conftest.$ac_ext <<_ACEOF
2623 /* confdefs.h. */
2624 _ACEOF
2625 cat confdefs.h >>conftest.$ac_ext
2626 cat >>conftest.$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2628 $ac_declaration
2629 #include <stdlib.h>
2630 int
2631 main ()
2632 {
2633 exit (42);
2634 ;
2635 return 0;
2636 }
2637 _ACEOF
2638 rm -f conftest.$ac_objext
2639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2640 (eval $ac_compile) 2>conftest.er1
2641 ac_status=$?
2642 grep -v '^ *+' conftest.er1 >conftest.err
2643 rm -f conftest.er1
2644 cat conftest.err >&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); } &&
2647 { ac_try='test -z "$ac_c_werror_flag"
2648 || test ! -s conftest.err'
2649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650 (eval $ac_try) 2>&5
2651 ac_status=$?
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; } &&
2654 { ac_try='test -s conftest.$ac_objext'
2655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656 (eval $ac_try) 2>&5
2657 ac_status=$?
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; }; then
2660 :
2661 else
2662 echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.$ac_ext >&5
2664
2665 continue
2666 fi
2667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2668 cat >conftest.$ac_ext <<_ACEOF
2669 /* confdefs.h. */
2670 _ACEOF
2671 cat confdefs.h >>conftest.$ac_ext
2672 cat >>conftest.$ac_ext <<_ACEOF
2673 /* end confdefs.h. */
2674 $ac_declaration
2675 int
2676 main ()
2677 {
2678 exit (42);
2679 ;
2680 return 0;
2681 }
2682 _ACEOF
2683 rm -f conftest.$ac_objext
2684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2685 (eval $ac_compile) 2>conftest.er1
2686 ac_status=$?
2687 grep -v '^ *+' conftest.er1 >conftest.err
2688 rm -f conftest.er1
2689 cat conftest.err >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); } &&
2692 { ac_try='test -z "$ac_c_werror_flag"
2693 || test ! -s conftest.err'
2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 (eval $ac_try) 2>&5
2696 ac_status=$?
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; } &&
2699 { ac_try='test -s conftest.$ac_objext'
2700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2701 (eval $ac_try) 2>&5
2702 ac_status=$?
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }; }; then
2705 break
2706 else
2707 echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2709
2710 fi
2711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2712 done
2713 rm -f conftest*
2714 if test -n "$ac_declaration"; then
2715 echo '#ifdef __cplusplus' >>confdefs.h
2716 echo $ac_declaration >>confdefs.h
2717 echo '#endif' >>confdefs.h
2718 fi
2719
2720 else
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2723
2724 fi
2725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2726 ac_ext=c
2727 ac_cpp='$CPP $CPPFLAGS'
2728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2731 DEPDIR="${am__leading_dot}deps"
2732
2733 ac_config_commands="$ac_config_commands depfiles"
2734
2735
2736 am_make=${MAKE-make}
2737 cat > confinc << 'END'
2738 am__doit:
2739 @echo done
2740 .PHONY: am__doit
2741 END
2742 # If we don't find an include directive, just comment out the code.
2743 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2744 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2745 am__include="#"
2746 am__quote=
2747 _am_result=none
2748 # First try GNU make style include.
2749 echo "include confinc" > confmf
2750 # We grep out `Entering directory' and `Leaving directory'
2751 # messages which can occur if `w' ends up in MAKEFLAGS.
2752 # In particular we don't look at `^make:' because GNU make might
2753 # be invoked under some other name (usually "gmake"), in which
2754 # case it prints its new name instead of `make'.
2755 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2756 am__include=include
2757 am__quote=
2758 _am_result=GNU
2759 fi
2760 # Now try BSD make style include.
2761 if test "$am__include" = "#"; then
2762 echo '.include "confinc"' > confmf
2763 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2764 am__include=.include
2765 am__quote="\""
2766 _am_result=BSD
2767 fi
2768 fi
2769
2770
2771 echo "$as_me:$LINENO: result: $_am_result" >&5
2772 echo "${ECHO_T}$_am_result" >&6
2773 rm -f confinc confmf
2774
2775 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2776 if test "${enable_dependency_tracking+set}" = set; then
2777 enableval="$enable_dependency_tracking"
2778
2779 fi;
2780 if test "x$enable_dependency_tracking" != xno; then
2781 am_depcomp="$ac_aux_dir/depcomp"
2782 AMDEPBACKSLASH='\'
2783 fi
2784
2785
2786 if test "x$enable_dependency_tracking" != xno; then
2787 AMDEP_TRUE=
2788 AMDEP_FALSE='#'
2789 else
2790 AMDEP_TRUE='#'
2791 AMDEP_FALSE=
2792 fi
2793
2794
2795
2796
2797 depcc="$CC" am_compiler_list=
2798
2799 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2800 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2801 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2802 echo $ECHO_N "(cached) $ECHO_C" >&6
2803 else
2804 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2805 # We make a subdir and do the tests there. Otherwise we can end up
2806 # making bogus files that we don't know about and never remove. For
2807 # instance it was reported that on HP-UX the gcc test will end up
2808 # making a dummy file named `D' -- because `-MD' means `put the output
2809 # in D'.
2810 mkdir conftest.dir
2811 # Copy depcomp to subdir because otherwise we won't find it if we're
2812 # using a relative directory.
2813 cp "$am_depcomp" conftest.dir
2814 cd conftest.dir
2815 # We will build objects and dependencies in a subdirectory because
2816 # it helps to detect inapplicable dependency modes. For instance
2817 # both Tru64's cc and ICC support -MD to output dependencies as a
2818 # side effect of compilation, but ICC will put the dependencies in
2819 # the current directory while Tru64 will put them in the object
2820 # directory.
2821 mkdir sub
2822
2823 am_cv_CC_dependencies_compiler_type=none
2824 if test "$am_compiler_list" = ""; then
2825 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2826 fi
2827 for depmode in $am_compiler_list; do
2828 # Setup a source with many dependencies, because some compilers
2829 # like to wrap large dependency lists on column 80 (with \), and
2830 # we should not choose a depcomp mode which is confused by this.
2831 #
2832 # We need to recreate these files for each test, as the compiler may
2833 # overwrite some of them when testing with obscure command lines.
2834 # This happens at least with the AIX C compiler.
2835 : > sub/conftest.c
2836 for i in 1 2 3 4 5 6; do
2837 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2838 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2839 # Solaris 8's {/usr,}/bin/sh.
2840 touch sub/conftst$i.h
2841 done
2842 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2843
2844 case $depmode in
2845 nosideeffect)
2846 # after this tag, mechanisms are not by side-effect, so they'll
2847 # only be used when explicitly requested
2848 if test "x$enable_dependency_tracking" = xyes; then
2849 continue
2850 else
2851 break
2852 fi
2853 ;;
2854 none) break ;;
2855 esac
2856 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2857 # mode. It turns out that the SunPro C++ compiler does not properly
2858 # handle `-M -o', and we need to detect this.
2859 if depmode=$depmode \
2860 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2861 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2862 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2863 >/dev/null 2>conftest.err &&
2864 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2865 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2866 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2867 # icc doesn't choke on unknown options, it will just issue warnings
2868 # or remarks (even with -Werror). So we grep stderr for any message
2869 # that says an option was ignored or not supported.
2870 # When given -MP, icc 7.0 and 7.1 complain thusly:
2871 # icc: Command line warning: ignoring option '-M'; no argument required
2872 # The diagnosis changed in icc 8.0:
2873 # icc: Command line remark: option '-MP' not supported
2874 if (grep 'ignoring option' conftest.err ||
2875 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2876 am_cv_CC_dependencies_compiler_type=$depmode
2877 break
2878 fi
2879 fi
2880 done
2881
2882 cd ..
2883 rm -rf conftest.dir
2884 else
2885 am_cv_CC_dependencies_compiler_type=none
2886 fi
2887
2888 fi
2889 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2890 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2891 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2892
2893
2894
2895 if
2896 test "x$enable_dependency_tracking" != xno \
2897 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2898 am__fastdepCC_TRUE=
2899 am__fastdepCC_FALSE='#'
2900 else
2901 am__fastdepCC_TRUE='#'
2902 am__fastdepCC_FALSE=
2903 fi
2904
2905
2906 ac_ext=cc
2907 ac_cpp='$CXXCPP $CPPFLAGS'
2908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2911 if test -n "$ac_tool_prefix"; then
2912 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2913 do
2914 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2915 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2916 echo "$as_me:$LINENO: checking for $ac_word" >&5
2917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2918 if test "${ac_cv_prog_CXX+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6
2920 else
2921 if test -n "$CXX"; then
2922 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2923 else
2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 for as_dir in $PATH
2926 do
2927 IFS=$as_save_IFS
2928 test -z "$as_dir" && as_dir=.
2929 for ac_exec_ext in '' $ac_executable_extensions; do
2930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2931 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 break 2
2934 fi
2935 done
2936 done
2937
2938 fi
2939 fi
2940 CXX=$ac_cv_prog_CXX
2941 if test -n "$CXX"; then
2942 echo "$as_me:$LINENO: result: $CXX" >&5
2943 echo "${ECHO_T}$CXX" >&6
2944 else
2945 echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6
2947 fi
2948
2949 test -n "$CXX" && break
2950 done
2951 fi
2952 if test -z "$CXX"; then
2953 ac_ct_CXX=$CXX
2954 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2955 do
2956 # Extract the first word of "$ac_prog", so it can be a program name with args.
2957 set dummy $ac_prog; ac_word=$2
2958 echo "$as_me:$LINENO: checking for $ac_word" >&5
2959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2960 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2962 else
2963 if test -n "$ac_ct_CXX"; then
2964 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2965 else
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 for as_dir in $PATH
2968 do
2969 IFS=$as_save_IFS
2970 test -z "$as_dir" && as_dir=.
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2973 ac_cv_prog_ac_ct_CXX="$ac_prog"
2974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2975 break 2
2976 fi
2977 done
2978 done
2979
2980 fi
2981 fi
2982 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2983 if test -n "$ac_ct_CXX"; then
2984 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2985 echo "${ECHO_T}$ac_ct_CXX" >&6
2986 else
2987 echo "$as_me:$LINENO: result: no" >&5
2988 echo "${ECHO_T}no" >&6
2989 fi
2990
2991 test -n "$ac_ct_CXX" && break
2992 done
2993 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2994
2995 CXX=$ac_ct_CXX
2996 fi
2997
2998
2999 # Provide some information about the compiler.
3000 echo "$as_me:$LINENO:" \
3001 "checking for C++ compiler version" >&5
3002 ac_compiler=`set X $ac_compile; echo $2`
3003 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3004 (eval $ac_compiler --version </dev/null >&5) 2>&5
3005 ac_status=$?
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }
3008 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3009 (eval $ac_compiler -v </dev/null >&5) 2>&5
3010 ac_status=$?
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); }
3013 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3014 (eval $ac_compiler -V </dev/null >&5) 2>&5
3015 ac_status=$?
3016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); }
3018
3019 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3020 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3021 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 else
3024 cat >conftest.$ac_ext <<_ACEOF
3025 /* confdefs.h. */
3026 _ACEOF
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3030
3031 int
3032 main ()
3033 {
3034 #ifndef __GNUC__
3035 choke me
3036 #endif
3037
3038 ;
3039 return 0;
3040 }
3041 _ACEOF
3042 rm -f conftest.$ac_objext
3043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3044 (eval $ac_compile) 2>conftest.er1
3045 ac_status=$?
3046 grep -v '^ *+' conftest.er1 >conftest.err
3047 rm -f conftest.er1
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } &&
3051 { ac_try='test -z "$ac_cxx_werror_flag"
3052 || test ! -s conftest.err'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054 (eval $ac_try) 2>&5
3055 ac_status=$?
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; } &&
3058 { ac_try='test -s conftest.$ac_objext'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3060 (eval $ac_try) 2>&5
3061 ac_status=$?
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; }; then
3064 ac_compiler_gnu=yes
3065 else
3066 echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3068
3069 ac_compiler_gnu=no
3070 fi
3071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3072 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3073
3074 fi
3075 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3076 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3077 GXX=`test $ac_compiler_gnu = yes && echo yes`
3078 ac_test_CXXFLAGS=${CXXFLAGS+set}
3079 ac_save_CXXFLAGS=$CXXFLAGS
3080 CXXFLAGS="-g"
3081 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3082 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3083 if test "${ac_cv_prog_cxx_g+set}" = set; then
3084 echo $ECHO_N "(cached) $ECHO_C" >&6
3085 else
3086 cat >conftest.$ac_ext <<_ACEOF
3087 /* confdefs.h. */
3088 _ACEOF
3089 cat confdefs.h >>conftest.$ac_ext
3090 cat >>conftest.$ac_ext <<_ACEOF
3091 /* end confdefs.h. */
3092
3093 int
3094 main ()
3095 {
3096
3097 ;
3098 return 0;
3099 }
3100 _ACEOF
3101 rm -f conftest.$ac_objext
3102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3103 (eval $ac_compile) 2>conftest.er1
3104 ac_status=$?
3105 grep -v '^ *+' conftest.er1 >conftest.err
3106 rm -f conftest.er1
3107 cat conftest.err >&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } &&
3110 { ac_try='test -z "$ac_cxx_werror_flag"
3111 || test ! -s conftest.err'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3113 (eval $ac_try) 2>&5
3114 ac_status=$?
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; } &&
3117 { ac_try='test -s conftest.$ac_objext'
3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3119 (eval $ac_try) 2>&5
3120 ac_status=$?
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); }; }; then
3123 ac_cv_prog_cxx_g=yes
3124 else
3125 echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3127
3128 ac_cv_prog_cxx_g=no
3129 fi
3130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3131 fi
3132 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3133 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3134 if test "$ac_test_CXXFLAGS" = set; then
3135 CXXFLAGS=$ac_save_CXXFLAGS
3136 elif test $ac_cv_prog_cxx_g = yes; then
3137 if test "$GXX" = yes; then
3138 CXXFLAGS="-g -O2"
3139 else
3140 CXXFLAGS="-g"
3141 fi
3142 else
3143 if test "$GXX" = yes; then
3144 CXXFLAGS="-O2"
3145 else
3146 CXXFLAGS=
3147 fi
3148 fi
3149 for ac_declaration in \
3150 '' \
3151 'extern "C" void std::exit (int) throw (); using std::exit;' \
3152 'extern "C" void std::exit (int); using std::exit;' \
3153 'extern "C" void exit (int) throw ();' \
3154 'extern "C" void exit (int);' \
3155 'void exit (int);'
3156 do
3157 cat >conftest.$ac_ext <<_ACEOF
3158 /* confdefs.h. */
3159 _ACEOF
3160 cat confdefs.h >>conftest.$ac_ext
3161 cat >>conftest.$ac_ext <<_ACEOF
3162 /* end confdefs.h. */
3163 $ac_declaration
3164 #include <stdlib.h>
3165 int
3166 main ()
3167 {
3168 exit (42);
3169 ;
3170 return 0;
3171 }
3172 _ACEOF
3173 rm -f conftest.$ac_objext
3174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3175 (eval $ac_compile) 2>conftest.er1
3176 ac_status=$?
3177 grep -v '^ *+' conftest.er1 >conftest.err
3178 rm -f conftest.er1
3179 cat conftest.err >&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); } &&
3182 { ac_try='test -z "$ac_cxx_werror_flag"
3183 || test ! -s conftest.err'
3184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3185 (eval $ac_try) 2>&5
3186 ac_status=$?
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); }; } &&
3189 { ac_try='test -s conftest.$ac_objext'
3190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3191 (eval $ac_try) 2>&5
3192 ac_status=$?
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); }; }; then
3195 :
3196 else
3197 echo "$as_me: failed program was:" >&5
3198 sed 's/^/| /' conftest.$ac_ext >&5
3199
3200 continue
3201 fi
3202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3203 cat >conftest.$ac_ext <<_ACEOF
3204 /* confdefs.h. */
3205 _ACEOF
3206 cat confdefs.h >>conftest.$ac_ext
3207 cat >>conftest.$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3209 $ac_declaration
3210 int
3211 main ()
3212 {
3213 exit (42);
3214 ;
3215 return 0;
3216 }
3217 _ACEOF
3218 rm -f conftest.$ac_objext
3219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3220 (eval $ac_compile) 2>conftest.er1
3221 ac_status=$?
3222 grep -v '^ *+' conftest.er1 >conftest.err
3223 rm -f conftest.er1
3224 cat conftest.err >&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); } &&
3227 { ac_try='test -z "$ac_cxx_werror_flag"
3228 || test ! -s conftest.err'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230 (eval $ac_try) 2>&5
3231 ac_status=$?
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; } &&
3234 { ac_try='test -s conftest.$ac_objext'
3235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3236 (eval $ac_try) 2>&5
3237 ac_status=$?
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); }; }; then
3240 break
3241 else
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.$ac_ext >&5
3244
3245 fi
3246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3247 done
3248 rm -f conftest*
3249 if test -n "$ac_declaration"; then
3250 echo '#ifdef __cplusplus' >>confdefs.h
3251 echo $ac_declaration >>confdefs.h
3252 echo '#endif' >>confdefs.h
3253 fi
3254
3255 ac_ext=c
3256 ac_cpp='$CPP $CPPFLAGS'
3257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3260
3261 depcc="$CXX" am_compiler_list=
3262
3263 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3264 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3265 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 else
3268 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3269 # We make a subdir and do the tests there. Otherwise we can end up
3270 # making bogus files that we don't know about and never remove. For
3271 # instance it was reported that on HP-UX the gcc test will end up
3272 # making a dummy file named `D' -- because `-MD' means `put the output
3273 # in D'.
3274 mkdir conftest.dir
3275 # Copy depcomp to subdir because otherwise we won't find it if we're
3276 # using a relative directory.
3277 cp "$am_depcomp" conftest.dir
3278 cd conftest.dir
3279 # We will build objects and dependencies in a subdirectory because
3280 # it helps to detect inapplicable dependency modes. For instance
3281 # both Tru64's cc and ICC support -MD to output dependencies as a
3282 # side effect of compilation, but ICC will put the dependencies in
3283 # the current directory while Tru64 will put them in the object
3284 # directory.
3285 mkdir sub
3286
3287 am_cv_CXX_dependencies_compiler_type=none
3288 if test "$am_compiler_list" = ""; then
3289 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3290 fi
3291 for depmode in $am_compiler_list; do
3292 # Setup a source with many dependencies, because some compilers
3293 # like to wrap large dependency lists on column 80 (with \), and
3294 # we should not choose a depcomp mode which is confused by this.
3295 #
3296 # We need to recreate these files for each test, as the compiler may
3297 # overwrite some of them when testing with obscure command lines.
3298 # This happens at least with the AIX C compiler.
3299 : > sub/conftest.c
3300 for i in 1 2 3 4 5 6; do
3301 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3302 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3303 # Solaris 8's {/usr,}/bin/sh.
3304 touch sub/conftst$i.h
3305 done
3306 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3307
3308 case $depmode in
3309 nosideeffect)
3310 # after this tag, mechanisms are not by side-effect, so they'll
3311 # only be used when explicitly requested
3312 if test "x$enable_dependency_tracking" = xyes; then
3313 continue
3314 else
3315 break
3316 fi
3317 ;;
3318 none) break ;;
3319 esac
3320 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3321 # mode. It turns out that the SunPro C++ compiler does not properly
3322 # handle `-M -o', and we need to detect this.
3323 if depmode=$depmode \
3324 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3325 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3326 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3327 >/dev/null 2>conftest.err &&
3328 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3329 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3330 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3331 # icc doesn't choke on unknown options, it will just issue warnings
3332 # or remarks (even with -Werror). So we grep stderr for any message
3333 # that says an option was ignored or not supported.
3334 # When given -MP, icc 7.0 and 7.1 complain thusly:
3335 # icc: Command line warning: ignoring option '-M'; no argument required
3336 # The diagnosis changed in icc 8.0:
3337 # icc: Command line remark: option '-MP' not supported
3338 if (grep 'ignoring option' conftest.err ||
3339 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3340 am_cv_CXX_dependencies_compiler_type=$depmode
3341 break
3342 fi
3343 fi
3344 done
3345
3346 cd ..
3347 rm -rf conftest.dir
3348 else
3349 am_cv_CXX_dependencies_compiler_type=none
3350 fi
3351
3352 fi
3353 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3354 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3355 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3356
3357
3358
3359 if
3360 test "x$enable_dependency_tracking" != xno \
3361 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3362 am__fastdepCXX_TRUE=
3363 am__fastdepCXX_FALSE='#'
3364 else
3365 am__fastdepCXX_TRUE='#'
3366 am__fastdepCXX_FALSE=
3367 fi
3368
3369
3370 # Find a good install program. We prefer a C program (faster),
3371 # so one script is as good as another. But avoid the broken or
3372 # incompatible versions:
3373 # SysV /etc/install, /usr/sbin/install
3374 # SunOS /usr/etc/install
3375 # IRIX /sbin/install
3376 # AIX /bin/install
3377 # AmigaOS /C/install, which installs bootblocks on floppy discs
3378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3381 # OS/2's system install, which has a completely different semantic
3382 # ./install, which can be erroneously created by make from ./install.sh.
3383 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3384 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3385 if test -z "$INSTALL"; then
3386 if test "${ac_cv_path_install+set}" = set; then
3387 echo $ECHO_N "(cached) $ECHO_C" >&6
3388 else
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 for as_dir in $PATH
3391 do
3392 IFS=$as_save_IFS
3393 test -z "$as_dir" && as_dir=.
3394 # Account for people who put trailing slashes in PATH elements.
3395 case $as_dir/ in
3396 ./ | .// | /cC/* | \
3397 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3398 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3399 /usr/ucb/* ) ;;
3400 *)
3401 # OSF1 and SCO ODT 3.0 have their own names for install.
3402 # Don't use installbsd from OSF since it installs stuff as root
3403 # by default.
3404 for ac_prog in ginstall scoinst install; do
3405 for ac_exec_ext in '' $ac_executable_extensions; do
3406 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3407 if test $ac_prog = install &&
3408 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3409 # AIX install. It has an incompatible calling convention.
3410 :
3411 elif test $ac_prog = install &&
3412 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3413 # program-specific install script used by HP pwplus--don't use.
3414 :
3415 else
3416 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3417 break 3
3418 fi
3419 fi
3420 done
3421 done
3422 ;;
3423 esac
3424 done
3425
3426
3427 fi
3428 if test "${ac_cv_path_install+set}" = set; then
3429 INSTALL=$ac_cv_path_install
3430 else
3431 # As a last resort, use the slow shell script. We don't cache a
3432 # path for INSTALL within a source directory, because that will
3433 # break other packages using the cache if that directory is
3434 # removed, or if the path is relative.
3435 INSTALL=$ac_install_sh
3436 fi
3437 fi
3438 echo "$as_me:$LINENO: result: $INSTALL" >&5
3439 echo "${ECHO_T}$INSTALL" >&6
3440
3441 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3442 # It thinks the first close brace ends the variable substitution.
3443 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3444
3445 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3446
3447 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3448
3449 # If we haven't got the data from the intl directory,
3450 # assume NLS is disabled.
3451 USE_NLS=no
3452 LIBINTL=
3453 LIBINTL_DEP=
3454 INCINTL=
3455 XGETTEXT=
3456 GMSGFMT=
3457 POSUB=
3458
3459 if test -f ../intl/config.intl; then
3460 . ../intl/config.intl
3461 fi
3462 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3463 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3464 if test x"$USE_NLS" != xyes; then
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3467 else
3468 echo "$as_me:$LINENO: result: yes" >&5
3469 echo "${ECHO_T}yes" >&6
3470
3471 cat >>confdefs.h <<\_ACEOF
3472 #define ENABLE_NLS 1
3473 _ACEOF
3474
3475
3476 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
3477 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
3478 # Look for .po and .gmo files in the source directory.
3479 CATALOGS=
3480 XLINGUAS=
3481 for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
3482 # If there aren't any .gmo files the shell will give us the
3483 # literal string "../path/to/srcdir/po/*.gmo" which has to be
3484 # weeded out.
3485 case "$cat" in *\**)
3486 continue;;
3487 esac
3488 # The quadruple backslash is collapsed to a double backslash
3489 # by the backticks, then collapsed again by the double quotes,
3490 # leaving us with one backslash in the sed expression (right
3491 # before the dot that mustn't act as a wildcard).
3492 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
3493 lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
3494 # The user is allowed to set LINGUAS to a list of languages to
3495 # install catalogs for. If it's empty that means "all of them."
3496 if test "x$LINGUAS" = x; then
3497 CATALOGS="$CATALOGS $cat"
3498 XLINGUAS="$XLINGUAS $lang"
3499 else
3500 case "$LINGUAS" in *$lang*)
3501 CATALOGS="$CATALOGS $cat"
3502 XLINGUAS="$XLINGUAS $lang"
3503 ;;
3504 esac
3505 fi
3506 done
3507 LINGUAS="$XLINGUAS"
3508 echo "$as_me:$LINENO: result: $LINGUAS" >&5
3509 echo "${ECHO_T}$LINGUAS" >&6
3510
3511
3512 DATADIRNAME=share
3513
3514 INSTOBJEXT=.mo
3515
3516 GENCAT=gencat
3517
3518 CATOBJEXT=.gmo
3519
3520 fi
3521
3522 MKINSTALLDIRS=
3523 if test -n "$ac_aux_dir"; then
3524 case "$ac_aux_dir" in
3525 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
3526 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
3527 esac
3528 fi
3529 if test -z "$MKINSTALLDIRS"; then
3530 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3531 fi
3532
3533
3534
3535 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3536 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
3537 # Check whether --enable-nls or --disable-nls was given.
3538 if test "${enable_nls+set}" = set; then
3539 enableval="$enable_nls"
3540 USE_NLS=$enableval
3541 else
3542 USE_NLS=yes
3543 fi;
3544 echo "$as_me:$LINENO: result: $USE_NLS" >&5
3545 echo "${ECHO_T}$USE_NLS" >&6
3546
3547
3548
3549
3550
3551
3552 # Prepare PATH_SEPARATOR.
3553 # The user is always right.
3554 if test "${PATH_SEPARATOR+set}" != set; then
3555 echo "#! /bin/sh" >conf$$.sh
3556 echo "exit 0" >>conf$$.sh
3557 chmod +x conf$$.sh
3558 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3559 PATH_SEPARATOR=';'
3560 else
3561 PATH_SEPARATOR=:
3562 fi
3563 rm -f conf$$.sh
3564 fi
3565
3566 # Find out how to test for executable files. Don't use a zero-byte file,
3567 # as systems may use methods other than mode bits to determine executability.
3568 cat >conf$$.file <<_ASEOF
3569 #! /bin/sh
3570 exit 0
3571 _ASEOF
3572 chmod +x conf$$.file
3573 if test -x conf$$.file >/dev/null 2>&1; then
3574 ac_executable_p="test -x"
3575 else
3576 ac_executable_p="test -f"
3577 fi
3578 rm -f conf$$.file
3579
3580 # Extract the first word of "msgfmt", so it can be a program name with args.
3581 set dummy msgfmt; ac_word=$2
3582 echo "$as_me:$LINENO: checking for $ac_word" >&5
3583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3584 if test "${ac_cv_path_MSGFMT+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 else
3587 case "$MSGFMT" in
3588 [\\/]* | ?:[\\/]*)
3589 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3590 ;;
3591 *)
3592 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3593 for ac_dir in $PATH; do
3594 IFS="$ac_save_IFS"
3595 test -z "$ac_dir" && ac_dir=.
3596 for ac_exec_ext in '' $ac_executable_extensions; do
3597 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3598 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
3599 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3600 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
3601 break 2
3602 fi
3603 fi
3604 done
3605 done
3606 IFS="$ac_save_IFS"
3607 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
3608 ;;
3609 esac
3610 fi
3611 MSGFMT="$ac_cv_path_MSGFMT"
3612 if test "$MSGFMT" != ":"; then
3613 echo "$as_me:$LINENO: result: $MSGFMT" >&5
3614 echo "${ECHO_T}$MSGFMT" >&6
3615 else
3616 echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6
3618 fi
3619
3620 # Extract the first word of "gmsgfmt", so it can be a program name with args.
3621 set dummy gmsgfmt; ac_word=$2
3622 echo "$as_me:$LINENO: checking for $ac_word" >&5
3623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3624 if test "${ac_cv_path_GMSGFMT+set}" = set; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3626 else
3627 case $GMSGFMT in
3628 [\\/]* | ?:[\\/]*)
3629 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
3630 ;;
3631 *)
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 for as_dir in $PATH
3634 do
3635 IFS=$as_save_IFS
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
3640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 break 2
3642 fi
3643 done
3644 done
3645
3646 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
3647 ;;
3648 esac
3649 fi
3650 GMSGFMT=$ac_cv_path_GMSGFMT
3651
3652 if test -n "$GMSGFMT"; then
3653 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
3654 echo "${ECHO_T}$GMSGFMT" >&6
3655 else
3656 echo "$as_me:$LINENO: result: no" >&5
3657 echo "${ECHO_T}no" >&6
3658 fi
3659
3660
3661
3662 # Prepare PATH_SEPARATOR.
3663 # The user is always right.
3664 if test "${PATH_SEPARATOR+set}" != set; then
3665 echo "#! /bin/sh" >conf$$.sh
3666 echo "exit 0" >>conf$$.sh
3667 chmod +x conf$$.sh
3668 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3669 PATH_SEPARATOR=';'
3670 else
3671 PATH_SEPARATOR=:
3672 fi
3673 rm -f conf$$.sh
3674 fi
3675
3676 # Find out how to test for executable files. Don't use a zero-byte file,
3677 # as systems may use methods other than mode bits to determine executability.
3678 cat >conf$$.file <<_ASEOF
3679 #! /bin/sh
3680 exit 0
3681 _ASEOF
3682 chmod +x conf$$.file
3683 if test -x conf$$.file >/dev/null 2>&1; then
3684 ac_executable_p="test -x"
3685 else
3686 ac_executable_p="test -f"
3687 fi
3688 rm -f conf$$.file
3689
3690 # Extract the first word of "xgettext", so it can be a program name with args.
3691 set dummy xgettext; ac_word=$2
3692 echo "$as_me:$LINENO: checking for $ac_word" >&5
3693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3694 if test "${ac_cv_path_XGETTEXT+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 else
3697 case "$XGETTEXT" in
3698 [\\/]* | ?:[\\/]*)
3699 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
3700 ;;
3701 *)
3702 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3703 for ac_dir in $PATH; do
3704 IFS="$ac_save_IFS"
3705 test -z "$ac_dir" && ac_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3708 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
3709 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3710 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
3711 break 2
3712 fi
3713 fi
3714 done
3715 done
3716 IFS="$ac_save_IFS"
3717 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
3718 ;;
3719 esac
3720 fi
3721 XGETTEXT="$ac_cv_path_XGETTEXT"
3722 if test "$XGETTEXT" != ":"; then
3723 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3724 echo "${ECHO_T}$XGETTEXT" >&6
3725 else
3726 echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6
3728 fi
3729
3730 rm -f messages.po
3731
3732
3733 # Prepare PATH_SEPARATOR.
3734 # The user is always right.
3735 if test "${PATH_SEPARATOR+set}" != set; then
3736 echo "#! /bin/sh" >conf$$.sh
3737 echo "exit 0" >>conf$$.sh
3738 chmod +x conf$$.sh
3739 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3740 PATH_SEPARATOR=';'
3741 else
3742 PATH_SEPARATOR=:
3743 fi
3744 rm -f conf$$.sh
3745 fi
3746
3747 # Find out how to test for executable files. Don't use a zero-byte file,
3748 # as systems may use methods other than mode bits to determine executability.
3749 cat >conf$$.file <<_ASEOF
3750 #! /bin/sh
3751 exit 0
3752 _ASEOF
3753 chmod +x conf$$.file
3754 if test -x conf$$.file >/dev/null 2>&1; then
3755 ac_executable_p="test -x"
3756 else
3757 ac_executable_p="test -f"
3758 fi
3759 rm -f conf$$.file
3760
3761 # Extract the first word of "msgmerge", so it can be a program name with args.
3762 set dummy msgmerge; ac_word=$2
3763 echo "$as_me:$LINENO: checking for $ac_word" >&5
3764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3765 if test "${ac_cv_path_MSGMERGE+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3767 else
3768 case "$MSGMERGE" in
3769 [\\/]* | ?:[\\/]*)
3770 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3771 ;;
3772 *)
3773 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
3774 for ac_dir in $PATH; do
3775 IFS="$ac_save_IFS"
3776 test -z "$ac_dir" && ac_dir=.
3777 for ac_exec_ext in '' $ac_executable_extensions; do
3778 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
3779 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
3780 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
3781 break 2
3782 fi
3783 fi
3784 done
3785 done
3786 IFS="$ac_save_IFS"
3787 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
3788 ;;
3789 esac
3790 fi
3791 MSGMERGE="$ac_cv_path_MSGMERGE"
3792 if test "$MSGMERGE" != ":"; then
3793 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3794 echo "${ECHO_T}$MSGMERGE" >&6
3795 else
3796 echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6
3798 fi
3799
3800
3801 if test "$GMSGFMT" != ":"; then
3802 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
3803 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3804 : ;
3805 else
3806 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
3807 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
3808 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
3809 GMSGFMT=":"
3810 fi
3811 fi
3812
3813 if test "$XGETTEXT" != ":"; then
3814 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
3815 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
3816 : ;
3817 else
3818 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
3819 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
3820 XGETTEXT=":"
3821 fi
3822 rm -f messages.po
3823 fi
3824
3825 ac_config_commands="$ac_config_commands default-1"
3826
3827
3828
3829
3830
3831
3832 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
3833
3834 # Check whether --enable-werror or --disable-werror was given.
3835 if test "${enable_werror+set}" = set; then
3836 enableval="$enable_werror"
3837 case "${enableval}" in
3838 yes | y) ERROR_ON_WARNING="yes" ;;
3839 no | n) ERROR_ON_WARNING="no" ;;
3840 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
3841 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
3842 { (exit 1); exit 1; }; } ;;
3843 esac
3844 fi;
3845
3846 # Enable -Werror by default when using gcc
3847 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
3848 ERROR_ON_WARNING=yes
3849 fi
3850
3851 NO_WERROR=
3852 if test "${ERROR_ON_WARNING}" = yes ; then
3853 GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
3854 NO_WERROR="-Wno-error"
3855 fi
3856
3857 if test "${GCC}" = yes ; then
3858 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
3859 fi
3860
3861 # Check whether --enable-build-warnings or --disable-build-warnings was given.
3862 if test "${enable_build_warnings+set}" = set; then
3863 enableval="$enable_build_warnings"
3864 case "${enableval}" in
3865 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
3866 no) if test "${GCC}" = yes ; then
3867 WARN_CFLAGS="-w"
3868 fi;;
3869 ,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
3870 WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
3871 *,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
3872 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
3873 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
3874 esac
3875 fi;
3876
3877 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
3878 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
3879 fi
3880
3881
3882
3883
3884
3885 WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//'`
3886
3887
3888 LFS_CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
3889
3890
3891 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3892 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3893 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3894 if test "${enable_maintainer_mode+set}" = set; then
3895 enableval="$enable_maintainer_mode"
3896 USE_MAINTAINER_MODE=$enableval
3897 else
3898 USE_MAINTAINER_MODE=no
3899 fi;
3900 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3901 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3902
3903
3904 if test $USE_MAINTAINER_MODE = yes; then
3905 MAINTAINER_MODE_TRUE=
3906 MAINTAINER_MODE_FALSE='#'
3907 else
3908 MAINTAINER_MODE_TRUE='#'
3909 MAINTAINER_MODE_FALSE=
3910 fi
3911
3912 MAINT=$MAINTAINER_MODE_TRUE
3913
3914
3915
3916 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
3917 cat >confcache <<\_ACEOF
3918 # This file is a shell script that caches the results of configure
3919 # tests run on this system so they can be shared between configure
3920 # scripts and configure runs, see configure's option --config-cache.
3921 # It is not useful on other systems. If it contains results you don't
3922 # want to keep, you may remove or edit it.
3923 #
3924 # config.status only pays attention to the cache file if you give it
3925 # the --recheck option to rerun configure.
3926 #
3927 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3928 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3929 # following values.
3930
3931 _ACEOF
3932
3933 # The following way of writing the cache mishandles newlines in values,
3934 # but we know of no workaround that is simple, portable, and efficient.
3935 # So, don't put newlines in cache variables' values.
3936 # Ultrix sh set writes to stderr and can't be redirected directly,
3937 # and sets the high bit in the cache file unless we assign to the vars.
3938 {
3939 (set) 2>&1 |
3940 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3941 *ac_space=\ *)
3942 # `set' does not quote correctly, so add quotes (double-quote
3943 # substitution turns \\\\ into \\, and sed turns \\ into \).
3944 sed -n \
3945 "s/'/'\\\\''/g;
3946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3947 ;;
3948 *)
3949 # `set' quotes correctly as required by POSIX, so do not add quotes.
3950 sed -n \
3951 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3952 ;;
3953 esac;
3954 } |
3955 sed '
3956 t clear
3957 : clear
3958 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3959 t end
3960 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3961 : end' >>confcache
3962 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3963 if test -w $cache_file; then
3964 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3965 cat confcache >$cache_file
3966 else
3967 echo "not updating unwritable cache $cache_file"
3968 fi
3969 fi
3970 rm -f confcache
3971
3972 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3973 # Let make expand exec_prefix.
3974 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3975
3976 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3977 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3978 # trailing colons and then remove the whole line if VPATH becomes empty
3979 # (actually we leave an empty line to preserve line numbers).
3980 if test "x$srcdir" = x.; then
3981 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3982 s/:*\$(srcdir):*/:/;
3983 s/:*\${srcdir}:*/:/;
3984 s/:*@srcdir@:*/:/;
3985 s/^\([^=]*=[ ]*\):*/\1/;
3986 s/:*$//;
3987 s/^[^=]*=[ ]*$//;
3988 }'
3989 fi
3990
3991 DEFS=-DHAVE_CONFIG_H
3992
3993 ac_libobjs=
3994 ac_ltlibobjs=
3995 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3996 # 1. Remove the extension, and $U if already installed.
3997 ac_i=`echo "$ac_i" |
3998 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3999 # 2. Add them.
4000 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4001 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4002 done
4003 LIBOBJS=$ac_libobjs
4004
4005 LTLIBOBJS=$ac_ltlibobjs
4006
4007
4008 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4009 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4010 Usually this means the macro was only invoked conditionally." >&5
4011 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4012 Usually this means the macro was only invoked conditionally." >&2;}
4013 { (exit 1); exit 1; }; }
4014 fi
4015 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4016 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4017 Usually this means the macro was only invoked conditionally." >&5
4018 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4019 Usually this means the macro was only invoked conditionally." >&2;}
4020 { (exit 1); exit 1; }; }
4021 fi
4022 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4023 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
4024 Usually this means the macro was only invoked conditionally." >&5
4025 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
4026 Usually this means the macro was only invoked conditionally." >&2;}
4027 { (exit 1); exit 1; }; }
4028 fi
4029 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4030 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4031 Usually this means the macro was only invoked conditionally." >&5
4032 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4033 Usually this means the macro was only invoked conditionally." >&2;}
4034 { (exit 1); exit 1; }; }
4035 fi
4036
4037 : ${CONFIG_STATUS=./config.status}
4038 ac_clean_files_save=$ac_clean_files
4039 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4040 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4041 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4042 cat >$CONFIG_STATUS <<_ACEOF
4043 #! $SHELL
4044 # Generated by $as_me.
4045 # Run this file to recreate the current configuration.
4046 # Compiler output produced by configure, useful for debugging
4047 # configure, is in config.log if it exists.
4048
4049 debug=false
4050 ac_cs_recheck=false
4051 ac_cs_silent=false
4052 SHELL=\${CONFIG_SHELL-$SHELL}
4053 _ACEOF
4054
4055 cat >>$CONFIG_STATUS <<\_ACEOF
4056 ## --------------------- ##
4057 ## M4sh Initialization. ##
4058 ## --------------------- ##
4059
4060 # Be Bourne compatible
4061 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4062 emulate sh
4063 NULLCMD=:
4064 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4065 # is contrary to our usage. Disable this feature.
4066 alias -g '${1+"$@"}'='"$@"'
4067 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4068 set -o posix
4069 fi
4070 DUALCASE=1; export DUALCASE # for MKS sh
4071
4072 # Support unset when possible.
4073 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4074 as_unset=unset
4075 else
4076 as_unset=false
4077 fi
4078
4079
4080 # Work around bugs in pre-3.0 UWIN ksh.
4081 $as_unset ENV MAIL MAILPATH
4082 PS1='$ '
4083 PS2='> '
4084 PS4='+ '
4085
4086 # NLS nuisances.
4087 for as_var in \
4088 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4089 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4090 LC_TELEPHONE LC_TIME
4091 do
4092 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4093 eval $as_var=C; export $as_var
4094 else
4095 $as_unset $as_var
4096 fi
4097 done
4098
4099 # Required to use basename.
4100 if expr a : '\(a\)' >/dev/null 2>&1; then
4101 as_expr=expr
4102 else
4103 as_expr=false
4104 fi
4105
4106 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4107 as_basename=basename
4108 else
4109 as_basename=false
4110 fi
4111
4112
4113 # Name of the executable.
4114 as_me=`$as_basename "$0" ||
4115 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4116 X"$0" : 'X\(//\)$' \| \
4117 X"$0" : 'X\(/\)$' \| \
4118 . : '\(.\)' 2>/dev/null ||
4119 echo X/"$0" |
4120 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4121 /^X\/\(\/\/\)$/{ s//\1/; q; }
4122 /^X\/\(\/\).*/{ s//\1/; q; }
4123 s/.*/./; q'`
4124
4125
4126 # PATH needs CR, and LINENO needs CR and PATH.
4127 # Avoid depending upon Character Ranges.
4128 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4129 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4130 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4131 as_cr_digits='0123456789'
4132 as_cr_alnum=$as_cr_Letters$as_cr_digits
4133
4134 # The user is always right.
4135 if test "${PATH_SEPARATOR+set}" != set; then
4136 echo "#! /bin/sh" >conf$$.sh
4137 echo "exit 0" >>conf$$.sh
4138 chmod +x conf$$.sh
4139 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4140 PATH_SEPARATOR=';'
4141 else
4142 PATH_SEPARATOR=:
4143 fi
4144 rm -f conf$$.sh
4145 fi
4146
4147
4148 as_lineno_1=$LINENO
4149 as_lineno_2=$LINENO
4150 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4151 test "x$as_lineno_1" != "x$as_lineno_2" &&
4152 test "x$as_lineno_3" = "x$as_lineno_2" || {
4153 # Find who we are. Look in the path if we contain no path at all
4154 # relative or not.
4155 case $0 in
4156 *[\\/]* ) as_myself=$0 ;;
4157 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4158 for as_dir in $PATH
4159 do
4160 IFS=$as_save_IFS
4161 test -z "$as_dir" && as_dir=.
4162 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4163 done
4164
4165 ;;
4166 esac
4167 # We did not find ourselves, most probably we were run as `sh COMMAND'
4168 # in which case we are not to be found in the path.
4169 if test "x$as_myself" = x; then
4170 as_myself=$0
4171 fi
4172 if test ! -f "$as_myself"; then
4173 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4174 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4175 { (exit 1); exit 1; }; }
4176 fi
4177 case $CONFIG_SHELL in
4178 '')
4179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4180 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4181 do
4182 IFS=$as_save_IFS
4183 test -z "$as_dir" && as_dir=.
4184 for as_base in sh bash ksh sh5; do
4185 case $as_dir in
4186 /*)
4187 if ("$as_dir/$as_base" -c '
4188 as_lineno_1=$LINENO
4189 as_lineno_2=$LINENO
4190 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4191 test "x$as_lineno_1" != "x$as_lineno_2" &&
4192 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4193 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4194 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4195 CONFIG_SHELL=$as_dir/$as_base
4196 export CONFIG_SHELL
4197 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4198 fi;;
4199 esac
4200 done
4201 done
4202 ;;
4203 esac
4204
4205 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4206 # uniformly replaced by the line number. The first 'sed' inserts a
4207 # line-number line before each line; the second 'sed' does the real
4208 # work. The second script uses 'N' to pair each line-number line
4209 # with the numbered line, and appends trailing '-' during
4210 # substitution so that $LINENO is not a special case at line end.
4211 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4212 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4213 sed '=' <$as_myself |
4214 sed '
4215 N
4216 s,$,-,
4217 : loop
4218 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4219 t loop
4220 s,-$,,
4221 s,^['$as_cr_digits']*\n,,
4222 ' >$as_me.lineno &&
4223 chmod +x $as_me.lineno ||
4224 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4225 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4226 { (exit 1); exit 1; }; }
4227
4228 # Don't try to exec as it changes $[0], causing all sort of problems
4229 # (the dirname of $[0] is not the place where we might find the
4230 # original and so on. Autoconf is especially sensible to this).
4231 . ./$as_me.lineno
4232 # Exit status is that of the last command.
4233 exit
4234 }
4235
4236
4237 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4238 *c*,-n*) ECHO_N= ECHO_C='
4239 ' ECHO_T=' ' ;;
4240 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4241 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4242 esac
4243
4244 if expr a : '\(a\)' >/dev/null 2>&1; then
4245 as_expr=expr
4246 else
4247 as_expr=false
4248 fi
4249
4250 rm -f conf$$ conf$$.exe conf$$.file
4251 echo >conf$$.file
4252 if ln -s conf$$.file conf$$ 2>/dev/null; then
4253 # We could just check for DJGPP; but this test a) works b) is more generic
4254 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4255 if test -f conf$$.exe; then
4256 # Don't use ln at all; we don't have any links
4257 as_ln_s='cp -p'
4258 else
4259 as_ln_s='ln -s'
4260 fi
4261 elif ln conf$$.file conf$$ 2>/dev/null; then
4262 as_ln_s=ln
4263 else
4264 as_ln_s='cp -p'
4265 fi
4266 rm -f conf$$ conf$$.exe conf$$.file
4267
4268 if mkdir -p . 2>/dev/null; then
4269 as_mkdir_p=:
4270 else
4271 test -d ./-p && rmdir ./-p
4272 as_mkdir_p=false
4273 fi
4274
4275 as_executable_p="test -f"
4276
4277 # Sed expression to map a string onto a valid CPP name.
4278 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4279
4280 # Sed expression to map a string onto a valid variable name.
4281 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4282
4283
4284 # IFS
4285 # We need space, tab and new line, in precisely that order.
4286 as_nl='
4287 '
4288 IFS=" $as_nl"
4289
4290 # CDPATH.
4291 $as_unset CDPATH
4292
4293 exec 6>&1
4294
4295 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4296 # report actual input values of CONFIG_FILES etc. instead of their
4297 # values after options handling. Logging --version etc. is OK.
4298 exec 5>>config.log
4299 {
4300 echo
4301 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4302 ## Running $as_me. ##
4303 _ASBOX
4304 } >&5
4305 cat >&5 <<_CSEOF
4306
4307 This file was extended by $as_me, which was
4308 generated by GNU Autoconf 2.59. Invocation command line was
4309
4310 CONFIG_FILES = $CONFIG_FILES
4311 CONFIG_HEADERS = $CONFIG_HEADERS
4312 CONFIG_LINKS = $CONFIG_LINKS
4313 CONFIG_COMMANDS = $CONFIG_COMMANDS
4314 $ $0 $@
4315
4316 _CSEOF
4317 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4318 echo >&5
4319 _ACEOF
4320
4321 # Files that config.status was made for.
4322 if test -n "$ac_config_files"; then
4323 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4324 fi
4325
4326 if test -n "$ac_config_headers"; then
4327 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4328 fi
4329
4330 if test -n "$ac_config_links"; then
4331 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4332 fi
4333
4334 if test -n "$ac_config_commands"; then
4335 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4336 fi
4337
4338 cat >>$CONFIG_STATUS <<\_ACEOF
4339
4340 ac_cs_usage="\
4341 \`$as_me' instantiates files from templates according to the
4342 current configuration.
4343
4344 Usage: $0 [OPTIONS] [FILE]...
4345
4346 -h, --help print this help, then exit
4347 -V, --version print version number, then exit
4348 -q, --quiet do not print progress messages
4349 -d, --debug don't remove temporary files
4350 --recheck update $as_me by reconfiguring in the same conditions
4351 --file=FILE[:TEMPLATE]
4352 instantiate the configuration file FILE
4353 --header=FILE[:TEMPLATE]
4354 instantiate the configuration header FILE
4355
4356 Configuration files:
4357 $config_files
4358
4359 Configuration headers:
4360 $config_headers
4361
4362 Configuration commands:
4363 $config_commands
4364
4365 Report bugs to <bug-autoconf@gnu.org>."
4366 _ACEOF
4367
4368 cat >>$CONFIG_STATUS <<_ACEOF
4369 ac_cs_version="\\
4370 config.status
4371 configured by $0, generated by GNU Autoconf 2.59,
4372 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4373
4374 Copyright (C) 2003 Free Software Foundation, Inc.
4375 This config.status script is free software; the Free Software Foundation
4376 gives unlimited permission to copy, distribute and modify it."
4377 srcdir=$srcdir
4378 INSTALL="$INSTALL"
4379 _ACEOF
4380
4381 cat >>$CONFIG_STATUS <<\_ACEOF
4382 # If no file are specified by the user, then we need to provide default
4383 # value. By we need to know if files were specified by the user.
4384 ac_need_defaults=:
4385 while test $# != 0
4386 do
4387 case $1 in
4388 --*=*)
4389 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4390 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4391 ac_shift=:
4392 ;;
4393 -*)
4394 ac_option=$1
4395 ac_optarg=$2
4396 ac_shift=shift
4397 ;;
4398 *) # This is not an option, so the user has probably given explicit
4399 # arguments.
4400 ac_option=$1
4401 ac_need_defaults=false;;
4402 esac
4403
4404 case $ac_option in
4405 # Handling of the options.
4406 _ACEOF
4407 cat >>$CONFIG_STATUS <<\_ACEOF
4408 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4409 ac_cs_recheck=: ;;
4410 --version | --vers* | -V )
4411 echo "$ac_cs_version"; exit 0 ;;
4412 --he | --h)
4413 # Conflict between --help and --header
4414 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4415 Try \`$0 --help' for more information." >&5
4416 echo "$as_me: error: ambiguous option: $1
4417 Try \`$0 --help' for more information." >&2;}
4418 { (exit 1); exit 1; }; };;
4419 --help | --hel | -h )
4420 echo "$ac_cs_usage"; exit 0 ;;
4421 --debug | --d* | -d )
4422 debug=: ;;
4423 --file | --fil | --fi | --f )
4424 $ac_shift
4425 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4426 ac_need_defaults=false;;
4427 --header | --heade | --head | --hea )
4428 $ac_shift
4429 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4430 ac_need_defaults=false;;
4431 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4432 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4433 ac_cs_silent=: ;;
4434
4435 # This is an error.
4436 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4437 Try \`$0 --help' for more information." >&5
4438 echo "$as_me: error: unrecognized option: $1
4439 Try \`$0 --help' for more information." >&2;}
4440 { (exit 1); exit 1; }; } ;;
4441
4442 *) ac_config_targets="$ac_config_targets $1" ;;
4443
4444 esac
4445 shift
4446 done
4447
4448 ac_configure_extra_args=
4449
4450 if $ac_cs_silent; then
4451 exec 6>/dev/null
4452 ac_configure_extra_args="$ac_configure_extra_args --silent"
4453 fi
4454
4455 _ACEOF
4456 cat >>$CONFIG_STATUS <<_ACEOF
4457 if \$ac_cs_recheck; then
4458 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4459 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4460 fi
4461
4462 _ACEOF
4463
4464 cat >>$CONFIG_STATUS <<_ACEOF
4465 #
4466 # INIT-COMMANDS section.
4467 #
4468
4469 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4470 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
4471 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
4472 # from automake.
4473 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
4474 # Capture the value of LINGUAS because we need it to compute CATALOGS.
4475 LINGUAS="${LINGUAS-%UNSET%}"
4476
4477
4478 _ACEOF
4479
4480
4481
4482 cat >>$CONFIG_STATUS <<\_ACEOF
4483 for ac_config_target in $ac_config_targets
4484 do
4485 case "$ac_config_target" in
4486 # Handling of arguments.
4487 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4488 "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
4489 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4490 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
4491 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
4492 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4493 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4494 { (exit 1); exit 1; }; };;
4495 esac
4496 done
4497
4498 # If the user did not use the arguments to specify the items to instantiate,
4499 # then the envvar interface is used. Set only those that are not.
4500 # We use the long form for the default assignment because of an extremely
4501 # bizarre bug on SunOS 4.1.3.
4502 if $ac_need_defaults; then
4503 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4504 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4505 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4506 fi
4507
4508 # Have a temporary directory for convenience. Make it in the build tree
4509 # simply because there is no reason to put it here, and in addition,
4510 # creating and moving files from /tmp can sometimes cause problems.
4511 # Create a temporary directory, and hook for its removal unless debugging.
4512 $debug ||
4513 {
4514 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4515 trap '{ (exit 1); exit 1; }' 1 2 13 15
4516 }
4517
4518 # Create a (secure) tmp directory for tmp files.
4519
4520 {
4521 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4522 test -n "$tmp" && test -d "$tmp"
4523 } ||
4524 {
4525 tmp=./confstat$$-$RANDOM
4526 (umask 077 && mkdir $tmp)
4527 } ||
4528 {
4529 echo "$me: cannot create a temporary directory in ." >&2
4530 { (exit 1); exit 1; }
4531 }
4532
4533 _ACEOF
4534
4535 cat >>$CONFIG_STATUS <<_ACEOF
4536
4537 #
4538 # CONFIG_FILES section.
4539 #
4540
4541 # No need to generate the scripts if there are no CONFIG_FILES.
4542 # This happens for instance when ./config.status config.h
4543 if test -n "\$CONFIG_FILES"; then
4544 # Protect against being on the right side of a sed subst in config.status.
4545 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4546 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4547 s,@SHELL@,$SHELL,;t t
4548 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4549 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4550 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4551 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4552 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4553 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4554 s,@exec_prefix@,$exec_prefix,;t t
4555 s,@prefix@,$prefix,;t t
4556 s,@program_transform_name@,$program_transform_name,;t t
4557 s,@bindir@,$bindir,;t t
4558 s,@sbindir@,$sbindir,;t t
4559 s,@libexecdir@,$libexecdir,;t t
4560 s,@datadir@,$datadir,;t t
4561 s,@sysconfdir@,$sysconfdir,;t t
4562 s,@sharedstatedir@,$sharedstatedir,;t t
4563 s,@localstatedir@,$localstatedir,;t t
4564 s,@libdir@,$libdir,;t t
4565 s,@includedir@,$includedir,;t t
4566 s,@oldincludedir@,$oldincludedir,;t t
4567 s,@infodir@,$infodir,;t t
4568 s,@mandir@,$mandir,;t t
4569 s,@build_alias@,$build_alias,;t t
4570 s,@host_alias@,$host_alias,;t t
4571 s,@target_alias@,$target_alias,;t t
4572 s,@DEFS@,$DEFS,;t t
4573 s,@ECHO_C@,$ECHO_C,;t t
4574 s,@ECHO_N@,$ECHO_N,;t t
4575 s,@ECHO_T@,$ECHO_T,;t t
4576 s,@LIBS@,$LIBS,;t t
4577 s,@build@,$build,;t t
4578 s,@build_cpu@,$build_cpu,;t t
4579 s,@build_vendor@,$build_vendor,;t t
4580 s,@build_os@,$build_os,;t t
4581 s,@host@,$host,;t t
4582 s,@host_cpu@,$host_cpu,;t t
4583 s,@host_vendor@,$host_vendor,;t t
4584 s,@host_os@,$host_os,;t t
4585 s,@target@,$target,;t t
4586 s,@target_cpu@,$target_cpu,;t t
4587 s,@target_vendor@,$target_vendor,;t t
4588 s,@target_os@,$target_os,;t t
4589 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4590 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4591 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4592 s,@CYGPATH_W@,$CYGPATH_W,;t t
4593 s,@PACKAGE@,$PACKAGE,;t t
4594 s,@VERSION@,$VERSION,;t t
4595 s,@ACLOCAL@,$ACLOCAL,;t t
4596 s,@AUTOCONF@,$AUTOCONF,;t t
4597 s,@AUTOMAKE@,$AUTOMAKE,;t t
4598 s,@AUTOHEADER@,$AUTOHEADER,;t t
4599 s,@MAKEINFO@,$MAKEINFO,;t t
4600 s,@install_sh@,$install_sh,;t t
4601 s,@STRIP@,$STRIP,;t t
4602 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4603 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4604 s,@mkdir_p@,$mkdir_p,;t t
4605 s,@AWK@,$AWK,;t t
4606 s,@SET_MAKE@,$SET_MAKE,;t t
4607 s,@am__leading_dot@,$am__leading_dot,;t t
4608 s,@AMTAR@,$AMTAR,;t t
4609 s,@am__tar@,$am__tar,;t t
4610 s,@am__untar@,$am__untar,;t t
4611 s,@CC@,$CC,;t t
4612 s,@CFLAGS@,$CFLAGS,;t t
4613 s,@LDFLAGS@,$LDFLAGS,;t t
4614 s,@CPPFLAGS@,$CPPFLAGS,;t t
4615 s,@ac_ct_CC@,$ac_ct_CC,;t t
4616 s,@EXEEXT@,$EXEEXT,;t t
4617 s,@OBJEXT@,$OBJEXT,;t t
4618 s,@DEPDIR@,$DEPDIR,;t t
4619 s,@am__include@,$am__include,;t t
4620 s,@am__quote@,$am__quote,;t t
4621 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4622 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4623 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4624 s,@CCDEPMODE@,$CCDEPMODE,;t t
4625 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4626 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4627 s,@CXX@,$CXX,;t t
4628 s,@CXXFLAGS@,$CXXFLAGS,;t t
4629 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4630 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
4631 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
4632 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
4633 s,@USE_NLS@,$USE_NLS,;t t
4634 s,@LIBINTL@,$LIBINTL,;t t
4635 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
4636 s,@INCINTL@,$INCINTL,;t t
4637 s,@XGETTEXT@,$XGETTEXT,;t t
4638 s,@GMSGFMT@,$GMSGFMT,;t t
4639 s,@POSUB@,$POSUB,;t t
4640 s,@CATALOGS@,$CATALOGS,;t t
4641 s,@DATADIRNAME@,$DATADIRNAME,;t t
4642 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
4643 s,@GENCAT@,$GENCAT,;t t
4644 s,@CATOBJEXT@,$CATOBJEXT,;t t
4645 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
4646 s,@MSGFMT@,$MSGFMT,;t t
4647 s,@MSGMERGE@,$MSGMERGE,;t t
4648 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
4649 s,@NO_WERROR@,$NO_WERROR,;t t
4650 s,@WARN_CXXFLAGS@,$WARN_CXXFLAGS,;t t
4651 s,@LFS_CXXFLAGS@,$LFS_CXXFLAGS,;t t
4652 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4653 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4654 s,@MAINT@,$MAINT,;t t
4655 s,@LIBOBJS@,$LIBOBJS,;t t
4656 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4657 CEOF
4658
4659 _ACEOF
4660
4661 cat >>$CONFIG_STATUS <<\_ACEOF
4662 # Split the substitutions into bite-sized pieces for seds with
4663 # small command number limits, like on Digital OSF/1 and HP-UX.
4664 ac_max_sed_lines=48
4665 ac_sed_frag=1 # Number of current file.
4666 ac_beg=1 # First line for current file.
4667 ac_end=$ac_max_sed_lines # Line after last line for current file.
4668 ac_more_lines=:
4669 ac_sed_cmds=
4670 while $ac_more_lines; do
4671 if test $ac_beg -gt 1; then
4672 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4673 else
4674 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4675 fi
4676 if test ! -s $tmp/subs.frag; then
4677 ac_more_lines=false
4678 else
4679 # The purpose of the label and of the branching condition is to
4680 # speed up the sed processing (if there are no `@' at all, there
4681 # is no need to browse any of the substitutions).
4682 # These are the two extra sed commands mentioned above.
4683 (echo ':t
4684 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4685 if test -z "$ac_sed_cmds"; then
4686 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4687 else
4688 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4689 fi
4690 ac_sed_frag=`expr $ac_sed_frag + 1`
4691 ac_beg=$ac_end
4692 ac_end=`expr $ac_end + $ac_max_sed_lines`
4693 fi
4694 done
4695 if test -z "$ac_sed_cmds"; then
4696 ac_sed_cmds=cat
4697 fi
4698 fi # test -n "$CONFIG_FILES"
4699
4700 _ACEOF
4701 cat >>$CONFIG_STATUS <<\_ACEOF
4702 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4703 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4704 case $ac_file in
4705 - | *:- | *:-:* ) # input from stdin
4706 cat >$tmp/stdin
4707 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4708 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4709 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4710 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4711 * ) ac_file_in=$ac_file.in ;;
4712 esac
4713
4714 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4715 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4716 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4717 X"$ac_file" : 'X\(//\)[^/]' \| \
4718 X"$ac_file" : 'X\(//\)$' \| \
4719 X"$ac_file" : 'X\(/\)' \| \
4720 . : '\(.\)' 2>/dev/null ||
4721 echo X"$ac_file" |
4722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4724 /^X\(\/\/\)$/{ s//\1/; q; }
4725 /^X\(\/\).*/{ s//\1/; q; }
4726 s/.*/./; q'`
4727 { if $as_mkdir_p; then
4728 mkdir -p "$ac_dir"
4729 else
4730 as_dir="$ac_dir"
4731 as_dirs=
4732 while test ! -d "$as_dir"; do
4733 as_dirs="$as_dir $as_dirs"
4734 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4735 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4736 X"$as_dir" : 'X\(//\)[^/]' \| \
4737 X"$as_dir" : 'X\(//\)$' \| \
4738 X"$as_dir" : 'X\(/\)' \| \
4739 . : '\(.\)' 2>/dev/null ||
4740 echo X"$as_dir" |
4741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4742 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4743 /^X\(\/\/\)$/{ s//\1/; q; }
4744 /^X\(\/\).*/{ s//\1/; q; }
4745 s/.*/./; q'`
4746 done
4747 test ! -n "$as_dirs" || mkdir $as_dirs
4748 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4749 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4750 { (exit 1); exit 1; }; }; }
4751
4752 ac_builddir=.
4753
4754 if test "$ac_dir" != .; then
4755 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4756 # A "../" for each directory in $ac_dir_suffix.
4757 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4758 else
4759 ac_dir_suffix= ac_top_builddir=
4760 fi
4761
4762 case $srcdir in
4763 .) # No --srcdir option. We are building in place.
4764 ac_srcdir=.
4765 if test -z "$ac_top_builddir"; then
4766 ac_top_srcdir=.
4767 else
4768 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4769 fi ;;
4770 [\\/]* | ?:[\\/]* ) # Absolute path.
4771 ac_srcdir=$srcdir$ac_dir_suffix;
4772 ac_top_srcdir=$srcdir ;;
4773 *) # Relative path.
4774 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4775 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4776 esac
4777
4778 # Do not use `cd foo && pwd` to compute absolute paths, because
4779 # the directories may not exist.
4780 case `pwd` in
4781 .) ac_abs_builddir="$ac_dir";;
4782 *)
4783 case "$ac_dir" in
4784 .) ac_abs_builddir=`pwd`;;
4785 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4786 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4787 esac;;
4788 esac
4789 case $ac_abs_builddir in
4790 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4791 *)
4792 case ${ac_top_builddir}. in
4793 .) ac_abs_top_builddir=$ac_abs_builddir;;
4794 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4795 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4796 esac;;
4797 esac
4798 case $ac_abs_builddir in
4799 .) ac_abs_srcdir=$ac_srcdir;;
4800 *)
4801 case $ac_srcdir in
4802 .) ac_abs_srcdir=$ac_abs_builddir;;
4803 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4804 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4805 esac;;
4806 esac
4807 case $ac_abs_builddir in
4808 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4809 *)
4810 case $ac_top_srcdir in
4811 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4812 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4813 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4814 esac;;
4815 esac
4816
4817
4818 case $INSTALL in
4819 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4820 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4821 esac
4822
4823 if test x"$ac_file" != x-; then
4824 { echo "$as_me:$LINENO: creating $ac_file" >&5
4825 echo "$as_me: creating $ac_file" >&6;}
4826 rm -f "$ac_file"
4827 fi
4828 # Let's still pretend it is `configure' which instantiates (i.e., don't
4829 # use $as_me), people would be surprised to read:
4830 # /* config.h. Generated by config.status. */
4831 if test x"$ac_file" = x-; then
4832 configure_input=
4833 else
4834 configure_input="$ac_file. "
4835 fi
4836 configure_input=$configure_input"Generated from `echo $ac_file_in |
4837 sed 's,.*/,,'` by configure."
4838
4839 # First look for the input files in the build tree, otherwise in the
4840 # src tree.
4841 ac_file_inputs=`IFS=:
4842 for f in $ac_file_in; do
4843 case $f in
4844 -) echo $tmp/stdin ;;
4845 [\\/$]*)
4846 # Absolute (can't be DOS-style, as IFS=:)
4847 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4848 echo "$as_me: error: cannot find input file: $f" >&2;}
4849 { (exit 1); exit 1; }; }
4850 echo "$f";;
4851 *) # Relative
4852 if test -f "$f"; then
4853 # Build tree
4854 echo "$f"
4855 elif test -f "$srcdir/$f"; then
4856 # Source tree
4857 echo "$srcdir/$f"
4858 else
4859 # /dev/null tree
4860 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4861 echo "$as_me: error: cannot find input file: $f" >&2;}
4862 { (exit 1); exit 1; }; }
4863 fi;;
4864 esac
4865 done` || { (exit 1); exit 1; }
4866 _ACEOF
4867 cat >>$CONFIG_STATUS <<_ACEOF
4868 sed "$ac_vpsub
4869 $extrasub
4870 _ACEOF
4871 cat >>$CONFIG_STATUS <<\_ACEOF
4872 :t
4873 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4874 s,@configure_input@,$configure_input,;t t
4875 s,@srcdir@,$ac_srcdir,;t t
4876 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4877 s,@top_srcdir@,$ac_top_srcdir,;t t
4878 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4879 s,@builddir@,$ac_builddir,;t t
4880 s,@abs_builddir@,$ac_abs_builddir,;t t
4881 s,@top_builddir@,$ac_top_builddir,;t t
4882 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4883 s,@INSTALL@,$ac_INSTALL,;t t
4884 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4885 rm -f $tmp/stdin
4886 if test x"$ac_file" != x-; then
4887 mv $tmp/out $ac_file
4888 else
4889 cat $tmp/out
4890 rm -f $tmp/out
4891 fi
4892
4893 done
4894 _ACEOF
4895 cat >>$CONFIG_STATUS <<\_ACEOF
4896
4897 #
4898 # CONFIG_HEADER section.
4899 #
4900
4901 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4902 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4903 #
4904 # ac_d sets the value in "#define NAME VALUE" lines.
4905 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4906 ac_dB='[ ].*$,\1#\2'
4907 ac_dC=' '
4908 ac_dD=',;t'
4909 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4910 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4911 ac_uB='$,\1#\2define\3'
4912 ac_uC=' '
4913 ac_uD=',;t'
4914
4915 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4916 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4917 case $ac_file in
4918 - | *:- | *:-:* ) # input from stdin
4919 cat >$tmp/stdin
4920 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4921 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4922 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4923 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4924 * ) ac_file_in=$ac_file.in ;;
4925 esac
4926
4927 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4928 echo "$as_me: creating $ac_file" >&6;}
4929
4930 # First look for the input files in the build tree, otherwise in the
4931 # src tree.
4932 ac_file_inputs=`IFS=:
4933 for f in $ac_file_in; do
4934 case $f in
4935 -) echo $tmp/stdin ;;
4936 [\\/$]*)
4937 # Absolute (can't be DOS-style, as IFS=:)
4938 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4939 echo "$as_me: error: cannot find input file: $f" >&2;}
4940 { (exit 1); exit 1; }; }
4941 # Do quote $f, to prevent DOS paths from being IFS'd.
4942 echo "$f";;
4943 *) # Relative
4944 if test -f "$f"; then
4945 # Build tree
4946 echo "$f"
4947 elif test -f "$srcdir/$f"; then
4948 # Source tree
4949 echo "$srcdir/$f"
4950 else
4951 # /dev/null tree
4952 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4953 echo "$as_me: error: cannot find input file: $f" >&2;}
4954 { (exit 1); exit 1; }; }
4955 fi;;
4956 esac
4957 done` || { (exit 1); exit 1; }
4958 # Remove the trailing spaces.
4959 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4960
4961 _ACEOF
4962
4963 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4964 # `conftest.undefs', that substitutes the proper values into
4965 # config.h.in to produce config.h. The first handles `#define'
4966 # templates, and the second `#undef' templates.
4967 # And first: Protect against being on the right side of a sed subst in
4968 # config.status. Protect against being in an unquoted here document
4969 # in config.status.
4970 rm -f conftest.defines conftest.undefs
4971 # Using a here document instead of a string reduces the quoting nightmare.
4972 # Putting comments in sed scripts is not portable.
4973 #
4974 # `end' is used to avoid that the second main sed command (meant for
4975 # 0-ary CPP macros) applies to n-ary macro definitions.
4976 # See the Autoconf documentation for `clear'.
4977 cat >confdef2sed.sed <<\_ACEOF
4978 s/[\\&,]/\\&/g
4979 s,[\\$`],\\&,g
4980 t clear
4981 : clear
4982 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4983 t end
4984 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4985 : end
4986 _ACEOF
4987 # If some macros were called several times there might be several times
4988 # the same #defines, which is useless. Nevertheless, we may not want to
4989 # sort them, since we want the *last* AC-DEFINE to be honored.
4990 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4991 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4992 rm -f confdef2sed.sed
4993
4994 # This sed command replaces #undef with comments. This is necessary, for
4995 # example, in the case of _POSIX_SOURCE, which is predefined and required
4996 # on some systems where configure will not decide to define it.
4997 cat >>conftest.undefs <<\_ACEOF
4998 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4999 _ACEOF
5000
5001 # Break up conftest.defines because some shells have a limit on the size
5002 # of here documents, and old seds have small limits too (100 cmds).
5003 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5004 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5005 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5006 echo ' :' >>$CONFIG_STATUS
5007 rm -f conftest.tail
5008 while grep . conftest.defines >/dev/null
5009 do
5010 # Write a limited-size here document to $tmp/defines.sed.
5011 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5012 # Speed up: don't consider the non `#define' lines.
5013 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5014 # Work around the forget-to-reset-the-flag bug.
5015 echo 't clr' >>$CONFIG_STATUS
5016 echo ': clr' >>$CONFIG_STATUS
5017 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5018 echo 'CEOF
5019 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5020 rm -f $tmp/in
5021 mv $tmp/out $tmp/in
5022 ' >>$CONFIG_STATUS
5023 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5024 rm -f conftest.defines
5025 mv conftest.tail conftest.defines
5026 done
5027 rm -f conftest.defines
5028 echo ' fi # grep' >>$CONFIG_STATUS
5029 echo >>$CONFIG_STATUS
5030
5031 # Break up conftest.undefs because some shells have a limit on the size
5032 # of here documents, and old seds have small limits too (100 cmds).
5033 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5034 rm -f conftest.tail
5035 while grep . conftest.undefs >/dev/null
5036 do
5037 # Write a limited-size here document to $tmp/undefs.sed.
5038 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5039 # Speed up: don't consider the non `#undef'
5040 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5041 # Work around the forget-to-reset-the-flag bug.
5042 echo 't clr' >>$CONFIG_STATUS
5043 echo ': clr' >>$CONFIG_STATUS
5044 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5045 echo 'CEOF
5046 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5047 rm -f $tmp/in
5048 mv $tmp/out $tmp/in
5049 ' >>$CONFIG_STATUS
5050 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5051 rm -f conftest.undefs
5052 mv conftest.tail conftest.undefs
5053 done
5054 rm -f conftest.undefs
5055
5056 cat >>$CONFIG_STATUS <<\_ACEOF
5057 # Let's still pretend it is `configure' which instantiates (i.e., don't
5058 # use $as_me), people would be surprised to read:
5059 # /* config.h. Generated by config.status. */
5060 if test x"$ac_file" = x-; then
5061 echo "/* Generated by configure. */" >$tmp/config.h
5062 else
5063 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5064 fi
5065 cat $tmp/in >>$tmp/config.h
5066 rm -f $tmp/in
5067 if test x"$ac_file" != x-; then
5068 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5069 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5070 echo "$as_me: $ac_file is unchanged" >&6;}
5071 else
5072 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5073 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5074 X"$ac_file" : 'X\(//\)[^/]' \| \
5075 X"$ac_file" : 'X\(//\)$' \| \
5076 X"$ac_file" : 'X\(/\)' \| \
5077 . : '\(.\)' 2>/dev/null ||
5078 echo X"$ac_file" |
5079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5080 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5081 /^X\(\/\/\)$/{ s//\1/; q; }
5082 /^X\(\/\).*/{ s//\1/; q; }
5083 s/.*/./; q'`
5084 { if $as_mkdir_p; then
5085 mkdir -p "$ac_dir"
5086 else
5087 as_dir="$ac_dir"
5088 as_dirs=
5089 while test ! -d "$as_dir"; do
5090 as_dirs="$as_dir $as_dirs"
5091 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5092 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5093 X"$as_dir" : 'X\(//\)[^/]' \| \
5094 X"$as_dir" : 'X\(//\)$' \| \
5095 X"$as_dir" : 'X\(/\)' \| \
5096 . : '\(.\)' 2>/dev/null ||
5097 echo X"$as_dir" |
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 done
5104 test ! -n "$as_dirs" || mkdir $as_dirs
5105 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5106 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5107 { (exit 1); exit 1; }; }; }
5108
5109 rm -f $ac_file
5110 mv $tmp/config.h $ac_file
5111 fi
5112 else
5113 cat $tmp/config.h
5114 rm -f $tmp/config.h
5115 fi
5116 # Compute $ac_file's index in $config_headers.
5117 _am_stamp_count=1
5118 for _am_header in $config_headers :; do
5119 case $_am_header in
5120 $ac_file | $ac_file:* )
5121 break ;;
5122 * )
5123 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5124 esac
5125 done
5126 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5127 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5128 X$ac_file : 'X\(//\)[^/]' \| \
5129 X$ac_file : 'X\(//\)$' \| \
5130 X$ac_file : 'X\(/\)' \| \
5131 . : '\(.\)' 2>/dev/null ||
5132 echo X$ac_file |
5133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5134 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5135 /^X\(\/\/\)$/{ s//\1/; q; }
5136 /^X\(\/\).*/{ s//\1/; q; }
5137 s/.*/./; q'`/stamp-h$_am_stamp_count
5138 done
5139 _ACEOF
5140 cat >>$CONFIG_STATUS <<\_ACEOF
5141
5142 #
5143 # CONFIG_COMMANDS section.
5144 #
5145 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5146 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5147 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5148 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5149 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5150 X"$ac_dest" : 'X\(//\)[^/]' \| \
5151 X"$ac_dest" : 'X\(//\)$' \| \
5152 X"$ac_dest" : 'X\(/\)' \| \
5153 . : '\(.\)' 2>/dev/null ||
5154 echo X"$ac_dest" |
5155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5156 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5157 /^X\(\/\/\)$/{ s//\1/; q; }
5158 /^X\(\/\).*/{ s//\1/; q; }
5159 s/.*/./; q'`
5160 { if $as_mkdir_p; then
5161 mkdir -p "$ac_dir"
5162 else
5163 as_dir="$ac_dir"
5164 as_dirs=
5165 while test ! -d "$as_dir"; do
5166 as_dirs="$as_dir $as_dirs"
5167 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5169 X"$as_dir" : 'X\(//\)[^/]' \| \
5170 X"$as_dir" : 'X\(//\)$' \| \
5171 X"$as_dir" : 'X\(/\)' \| \
5172 . : '\(.\)' 2>/dev/null ||
5173 echo X"$as_dir" |
5174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5176 /^X\(\/\/\)$/{ s//\1/; q; }
5177 /^X\(\/\).*/{ s//\1/; q; }
5178 s/.*/./; q'`
5179 done
5180 test ! -n "$as_dirs" || mkdir $as_dirs
5181 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5182 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5183 { (exit 1); exit 1; }; }; }
5184
5185 ac_builddir=.
5186
5187 if test "$ac_dir" != .; then
5188 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5189 # A "../" for each directory in $ac_dir_suffix.
5190 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5191 else
5192 ac_dir_suffix= ac_top_builddir=
5193 fi
5194
5195 case $srcdir in
5196 .) # No --srcdir option. We are building in place.
5197 ac_srcdir=.
5198 if test -z "$ac_top_builddir"; then
5199 ac_top_srcdir=.
5200 else
5201 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5202 fi ;;
5203 [\\/]* | ?:[\\/]* ) # Absolute path.
5204 ac_srcdir=$srcdir$ac_dir_suffix;
5205 ac_top_srcdir=$srcdir ;;
5206 *) # Relative path.
5207 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5208 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5209 esac
5210
5211 # Do not use `cd foo && pwd` to compute absolute paths, because
5212 # the directories may not exist.
5213 case `pwd` in
5214 .) ac_abs_builddir="$ac_dir";;
5215 *)
5216 case "$ac_dir" in
5217 .) ac_abs_builddir=`pwd`;;
5218 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5219 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5220 esac;;
5221 esac
5222 case $ac_abs_builddir in
5223 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5224 *)
5225 case ${ac_top_builddir}. in
5226 .) ac_abs_top_builddir=$ac_abs_builddir;;
5227 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5228 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5229 esac;;
5230 esac
5231 case $ac_abs_builddir in
5232 .) ac_abs_srcdir=$ac_srcdir;;
5233 *)
5234 case $ac_srcdir in
5235 .) ac_abs_srcdir=$ac_abs_builddir;;
5236 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5237 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5238 esac;;
5239 esac
5240 case $ac_abs_builddir in
5241 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5242 *)
5243 case $ac_top_srcdir in
5244 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5245 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5246 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5247 esac;;
5248 esac
5249
5250
5251 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5252 echo "$as_me: executing $ac_dest commands" >&6;}
5253 case $ac_dest in
5254 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5255 # Strip MF so we end up with the name of the file.
5256 mf=`echo "$mf" | sed -e 's/:.*$//'`
5257 # Check whether this is an Automake generated Makefile or not.
5258 # We used to match only the files named `Makefile.in', but
5259 # some people rename them; so instead we look at the file content.
5260 # Grep'ing the first line is not enough: some people post-process
5261 # each Makefile.in and add a new line on top of each file to say so.
5262 # So let's grep whole file.
5263 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5264 dirpart=`(dirname "$mf") 2>/dev/null ||
5265 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5266 X"$mf" : 'X\(//\)[^/]' \| \
5267 X"$mf" : 'X\(//\)$' \| \
5268 X"$mf" : 'X\(/\)' \| \
5269 . : '\(.\)' 2>/dev/null ||
5270 echo X"$mf" |
5271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5272 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5273 /^X\(\/\/\)$/{ s//\1/; q; }
5274 /^X\(\/\).*/{ s//\1/; q; }
5275 s/.*/./; q'`
5276 else
5277 continue
5278 fi
5279 # Extract the definition of DEPDIR, am__include, and am__quote
5280 # from the Makefile without running `make'.
5281 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5282 test -z "$DEPDIR" && continue
5283 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5284 test -z "am__include" && continue
5285 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5286 # When using ansi2knr, U may be empty or an underscore; expand it
5287 U=`sed -n 's/^U = //p' < "$mf"`
5288 # Find all dependency output files, they are included files with
5289 # $(DEPDIR) in their names. We invoke sed twice because it is the
5290 # simplest approach to changing $(DEPDIR) to its actual value in the
5291 # expansion.
5292 for file in `sed -n "
5293 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5294 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5295 # Make sure the directory exists.
5296 test -f "$dirpart/$file" && continue
5297 fdir=`(dirname "$file") 2>/dev/null ||
5298 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5299 X"$file" : 'X\(//\)[^/]' \| \
5300 X"$file" : 'X\(//\)$' \| \
5301 X"$file" : 'X\(/\)' \| \
5302 . : '\(.\)' 2>/dev/null ||
5303 echo X"$file" |
5304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5306 /^X\(\/\/\)$/{ s//\1/; q; }
5307 /^X\(\/\).*/{ s//\1/; q; }
5308 s/.*/./; q'`
5309 { if $as_mkdir_p; then
5310 mkdir -p $dirpart/$fdir
5311 else
5312 as_dir=$dirpart/$fdir
5313 as_dirs=
5314 while test ! -d "$as_dir"; do
5315 as_dirs="$as_dir $as_dirs"
5316 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5318 X"$as_dir" : 'X\(//\)[^/]' \| \
5319 X"$as_dir" : 'X\(//\)$' \| \
5320 X"$as_dir" : 'X\(/\)' \| \
5321 . : '\(.\)' 2>/dev/null ||
5322 echo X"$as_dir" |
5323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5324 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5325 /^X\(\/\/\)$/{ s//\1/; q; }
5326 /^X\(\/\).*/{ s//\1/; q; }
5327 s/.*/./; q'`
5328 done
5329 test ! -n "$as_dirs" || mkdir $as_dirs
5330 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5331 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5332 { (exit 1); exit 1; }; }; }
5333
5334 # echo "creating $dirpart/$file"
5335 echo '# dummy' > "$dirpart/$file"
5336 done
5337 done
5338 ;;
5339 default-1 )
5340 for ac_file in $CONFIG_FILES; do
5341 # Support "outfile[:infile[:infile...]]"
5342 case "$ac_file" in
5343 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
5344 esac
5345 # PO directories have a Makefile.in generated from Makefile.in.in.
5346 case "$ac_file" in */Makefile.in)
5347 # Adjust a relative srcdir.
5348 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
5349 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
5350 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
5351 # In autoconf-2.13 it is called $ac_given_srcdir.
5352 # In autoconf-2.50 it is called $srcdir.
5353 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
5354 case "$ac_given_srcdir" in
5355 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
5356 /*) top_srcdir="$ac_given_srcdir" ;;
5357 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
5358 esac
5359 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
5360 rm -f "$ac_dir/POTFILES"
5361 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
5362 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
5363 POMAKEFILEDEPS="POTFILES.in"
5364 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
5365 # on $ac_dir but don't depend on user-specified configuration
5366 # parameters.
5367 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
5368 # The LINGUAS file contains the set of available languages.
5369 if test -n "$OBSOLETE_ALL_LINGUAS"; then
5370 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
5371 fi
5372 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
5373 # Hide the ALL_LINGUAS assigment from automake.
5374 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
5375 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
5376 else
5377 # The set of available languages was given in configure.in.
5378 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
5379 fi
5380 case "$ac_given_srcdir" in
5381 .) srcdirpre= ;;
5382 *) srcdirpre='$(srcdir)/' ;;
5383 esac
5384 POFILES=
5385 GMOFILES=
5386 UPDATEPOFILES=
5387 DUMMYPOFILES=
5388 for lang in $ALL_LINGUAS; do
5389 POFILES="$POFILES $srcdirpre$lang.po"
5390 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
5391 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
5392 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
5393 done
5394 # CATALOGS depends on both $ac_dir and the user's LINGUAS
5395 # environment variable.
5396 INST_LINGUAS=
5397 if test -n "$ALL_LINGUAS"; then
5398 for presentlang in $ALL_LINGUAS; do
5399 useit=no
5400 if test "%UNSET%" != "$LINGUAS"; then
5401 desiredlanguages="$LINGUAS"
5402 else
5403 desiredlanguages="$ALL_LINGUAS"
5404 fi
5405 for desiredlang in $desiredlanguages; do
5406 # Use the presentlang catalog if desiredlang is
5407 # a. equal to presentlang, or
5408 # b. a variant of presentlang (because in this case,
5409 # presentlang can be used as a fallback for messages
5410 # which are not translated in the desiredlang catalog).
5411 case "$desiredlang" in
5412 "$presentlang"*) useit=yes;;
5413 esac
5414 done
5415 if test $useit = yes; then
5416 INST_LINGUAS="$INST_LINGUAS $presentlang"
5417 fi
5418 done
5419 fi
5420 CATALOGS=
5421 if test -n "$INST_LINGUAS"; then
5422 for lang in $INST_LINGUAS; do
5423 CATALOGS="$CATALOGS $lang.gmo"
5424 done
5425 fi
5426 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
5427 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
5428 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
5429 if test -f "$f"; then
5430 case "$f" in
5431 *.orig | *.bak | *~) ;;
5432 *) cat "$f" >> "$ac_dir/Makefile" ;;
5433 esac
5434 fi
5435 done
5436 fi
5437 ;;
5438 esac
5439 done ;;
5440 esac
5441 done
5442 _ACEOF
5443
5444 cat >>$CONFIG_STATUS <<\_ACEOF
5445
5446 { (exit 0); exit 0; }
5447 _ACEOF
5448 chmod +x $CONFIG_STATUS
5449 ac_clean_files=$ac_clean_files_save
5450
5451
5452 # configure is writing to config.log, and then calls config.status.
5453 # config.status does its own redirection, appending to config.log.
5454 # Unfortunately, on DOS this fails, as config.log is still kept open
5455 # by configure, so config.status won't be able to write to it; its
5456 # output is simply discarded. So we exec the FD to /dev/null,
5457 # effectively closing config.log, so it can be properly (re)opened and
5458 # appended to by config.status. When coming back to configure, we
5459 # need to make the FD available again.
5460 if test "$no_create" != yes; then
5461 ac_cs_success=:
5462 ac_config_status_args=
5463 test "$silent" = yes &&
5464 ac_config_status_args="$ac_config_status_args --quiet"
5465 exec 5>/dev/null
5466 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5467 exec 5>>config.log
5468 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5469 # would make configure fail if this is the last instruction.
5470 $ac_cs_success || { (exit 1); exit 1; }
5471 fi
5472
This page took 0.171033 seconds and 4 git commands to generate.