configure revision 1.1 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for xwud 1.0.1.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45 do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99 fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
155 ;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='xwud'
271 PACKAGE_TARNAME='xwud'
272 PACKAGE_VERSION='1.0.1'
273 PACKAGE_STRING='xwud 1.0.1'
274 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
275
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 PKG_CONFIG ac_pt_PKG_CONFIG XWUD_CFLAGS XWUD_LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS'
277 ac_subst_files=''
278
279 # Initialize some variables set by options.
280 ac_init_help=
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
284 cache_file=/dev/null
285 exec_prefix=NONE
286 no_create=
287 no_recursion=
288 prefix=NONE
289 program_prefix=NONE
290 program_suffix=NONE
291 program_transform_name=s,x,x,
292 silent=
293 site=
294 srcdir=
295 verbose=
296 x_includes=NONE
297 x_libraries=NONE
298
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
316
317 ac_prev=
318 for ac_option
319 do
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
323 ac_prev=
324 continue
325 fi
326
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
329 # Accept the important Cygnus configure options, so we can diagnose typos.
330
331 case $ac_option in
332
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
334 ac_prev=bindir ;;
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 bindir=$ac_optarg ;;
337
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
342
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
349
350 --config-cache | -C)
351 cache_file=config.cache ;;
352
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354 ac_prev=datadir ;;
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356 | --da=*)
357 datadir=$ac_optarg ;;
358
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
367
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375 case $ac_option in
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377 *) ac_optarg=yes ;;
378 esac
379 eval "enable_$ac_feature='$ac_optarg'" ;;
380
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
389
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
392 with_gas=yes ;;
393
394 -help | --help | --hel | --he | -h)
395 ac_init_help=long ;;
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
400
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
405
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
412
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
414 ac_prev=infodir ;;
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
417
418 -libdir | --libdir | --libdi | --libd)
419 ac_prev=libdir ;;
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
421 libdir=$ac_optarg ;;
422
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
429
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
438
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440 ac_prev=mandir ;;
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442 mandir=$ac_optarg ;;
443
444 -nfp | --nfp | --nf)
445 # Obsolete; use --without-fp.
446 with_fp=no ;;
447
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
450 no_create=yes ;;
451
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454 no_recursion=yes ;;
455
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
464
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466 ac_prev=prefix ;;
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468 prefix=$ac_optarg ;;
469
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
476
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
483
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
500
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
503 silent=yes ;;
504
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506 ac_prev=sbindir ;;
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508 | --sbi=* | --sb=*)
509 sbindir=$ac_optarg ;;
510
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
514 | --sha | --sh)
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519 | --sha=* | --sh=*)
520 sharedstatedir=$ac_optarg ;;
521
522 -site | --site | --sit)
523 ac_prev=site ;;
524 -site=* | --site=* | --sit=*)
525 site=$ac_optarg ;;
526
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528 ac_prev=srcdir ;;
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530 srcdir=$ac_optarg ;;
531
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
538
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
543
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
545 verbose=yes ;;
546
547 -version | --version | --versio | --versi | --vers | -V)
548 ac_init_version=: ;;
549
550 -with-* | --with-*)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
557 case $ac_option in
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559 *) ac_optarg=yes ;;
560 esac
561 eval "with_$ac_package='$ac_optarg'" ;;
562
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
571
572 --x)
573 # Obsolete; use --with-x.
574 with_x=yes ;;
575
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
582
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
589
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
593 ;;
594
595 *=*)
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
603 export $ac_envvar ;;
604
605 *)
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611 ;;
612
613 esac
614 done
615
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
620 fi
621
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
624 do
625 eval ac_val=$`echo $ac_var`
626 case $ac_val in
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
630 esac
631 done
632
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
636 do
637 eval ac_val=$`echo $ac_var`
638 case $ac_val in
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
642 esac
643 done
644
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
648 build=$build_alias
649 host=$host_alias
650 target=$target_alias
651
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
659 cross_compiling=yes
660 fi
661 fi
662
663 ac_tool_prefix=
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
666 test "$silent" = yes && exec 6>/dev/null
667
668
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
679 echo X"$0" |
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
684 s/.*/./; q'`
685 srcdir=$ac_confdir
686 if test ! -r $srcdir/$ac_unique_file; then
687 srcdir=..
688 fi
689 else
690 ac_srcdir_defaulted=no
691 fi
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
696 else
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
699 fi
700 fi
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
718 ac_env_CC_value=$CC
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
734 ac_env_PKG_CONFIG_value=$PKG_CONFIG
735 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
736 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
737 ac_env_XWUD_CFLAGS_set=${XWUD_CFLAGS+set}
738 ac_env_XWUD_CFLAGS_value=$XWUD_CFLAGS
739 ac_cv_env_XWUD_CFLAGS_set=${XWUD_CFLAGS+set}
740 ac_cv_env_XWUD_CFLAGS_value=$XWUD_CFLAGS
741 ac_env_XWUD_LIBS_set=${XWUD_LIBS+set}
742 ac_env_XWUD_LIBS_value=$XWUD_LIBS
743 ac_cv_env_XWUD_LIBS_set=${XWUD_LIBS+set}
744 ac_cv_env_XWUD_LIBS_value=$XWUD_LIBS
745
746 #
747 # Report the --help message.
748 #
749 if test "$ac_init_help" = "long"; then
750 # Omit some internal or obsolete options to make the list less imposing.
751 # This message is too long to be a string in the A/UX 3.1 sh.
752 cat <<_ACEOF
753 \`configure' configures xwud 1.0.1 to adapt to many kinds of systems.
754
755 Usage: $0 [OPTION]... [VAR=VALUE]...
756
757 To assign environment variables (e.g., CC, CFLAGS...), specify them as
758 VAR=VALUE. See below for descriptions of some of the useful variables.
759
760 Defaults for the options are specified in brackets.
761
762 Configuration:
763 -h, --help display this help and exit
764 --help=short display options specific to this package
765 --help=recursive display the short help of all the included packages
766 -V, --version display version information and exit
767 -q, --quiet, --silent do not print \`checking...' messages
768 --cache-file=FILE cache test results in FILE [disabled]
769 -C, --config-cache alias for \`--cache-file=config.cache'
770 -n, --no-create do not create output files
771 --srcdir=DIR find the sources in DIR [configure dir or \`..']
772
773 _ACEOF
774
775 cat <<_ACEOF
776 Installation directories:
777 --prefix=PREFIX install architecture-independent files in PREFIX
778 [$ac_default_prefix]
779 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
780 [PREFIX]
781
782 By default, \`make install' will install all the files in
783 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
784 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
785 for instance \`--prefix=\$HOME'.
786
787 For better control, use the options below.
788
789 Fine tuning of the installation directories:
790 --bindir=DIR user executables [EPREFIX/bin]
791 --sbindir=DIR system admin executables [EPREFIX/sbin]
792 --libexecdir=DIR program executables [EPREFIX/libexec]
793 --datadir=DIR read-only architecture-independent data [PREFIX/share]
794 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
795 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
796 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
797 --libdir=DIR object code libraries [EPREFIX/lib]
798 --includedir=DIR C header files [PREFIX/include]
799 --oldincludedir=DIR C header files for non-gcc [/usr/include]
800 --infodir=DIR info documentation [PREFIX/info]
801 --mandir=DIR man documentation [PREFIX/man]
802 _ACEOF
803
804 cat <<\_ACEOF
805
806 Program names:
807 --program-prefix=PREFIX prepend PREFIX to installed program names
808 --program-suffix=SUFFIX append SUFFIX to installed program names
809 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
810
811 System types:
812 --build=BUILD configure for building on BUILD [guessed]
813 --host=HOST cross-compile to build programs to run on HOST [BUILD]
814 _ACEOF
815 fi
816
817 if test -n "$ac_init_help"; then
818 case $ac_init_help in
819 short | recursive ) echo "Configuration of xwud 1.0.1:";;
820 esac
821 cat <<\_ACEOF
822
823 Optional Features:
824 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
825 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
826 --enable-maintainer-mode enable make rules and dependencies not useful
827 (and sometimes confusing) to the casual installer
828 --disable-dependency-tracking Speeds up one-time builds
829 --enable-dependency-tracking Do not reject slow dependency extractors
830
831 Optional Packages:
832 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
833 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
834 --with-release-version=STRING
835 Use release version string in package name
836
837 Some influential environment variables:
838 CC C compiler command
839 CFLAGS C compiler flags
840 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
841 nonstandard directory <lib dir>
842 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
843 headers in a nonstandard directory <include dir>
844 PKG_CONFIG path to pkg-config utility
845 XWUD_CFLAGS C compiler flags for XWUD, overriding pkg-config
846 XWUD_LIBS linker flags for XWUD, overriding pkg-config
847
848 Use these variables to override the choices made by `configure' or to help
849 it to find libraries and programs with nonstandard names/locations.
850
851 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
852 _ACEOF
853 fi
854
855 if test "$ac_init_help" = "recursive"; then
856 # If there are subdirs, report their specific --help.
857 ac_popdir=`pwd`
858 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
859 test -d $ac_dir || continue
860 ac_builddir=.
861
862 if test "$ac_dir" != .; then
863 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
864 # A "../" for each directory in $ac_dir_suffix.
865 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
866 else
867 ac_dir_suffix= ac_top_builddir=
868 fi
869
870 case $srcdir in
871 .) # No --srcdir option. We are building in place.
872 ac_srcdir=.
873 if test -z "$ac_top_builddir"; then
874 ac_top_srcdir=.
875 else
876 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
877 fi ;;
878 [\\/]* | ?:[\\/]* ) # Absolute path.
879 ac_srcdir=$srcdir$ac_dir_suffix;
880 ac_top_srcdir=$srcdir ;;
881 *) # Relative path.
882 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
883 ac_top_srcdir=$ac_top_builddir$srcdir ;;
884 esac
885
886 # Do not use `cd foo && pwd` to compute absolute paths, because
887 # the directories may not exist.
888 case `pwd` in
889 .) ac_abs_builddir="$ac_dir";;
890 *)
891 case "$ac_dir" in
892 .) ac_abs_builddir=`pwd`;;
893 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
894 *) ac_abs_builddir=`pwd`/"$ac_dir";;
895 esac;;
896 esac
897 case $ac_abs_builddir in
898 .) ac_abs_top_builddir=${ac_top_builddir}.;;
899 *)
900 case ${ac_top_builddir}. in
901 .) ac_abs_top_builddir=$ac_abs_builddir;;
902 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
903 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
904 esac;;
905 esac
906 case $ac_abs_builddir in
907 .) ac_abs_srcdir=$ac_srcdir;;
908 *)
909 case $ac_srcdir in
910 .) ac_abs_srcdir=$ac_abs_builddir;;
911 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
912 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
913 esac;;
914 esac
915 case $ac_abs_builddir in
916 .) ac_abs_top_srcdir=$ac_top_srcdir;;
917 *)
918 case $ac_top_srcdir in
919 .) ac_abs_top_srcdir=$ac_abs_builddir;;
920 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
921 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
922 esac;;
923 esac
924
925 cd $ac_dir
926 # Check for guested configure; otherwise get Cygnus style configure.
927 if test -f $ac_srcdir/configure.gnu; then
928 echo
929 $SHELL $ac_srcdir/configure.gnu --help=recursive
930 elif test -f $ac_srcdir/configure; then
931 echo
932 $SHELL $ac_srcdir/configure --help=recursive
933 elif test -f $ac_srcdir/configure.ac ||
934 test -f $ac_srcdir/configure.in; then
935 echo
936 $ac_configure --help
937 else
938 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
939 fi
940 cd $ac_popdir
941 done
942 fi
943
944 test -n "$ac_init_help" && exit 0
945 if $ac_init_version; then
946 cat <<\_ACEOF
947 xwud configure 1.0.1
948 generated by GNU Autoconf 2.59
949
950 Copyright (C) 2003 Free Software Foundation, Inc.
951 This configure script is free software; the Free Software Foundation
952 gives unlimited permission to copy, distribute and modify it.
953 _ACEOF
954 exit 0
955 fi
956 exec 5>config.log
957 cat >&5 <<_ACEOF
958 This file contains any messages produced by compilers while
959 running configure, to aid debugging if configure makes a mistake.
960
961 It was created by xwud $as_me 1.0.1, which was
962 generated by GNU Autoconf 2.59. Invocation command line was
963
964 $ $0 $@
965
966 _ACEOF
967 {
968 cat <<_ASUNAME
969 ## --------- ##
970 ## Platform. ##
971 ## --------- ##
972
973 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
974 uname -m = `(uname -m) 2>/dev/null || echo unknown`
975 uname -r = `(uname -r) 2>/dev/null || echo unknown`
976 uname -s = `(uname -s) 2>/dev/null || echo unknown`
977 uname -v = `(uname -v) 2>/dev/null || echo unknown`
978
979 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
980 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
981
982 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
983 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
984 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
985 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
986 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
987 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
988 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
989
990 _ASUNAME
991
992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
993 for as_dir in $PATH
994 do
995 IFS=$as_save_IFS
996 test -z "$as_dir" && as_dir=.
997 echo "PATH: $as_dir"
998 done
999
1000 } >&5
1001
1002 cat >&5 <<_ACEOF
1003
1004
1005 ## ----------- ##
1006 ## Core tests. ##
1007 ## ----------- ##
1008
1009 _ACEOF
1010
1011
1012 # Keep a trace of the command line.
1013 # Strip out --no-create and --no-recursion so they do not pile up.
1014 # Strip out --silent because we don't want to record it for future runs.
1015 # Also quote any args containing shell meta-characters.
1016 # Make two passes to allow for proper duplicate-argument suppression.
1017 ac_configure_args=
1018 ac_configure_args0=
1019 ac_configure_args1=
1020 ac_sep=
1021 ac_must_keep_next=false
1022 for ac_pass in 1 2
1023 do
1024 for ac_arg
1025 do
1026 case $ac_arg in
1027 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1029 | -silent | --silent | --silen | --sile | --sil)
1030 continue ;;
1031 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1032 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1033 esac
1034 case $ac_pass in
1035 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1036 2)
1037 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1038 if test $ac_must_keep_next = true; then
1039 ac_must_keep_next=false # Got value, back to normal.
1040 else
1041 case $ac_arg in
1042 *=* | --config-cache | -C | -disable-* | --disable-* \
1043 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1044 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1045 | -with-* | --with-* | -without-* | --without-* | --x)
1046 case "$ac_configure_args0 " in
1047 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1048 esac
1049 ;;
1050 -* ) ac_must_keep_next=true ;;
1051 esac
1052 fi
1053 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1054 # Get rid of the leading space.
1055 ac_sep=" "
1056 ;;
1057 esac
1058 done
1059 done
1060 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1061 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1062
1063 # When interrupted or exit'd, cleanup temporary files, and complete
1064 # config.log. We remove comments because anyway the quotes in there
1065 # would cause problems or look ugly.
1066 # WARNING: Be sure not to use single quotes in there, as some shells,
1067 # such as our DU 5.0 friend, will then `close' the trap.
1068 trap 'exit_status=$?
1069 # Save into config.log some information that might help in debugging.
1070 {
1071 echo
1072
1073 cat <<\_ASBOX
1074 ## ---------------- ##
1075 ## Cache variables. ##
1076 ## ---------------- ##
1077 _ASBOX
1078 echo
1079 # The following way of writing the cache mishandles newlines in values,
1080 {
1081 (set) 2>&1 |
1082 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1083 *ac_space=\ *)
1084 sed -n \
1085 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1087 ;;
1088 *)
1089 sed -n \
1090 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1091 ;;
1092 esac;
1093 }
1094 echo
1095
1096 cat <<\_ASBOX
1097 ## ----------------- ##
1098 ## Output variables. ##
1099 ## ----------------- ##
1100 _ASBOX
1101 echo
1102 for ac_var in $ac_subst_vars
1103 do
1104 eval ac_val=$`echo $ac_var`
1105 echo "$ac_var='"'"'$ac_val'"'"'"
1106 done | sort
1107 echo
1108
1109 if test -n "$ac_subst_files"; then
1110 cat <<\_ASBOX
1111 ## ------------- ##
1112 ## Output files. ##
1113 ## ------------- ##
1114 _ASBOX
1115 echo
1116 for ac_var in $ac_subst_files
1117 do
1118 eval ac_val=$`echo $ac_var`
1119 echo "$ac_var='"'"'$ac_val'"'"'"
1120 done | sort
1121 echo
1122 fi
1123
1124 if test -s confdefs.h; then
1125 cat <<\_ASBOX
1126 ## ----------- ##
1127 ## confdefs.h. ##
1128 ## ----------- ##
1129 _ASBOX
1130 echo
1131 sed "/^$/d" confdefs.h | sort
1132 echo
1133 fi
1134 test "$ac_signal" != 0 &&
1135 echo "$as_me: caught signal $ac_signal"
1136 echo "$as_me: exit $exit_status"
1137 } >&5
1138 rm -f core *.core &&
1139 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1140 exit $exit_status
1141 ' 0
1142 for ac_signal in 1 2 13 15; do
1143 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1144 done
1145 ac_signal=0
1146
1147 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1148 rm -rf conftest* confdefs.h
1149 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1150 echo >confdefs.h
1151
1152 # Predefined preprocessor variables.
1153
1154 cat >>confdefs.h <<_ACEOF
1155 #define PACKAGE_NAME "$PACKAGE_NAME"
1156 _ACEOF
1157
1158
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1161 _ACEOF
1162
1163
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1166 _ACEOF
1167
1168
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_STRING "$PACKAGE_STRING"
1171 _ACEOF
1172
1173
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1176 _ACEOF
1177
1178
1179 # Let the site file select an alternate cache file if it wants to.
1180 # Prefer explicitly selected file to automatically selected ones.
1181 if test -z "$CONFIG_SITE"; then
1182 if test "x$prefix" != xNONE; then
1183 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1184 else
1185 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1186 fi
1187 fi
1188 for ac_site_file in $CONFIG_SITE; do
1189 if test -r "$ac_site_file"; then
1190 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1191 echo "$as_me: loading site script $ac_site_file" >&6;}
1192 sed 's/^/| /' "$ac_site_file" >&5
1193 . "$ac_site_file"
1194 fi
1195 done
1196
1197 if test -r "$cache_file"; then
1198 # Some versions of bash will fail to source /dev/null (special
1199 # files actually), so we avoid doing that.
1200 if test -f "$cache_file"; then
1201 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1202 echo "$as_me: loading cache $cache_file" >&6;}
1203 case $cache_file in
1204 [\\/]* | ?:[\\/]* ) . $cache_file;;
1205 *) . ./$cache_file;;
1206 esac
1207 fi
1208 else
1209 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1210 echo "$as_me: creating cache $cache_file" >&6;}
1211 >$cache_file
1212 fi
1213
1214 # Check that the precious variables saved in the cache have kept the same
1215 # value.
1216 ac_cache_corrupted=false
1217 for ac_var in `(set) 2>&1 |
1218 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1219 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1220 eval ac_new_set=\$ac_env_${ac_var}_set
1221 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1222 eval ac_new_val="\$ac_env_${ac_var}_value"
1223 case $ac_old_set,$ac_new_set in
1224 set,)
1225 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1226 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1227 ac_cache_corrupted=: ;;
1228 ,set)
1229 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1230 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1231 ac_cache_corrupted=: ;;
1232 ,);;
1233 *)
1234 if test "x$ac_old_val" != "x$ac_new_val"; then
1235 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1236 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1237 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1238 echo "$as_me: former value: $ac_old_val" >&2;}
1239 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1240 echo "$as_me: current value: $ac_new_val" >&2;}
1241 ac_cache_corrupted=:
1242 fi;;
1243 esac
1244 # Pass precious variables to config.status.
1245 if test "$ac_new_set" = set; then
1246 case $ac_new_val in
1247 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1248 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1249 *) ac_arg=$ac_var=$ac_new_val ;;
1250 esac
1251 case " $ac_configure_args " in
1252 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1253 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1254 esac
1255 fi
1256 done
1257 if $ac_cache_corrupted; then
1258 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1259 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1260 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1261 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1262 { (exit 1); exit 1; }; }
1263 fi
1264
1265 ac_ext=c
1266 ac_cpp='$CPP $CPPFLAGS'
1267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297 am__api_version="1.7"
1298 ac_aux_dir=
1299 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1300 if test -f $ac_dir/install-sh; then
1301 ac_aux_dir=$ac_dir
1302 ac_install_sh="$ac_aux_dir/install-sh -c"
1303 break
1304 elif test -f $ac_dir/install.sh; then
1305 ac_aux_dir=$ac_dir
1306 ac_install_sh="$ac_aux_dir/install.sh -c"
1307 break
1308 elif test -f $ac_dir/shtool; then
1309 ac_aux_dir=$ac_dir
1310 ac_install_sh="$ac_aux_dir/shtool install -c"
1311 break
1312 fi
1313 done
1314 if test -z "$ac_aux_dir"; then
1315 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1316 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1317 { (exit 1); exit 1; }; }
1318 fi
1319 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1320 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1321 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1322
1323 # Find a good install program. We prefer a C program (faster),
1324 # so one script is as good as another. But avoid the broken or
1325 # incompatible versions:
1326 # SysV /etc/install, /usr/sbin/install
1327 # SunOS /usr/etc/install
1328 # IRIX /sbin/install
1329 # AIX /bin/install
1330 # AmigaOS /C/install, which installs bootblocks on floppy discs
1331 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1332 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1333 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1334 # OS/2's system install, which has a completely different semantic
1335 # ./install, which can be erroneously created by make from ./install.sh.
1336 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1337 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1338 if test -z "$INSTALL"; then
1339 if test "${ac_cv_path_install+set}" = set; then
1340 echo $ECHO_N "(cached) $ECHO_C" >&6
1341 else
1342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1343 for as_dir in $PATH
1344 do
1345 IFS=$as_save_IFS
1346 test -z "$as_dir" && as_dir=.
1347 # Account for people who put trailing slashes in PATH elements.
1348 case $as_dir/ in
1349 ./ | .// | /cC/* | \
1350 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1351 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1352 /usr/ucb/* ) ;;
1353 *)
1354 # OSF1 and SCO ODT 3.0 have their own names for install.
1355 # Don't use installbsd from OSF since it installs stuff as root
1356 # by default.
1357 for ac_prog in ginstall scoinst install; do
1358 for ac_exec_ext in '' $ac_executable_extensions; do
1359 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1360 if test $ac_prog = install &&
1361 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1362 # AIX install. It has an incompatible calling convention.
1363 :
1364 elif test $ac_prog = install &&
1365 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1366 # program-specific install script used by HP pwplus--don't use.
1367 :
1368 else
1369 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1370 break 3
1371 fi
1372 fi
1373 done
1374 done
1375 ;;
1376 esac
1377 done
1378
1379
1380 fi
1381 if test "${ac_cv_path_install+set}" = set; then
1382 INSTALL=$ac_cv_path_install
1383 else
1384 # As a last resort, use the slow shell script. We don't cache a
1385 # path for INSTALL within a source directory, because that will
1386 # break other packages using the cache if that directory is
1387 # removed, or if the path is relative.
1388 INSTALL=$ac_install_sh
1389 fi
1390 fi
1391 echo "$as_me:$LINENO: result: $INSTALL" >&5
1392 echo "${ECHO_T}$INSTALL" >&6
1393
1394 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1395 # It thinks the first close brace ends the variable substitution.
1396 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1397
1398 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1399
1400 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1401
1402 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1403 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1404 # Just in case
1405 sleep 1
1406 echo timestamp > conftest.file
1407 # Do `set' in a subshell so we don't clobber the current shell's
1408 # arguments. Must try -L first in case configure is actually a
1409 # symlink; some systems play weird games with the mod time of symlinks
1410 # (eg FreeBSD returns the mod time of the symlink's containing
1411 # directory).
1412 if (
1413 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1414 if test "$*" = "X"; then
1415 # -L didn't work.
1416 set X `ls -t $srcdir/configure conftest.file`
1417 fi
1418 rm -f conftest.file
1419 if test "$*" != "X $srcdir/configure conftest.file" \
1420 && test "$*" != "X conftest.file $srcdir/configure"; then
1421
1422 # If neither matched, then we have a broken ls. This can happen
1423 # if, for instance, CONFIG_SHELL is bash and it inherits a
1424 # broken ls alias from the environment. This has actually
1425 # happened. Such a system could not be considered "sane".
1426 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1427 alias in your environment" >&5
1428 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1429 alias in your environment" >&2;}
1430 { (exit 1); exit 1; }; }
1431 fi
1432
1433 test "$2" = conftest.file
1434 )
1435 then
1436 # Ok.
1437 :
1438 else
1439 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1440 Check your system clock" >&5
1441 echo "$as_me: error: newly created file is older than distributed files!
1442 Check your system clock" >&2;}
1443 { (exit 1); exit 1; }; }
1444 fi
1445 echo "$as_me:$LINENO: result: yes" >&5
1446 echo "${ECHO_T}yes" >&6
1447 test "$program_prefix" != NONE &&
1448 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1449 # Use a double $ so make ignores it.
1450 test "$program_suffix" != NONE &&
1451 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1452 # Double any \ or $. echo might interpret backslashes.
1453 # By default was `s,x,x', remove it if useless.
1454 cat <<\_ACEOF >conftest.sed
1455 s/[\\$]/&&/g;s/;s,x,x,$//
1456 _ACEOF
1457 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1458 rm conftest.sed
1459
1460
1461 # expand $ac_aux_dir to an absolute path
1462 am_aux_dir=`cd $ac_aux_dir && pwd`
1463
1464 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1465 # Use eval to expand $SHELL
1466 if eval "$MISSING --run true"; then
1467 am_missing_run="$MISSING --run "
1468 else
1469 am_missing_run=
1470 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1471 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1472 fi
1473
1474 for ac_prog in gawk mawk nawk awk
1475 do
1476 # Extract the first word of "$ac_prog", so it can be a program name with args.
1477 set dummy $ac_prog; ac_word=$2
1478 echo "$as_me:$LINENO: checking for $ac_word" >&5
1479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1480 if test "${ac_cv_prog_AWK+set}" = set; then
1481 echo $ECHO_N "(cached) $ECHO_C" >&6
1482 else
1483 if test -n "$AWK"; then
1484 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1485 else
1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1487 for as_dir in $PATH
1488 do
1489 IFS=$as_save_IFS
1490 test -z "$as_dir" && as_dir=.
1491 for ac_exec_ext in '' $ac_executable_extensions; do
1492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1493 ac_cv_prog_AWK="$ac_prog"
1494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1495 break 2
1496 fi
1497 done
1498 done
1499
1500 fi
1501 fi
1502 AWK=$ac_cv_prog_AWK
1503 if test -n "$AWK"; then
1504 echo "$as_me:$LINENO: result: $AWK" >&5
1505 echo "${ECHO_T}$AWK" >&6
1506 else
1507 echo "$as_me:$LINENO: result: no" >&5
1508 echo "${ECHO_T}no" >&6
1509 fi
1510
1511 test -n "$AWK" && break
1512 done
1513
1514 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1515 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1516 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1517 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1518 echo $ECHO_N "(cached) $ECHO_C" >&6
1519 else
1520 cat >conftest.make <<\_ACEOF
1521 all:
1522 @echo 'ac_maketemp="$(MAKE)"'
1523 _ACEOF
1524 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1525 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1526 if test -n "$ac_maketemp"; then
1527 eval ac_cv_prog_make_${ac_make}_set=yes
1528 else
1529 eval ac_cv_prog_make_${ac_make}_set=no
1530 fi
1531 rm -f conftest.make
1532 fi
1533 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1534 echo "$as_me:$LINENO: result: yes" >&5
1535 echo "${ECHO_T}yes" >&6
1536 SET_MAKE=
1537 else
1538 echo "$as_me:$LINENO: result: no" >&5
1539 echo "${ECHO_T}no" >&6
1540 SET_MAKE="MAKE=${MAKE-make}"
1541 fi
1542
1543 rm -rf .tst 2>/dev/null
1544 mkdir .tst 2>/dev/null
1545 if test -d .tst; then
1546 am__leading_dot=.
1547 else
1548 am__leading_dot=_
1549 fi
1550 rmdir .tst 2>/dev/null
1551
1552 # test to see if srcdir already configured
1553 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1554 test -f $srcdir/config.status; then
1555 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1556 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1557 { (exit 1); exit 1; }; }
1558 fi
1559
1560 # test whether we have cygpath
1561 if test -z "$CYGPATH_W"; then
1562 if (cygpath --version) >/dev/null 2>/dev/null; then
1563 CYGPATH_W='cygpath -w'
1564 else
1565 CYGPATH_W=echo
1566 fi
1567 fi
1568
1569
1570 # Define the identity of the package.
1571 PACKAGE='xwud'
1572 VERSION='1.0.1'
1573
1574
1575 cat >>confdefs.h <<_ACEOF
1576 #define PACKAGE "$PACKAGE"
1577 _ACEOF
1578
1579
1580 cat >>confdefs.h <<_ACEOF
1581 #define VERSION "$VERSION"
1582 _ACEOF
1583
1584 # Some tools Automake needs.
1585
1586 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1587
1588
1589 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1590
1591
1592 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1593
1594
1595 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1596
1597
1598 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1599
1600
1601 AMTAR=${AMTAR-"${am_missing_run}tar"}
1602
1603 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1604
1605 # Installed binaries are usually stripped using `strip' when the user
1606 # run `make install-strip'. However `strip' might not be the right
1607 # tool to use in cross-compilation environments, therefore Automake
1608 # will honor the `STRIP' environment variable to overrule this program.
1609 if test "$cross_compiling" != no; then
1610 if test -n "$ac_tool_prefix"; then
1611 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1612 set dummy ${ac_tool_prefix}strip; ac_word=$2
1613 echo "$as_me:$LINENO: checking for $ac_word" >&5
1614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1615 if test "${ac_cv_prog_STRIP+set}" = set; then
1616 echo $ECHO_N "(cached) $ECHO_C" >&6
1617 else
1618 if test -n "$STRIP"; then
1619 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1620 else
1621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1622 for as_dir in $PATH
1623 do
1624 IFS=$as_save_IFS
1625 test -z "$as_dir" && as_dir=.
1626 for ac_exec_ext in '' $ac_executable_extensions; do
1627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1628 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1630 break 2
1631 fi
1632 done
1633 done
1634
1635 fi
1636 fi
1637 STRIP=$ac_cv_prog_STRIP
1638 if test -n "$STRIP"; then
1639 echo "$as_me:$LINENO: result: $STRIP" >&5
1640 echo "${ECHO_T}$STRIP" >&6
1641 else
1642 echo "$as_me:$LINENO: result: no" >&5
1643 echo "${ECHO_T}no" >&6
1644 fi
1645
1646 fi
1647 if test -z "$ac_cv_prog_STRIP"; then
1648 ac_ct_STRIP=$STRIP
1649 # Extract the first word of "strip", so it can be a program name with args.
1650 set dummy strip; ac_word=$2
1651 echo "$as_me:$LINENO: checking for $ac_word" >&5
1652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1653 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 else
1656 if test -n "$ac_ct_STRIP"; then
1657 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1658 else
1659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1660 for as_dir in $PATH
1661 do
1662 IFS=$as_save_IFS
1663 test -z "$as_dir" && as_dir=.
1664 for ac_exec_ext in '' $ac_executable_extensions; do
1665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1666 ac_cv_prog_ac_ct_STRIP="strip"
1667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668 break 2
1669 fi
1670 done
1671 done
1672
1673 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1674 fi
1675 fi
1676 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1677 if test -n "$ac_ct_STRIP"; then
1678 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1679 echo "${ECHO_T}$ac_ct_STRIP" >&6
1680 else
1681 echo "$as_me:$LINENO: result: no" >&5
1682 echo "${ECHO_T}no" >&6
1683 fi
1684
1685 STRIP=$ac_ct_STRIP
1686 else
1687 STRIP="$ac_cv_prog_STRIP"
1688 fi
1689
1690 fi
1691 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1692
1693 # We need awk for the "check" target. The system "awk" is bad on
1694 # some platforms.
1695
1696
1697
1698 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1699 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1700 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1701 if test "${enable_maintainer_mode+set}" = set; then
1702 enableval="$enable_maintainer_mode"
1703 USE_MAINTAINER_MODE=$enableval
1704 else
1705 USE_MAINTAINER_MODE=no
1706 fi;
1707 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1708 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1709
1710
1711 if test $USE_MAINTAINER_MODE = yes; then
1712 MAINTAINER_MODE_TRUE=
1713 MAINTAINER_MODE_FALSE='#'
1714 else
1715 MAINTAINER_MODE_TRUE='#'
1716 MAINTAINER_MODE_FALSE=
1717 fi
1718
1719 MAINT=$MAINTAINER_MODE_TRUE
1720
1721
1722
1723 ac_config_headers="$ac_config_headers config.h"
1724
1725
1726 ac_ext=c
1727 ac_cpp='$CPP $CPPFLAGS'
1728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1731 if test -n "$ac_tool_prefix"; then
1732 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1733 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1734 echo "$as_me:$LINENO: checking for $ac_word" >&5
1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1736 if test "${ac_cv_prog_CC+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 else
1739 if test -n "$CC"; then
1740 ac_cv_prog_CC="$CC" # Let the user override the test.
1741 else
1742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1743 for as_dir in $PATH
1744 do
1745 IFS=$as_save_IFS
1746 test -z "$as_dir" && as_dir=.
1747 for ac_exec_ext in '' $ac_executable_extensions; do
1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1749 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1751 break 2
1752 fi
1753 done
1754 done
1755
1756 fi
1757 fi
1758 CC=$ac_cv_prog_CC
1759 if test -n "$CC"; then
1760 echo "$as_me:$LINENO: result: $CC" >&5
1761 echo "${ECHO_T}$CC" >&6
1762 else
1763 echo "$as_me:$LINENO: result: no" >&5
1764 echo "${ECHO_T}no" >&6
1765 fi
1766
1767 fi
1768 if test -z "$ac_cv_prog_CC"; then
1769 ac_ct_CC=$CC
1770 # Extract the first word of "gcc", so it can be a program name with args.
1771 set dummy gcc; ac_word=$2
1772 echo "$as_me:$LINENO: checking for $ac_word" >&5
1773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1774 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 else
1777 if test -n "$ac_ct_CC"; then
1778 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1779 else
1780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1781 for as_dir in $PATH
1782 do
1783 IFS=$as_save_IFS
1784 test -z "$as_dir" && as_dir=.
1785 for ac_exec_ext in '' $ac_executable_extensions; do
1786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1787 ac_cv_prog_ac_ct_CC="gcc"
1788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 break 2
1790 fi
1791 done
1792 done
1793
1794 fi
1795 fi
1796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1797 if test -n "$ac_ct_CC"; then
1798 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1799 echo "${ECHO_T}$ac_ct_CC" >&6
1800 else
1801 echo "$as_me:$LINENO: result: no" >&5
1802 echo "${ECHO_T}no" >&6
1803 fi
1804
1805 CC=$ac_ct_CC
1806 else
1807 CC="$ac_cv_prog_CC"
1808 fi
1809
1810 if test -z "$CC"; then
1811 if test -n "$ac_tool_prefix"; then
1812 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1813 set dummy ${ac_tool_prefix}cc; ac_word=$2
1814 echo "$as_me:$LINENO: checking for $ac_word" >&5
1815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1816 if test "${ac_cv_prog_CC+set}" = set; then
1817 echo $ECHO_N "(cached) $ECHO_C" >&6
1818 else
1819 if test -n "$CC"; then
1820 ac_cv_prog_CC="$CC" # Let the user override the test.
1821 else
1822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1823 for as_dir in $PATH
1824 do
1825 IFS=$as_save_IFS
1826 test -z "$as_dir" && as_dir=.
1827 for ac_exec_ext in '' $ac_executable_extensions; do
1828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1829 ac_cv_prog_CC="${ac_tool_prefix}cc"
1830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831 break 2
1832 fi
1833 done
1834 done
1835
1836 fi
1837 fi
1838 CC=$ac_cv_prog_CC
1839 if test -n "$CC"; then
1840 echo "$as_me:$LINENO: result: $CC" >&5
1841 echo "${ECHO_T}$CC" >&6
1842 else
1843 echo "$as_me:$LINENO: result: no" >&5
1844 echo "${ECHO_T}no" >&6
1845 fi
1846
1847 fi
1848 if test -z "$ac_cv_prog_CC"; then
1849 ac_ct_CC=$CC
1850 # Extract the first word of "cc", so it can be a program name with args.
1851 set dummy cc; ac_word=$2
1852 echo "$as_me:$LINENO: checking for $ac_word" >&5
1853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1856 else
1857 if test -n "$ac_ct_CC"; then
1858 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1859 else
1860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861 for as_dir in $PATH
1862 do
1863 IFS=$as_save_IFS
1864 test -z "$as_dir" && as_dir=.
1865 for ac_exec_ext in '' $ac_executable_extensions; do
1866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867 ac_cv_prog_ac_ct_CC="cc"
1868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 break 2
1870 fi
1871 done
1872 done
1873
1874 fi
1875 fi
1876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1877 if test -n "$ac_ct_CC"; then
1878 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1879 echo "${ECHO_T}$ac_ct_CC" >&6
1880 else
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1883 fi
1884
1885 CC=$ac_ct_CC
1886 else
1887 CC="$ac_cv_prog_CC"
1888 fi
1889
1890 fi
1891 if test -z "$CC"; then
1892 # Extract the first word of "cc", so it can be a program name with args.
1893 set dummy cc; ac_word=$2
1894 echo "$as_me:$LINENO: checking for $ac_word" >&5
1895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1896 if test "${ac_cv_prog_CC+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1898 else
1899 if test -n "$CC"; then
1900 ac_cv_prog_CC="$CC" # Let the user override the test.
1901 else
1902 ac_prog_rejected=no
1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1904 for as_dir in $PATH
1905 do
1906 IFS=$as_save_IFS
1907 test -z "$as_dir" && as_dir=.
1908 for ac_exec_ext in '' $ac_executable_extensions; do
1909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1910 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1911 ac_prog_rejected=yes
1912 continue
1913 fi
1914 ac_cv_prog_CC="cc"
1915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916 break 2
1917 fi
1918 done
1919 done
1920
1921 if test $ac_prog_rejected = yes; then
1922 # We found a bogon in the path, so make sure we never use it.
1923 set dummy $ac_cv_prog_CC
1924 shift
1925 if test $# != 0; then
1926 # We chose a different compiler from the bogus one.
1927 # However, it has the same basename, so the bogon will be chosen
1928 # first if we set CC to just the basename; use the full file name.
1929 shift
1930 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1931 fi
1932 fi
1933 fi
1934 fi
1935 CC=$ac_cv_prog_CC
1936 if test -n "$CC"; then
1937 echo "$as_me:$LINENO: result: $CC" >&5
1938 echo "${ECHO_T}$CC" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1942 fi
1943
1944 fi
1945 if test -z "$CC"; then
1946 if test -n "$ac_tool_prefix"; then
1947 for ac_prog in cl
1948 do
1949 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1950 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1951 echo "$as_me:$LINENO: checking for $ac_word" >&5
1952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1953 if test "${ac_cv_prog_CC+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1955 else
1956 if test -n "$CC"; then
1957 ac_cv_prog_CC="$CC" # Let the user override the test.
1958 else
1959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1960 for as_dir in $PATH
1961 do
1962 IFS=$as_save_IFS
1963 test -z "$as_dir" && as_dir=.
1964 for ac_exec_ext in '' $ac_executable_extensions; do
1965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1966 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1968 break 2
1969 fi
1970 done
1971 done
1972
1973 fi
1974 fi
1975 CC=$ac_cv_prog_CC
1976 if test -n "$CC"; then
1977 echo "$as_me:$LINENO: result: $CC" >&5
1978 echo "${ECHO_T}$CC" >&6
1979 else
1980 echo "$as_me:$LINENO: result: no" >&5
1981 echo "${ECHO_T}no" >&6
1982 fi
1983
1984 test -n "$CC" && break
1985 done
1986 fi
1987 if test -z "$CC"; then
1988 ac_ct_CC=$CC
1989 for ac_prog in cl
1990 do
1991 # Extract the first word of "$ac_prog", so it can be a program name with args.
1992 set dummy $ac_prog; ac_word=$2
1993 echo "$as_me:$LINENO: checking for $ac_word" >&5
1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1995 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 else
1998 if test -n "$ac_ct_CC"; then
1999 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2000 else
2001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002 for as_dir in $PATH
2003 do
2004 IFS=$as_save_IFS
2005 test -z "$as_dir" && as_dir=.
2006 for ac_exec_ext in '' $ac_executable_extensions; do
2007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2008 ac_cv_prog_ac_ct_CC="$ac_prog"
2009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2010 break 2
2011 fi
2012 done
2013 done
2014
2015 fi
2016 fi
2017 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2018 if test -n "$ac_ct_CC"; then
2019 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2020 echo "${ECHO_T}$ac_ct_CC" >&6
2021 else
2022 echo "$as_me:$LINENO: result: no" >&5
2023 echo "${ECHO_T}no" >&6
2024 fi
2025
2026 test -n "$ac_ct_CC" && break
2027 done
2028
2029 CC=$ac_ct_CC
2030 fi
2031
2032 fi
2033
2034
2035 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2036 See \`config.log' for more details." >&5
2037 echo "$as_me: error: no acceptable C compiler found in \$PATH
2038 See \`config.log' for more details." >&2;}
2039 { (exit 1); exit 1; }; }
2040
2041 # Provide some information about the compiler.
2042 echo "$as_me:$LINENO:" \
2043 "checking for C compiler version" >&5
2044 ac_compiler=`set X $ac_compile; echo $2`
2045 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2046 (eval $ac_compiler --version </dev/null >&5) 2>&5
2047 ac_status=$?
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049 (exit $ac_status); }
2050 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2051 (eval $ac_compiler -v </dev/null >&5) 2>&5
2052 ac_status=$?
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }
2055 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2056 (eval $ac_compiler -V </dev/null >&5) 2>&5
2057 ac_status=$?
2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059 (exit $ac_status); }
2060
2061 cat >conftest.$ac_ext <<_ACEOF
2062 /* confdefs.h. */
2063 _ACEOF
2064 cat confdefs.h >>conftest.$ac_ext
2065 cat >>conftest.$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2067
2068 int
2069 main ()
2070 {
2071
2072 ;
2073 return 0;
2074 }
2075 _ACEOF
2076 ac_clean_files_save=$ac_clean_files
2077 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2078 # Try to create an executable without -o first, disregard a.out.
2079 # It will help us diagnose broken compilers, and finding out an intuition
2080 # of exeext.
2081 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2082 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2083 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2084 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2085 (eval $ac_link_default) 2>&5
2086 ac_status=$?
2087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088 (exit $ac_status); }; then
2089 # Find the output, starting from the most likely. This scheme is
2090 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2091 # resort.
2092
2093 # Be careful to initialize this variable, since it used to be cached.
2094 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2095 ac_cv_exeext=
2096 # b.out is created by i960 compilers.
2097 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2098 do
2099 test -f "$ac_file" || continue
2100 case $ac_file in
2101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2102 ;;
2103 conftest.$ac_ext )
2104 # This is the source file.
2105 ;;
2106 [ab].out )
2107 # We found the default executable, but exeext='' is most
2108 # certainly right.
2109 break;;
2110 *.* )
2111 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2112 # FIXME: I believe we export ac_cv_exeext for Libtool,
2113 # but it would be cool to find out if it's true. Does anybody
2114 # maintain Libtool? --akim.
2115 export ac_cv_exeext
2116 break;;
2117 * )
2118 break;;
2119 esac
2120 done
2121 else
2122 echo "$as_me: failed program was:" >&5
2123 sed 's/^/| /' conftest.$ac_ext >&5
2124
2125 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2126 See \`config.log' for more details." >&5
2127 echo "$as_me: error: C compiler cannot create executables
2128 See \`config.log' for more details." >&2;}
2129 { (exit 77); exit 77; }; }
2130 fi
2131
2132 ac_exeext=$ac_cv_exeext
2133 echo "$as_me:$LINENO: result: $ac_file" >&5
2134 echo "${ECHO_T}$ac_file" >&6
2135
2136 # Check the compiler produces executables we can run. If not, either
2137 # the compiler is broken, or we cross compile.
2138 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2139 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2140 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2141 # If not cross compiling, check that we can run a simple program.
2142 if test "$cross_compiling" != yes; then
2143 if { ac_try='./$ac_file'
2144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2145 (eval $ac_try) 2>&5
2146 ac_status=$?
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }; }; then
2149 cross_compiling=no
2150 else
2151 if test "$cross_compiling" = maybe; then
2152 cross_compiling=yes
2153 else
2154 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2155 If you meant to cross compile, use \`--host'.
2156 See \`config.log' for more details." >&5
2157 echo "$as_me: error: cannot run C compiled programs.
2158 If you meant to cross compile, use \`--host'.
2159 See \`config.log' for more details." >&2;}
2160 { (exit 1); exit 1; }; }
2161 fi
2162 fi
2163 fi
2164 echo "$as_me:$LINENO: result: yes" >&5
2165 echo "${ECHO_T}yes" >&6
2166
2167 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2168 ac_clean_files=$ac_clean_files_save
2169 # Check the compiler produces executables we can run. If not, either
2170 # the compiler is broken, or we cross compile.
2171 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2172 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2173 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2174 echo "${ECHO_T}$cross_compiling" >&6
2175
2176 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2177 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2179 (eval $ac_link) 2>&5
2180 ac_status=$?
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; then
2183 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2184 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2185 # work properly (i.e., refer to `conftest.exe'), while it won't with
2186 # `rm'.
2187 for ac_file in conftest.exe conftest conftest.*; do
2188 test -f "$ac_file" || continue
2189 case $ac_file in
2190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2191 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2192 export ac_cv_exeext
2193 break;;
2194 * ) break;;
2195 esac
2196 done
2197 else
2198 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2199 See \`config.log' for more details." >&5
2200 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2201 See \`config.log' for more details." >&2;}
2202 { (exit 1); exit 1; }; }
2203 fi
2204
2205 rm -f conftest$ac_cv_exeext
2206 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2207 echo "${ECHO_T}$ac_cv_exeext" >&6
2208
2209 rm -f conftest.$ac_ext
2210 EXEEXT=$ac_cv_exeext
2211 ac_exeext=$EXEEXT
2212 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2213 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2214 if test "${ac_cv_objext+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 else
2217 cat >conftest.$ac_ext <<_ACEOF
2218 /* confdefs.h. */
2219 _ACEOF
2220 cat confdefs.h >>conftest.$ac_ext
2221 cat >>conftest.$ac_ext <<_ACEOF
2222 /* end confdefs.h. */
2223
2224 int
2225 main ()
2226 {
2227
2228 ;
2229 return 0;
2230 }
2231 _ACEOF
2232 rm -f conftest.o conftest.obj
2233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2234 (eval $ac_compile) 2>&5
2235 ac_status=$?
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; then
2238 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2239 case $ac_file in
2240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2241 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2242 break;;
2243 esac
2244 done
2245 else
2246 echo "$as_me: failed program was:" >&5
2247 sed 's/^/| /' conftest.$ac_ext >&5
2248
2249 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2250 See \`config.log' for more details." >&5
2251 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2252 See \`config.log' for more details." >&2;}
2253 { (exit 1); exit 1; }; }
2254 fi
2255
2256 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2257 fi
2258 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2259 echo "${ECHO_T}$ac_cv_objext" >&6
2260 OBJEXT=$ac_cv_objext
2261 ac_objext=$OBJEXT
2262 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2263 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2264 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2266 else
2267 cat >conftest.$ac_ext <<_ACEOF
2268 /* confdefs.h. */
2269 _ACEOF
2270 cat confdefs.h >>conftest.$ac_ext
2271 cat >>conftest.$ac_ext <<_ACEOF
2272 /* end confdefs.h. */
2273
2274 int
2275 main ()
2276 {
2277 #ifndef __GNUC__
2278 choke me
2279 #endif
2280
2281 ;
2282 return 0;
2283 }
2284 _ACEOF
2285 rm -f conftest.$ac_objext
2286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2287 (eval $ac_compile) 2>conftest.er1
2288 ac_status=$?
2289 grep -v '^ *+' conftest.er1 >conftest.err
2290 rm -f conftest.er1
2291 cat conftest.err >&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); } &&
2294 { ac_try='test -z "$ac_c_werror_flag"
2295 || test ! -s conftest.err'
2296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2297 (eval $ac_try) 2>&5
2298 ac_status=$?
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; } &&
2301 { ac_try='test -s conftest.$ac_objext'
2302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2303 (eval $ac_try) 2>&5
2304 ac_status=$?
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; }; then
2307 ac_compiler_gnu=yes
2308 else
2309 echo "$as_me: failed program was:" >&5
2310 sed 's/^/| /' conftest.$ac_ext >&5
2311
2312 ac_compiler_gnu=no
2313 fi
2314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2315 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2316
2317 fi
2318 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2319 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2320 GCC=`test $ac_compiler_gnu = yes && echo yes`
2321 ac_test_CFLAGS=${CFLAGS+set}
2322 ac_save_CFLAGS=$CFLAGS
2323 CFLAGS="-g"
2324 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2325 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2326 if test "${ac_cv_prog_cc_g+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 else
2329 cat >conftest.$ac_ext <<_ACEOF
2330 /* confdefs.h. */
2331 _ACEOF
2332 cat confdefs.h >>conftest.$ac_ext
2333 cat >>conftest.$ac_ext <<_ACEOF
2334 /* end confdefs.h. */
2335
2336 int
2337 main ()
2338 {
2339
2340 ;
2341 return 0;
2342 }
2343 _ACEOF
2344 rm -f conftest.$ac_objext
2345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2346 (eval $ac_compile) 2>conftest.er1
2347 ac_status=$?
2348 grep -v '^ *+' conftest.er1 >conftest.err
2349 rm -f conftest.er1
2350 cat conftest.err >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); } &&
2353 { ac_try='test -z "$ac_c_werror_flag"
2354 || test ! -s conftest.err'
2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 (eval $ac_try) 2>&5
2357 ac_status=$?
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; } &&
2360 { ac_try='test -s conftest.$ac_objext'
2361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 (eval $ac_try) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; }; then
2366 ac_cv_prog_cc_g=yes
2367 else
2368 echo "$as_me: failed program was:" >&5
2369 sed 's/^/| /' conftest.$ac_ext >&5
2370
2371 ac_cv_prog_cc_g=no
2372 fi
2373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2374 fi
2375 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2376 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2377 if test "$ac_test_CFLAGS" = set; then
2378 CFLAGS=$ac_save_CFLAGS
2379 elif test $ac_cv_prog_cc_g = yes; then
2380 if test "$GCC" = yes; then
2381 CFLAGS="-g -O2"
2382 else
2383 CFLAGS="-g"
2384 fi
2385 else
2386 if test "$GCC" = yes; then
2387 CFLAGS="-O2"
2388 else
2389 CFLAGS=
2390 fi
2391 fi
2392 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2393 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2394 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2396 else
2397 ac_cv_prog_cc_stdc=no
2398 ac_save_CC=$CC
2399 cat >conftest.$ac_ext <<_ACEOF
2400 /* confdefs.h. */
2401 _ACEOF
2402 cat confdefs.h >>conftest.$ac_ext
2403 cat >>conftest.$ac_ext <<_ACEOF
2404 /* end confdefs.h. */
2405 #include <stdarg.h>
2406 #include <stdio.h>
2407 #include <sys/types.h>
2408 #include <sys/stat.h>
2409 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2410 struct buf { int x; };
2411 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2412 static char *e (p, i)
2413 char **p;
2414 int i;
2415 {
2416 return p[i];
2417 }
2418 static char *f (char * (*g) (char **, int), char **p, ...)
2419 {
2420 char *s;
2421 va_list v;
2422 va_start (v,p);
2423 s = g (p, va_arg (v,int));
2424 va_end (v);
2425 return s;
2426 }
2427
2428 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2429 function prototypes and stuff, but not '\xHH' hex character constants.
2430 These don't provoke an error unfortunately, instead are silently treated
2431 as 'x'. The following induces an error, until -std1 is added to get
2432 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2433 array size at least. It's necessary to write '\x00'==0 to get something
2434 that's true only with -std1. */
2435 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2436
2437 int test (int i, double x);
2438 struct s1 {int (*f) (int a);};
2439 struct s2 {int (*f) (double a);};
2440 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2441 int argc;
2442 char **argv;
2443 int
2444 main ()
2445 {
2446 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2447 ;
2448 return 0;
2449 }
2450 _ACEOF
2451 # Don't try gcc -ansi; that turns off useful extensions and
2452 # breaks some systems' header files.
2453 # AIX -qlanglvl=ansi
2454 # Ultrix and OSF/1 -std1
2455 # HP-UX 10.20 and later -Ae
2456 # HP-UX older versions -Aa -D_HPUX_SOURCE
2457 # SVR4 -Xc -D__EXTENSIONS__
2458 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2459 do
2460 CC="$ac_save_CC $ac_arg"
2461 rm -f conftest.$ac_objext
2462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2463 (eval $ac_compile) 2>conftest.er1
2464 ac_status=$?
2465 grep -v '^ *+' conftest.er1 >conftest.err
2466 rm -f conftest.er1
2467 cat conftest.err >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); } &&
2470 { ac_try='test -z "$ac_c_werror_flag"
2471 || test ! -s conftest.err'
2472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 (eval $ac_try) 2>&5
2474 ac_status=$?
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; } &&
2477 { ac_try='test -s conftest.$ac_objext'
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2479 (eval $ac_try) 2>&5
2480 ac_status=$?
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; }; then
2483 ac_cv_prog_cc_stdc=$ac_arg
2484 break
2485 else
2486 echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.$ac_ext >&5
2488
2489 fi
2490 rm -f conftest.err conftest.$ac_objext
2491 done
2492 rm -f conftest.$ac_ext conftest.$ac_objext
2493 CC=$ac_save_CC
2494
2495 fi
2496
2497 case "x$ac_cv_prog_cc_stdc" in
2498 x|xno)
2499 echo "$as_me:$LINENO: result: none needed" >&5
2500 echo "${ECHO_T}none needed" >&6 ;;
2501 *)
2502 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2503 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2504 CC="$CC $ac_cv_prog_cc_stdc" ;;
2505 esac
2506
2507 # Some people use a C++ compiler to compile C. Since we use `exit',
2508 # in C++ we need to declare it. In case someone uses the same compiler
2509 # for both compiling C and C++ we need to have the C++ compiler decide
2510 # the declaration of exit, since it's the most demanding environment.
2511 cat >conftest.$ac_ext <<_ACEOF
2512 #ifndef __cplusplus
2513 choke me
2514 #endif
2515 _ACEOF
2516 rm -f conftest.$ac_objext
2517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2518 (eval $ac_compile) 2>conftest.er1
2519 ac_status=$?
2520 grep -v '^ *+' conftest.er1 >conftest.err
2521 rm -f conftest.er1
2522 cat conftest.err >&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); } &&
2525 { ac_try='test -z "$ac_c_werror_flag"
2526 || test ! -s conftest.err'
2527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2528 (eval $ac_try) 2>&5
2529 ac_status=$?
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; } &&
2532 { ac_try='test -s conftest.$ac_objext'
2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534 (eval $ac_try) 2>&5
2535 ac_status=$?
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; }; then
2538 for ac_declaration in \
2539 '' \
2540 'extern "C" void std::exit (int) throw (); using std::exit;' \
2541 'extern "C" void std::exit (int); using std::exit;' \
2542 'extern "C" void exit (int) throw ();' \
2543 'extern "C" void exit (int);' \
2544 'void exit (int);'
2545 do
2546 cat >conftest.$ac_ext <<_ACEOF
2547 /* confdefs.h. */
2548 _ACEOF
2549 cat confdefs.h >>conftest.$ac_ext
2550 cat >>conftest.$ac_ext <<_ACEOF
2551 /* end confdefs.h. */
2552 $ac_declaration
2553 #include <stdlib.h>
2554 int
2555 main ()
2556 {
2557 exit (42);
2558 ;
2559 return 0;
2560 }
2561 _ACEOF
2562 rm -f conftest.$ac_objext
2563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564 (eval $ac_compile) 2>conftest.er1
2565 ac_status=$?
2566 grep -v '^ *+' conftest.er1 >conftest.err
2567 rm -f conftest.er1
2568 cat conftest.err >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } &&
2571 { ac_try='test -z "$ac_c_werror_flag"
2572 || test ! -s conftest.err'
2573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574 (eval $ac_try) 2>&5
2575 ac_status=$?
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; } &&
2578 { ac_try='test -s conftest.$ac_objext'
2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580 (eval $ac_try) 2>&5
2581 ac_status=$?
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; }; then
2584 :
2585 else
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2588
2589 continue
2590 fi
2591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2592 cat >conftest.$ac_ext <<_ACEOF
2593 /* confdefs.h. */
2594 _ACEOF
2595 cat confdefs.h >>conftest.$ac_ext
2596 cat >>conftest.$ac_ext <<_ACEOF
2597 /* end confdefs.h. */
2598 $ac_declaration
2599 int
2600 main ()
2601 {
2602 exit (42);
2603 ;
2604 return 0;
2605 }
2606 _ACEOF
2607 rm -f conftest.$ac_objext
2608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2609 (eval $ac_compile) 2>conftest.er1
2610 ac_status=$?
2611 grep -v '^ *+' conftest.er1 >conftest.err
2612 rm -f conftest.er1
2613 cat conftest.err >&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); } &&
2616 { ac_try='test -z "$ac_c_werror_flag"
2617 || test ! -s conftest.err'
2618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2619 (eval $ac_try) 2>&5
2620 ac_status=$?
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; } &&
2623 { ac_try='test -s conftest.$ac_objext'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 (eval $ac_try) 2>&5
2626 ac_status=$?
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; }; then
2629 break
2630 else
2631 echo "$as_me: failed program was:" >&5
2632 sed 's/^/| /' conftest.$ac_ext >&5
2633
2634 fi
2635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2636 done
2637 rm -f conftest*
2638 if test -n "$ac_declaration"; then
2639 echo '#ifdef __cplusplus' >>confdefs.h
2640 echo $ac_declaration >>confdefs.h
2641 echo '#endif' >>confdefs.h
2642 fi
2643
2644 else
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2647
2648 fi
2649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2650 ac_ext=c
2651 ac_cpp='$CPP $CPPFLAGS'
2652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2655 DEPDIR="${am__leading_dot}deps"
2656
2657 ac_config_commands="$ac_config_commands depfiles"
2658
2659
2660 am_make=${MAKE-make}
2661 cat > confinc << 'END'
2662 am__doit:
2663 @echo done
2664 .PHONY: am__doit
2665 END
2666 # If we don't find an include directive, just comment out the code.
2667 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2668 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2669 am__include="#"
2670 am__quote=
2671 _am_result=none
2672 # First try GNU make style include.
2673 echo "include confinc" > confmf
2674 # We grep out `Entering directory' and `Leaving directory'
2675 # messages which can occur if `w' ends up in MAKEFLAGS.
2676 # In particular we don't look at `^make:' because GNU make might
2677 # be invoked under some other name (usually "gmake"), in which
2678 # case it prints its new name instead of `make'.
2679 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2680 am__include=include
2681 am__quote=
2682 _am_result=GNU
2683 fi
2684 # Now try BSD make style include.
2685 if test "$am__include" = "#"; then
2686 echo '.include "confinc"' > confmf
2687 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2688 am__include=.include
2689 am__quote="\""
2690 _am_result=BSD
2691 fi
2692 fi
2693
2694
2695 echo "$as_me:$LINENO: result: $_am_result" >&5
2696 echo "${ECHO_T}$_am_result" >&6
2697 rm -f confinc confmf
2698
2699 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2700 if test "${enable_dependency_tracking+set}" = set; then
2701 enableval="$enable_dependency_tracking"
2702
2703 fi;
2704 if test "x$enable_dependency_tracking" != xno; then
2705 am_depcomp="$ac_aux_dir/depcomp"
2706 AMDEPBACKSLASH='\'
2707 fi
2708
2709
2710 if test "x$enable_dependency_tracking" != xno; then
2711 AMDEP_TRUE=
2712 AMDEP_FALSE='#'
2713 else
2714 AMDEP_TRUE='#'
2715 AMDEP_FALSE=
2716 fi
2717
2718
2719
2720
2721 depcc="$CC" am_compiler_list=
2722
2723 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2724 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2725 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2726 echo $ECHO_N "(cached) $ECHO_C" >&6
2727 else
2728 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2729 # We make a subdir and do the tests there. Otherwise we can end up
2730 # making bogus files that we don't know about and never remove. For
2731 # instance it was reported that on HP-UX the gcc test will end up
2732 # making a dummy file named `D' -- because `-MD' means `put the output
2733 # in D'.
2734 mkdir conftest.dir
2735 # Copy depcomp to subdir because otherwise we won't find it if we're
2736 # using a relative directory.
2737 cp "$am_depcomp" conftest.dir
2738 cd conftest.dir
2739 # We will build objects and dependencies in a subdirectory because
2740 # it helps to detect inapplicable dependency modes. For instance
2741 # both Tru64's cc and ICC support -MD to output dependencies as a
2742 # side effect of compilation, but ICC will put the dependencies in
2743 # the current directory while Tru64 will put them in the object
2744 # directory.
2745 mkdir sub
2746
2747 am_cv_CC_dependencies_compiler_type=none
2748 if test "$am_compiler_list" = ""; then
2749 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2750 fi
2751 for depmode in $am_compiler_list; do
2752 # Setup a source with many dependencies, because some compilers
2753 # like to wrap large dependency lists on column 80 (with \), and
2754 # we should not choose a depcomp mode which is confused by this.
2755 #
2756 # We need to recreate these files for each test, as the compiler may
2757 # overwrite some of them when testing with obscure command lines.
2758 # This happens at least with the AIX C compiler.
2759 : > sub/conftest.c
2760 for i in 1 2 3 4 5 6; do
2761 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2762 : > sub/conftst$i.h
2763 done
2764 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2765
2766 case $depmode in
2767 nosideeffect)
2768 # after this tag, mechanisms are not by side-effect, so they'll
2769 # only be used when explicitly requested
2770 if test "x$enable_dependency_tracking" = xyes; then
2771 continue
2772 else
2773 break
2774 fi
2775 ;;
2776 none) break ;;
2777 esac
2778 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2779 # mode. It turns out that the SunPro C++ compiler does not properly
2780 # handle `-M -o', and we need to detect this.
2781 if depmode=$depmode \
2782 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2783 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2784 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2785 >/dev/null 2>conftest.err &&
2786 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2787 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2788 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2789 # icc doesn't choke on unknown options, it will just issue warnings
2790 # (even with -Werror). So we grep stderr for any message
2791 # that says an option was ignored.
2792 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2793 am_cv_CC_dependencies_compiler_type=$depmode
2794 break
2795 fi
2796 fi
2797 done
2798
2799 cd ..
2800 rm -rf conftest.dir
2801 else
2802 am_cv_CC_dependencies_compiler_type=none
2803 fi
2804
2805 fi
2806 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2807 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2808 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2809
2810
2811
2812 if
2813 test "x$enable_dependency_tracking" != xno \
2814 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2815 am__fastdepCC_TRUE=
2816 am__fastdepCC_FALSE='#'
2817 else
2818 am__fastdepCC_TRUE='#'
2819 am__fastdepCC_FALSE=
2820 fi
2821
2822
2823 # Find a good install program. We prefer a C program (faster),
2824 # so one script is as good as another. But avoid the broken or
2825 # incompatible versions:
2826 # SysV /etc/install, /usr/sbin/install
2827 # SunOS /usr/etc/install
2828 # IRIX /sbin/install
2829 # AIX /bin/install
2830 # AmigaOS /C/install, which installs bootblocks on floppy discs
2831 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2832 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2833 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2834 # OS/2's system install, which has a completely different semantic
2835 # ./install, which can be erroneously created by make from ./install.sh.
2836 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2837 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2838 if test -z "$INSTALL"; then
2839 if test "${ac_cv_path_install+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 else
2842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2843 for as_dir in $PATH
2844 do
2845 IFS=$as_save_IFS
2846 test -z "$as_dir" && as_dir=.
2847 # Account for people who put trailing slashes in PATH elements.
2848 case $as_dir/ in
2849 ./ | .// | /cC/* | \
2850 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2851 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2852 /usr/ucb/* ) ;;
2853 *)
2854 # OSF1 and SCO ODT 3.0 have their own names for install.
2855 # Don't use installbsd from OSF since it installs stuff as root
2856 # by default.
2857 for ac_prog in ginstall scoinst install; do
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2860 if test $ac_prog = install &&
2861 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2862 # AIX install. It has an incompatible calling convention.
2863 :
2864 elif test $ac_prog = install &&
2865 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2866 # program-specific install script used by HP pwplus--don't use.
2867 :
2868 else
2869 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2870 break 3
2871 fi
2872 fi
2873 done
2874 done
2875 ;;
2876 esac
2877 done
2878
2879
2880 fi
2881 if test "${ac_cv_path_install+set}" = set; then
2882 INSTALL=$ac_cv_path_install
2883 else
2884 # As a last resort, use the slow shell script. We don't cache a
2885 # path for INSTALL within a source directory, because that will
2886 # break other packages using the cache if that directory is
2887 # removed, or if the path is relative.
2888 INSTALL=$ac_install_sh
2889 fi
2890 fi
2891 echo "$as_me:$LINENO: result: $INSTALL" >&5
2892 echo "${ECHO_T}$INSTALL" >&6
2893
2894 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2895 # It thinks the first close brace ends the variable substitution.
2896 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2897
2898 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2899
2900 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2901
2902
2903 # Checks for pkg-config packages
2904
2905
2906 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2907 if test -n "$ac_tool_prefix"; then
2908 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2909 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2910 echo "$as_me:$LINENO: checking for $ac_word" >&5
2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2912 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 else
2915 case $PKG_CONFIG in
2916 [\\/]* | ?:[\\/]*)
2917 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2918 ;;
2919 *)
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 for as_dir in $PATH
2922 do
2923 IFS=$as_save_IFS
2924 test -z "$as_dir" && as_dir=.
2925 for ac_exec_ext in '' $ac_executable_extensions; do
2926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 break 2
2930 fi
2931 done
2932 done
2933
2934 ;;
2935 esac
2936 fi
2937 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2938
2939 if test -n "$PKG_CONFIG"; then
2940 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2941 echo "${ECHO_T}$PKG_CONFIG" >&6
2942 else
2943 echo "$as_me:$LINENO: result: no" >&5
2944 echo "${ECHO_T}no" >&6
2945 fi
2946
2947 fi
2948 if test -z "$ac_cv_path_PKG_CONFIG"; then
2949 ac_pt_PKG_CONFIG=$PKG_CONFIG
2950 # Extract the first word of "pkg-config", so it can be a program name with args.
2951 set dummy pkg-config; ac_word=$2
2952 echo "$as_me:$LINENO: checking for $ac_word" >&5
2953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2954 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2955 echo $ECHO_N "(cached) $ECHO_C" >&6
2956 else
2957 case $ac_pt_PKG_CONFIG in
2958 [\\/]* | ?:[\\/]*)
2959 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2960 ;;
2961 *)
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 for as_dir in $PATH
2964 do
2965 IFS=$as_save_IFS
2966 test -z "$as_dir" && as_dir=.
2967 for ac_exec_ext in '' $ac_executable_extensions; do
2968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2969 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2971 break 2
2972 fi
2973 done
2974 done
2975
2976 ;;
2977 esac
2978 fi
2979 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2980
2981 if test -n "$ac_pt_PKG_CONFIG"; then
2982 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2983 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
2984 else
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2987 fi
2988
2989 PKG_CONFIG=$ac_pt_PKG_CONFIG
2990 else
2991 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2992 fi
2993
2994 fi
2995 if test -n "$PKG_CONFIG"; then
2996 _pkg_min_version=0.9.0
2997 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
2998 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
2999 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3000 echo "$as_me:$LINENO: result: yes" >&5
3001 echo "${ECHO_T}yes" >&6
3002 else
3003 echo "$as_me:$LINENO: result: no" >&5
3004 echo "${ECHO_T}no" >&6
3005 PKG_CONFIG=""
3006 fi
3007
3008 fi
3009
3010 pkg_failed=no
3011 echo "$as_me:$LINENO: checking for XWUD" >&5
3012 echo $ECHO_N "checking for XWUD... $ECHO_C" >&6
3013
3014 if test -n "$PKG_CONFIG"; then
3015 if test -n "$XWUD_CFLAGS"; then
3016 pkg_cv_XWUD_CFLAGS="$XWUD_CFLAGS"
3017 else
3018 if test -n "$PKG_CONFIG" && \
3019 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3020 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
3021 ac_status=$?
3022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3023 (exit $ac_status); }; then
3024 pkg_cv_XWUD_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
3025 else
3026 pkg_failed=yes
3027 fi
3028 fi
3029 else
3030 pkg_failed=untried
3031 fi
3032 if test -n "$PKG_CONFIG"; then
3033 if test -n "$XWUD_LIBS"; then
3034 pkg_cv_XWUD_LIBS="$XWUD_LIBS"
3035 else
3036 if test -n "$PKG_CONFIG" && \
3037 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
3038 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
3039 ac_status=$?
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }; then
3042 pkg_cv_XWUD_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
3043 else
3044 pkg_failed=yes
3045 fi
3046 fi
3047 else
3048 pkg_failed=untried
3049 fi
3050
3051
3052
3053 if test $pkg_failed = yes; then
3054
3055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3056 _pkg_short_errors_supported=yes
3057 else
3058 _pkg_short_errors_supported=no
3059 fi
3060 if test $_pkg_short_errors_supported = yes; then
3061 XWUD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
3062 else
3063 XWUD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
3064 fi
3065 # Put the nasty error message in config.log where it belongs
3066 echo "$XWUD_PKG_ERRORS" >&5
3067
3068 { { echo "$as_me:$LINENO: error: Package requirements (x11) were not met:
3069
3070 $XWUD_PKG_ERRORS
3071
3072 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3073 installed software in a non-standard prefix.
3074
3075 Alternatively, you may set the environment variables XWUD_CFLAGS
3076 and XWUD_LIBS to avoid the need to call pkg-config.
3077 See the pkg-config man page for more details.
3078 " >&5
3079 echo "$as_me: error: Package requirements (x11) were not met:
3080
3081 $XWUD_PKG_ERRORS
3082
3083 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3084 installed software in a non-standard prefix.
3085
3086 Alternatively, you may set the environment variables XWUD_CFLAGS
3087 and XWUD_LIBS to avoid the need to call pkg-config.
3088 See the pkg-config man page for more details.
3089 " >&2;}
3090 { (exit 1); exit 1; }; }
3091 elif test $pkg_failed = untried; then
3092 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3093 is in your PATH or set the PKG_CONFIG environment variable to the full
3094 path to pkg-config.
3095
3096 Alternatively, you may set the environment variables XWUD_CFLAGS
3097 and XWUD_LIBS to avoid the need to call pkg-config.
3098 See the pkg-config man page for more details.
3099
3100 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3101 See \`config.log' for more details." >&5
3102 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3103 is in your PATH or set the PKG_CONFIG environment variable to the full
3104 path to pkg-config.
3105
3106 Alternatively, you may set the environment variables XWUD_CFLAGS
3107 and XWUD_LIBS to avoid the need to call pkg-config.
3108 See the pkg-config man page for more details.
3109
3110 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3111 See \`config.log' for more details." >&2;}
3112 { (exit 1); exit 1; }; }
3113 else
3114 XWUD_CFLAGS=$pkg_cv_XWUD_CFLAGS
3115 XWUD_LIBS=$pkg_cv_XWUD_LIBS
3116 echo "$as_me:$LINENO: result: yes" >&5
3117 echo "${ECHO_T}yes" >&6
3118 :
3119 fi
3120
3121
3122
3123 # Make sure we can run config.sub.
3124 $ac_config_sub sun4 >/dev/null 2>&1 ||
3125 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3126 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3127 { (exit 1); exit 1; }; }
3128
3129 echo "$as_me:$LINENO: checking build system type" >&5
3130 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3131 if test "${ac_cv_build+set}" = set; then
3132 echo $ECHO_N "(cached) $ECHO_C" >&6
3133 else
3134 ac_cv_build_alias=$build_alias
3135 test -z "$ac_cv_build_alias" &&
3136 ac_cv_build_alias=`$ac_config_guess`
3137 test -z "$ac_cv_build_alias" &&
3138 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3139 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3140 { (exit 1); exit 1; }; }
3141 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3142 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3143 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3144 { (exit 1); exit 1; }; }
3145
3146 fi
3147 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3148 echo "${ECHO_T}$ac_cv_build" >&6
3149 build=$ac_cv_build
3150 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3151 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3152 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3153
3154
3155 echo "$as_me:$LINENO: checking host system type" >&5
3156 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3157 if test "${ac_cv_host+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 else
3160 ac_cv_host_alias=$host_alias
3161 test -z "$ac_cv_host_alias" &&
3162 ac_cv_host_alias=$ac_cv_build_alias
3163 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3164 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3165 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3166 { (exit 1); exit 1; }; }
3167
3168 fi
3169 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3170 echo "${ECHO_T}$ac_cv_host" >&6
3171 host=$ac_cv_host
3172 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3173 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3174 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3175
3176
3177
3178
3179
3180 if test x$APP_MAN_SUFFIX = x ; then
3181 case $host_os in
3182 linux*) APP_MAN_SUFFIX=1x ;;
3183 *) APP_MAN_SUFFIX=1 ;;
3184 esac
3185 fi
3186 if test x$APP_MAN_DIR = x ; then
3187 case $host_os in
3188 linux*) APP_MAN_DIR='$(mandir)/man1' ;;
3189 *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
3190 esac
3191 fi
3192
3193 if test x$LIB_MAN_SUFFIX = x ; then
3194 case $host_os in
3195 linux*) LIB_MAN_SUFFIX=3x ;;
3196 *) LIB_MAN_SUFFIX=3 ;;
3197 esac
3198 fi
3199 if test x$LIB_MAN_DIR = x ; then
3200 case $host_os in
3201 linux*) LIB_MAN_DIR='$(mandir)/man3' ;;
3202 *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
3203 esac
3204 fi
3205
3206 if test x$FILE_MAN_SUFFIX = x ; then
3207 case $host_os in
3208 linux*) FILE_MAN_SUFFIX=5x ;;
3209 solaris*) FILE_MAN_SUFFIX=4 ;;
3210 *) FILE_MAN_SUFFIX=5 ;;
3211 esac
3212 fi
3213 if test x$FILE_MAN_DIR = x ; then
3214 case $host_os in
3215 linux*) FILE_MAN_DIR='$(mandir)/man5' ;;
3216 *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
3217 esac
3218 fi
3219
3220 # In Imake's linux.cf, the misc man suffix & dir was only changed for
3221 # LinuxDebian, not other Linuxes, so we leave it unchanged here
3222 if test x$MISC_MAN_SUFFIX = x ; then
3223 case $host_os in
3224 # linux*) MISC_MAN_SUFFIX=7x ;;
3225 solaris*) MISC_MAN_SUFFIX=5 ;;
3226 *) MISC_MAN_SUFFIX=7 ;;
3227 esac
3228 fi
3229 if test x$MISC_MAN_DIR = x ; then
3230 case $host_os in
3231 # linux*) MISC_MAN_DIR='$(mandir)/man7' ;;
3232 *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
3233 esac
3234 fi
3235
3236 # In Imake's linux.cf, the driver man suffix & dir was only changed for
3237 # LinuxDebian, not other Linuxes, so we leave it unchanged here
3238 if test x$DRIVER_MAN_SUFFIX = x ; then
3239 case $host_os in
3240 # linux*) DRIVER_MAN_SUFFIX=4x ;;
3241 solaris*) DRIVER_MAN_SUFFIX=7 ;;
3242 *) DRIVER_MAN_SUFFIX=4 ;;
3243 esac
3244 fi
3245 if test x$DRIVER_MAN_DIR = x ; then
3246 case $host_os in
3247 # linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;;
3248 *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
3249 esac
3250 fi
3251
3252 if test x$ADMIN_MAN_SUFFIX = x ; then
3253 case $host_os in
3254 solaris*) ADMIN_MAN_SUFFIX=1m ;;
3255 *) ADMIN_MAN_SUFFIX=8 ;;
3256 esac
3257 fi
3258 if test x$ADMIN_MAN_DIR = x ; then
3259 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3260 fi
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278 # Check whether --with-release-version or --without-release-version was given.
3279 if test "${with_release_version+set}" = set; then
3280 withval="$with_release_version"
3281 RELEASE_VERSION="$withval"
3282 else
3283 RELEASE_VERSION=""
3284 fi;
3285 if test "x$RELEASE_VERSION" != "x"; then
3286 PACKAGE="$PACKAGE-$RELEASE_VERSION"
3287 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3288 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3289 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3290 fi
3291
3292
3293 ac_config_files="$ac_config_files Makefile"
3294 cat >confcache <<\_ACEOF
3295 # This file is a shell script that caches the results of configure
3296 # tests run on this system so they can be shared between configure
3297 # scripts and configure runs, see configure's option --config-cache.
3298 # It is not useful on other systems. If it contains results you don't
3299 # want to keep, you may remove or edit it.
3300 #
3301 # config.status only pays attention to the cache file if you give it
3302 # the --recheck option to rerun configure.
3303 #
3304 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3305 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3306 # following values.
3307
3308 _ACEOF
3309
3310 # The following way of writing the cache mishandles newlines in values,
3311 # but we know of no workaround that is simple, portable, and efficient.
3312 # So, don't put newlines in cache variables' values.
3313 # Ultrix sh set writes to stderr and can't be redirected directly,
3314 # and sets the high bit in the cache file unless we assign to the vars.
3315 {
3316 (set) 2>&1 |
3317 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3318 *ac_space=\ *)
3319 # `set' does not quote correctly, so add quotes (double-quote
3320 # substitution turns \\\\ into \\, and sed turns \\ into \).
3321 sed -n \
3322 "s/'/'\\\\''/g;
3323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3324 ;;
3325 *)
3326 # `set' quotes correctly as required by POSIX, so do not add quotes.
3327 sed -n \
3328 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3329 ;;
3330 esac;
3331 } |
3332 sed '
3333 t clear
3334 : clear
3335 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3336 t end
3337 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3338 : end' >>confcache
3339 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3340 if test -w $cache_file; then
3341 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3342 cat confcache >$cache_file
3343 else
3344 echo "not updating unwritable cache $cache_file"
3345 fi
3346 fi
3347 rm -f confcache
3348
3349 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3350 # Let make expand exec_prefix.
3351 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3352
3353 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3354 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3355 # trailing colons and then remove the whole line if VPATH becomes empty
3356 # (actually we leave an empty line to preserve line numbers).
3357 if test "x$srcdir" = x.; then
3358 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3359 s/:*\$(srcdir):*/:/;
3360 s/:*\${srcdir}:*/:/;
3361 s/:*@srcdir@:*/:/;
3362 s/^\([^=]*=[ ]*\):*/\1/;
3363 s/:*$//;
3364 s/^[^=]*=[ ]*$//;
3365 }'
3366 fi
3367
3368 DEFS=-DHAVE_CONFIG_H
3369
3370 ac_libobjs=
3371 ac_ltlibobjs=
3372 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3373 # 1. Remove the extension, and $U if already installed.
3374 ac_i=`echo "$ac_i" |
3375 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3376 # 2. Add them.
3377 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3378 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3379 done
3380 LIBOBJS=$ac_libobjs
3381
3382 LTLIBOBJS=$ac_ltlibobjs
3383
3384
3385 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3386 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3387 Usually this means the macro was only invoked conditionally." >&5
3388 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3389 Usually this means the macro was only invoked conditionally." >&2;}
3390 { (exit 1); exit 1; }; }
3391 fi
3392 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3393 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3394 Usually this means the macro was only invoked conditionally." >&5
3395 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3396 Usually this means the macro was only invoked conditionally." >&2;}
3397 { (exit 1); exit 1; }; }
3398 fi
3399 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3400 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3401 Usually this means the macro was only invoked conditionally." >&5
3402 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3403 Usually this means the macro was only invoked conditionally." >&2;}
3404 { (exit 1); exit 1; }; }
3405 fi
3406
3407 : ${CONFIG_STATUS=./config.status}
3408 ac_clean_files_save=$ac_clean_files
3409 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3410 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3411 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3412 cat >$CONFIG_STATUS <<_ACEOF
3413 #! $SHELL
3414 # Generated by $as_me.
3415 # Run this file to recreate the current configuration.
3416 # Compiler output produced by configure, useful for debugging
3417 # configure, is in config.log if it exists.
3418
3419 debug=false
3420 ac_cs_recheck=false
3421 ac_cs_silent=false
3422 SHELL=\${CONFIG_SHELL-$SHELL}
3423 _ACEOF
3424
3425 cat >>$CONFIG_STATUS <<\_ACEOF
3426 ## --------------------- ##
3427 ## M4sh Initialization. ##
3428 ## --------------------- ##
3429
3430 # Be Bourne compatible
3431 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3432 emulate sh
3433 NULLCMD=:
3434 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3435 # is contrary to our usage. Disable this feature.
3436 alias -g '${1+"$@"}'='"$@"'
3437 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3438 set -o posix
3439 fi
3440 DUALCASE=1; export DUALCASE # for MKS sh
3441
3442 # Support unset when possible.
3443 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3444 as_unset=unset
3445 else
3446 as_unset=false
3447 fi
3448
3449
3450 # Work around bugs in pre-3.0 UWIN ksh.
3451 $as_unset ENV MAIL MAILPATH
3452 PS1='$ '
3453 PS2='> '
3454 PS4='+ '
3455
3456 # NLS nuisances.
3457 for as_var in \
3458 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3459 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3460 LC_TELEPHONE LC_TIME
3461 do
3462 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3463 eval $as_var=C; export $as_var
3464 else
3465 $as_unset $as_var
3466 fi
3467 done
3468
3469 # Required to use basename.
3470 if expr a : '\(a\)' >/dev/null 2>&1; then
3471 as_expr=expr
3472 else
3473 as_expr=false
3474 fi
3475
3476 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3477 as_basename=basename
3478 else
3479 as_basename=false
3480 fi
3481
3482
3483 # Name of the executable.
3484 as_me=`$as_basename "$0" ||
3485 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3486 X"$0" : 'X\(//\)$' \| \
3487 X"$0" : 'X\(/\)$' \| \
3488 . : '\(.\)' 2>/dev/null ||
3489 echo X/"$0" |
3490 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3491 /^X\/\(\/\/\)$/{ s//\1/; q; }
3492 /^X\/\(\/\).*/{ s//\1/; q; }
3493 s/.*/./; q'`
3494
3495
3496 # PATH needs CR, and LINENO needs CR and PATH.
3497 # Avoid depending upon Character Ranges.
3498 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3499 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3500 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3501 as_cr_digits='0123456789'
3502 as_cr_alnum=$as_cr_Letters$as_cr_digits
3503
3504 # The user is always right.
3505 if test "${PATH_SEPARATOR+set}" != set; then
3506 echo "#! /bin/sh" >conf$$.sh
3507 echo "exit 0" >>conf$$.sh
3508 chmod +x conf$$.sh
3509 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3510 PATH_SEPARATOR=';'
3511 else
3512 PATH_SEPARATOR=:
3513 fi
3514 rm -f conf$$.sh
3515 fi
3516
3517
3518 as_lineno_1=$LINENO
3519 as_lineno_2=$LINENO
3520 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3521 test "x$as_lineno_1" != "x$as_lineno_2" &&
3522 test "x$as_lineno_3" = "x$as_lineno_2" || {
3523 # Find who we are. Look in the path if we contain no path at all
3524 # relative or not.
3525 case $0 in
3526 *[\\/]* ) as_myself=$0 ;;
3527 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 for as_dir in $PATH
3529 do
3530 IFS=$as_save_IFS
3531 test -z "$as_dir" && as_dir=.
3532 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3533 done
3534
3535 ;;
3536 esac
3537 # We did not find ourselves, most probably we were run as `sh COMMAND'
3538 # in which case we are not to be found in the path.
3539 if test "x$as_myself" = x; then
3540 as_myself=$0
3541 fi
3542 if test ! -f "$as_myself"; then
3543 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3544 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3545 { (exit 1); exit 1; }; }
3546 fi
3547 case $CONFIG_SHELL in
3548 '')
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3551 do
3552 IFS=$as_save_IFS
3553 test -z "$as_dir" && as_dir=.
3554 for as_base in sh bash ksh sh5; do
3555 case $as_dir in
3556 /*)
3557 if ("$as_dir/$as_base" -c '
3558 as_lineno_1=$LINENO
3559 as_lineno_2=$LINENO
3560 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3561 test "x$as_lineno_1" != "x$as_lineno_2" &&
3562 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3563 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3564 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3565 CONFIG_SHELL=$as_dir/$as_base
3566 export CONFIG_SHELL
3567 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3568 fi;;
3569 esac
3570 done
3571 done
3572 ;;
3573 esac
3574
3575 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3576 # uniformly replaced by the line number. The first 'sed' inserts a
3577 # line-number line before each line; the second 'sed' does the real
3578 # work. The second script uses 'N' to pair each line-number line
3579 # with the numbered line, and appends trailing '-' during
3580 # substitution so that $LINENO is not a special case at line end.
3581 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3582 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3583 sed '=' <$as_myself |
3584 sed '
3585 N
3586 s,$,-,
3587 : loop
3588 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3589 t loop
3590 s,-$,,
3591 s,^['$as_cr_digits']*\n,,
3592 ' >$as_me.lineno &&
3593 chmod +x $as_me.lineno ||
3594 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3595 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3596 { (exit 1); exit 1; }; }
3597
3598 # Don't try to exec as it changes $[0], causing all sort of problems
3599 # (the dirname of $[0] is not the place where we might find the
3600 # original and so on. Autoconf is especially sensible to this).
3601 . ./$as_me.lineno
3602 # Exit status is that of the last command.
3603 exit
3604 }
3605
3606
3607 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3608 *c*,-n*) ECHO_N= ECHO_C='
3609 ' ECHO_T=' ' ;;
3610 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3611 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3612 esac
3613
3614 if expr a : '\(a\)' >/dev/null 2>&1; then
3615 as_expr=expr
3616 else
3617 as_expr=false
3618 fi
3619
3620 rm -f conf$$ conf$$.exe conf$$.file
3621 echo >conf$$.file
3622 if ln -s conf$$.file conf$$ 2>/dev/null; then
3623 # We could just check for DJGPP; but this test a) works b) is more generic
3624 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3625 if test -f conf$$.exe; then
3626 # Don't use ln at all; we don't have any links
3627 as_ln_s='cp -p'
3628 else
3629 as_ln_s='ln -s'
3630 fi
3631 elif ln conf$$.file conf$$ 2>/dev/null; then
3632 as_ln_s=ln
3633 else
3634 as_ln_s='cp -p'
3635 fi
3636 rm -f conf$$ conf$$.exe conf$$.file
3637
3638 if mkdir -p . 2>/dev/null; then
3639 as_mkdir_p=:
3640 else
3641 test -d ./-p && rmdir ./-p
3642 as_mkdir_p=false
3643 fi
3644
3645 as_executable_p="test -f"
3646
3647 # Sed expression to map a string onto a valid CPP name.
3648 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3649
3650 # Sed expression to map a string onto a valid variable name.
3651 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3652
3653
3654 # IFS
3655 # We need space, tab and new line, in precisely that order.
3656 as_nl='
3657 '
3658 IFS=" $as_nl"
3659
3660 # CDPATH.
3661 $as_unset CDPATH
3662
3663 exec 6>&1
3664
3665 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3666 # report actual input values of CONFIG_FILES etc. instead of their
3667 # values after options handling. Logging --version etc. is OK.
3668 exec 5>>config.log
3669 {
3670 echo
3671 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3672 ## Running $as_me. ##
3673 _ASBOX
3674 } >&5
3675 cat >&5 <<_CSEOF
3676
3677 This file was extended by xwud $as_me 1.0.1, which was
3678 generated by GNU Autoconf 2.59. Invocation command line was
3679
3680 CONFIG_FILES = $CONFIG_FILES
3681 CONFIG_HEADERS = $CONFIG_HEADERS
3682 CONFIG_LINKS = $CONFIG_LINKS
3683 CONFIG_COMMANDS = $CONFIG_COMMANDS
3684 $ $0 $@
3685
3686 _CSEOF
3687 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3688 echo >&5
3689 _ACEOF
3690
3691 # Files that config.status was made for.
3692 if test -n "$ac_config_files"; then
3693 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3694 fi
3695
3696 if test -n "$ac_config_headers"; then
3697 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3698 fi
3699
3700 if test -n "$ac_config_links"; then
3701 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3702 fi
3703
3704 if test -n "$ac_config_commands"; then
3705 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3706 fi
3707
3708 cat >>$CONFIG_STATUS <<\_ACEOF
3709
3710 ac_cs_usage="\
3711 \`$as_me' instantiates files from templates according to the
3712 current configuration.
3713
3714 Usage: $0 [OPTIONS] [FILE]...
3715
3716 -h, --help print this help, then exit
3717 -V, --version print version number, then exit
3718 -q, --quiet do not print progress messages
3719 -d, --debug don't remove temporary files
3720 --recheck update $as_me by reconfiguring in the same conditions
3721 --file=FILE[:TEMPLATE]
3722 instantiate the configuration file FILE
3723 --header=FILE[:TEMPLATE]
3724 instantiate the configuration header FILE
3725
3726 Configuration files:
3727 $config_files
3728
3729 Configuration headers:
3730 $config_headers
3731
3732 Configuration commands:
3733 $config_commands
3734
3735 Report bugs to <bug-autoconf@gnu.org>."
3736 _ACEOF
3737
3738 cat >>$CONFIG_STATUS <<_ACEOF
3739 ac_cs_version="\\
3740 xwud config.status 1.0.1
3741 configured by $0, generated by GNU Autoconf 2.59,
3742 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3743
3744 Copyright (C) 2003 Free Software Foundation, Inc.
3745 This config.status script is free software; the Free Software Foundation
3746 gives unlimited permission to copy, distribute and modify it."
3747 srcdir=$srcdir
3748 INSTALL="$INSTALL"
3749 _ACEOF
3750
3751 cat >>$CONFIG_STATUS <<\_ACEOF
3752 # If no file are specified by the user, then we need to provide default
3753 # value. By we need to know if files were specified by the user.
3754 ac_need_defaults=:
3755 while test $# != 0
3756 do
3757 case $1 in
3758 --*=*)
3759 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3760 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3761 ac_shift=:
3762 ;;
3763 -*)
3764 ac_option=$1
3765 ac_optarg=$2
3766 ac_shift=shift
3767 ;;
3768 *) # This is not an option, so the user has probably given explicit
3769 # arguments.
3770 ac_option=$1
3771 ac_need_defaults=false;;
3772 esac
3773
3774 case $ac_option in
3775 # Handling of the options.
3776 _ACEOF
3777 cat >>$CONFIG_STATUS <<\_ACEOF
3778 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3779 ac_cs_recheck=: ;;
3780 --version | --vers* | -V )
3781 echo "$ac_cs_version"; exit 0 ;;
3782 --he | --h)
3783 # Conflict between --help and --header
3784 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3785 Try \`$0 --help' for more information." >&5
3786 echo "$as_me: error: ambiguous option: $1
3787 Try \`$0 --help' for more information." >&2;}
3788 { (exit 1); exit 1; }; };;
3789 --help | --hel | -h )
3790 echo "$ac_cs_usage"; exit 0 ;;
3791 --debug | --d* | -d )
3792 debug=: ;;
3793 --file | --fil | --fi | --f )
3794 $ac_shift
3795 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3796 ac_need_defaults=false;;
3797 --header | --heade | --head | --hea )
3798 $ac_shift
3799 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3800 ac_need_defaults=false;;
3801 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3802 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3803 ac_cs_silent=: ;;
3804
3805 # This is an error.
3806 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3807 Try \`$0 --help' for more information." >&5
3808 echo "$as_me: error: unrecognized option: $1
3809 Try \`$0 --help' for more information." >&2;}
3810 { (exit 1); exit 1; }; } ;;
3811
3812 *) ac_config_targets="$ac_config_targets $1" ;;
3813
3814 esac
3815 shift
3816 done
3817
3818 ac_configure_extra_args=
3819
3820 if $ac_cs_silent; then
3821 exec 6>/dev/null
3822 ac_configure_extra_args="$ac_configure_extra_args --silent"
3823 fi
3824
3825 _ACEOF
3826 cat >>$CONFIG_STATUS <<_ACEOF
3827 if \$ac_cs_recheck; then
3828 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3829 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3830 fi
3831
3832 _ACEOF
3833
3834 cat >>$CONFIG_STATUS <<_ACEOF
3835 #
3836 # INIT-COMMANDS section.
3837 #
3838
3839 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3840
3841 _ACEOF
3842
3843
3844
3845 cat >>$CONFIG_STATUS <<\_ACEOF
3846 for ac_config_target in $ac_config_targets
3847 do
3848 case "$ac_config_target" in
3849 # Handling of arguments.
3850 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3851 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3852 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3853 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3854 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3855 { (exit 1); exit 1; }; };;
3856 esac
3857 done
3858
3859 # If the user did not use the arguments to specify the items to instantiate,
3860 # then the envvar interface is used. Set only those that are not.
3861 # We use the long form for the default assignment because of an extremely
3862 # bizarre bug on SunOS 4.1.3.
3863 if $ac_need_defaults; then
3864 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3865 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3866 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3867 fi
3868
3869 # Have a temporary directory for convenience. Make it in the build tree
3870 # simply because there is no reason to put it here, and in addition,
3871 # creating and moving files from /tmp can sometimes cause problems.
3872 # Create a temporary directory, and hook for its removal unless debugging.
3873 $debug ||
3874 {
3875 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3876 trap '{ (exit 1); exit 1; }' 1 2 13 15
3877 }
3878
3879 # Create a (secure) tmp directory for tmp files.
3880
3881 {
3882 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3883 test -n "$tmp" && test -d "$tmp"
3884 } ||
3885 {
3886 tmp=./confstat$$-$RANDOM
3887 (umask 077 && mkdir $tmp)
3888 } ||
3889 {
3890 echo "$me: cannot create a temporary directory in ." >&2
3891 { (exit 1); exit 1; }
3892 }
3893
3894 _ACEOF
3895
3896 cat >>$CONFIG_STATUS <<_ACEOF
3897
3898 #
3899 # CONFIG_FILES section.
3900 #
3901
3902 # No need to generate the scripts if there are no CONFIG_FILES.
3903 # This happens for instance when ./config.status config.h
3904 if test -n "\$CONFIG_FILES"; then
3905 # Protect against being on the right side of a sed subst in config.status.
3906 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3907 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3908 s,@SHELL@,$SHELL,;t t
3909 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3910 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3911 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3912 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3913 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3914 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3915 s,@exec_prefix@,$exec_prefix,;t t
3916 s,@prefix@,$prefix,;t t
3917 s,@program_transform_name@,$program_transform_name,;t t
3918 s,@bindir@,$bindir,;t t
3919 s,@sbindir@,$sbindir,;t t
3920 s,@libexecdir@,$libexecdir,;t t
3921 s,@datadir@,$datadir,;t t
3922 s,@sysconfdir@,$sysconfdir,;t t
3923 s,@sharedstatedir@,$sharedstatedir,;t t
3924 s,@localstatedir@,$localstatedir,;t t
3925 s,@libdir@,$libdir,;t t
3926 s,@includedir@,$includedir,;t t
3927 s,@oldincludedir@,$oldincludedir,;t t
3928 s,@infodir@,$infodir,;t t
3929 s,@mandir@,$mandir,;t t
3930 s,@build_alias@,$build_alias,;t t
3931 s,@host_alias@,$host_alias,;t t
3932 s,@target_alias@,$target_alias,;t t
3933 s,@DEFS@,$DEFS,;t t
3934 s,@ECHO_C@,$ECHO_C,;t t
3935 s,@ECHO_N@,$ECHO_N,;t t
3936 s,@ECHO_T@,$ECHO_T,;t t
3937 s,@LIBS@,$LIBS,;t t
3938 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3939 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3940 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3941 s,@CYGPATH_W@,$CYGPATH_W,;t t
3942 s,@PACKAGE@,$PACKAGE,;t t
3943 s,@VERSION@,$VERSION,;t t
3944 s,@ACLOCAL@,$ACLOCAL,;t t
3945 s,@AUTOCONF@,$AUTOCONF,;t t
3946 s,@AUTOMAKE@,$AUTOMAKE,;t t
3947 s,@AUTOHEADER@,$AUTOHEADER,;t t
3948 s,@MAKEINFO@,$MAKEINFO,;t t
3949 s,@AMTAR@,$AMTAR,;t t
3950 s,@install_sh@,$install_sh,;t t
3951 s,@STRIP@,$STRIP,;t t
3952 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3953 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3954 s,@AWK@,$AWK,;t t
3955 s,@SET_MAKE@,$SET_MAKE,;t t
3956 s,@am__leading_dot@,$am__leading_dot,;t t
3957 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3958 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3959 s,@MAINT@,$MAINT,;t t
3960 s,@CC@,$CC,;t t
3961 s,@CFLAGS@,$CFLAGS,;t t
3962 s,@LDFLAGS@,$LDFLAGS,;t t
3963 s,@CPPFLAGS@,$CPPFLAGS,;t t
3964 s,@ac_ct_CC@,$ac_ct_CC,;t t
3965 s,@EXEEXT@,$EXEEXT,;t t
3966 s,@OBJEXT@,$OBJEXT,;t t
3967 s,@DEPDIR@,$DEPDIR,;t t
3968 s,@am__include@,$am__include,;t t
3969 s,@am__quote@,$am__quote,;t t
3970 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3971 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3972 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3973 s,@CCDEPMODE@,$CCDEPMODE,;t t
3974 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3975 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3976 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
3977 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
3978 s,@XWUD_CFLAGS@,$XWUD_CFLAGS,;t t
3979 s,@XWUD_LIBS@,$XWUD_LIBS,;t t
3980 s,@build@,$build,;t t
3981 s,@build_cpu@,$build_cpu,;t t
3982 s,@build_vendor@,$build_vendor,;t t
3983 s,@build_os@,$build_os,;t t
3984 s,@host@,$host,;t t
3985 s,@host_cpu@,$host_cpu,;t t
3986 s,@host_vendor@,$host_vendor,;t t
3987 s,@host_os@,$host_os,;t t
3988 s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
3989 s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
3990 s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
3991 s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
3992 s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
3993 s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
3994 s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
3995 s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
3996 s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
3997 s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
3998 s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
3999 s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
4000 s,@LIBOBJS@,$LIBOBJS,;t t
4001 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4002 CEOF
4003
4004 _ACEOF
4005
4006 cat >>$CONFIG_STATUS <<\_ACEOF
4007 # Split the substitutions into bite-sized pieces for seds with
4008 # small command number limits, like on Digital OSF/1 and HP-UX.
4009 ac_max_sed_lines=48
4010 ac_sed_frag=1 # Number of current file.
4011 ac_beg=1 # First line for current file.
4012 ac_end=$ac_max_sed_lines # Line after last line for current file.
4013 ac_more_lines=:
4014 ac_sed_cmds=
4015 while $ac_more_lines; do
4016 if test $ac_beg -gt 1; then
4017 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4018 else
4019 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4020 fi
4021 if test ! -s $tmp/subs.frag; then
4022 ac_more_lines=false
4023 else
4024 # The purpose of the label and of the branching condition is to
4025 # speed up the sed processing (if there are no `@' at all, there
4026 # is no need to browse any of the substitutions).
4027 # These are the two extra sed commands mentioned above.
4028 (echo ':t
4029 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4030 if test -z "$ac_sed_cmds"; then
4031 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4032 else
4033 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4034 fi
4035 ac_sed_frag=`expr $ac_sed_frag + 1`
4036 ac_beg=$ac_end
4037 ac_end=`expr $ac_end + $ac_max_sed_lines`
4038 fi
4039 done
4040 if test -z "$ac_sed_cmds"; then
4041 ac_sed_cmds=cat
4042 fi
4043 fi # test -n "$CONFIG_FILES"
4044
4045 _ACEOF
4046 cat >>$CONFIG_STATUS <<\_ACEOF
4047 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4048 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4049 case $ac_file in
4050 - | *:- | *:-:* ) # input from stdin
4051 cat >$tmp/stdin
4052 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4053 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4054 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4055 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4056 * ) ac_file_in=$ac_file.in ;;
4057 esac
4058
4059 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4060 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4061 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4062 X"$ac_file" : 'X\(//\)[^/]' \| \
4063 X"$ac_file" : 'X\(//\)$' \| \
4064 X"$ac_file" : 'X\(/\)' \| \
4065 . : '\(.\)' 2>/dev/null ||
4066 echo X"$ac_file" |
4067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4068 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4069 /^X\(\/\/\)$/{ s//\1/; q; }
4070 /^X\(\/\).*/{ s//\1/; q; }
4071 s/.*/./; q'`
4072 { if $as_mkdir_p; then
4073 mkdir -p "$ac_dir"
4074 else
4075 as_dir="$ac_dir"
4076 as_dirs=
4077 while test ! -d "$as_dir"; do
4078 as_dirs="$as_dir $as_dirs"
4079 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4080 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4081 X"$as_dir" : 'X\(//\)[^/]' \| \
4082 X"$as_dir" : 'X\(//\)$' \| \
4083 X"$as_dir" : 'X\(/\)' \| \
4084 . : '\(.\)' 2>/dev/null ||
4085 echo X"$as_dir" |
4086 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4087 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4088 /^X\(\/\/\)$/{ s//\1/; q; }
4089 /^X\(\/\).*/{ s//\1/; q; }
4090 s/.*/./; q'`
4091 done
4092 test ! -n "$as_dirs" || mkdir $as_dirs
4093 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4094 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4095 { (exit 1); exit 1; }; }; }
4096
4097 ac_builddir=.
4098
4099 if test "$ac_dir" != .; then
4100 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4101 # A "../" for each directory in $ac_dir_suffix.
4102 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4103 else
4104 ac_dir_suffix= ac_top_builddir=
4105 fi
4106
4107 case $srcdir in
4108 .) # No --srcdir option. We are building in place.
4109 ac_srcdir=.
4110 if test -z "$ac_top_builddir"; then
4111 ac_top_srcdir=.
4112 else
4113 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4114 fi ;;
4115 [\\/]* | ?:[\\/]* ) # Absolute path.
4116 ac_srcdir=$srcdir$ac_dir_suffix;
4117 ac_top_srcdir=$srcdir ;;
4118 *) # Relative path.
4119 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4120 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4121 esac
4122
4123 # Do not use `cd foo && pwd` to compute absolute paths, because
4124 # the directories may not exist.
4125 case `pwd` in
4126 .) ac_abs_builddir="$ac_dir";;
4127 *)
4128 case "$ac_dir" in
4129 .) ac_abs_builddir=`pwd`;;
4130 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4131 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4132 esac;;
4133 esac
4134 case $ac_abs_builddir in
4135 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4136 *)
4137 case ${ac_top_builddir}. in
4138 .) ac_abs_top_builddir=$ac_abs_builddir;;
4139 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4140 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4141 esac;;
4142 esac
4143 case $ac_abs_builddir in
4144 .) ac_abs_srcdir=$ac_srcdir;;
4145 *)
4146 case $ac_srcdir in
4147 .) ac_abs_srcdir=$ac_abs_builddir;;
4148 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4149 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4150 esac;;
4151 esac
4152 case $ac_abs_builddir in
4153 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4154 *)
4155 case $ac_top_srcdir in
4156 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4157 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4158 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4159 esac;;
4160 esac
4161
4162
4163 case $INSTALL in
4164 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4165 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4166 esac
4167
4168 if test x"$ac_file" != x-; then
4169 { echo "$as_me:$LINENO: creating $ac_file" >&5
4170 echo "$as_me: creating $ac_file" >&6;}
4171 rm -f "$ac_file"
4172 fi
4173 # Let's still pretend it is `configure' which instantiates (i.e., don't
4174 # use $as_me), people would be surprised to read:
4175 # /* config.h. Generated by config.status. */
4176 if test x"$ac_file" = x-; then
4177 configure_input=
4178 else
4179 configure_input="$ac_file. "
4180 fi
4181 configure_input=$configure_input"Generated from `echo $ac_file_in |
4182 sed 's,.*/,,'` by configure."
4183
4184 # First look for the input files in the build tree, otherwise in the
4185 # src tree.
4186 ac_file_inputs=`IFS=:
4187 for f in $ac_file_in; do
4188 case $f in
4189 -) echo $tmp/stdin ;;
4190 [\\/$]*)
4191 # Absolute (can't be DOS-style, as IFS=:)
4192 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4193 echo "$as_me: error: cannot find input file: $f" >&2;}
4194 { (exit 1); exit 1; }; }
4195 echo "$f";;
4196 *) # Relative
4197 if test -f "$f"; then
4198 # Build tree
4199 echo "$f"
4200 elif test -f "$srcdir/$f"; then
4201 # Source tree
4202 echo "$srcdir/$f"
4203 else
4204 # /dev/null tree
4205 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4206 echo "$as_me: error: cannot find input file: $f" >&2;}
4207 { (exit 1); exit 1; }; }
4208 fi;;
4209 esac
4210 done` || { (exit 1); exit 1; }
4211 _ACEOF
4212 cat >>$CONFIG_STATUS <<_ACEOF
4213 sed "$ac_vpsub
4214 $extrasub
4215 _ACEOF
4216 cat >>$CONFIG_STATUS <<\_ACEOF
4217 :t
4218 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4219 s,@configure_input@,$configure_input,;t t
4220 s,@srcdir@,$ac_srcdir,;t t
4221 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4222 s,@top_srcdir@,$ac_top_srcdir,;t t
4223 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4224 s,@builddir@,$ac_builddir,;t t
4225 s,@abs_builddir@,$ac_abs_builddir,;t t
4226 s,@top_builddir@,$ac_top_builddir,;t t
4227 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4228 s,@INSTALL@,$ac_INSTALL,;t t
4229 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4230 rm -f $tmp/stdin
4231 if test x"$ac_file" != x-; then
4232 mv $tmp/out $ac_file
4233 else
4234 cat $tmp/out
4235 rm -f $tmp/out
4236 fi
4237
4238 done
4239 _ACEOF
4240 cat >>$CONFIG_STATUS <<\_ACEOF
4241
4242 #
4243 # CONFIG_HEADER section.
4244 #
4245
4246 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4247 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4248 #
4249 # ac_d sets the value in "#define NAME VALUE" lines.
4250 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4251 ac_dB='[ ].*$,\1#\2'
4252 ac_dC=' '
4253 ac_dD=',;t'
4254 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4255 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4256 ac_uB='$,\1#\2define\3'
4257 ac_uC=' '
4258 ac_uD=',;t'
4259
4260 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4261 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4262 case $ac_file in
4263 - | *:- | *:-:* ) # input from stdin
4264 cat >$tmp/stdin
4265 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4266 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4267 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4268 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4269 * ) ac_file_in=$ac_file.in ;;
4270 esac
4271
4272 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4273 echo "$as_me: creating $ac_file" >&6;}
4274
4275 # First look for the input files in the build tree, otherwise in the
4276 # src tree.
4277 ac_file_inputs=`IFS=:
4278 for f in $ac_file_in; do
4279 case $f in
4280 -) echo $tmp/stdin ;;
4281 [\\/$]*)
4282 # Absolute (can't be DOS-style, as IFS=:)
4283 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4284 echo "$as_me: error: cannot find input file: $f" >&2;}
4285 { (exit 1); exit 1; }; }
4286 # Do quote $f, to prevent DOS paths from being IFS'd.
4287 echo "$f";;
4288 *) # Relative
4289 if test -f "$f"; then
4290 # Build tree
4291 echo "$f"
4292 elif test -f "$srcdir/$f"; then
4293 # Source tree
4294 echo "$srcdir/$f"
4295 else
4296 # /dev/null tree
4297 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4298 echo "$as_me: error: cannot find input file: $f" >&2;}
4299 { (exit 1); exit 1; }; }
4300 fi;;
4301 esac
4302 done` || { (exit 1); exit 1; }
4303 # Remove the trailing spaces.
4304 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4305
4306 _ACEOF
4307
4308 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4309 # `conftest.undefs', that substitutes the proper values into
4310 # config.h.in to produce config.h. The first handles `#define'
4311 # templates, and the second `#undef' templates.
4312 # And first: Protect against being on the right side of a sed subst in
4313 # config.status. Protect against being in an unquoted here document
4314 # in config.status.
4315 rm -f conftest.defines conftest.undefs
4316 # Using a here document instead of a string reduces the quoting nightmare.
4317 # Putting comments in sed scripts is not portable.
4318 #
4319 # `end' is used to avoid that the second main sed command (meant for
4320 # 0-ary CPP macros) applies to n-ary macro definitions.
4321 # See the Autoconf documentation for `clear'.
4322 cat >confdef2sed.sed <<\_ACEOF
4323 s/[\\&,]/\\&/g
4324 s,[\\$`],\\&,g
4325 t clear
4326 : clear
4327 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4328 t end
4329 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4330 : end
4331 _ACEOF
4332 # If some macros were called several times there might be several times
4333 # the same #defines, which is useless. Nevertheless, we may not want to
4334 # sort them, since we want the *last* AC-DEFINE to be honored.
4335 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4336 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4337 rm -f confdef2sed.sed
4338
4339 # This sed command replaces #undef with comments. This is necessary, for
4340 # example, in the case of _POSIX_SOURCE, which is predefined and required
4341 # on some systems where configure will not decide to define it.
4342 cat >>conftest.undefs <<\_ACEOF
4343 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4344 _ACEOF
4345
4346 # Break up conftest.defines because some shells have a limit on the size
4347 # of here documents, and old seds have small limits too (100 cmds).
4348 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4349 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4350 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4351 echo ' :' >>$CONFIG_STATUS
4352 rm -f conftest.tail
4353 while grep . conftest.defines >/dev/null
4354 do
4355 # Write a limited-size here document to $tmp/defines.sed.
4356 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4357 # Speed up: don't consider the non `#define' lines.
4358 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4359 # Work around the forget-to-reset-the-flag bug.
4360 echo 't clr' >>$CONFIG_STATUS
4361 echo ': clr' >>$CONFIG_STATUS
4362 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4363 echo 'CEOF
4364 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4365 rm -f $tmp/in
4366 mv $tmp/out $tmp/in
4367 ' >>$CONFIG_STATUS
4368 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4369 rm -f conftest.defines
4370 mv conftest.tail conftest.defines
4371 done
4372 rm -f conftest.defines
4373 echo ' fi # grep' >>$CONFIG_STATUS
4374 echo >>$CONFIG_STATUS
4375
4376 # Break up conftest.undefs because some shells have a limit on the size
4377 # of here documents, and old seds have small limits too (100 cmds).
4378 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4379 rm -f conftest.tail
4380 while grep . conftest.undefs >/dev/null
4381 do
4382 # Write a limited-size here document to $tmp/undefs.sed.
4383 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4384 # Speed up: don't consider the non `#undef'
4385 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4386 # Work around the forget-to-reset-the-flag bug.
4387 echo 't clr' >>$CONFIG_STATUS
4388 echo ': clr' >>$CONFIG_STATUS
4389 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4390 echo 'CEOF
4391 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4392 rm -f $tmp/in
4393 mv $tmp/out $tmp/in
4394 ' >>$CONFIG_STATUS
4395 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4396 rm -f conftest.undefs
4397 mv conftest.tail conftest.undefs
4398 done
4399 rm -f conftest.undefs
4400
4401 cat >>$CONFIG_STATUS <<\_ACEOF
4402 # Let's still pretend it is `configure' which instantiates (i.e., don't
4403 # use $as_me), people would be surprised to read:
4404 # /* config.h. Generated by config.status. */
4405 if test x"$ac_file" = x-; then
4406 echo "/* Generated by configure. */" >$tmp/config.h
4407 else
4408 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4409 fi
4410 cat $tmp/in >>$tmp/config.h
4411 rm -f $tmp/in
4412 if test x"$ac_file" != x-; then
4413 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4414 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4415 echo "$as_me: $ac_file is unchanged" >&6;}
4416 else
4417 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4418 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4419 X"$ac_file" : 'X\(//\)[^/]' \| \
4420 X"$ac_file" : 'X\(//\)$' \| \
4421 X"$ac_file" : 'X\(/\)' \| \
4422 . : '\(.\)' 2>/dev/null ||
4423 echo X"$ac_file" |
4424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4425 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4426 /^X\(\/\/\)$/{ s//\1/; q; }
4427 /^X\(\/\).*/{ s//\1/; q; }
4428 s/.*/./; q'`
4429 { if $as_mkdir_p; then
4430 mkdir -p "$ac_dir"
4431 else
4432 as_dir="$ac_dir"
4433 as_dirs=
4434 while test ! -d "$as_dir"; do
4435 as_dirs="$as_dir $as_dirs"
4436 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4438 X"$as_dir" : 'X\(//\)[^/]' \| \
4439 X"$as_dir" : 'X\(//\)$' \| \
4440 X"$as_dir" : 'X\(/\)' \| \
4441 . : '\(.\)' 2>/dev/null ||
4442 echo X"$as_dir" |
4443 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4444 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4445 /^X\(\/\/\)$/{ s//\1/; q; }
4446 /^X\(\/\).*/{ s//\1/; q; }
4447 s/.*/./; q'`
4448 done
4449 test ! -n "$as_dirs" || mkdir $as_dirs
4450 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4451 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4452 { (exit 1); exit 1; }; }; }
4453
4454 rm -f $ac_file
4455 mv $tmp/config.h $ac_file
4456 fi
4457 else
4458 cat $tmp/config.h
4459 rm -f $tmp/config.h
4460 fi
4461 # Compute $ac_file's index in $config_headers.
4462 _am_stamp_count=1
4463 for _am_header in $config_headers :; do
4464 case $_am_header in
4465 $ac_file | $ac_file:* )
4466 break ;;
4467 * )
4468 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4469 esac
4470 done
4471 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4472 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4473 X$ac_file : 'X\(//\)[^/]' \| \
4474 X$ac_file : 'X\(//\)$' \| \
4475 X$ac_file : 'X\(/\)' \| \
4476 . : '\(.\)' 2>/dev/null ||
4477 echo X$ac_file |
4478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4479 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4480 /^X\(\/\/\)$/{ s//\1/; q; }
4481 /^X\(\/\).*/{ s//\1/; q; }
4482 s/.*/./; q'`/stamp-h$_am_stamp_count
4483 done
4484 _ACEOF
4485 cat >>$CONFIG_STATUS <<\_ACEOF
4486
4487 #
4488 # CONFIG_COMMANDS section.
4489 #
4490 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4491 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4492 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4493 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4494 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4495 X"$ac_dest" : 'X\(//\)[^/]' \| \
4496 X"$ac_dest" : 'X\(//\)$' \| \
4497 X"$ac_dest" : 'X\(/\)' \| \
4498 . : '\(.\)' 2>/dev/null ||
4499 echo X"$ac_dest" |
4500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4501 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4502 /^X\(\/\/\)$/{ s//\1/; q; }
4503 /^X\(\/\).*/{ s//\1/; q; }
4504 s/.*/./; q'`
4505 { if $as_mkdir_p; then
4506 mkdir -p "$ac_dir"
4507 else
4508 as_dir="$ac_dir"
4509 as_dirs=
4510 while test ! -d "$as_dir"; do
4511 as_dirs="$as_dir $as_dirs"
4512 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4513 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4514 X"$as_dir" : 'X\(//\)[^/]' \| \
4515 X"$as_dir" : 'X\(//\)$' \| \
4516 X"$as_dir" : 'X\(/\)' \| \
4517 . : '\(.\)' 2>/dev/null ||
4518 echo X"$as_dir" |
4519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4520 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4521 /^X\(\/\/\)$/{ s//\1/; q; }
4522 /^X\(\/\).*/{ s//\1/; q; }
4523 s/.*/./; q'`
4524 done
4525 test ! -n "$as_dirs" || mkdir $as_dirs
4526 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4527 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4528 { (exit 1); exit 1; }; }; }
4529
4530 ac_builddir=.
4531
4532 if test "$ac_dir" != .; then
4533 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4534 # A "../" for each directory in $ac_dir_suffix.
4535 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4536 else
4537 ac_dir_suffix= ac_top_builddir=
4538 fi
4539
4540 case $srcdir in
4541 .) # No --srcdir option. We are building in place.
4542 ac_srcdir=.
4543 if test -z "$ac_top_builddir"; then
4544 ac_top_srcdir=.
4545 else
4546 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4547 fi ;;
4548 [\\/]* | ?:[\\/]* ) # Absolute path.
4549 ac_srcdir=$srcdir$ac_dir_suffix;
4550 ac_top_srcdir=$srcdir ;;
4551 *) # Relative path.
4552 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4553 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4554 esac
4555
4556 # Do not use `cd foo && pwd` to compute absolute paths, because
4557 # the directories may not exist.
4558 case `pwd` in
4559 .) ac_abs_builddir="$ac_dir";;
4560 *)
4561 case "$ac_dir" in
4562 .) ac_abs_builddir=`pwd`;;
4563 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4564 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4565 esac;;
4566 esac
4567 case $ac_abs_builddir in
4568 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4569 *)
4570 case ${ac_top_builddir}. in
4571 .) ac_abs_top_builddir=$ac_abs_builddir;;
4572 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4573 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4574 esac;;
4575 esac
4576 case $ac_abs_builddir in
4577 .) ac_abs_srcdir=$ac_srcdir;;
4578 *)
4579 case $ac_srcdir in
4580 .) ac_abs_srcdir=$ac_abs_builddir;;
4581 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4582 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4583 esac;;
4584 esac
4585 case $ac_abs_builddir in
4586 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4587 *)
4588 case $ac_top_srcdir in
4589 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4590 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4591 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4592 esac;;
4593 esac
4594
4595
4596 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4597 echo "$as_me: executing $ac_dest commands" >&6;}
4598 case $ac_dest in
4599 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4600 # Strip MF so we end up with the name of the file.
4601 mf=`echo "$mf" | sed -e 's/:.*$//'`
4602 # Check whether this is an Automake generated Makefile or not.
4603 # We used to match only the files named `Makefile.in', but
4604 # some people rename them; so instead we look at the file content.
4605 # Grep'ing the first line is not enough: some people post-process
4606 # each Makefile.in and add a new line on top of each file to say so.
4607 # So let's grep whole file.
4608 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4609 dirpart=`(dirname "$mf") 2>/dev/null ||
4610 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4611 X"$mf" : 'X\(//\)[^/]' \| \
4612 X"$mf" : 'X\(//\)$' \| \
4613 X"$mf" : 'X\(/\)' \| \
4614 . : '\(.\)' 2>/dev/null ||
4615 echo X"$mf" |
4616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4617 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4618 /^X\(\/\/\)$/{ s//\1/; q; }
4619 /^X\(\/\).*/{ s//\1/; q; }
4620 s/.*/./; q'`
4621 else
4622 continue
4623 fi
4624 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4625 # Extract the definition of DEP_FILES from the Makefile without
4626 # running `make'.
4627 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4628 test -z "$DEPDIR" && continue
4629 # When using ansi2knr, U may be empty or an underscore; expand it
4630 U=`sed -n -e '/^U = / s///p' < "$mf"`
4631 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4632 # We invoke sed twice because it is the simplest approach to
4633 # changing $(DEPDIR) to its actual value in the expansion.
4634 for file in `sed -n -e '
4635 /^DEP_FILES = .*\\\\$/ {
4636 s/^DEP_FILES = //
4637 :loop
4638 s/\\\\$//
4639 p
4640 n
4641 /\\\\$/ b loop
4642 p
4643 }
4644 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4645 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4646 # Make sure the directory exists.
4647 test -f "$dirpart/$file" && continue
4648 fdir=`(dirname "$file") 2>/dev/null ||
4649 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4650 X"$file" : 'X\(//\)[^/]' \| \
4651 X"$file" : 'X\(//\)$' \| \
4652 X"$file" : 'X\(/\)' \| \
4653 . : '\(.\)' 2>/dev/null ||
4654 echo X"$file" |
4655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4656 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4657 /^X\(\/\/\)$/{ s//\1/; q; }
4658 /^X\(\/\).*/{ s//\1/; q; }
4659 s/.*/./; q'`
4660 { if $as_mkdir_p; then
4661 mkdir -p $dirpart/$fdir
4662 else
4663 as_dir=$dirpart/$fdir
4664 as_dirs=
4665 while test ! -d "$as_dir"; do
4666 as_dirs="$as_dir $as_dirs"
4667 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4668 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4669 X"$as_dir" : 'X\(//\)[^/]' \| \
4670 X"$as_dir" : 'X\(//\)$' \| \
4671 X"$as_dir" : 'X\(/\)' \| \
4672 . : '\(.\)' 2>/dev/null ||
4673 echo X"$as_dir" |
4674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4675 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4676 /^X\(\/\/\)$/{ s//\1/; q; }
4677 /^X\(\/\).*/{ s//\1/; q; }
4678 s/.*/./; q'`
4679 done
4680 test ! -n "$as_dirs" || mkdir $as_dirs
4681 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4682 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4683 { (exit 1); exit 1; }; }; }
4684
4685 # echo "creating $dirpart/$file"
4686 echo '# dummy' > "$dirpart/$file"
4687 done
4688 done
4689 ;;
4690 esac
4691 done
4692 _ACEOF
4693
4694 cat >>$CONFIG_STATUS <<\_ACEOF
4695
4696 { (exit 0); exit 0; }
4697 _ACEOF
4698 chmod +x $CONFIG_STATUS
4699 ac_clean_files=$ac_clean_files_save
4700
4701
4702 # configure is writing to config.log, and then calls config.status.
4703 # config.status does its own redirection, appending to config.log.
4704 # Unfortunately, on DOS this fails, as config.log is still kept open
4705 # by configure, so config.status won't be able to write to it; its
4706 # output is simply discarded. So we exec the FD to /dev/null,
4707 # effectively closing config.log, so it can be properly (re)opened and
4708 # appended to by config.status. When coming back to configure, we
4709 # need to make the FD available again.
4710 if test "$no_create" != yes; then
4711 ac_cs_success=:
4712 ac_config_status_args=
4713 test "$silent" = yes &&
4714 ac_config_status_args="$ac_config_status_args --quiet"
4715 exec 5>/dev/null
4716 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4717 exec 5>>config.log
4718 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4719 # would make configure fail if this is the last instruction.
4720 $ac_cs_success || { (exit 1); exit 1; }
4721 fi
4722
4723