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