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