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 xbitmaps 1.0.1.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6 #
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23 fi
24 DUALCASE=1; export DUALCASE # for MKS sh
25
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45 do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
64 fi
65
66
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99 fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
113 do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
155 ;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
200 fi
201
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
217 fi
218 rm -f conf$$ conf$$.exe conf$$.file
219
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='xbitmaps'
271 PACKAGE_TARNAME='xbitmaps'
272 PACKAGE_VERSION='1.0.1'
273 PACKAGE_STRING='xbitmaps 1.0.1'
274 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
275
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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
718 #
719 # Report the --help message.
720 #
721 if test "$ac_init_help" = "long"; then
722 # Omit some internal or obsolete options to make the list less imposing.
723 # This message is too long to be a string in the A/UX 3.1 sh.
724 cat <<_ACEOF
725 \`configure' configures xbitmaps 1.0.1 to adapt to many kinds of systems.
726
727 Usage: $0 [OPTION]... [VAR=VALUE]...
728
729 To assign environment variables (e.g., CC, CFLAGS...), specify them as
730 VAR=VALUE. See below for descriptions of some of the useful variables.
731
732 Defaults for the options are specified in brackets.
733
734 Configuration:
735 -h, --help display this help and exit
736 --help=short display options specific to this package
737 --help=recursive display the short help of all the included packages
738 -V, --version display version information and exit
739 -q, --quiet, --silent do not print \`checking...' messages
740 --cache-file=FILE cache test results in FILE [disabled]
741 -C, --config-cache alias for \`--cache-file=config.cache'
742 -n, --no-create do not create output files
743 --srcdir=DIR find the sources in DIR [configure dir or \`..']
744
745 _ACEOF
746
747 cat <<_ACEOF
748 Installation directories:
749 --prefix=PREFIX install architecture-independent files in PREFIX
750 [$ac_default_prefix]
751 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
752 [PREFIX]
753
754 By default, \`make install' will install all the files in
755 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
756 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
757 for instance \`--prefix=\$HOME'.
758
759 For better control, use the options below.
760
761 Fine tuning of the installation directories:
762 --bindir=DIR user executables [EPREFIX/bin]
763 --sbindir=DIR system admin executables [EPREFIX/sbin]
764 --libexecdir=DIR program executables [EPREFIX/libexec]
765 --datadir=DIR read-only architecture-independent data [PREFIX/share]
766 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
767 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
768 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
769 --libdir=DIR object code libraries [EPREFIX/lib]
770 --includedir=DIR C header files [PREFIX/include]
771 --oldincludedir=DIR C header files for non-gcc [/usr/include]
772 --infodir=DIR info documentation [PREFIX/info]
773 --mandir=DIR man documentation [PREFIX/man]
774 _ACEOF
775
776 cat <<\_ACEOF
777
778 Program names:
779 --program-prefix=PREFIX prepend PREFIX to installed program names
780 --program-suffix=SUFFIX append SUFFIX to installed program names
781 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
782 _ACEOF
783 fi
784
785 if test -n "$ac_init_help"; then
786 case $ac_init_help in
787 short | recursive ) echo "Configuration of xbitmaps 1.0.1:";;
788 esac
789 cat <<\_ACEOF
790
791 Optional Features:
792 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
793 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
794 --enable-maintainer-mode enable make rules and dependencies not useful
795 (and sometimes confusing) to the casual installer
796
797 Optional Packages:
798 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
799 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
800 --with-release-version=STRING
801 Use release version string in package name
802
803 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
804 _ACEOF
805 fi
806
807 if test "$ac_init_help" = "recursive"; then
808 # If there are subdirs, report their specific --help.
809 ac_popdir=`pwd`
810 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
811 test -d $ac_dir || continue
812 ac_builddir=.
813
814 if test "$ac_dir" != .; then
815 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
816 # A "../" for each directory in $ac_dir_suffix.
817 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
818 else
819 ac_dir_suffix= ac_top_builddir=
820 fi
821
822 case $srcdir in
823 .) # No --srcdir option. We are building in place.
824 ac_srcdir=.
825 if test -z "$ac_top_builddir"; then
826 ac_top_srcdir=.
827 else
828 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
829 fi ;;
830 [\\/]* | ?:[\\/]* ) # Absolute path.
831 ac_srcdir=$srcdir$ac_dir_suffix;
832 ac_top_srcdir=$srcdir ;;
833 *) # Relative path.
834 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
835 ac_top_srcdir=$ac_top_builddir$srcdir ;;
836 esac
837
838 # Do not use `cd foo && pwd` to compute absolute paths, because
839 # the directories may not exist.
840 case `pwd` in
841 .) ac_abs_builddir="$ac_dir";;
842 *)
843 case "$ac_dir" in
844 .) ac_abs_builddir=`pwd`;;
845 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
846 *) ac_abs_builddir=`pwd`/"$ac_dir";;
847 esac;;
848 esac
849 case $ac_abs_builddir in
850 .) ac_abs_top_builddir=${ac_top_builddir}.;;
851 *)
852 case ${ac_top_builddir}. in
853 .) ac_abs_top_builddir=$ac_abs_builddir;;
854 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
855 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
856 esac;;
857 esac
858 case $ac_abs_builddir in
859 .) ac_abs_srcdir=$ac_srcdir;;
860 *)
861 case $ac_srcdir in
862 .) ac_abs_srcdir=$ac_abs_builddir;;
863 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
864 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
865 esac;;
866 esac
867 case $ac_abs_builddir in
868 .) ac_abs_top_srcdir=$ac_top_srcdir;;
869 *)
870 case $ac_top_srcdir in
871 .) ac_abs_top_srcdir=$ac_abs_builddir;;
872 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
873 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
874 esac;;
875 esac
876
877 cd $ac_dir
878 # Check for guested configure; otherwise get Cygnus style configure.
879 if test -f $ac_srcdir/configure.gnu; then
880 echo
881 $SHELL $ac_srcdir/configure.gnu --help=recursive
882 elif test -f $ac_srcdir/configure; then
883 echo
884 $SHELL $ac_srcdir/configure --help=recursive
885 elif test -f $ac_srcdir/configure.ac ||
886 test -f $ac_srcdir/configure.in; then
887 echo
888 $ac_configure --help
889 else
890 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
891 fi
892 cd $ac_popdir
893 done
894 fi
895
896 test -n "$ac_init_help" && exit 0
897 if $ac_init_version; then
898 cat <<\_ACEOF
899 xbitmaps configure 1.0.1
900 generated by GNU Autoconf 2.59
901
902 Copyright (C) 2003 Free Software Foundation, Inc.
903 This configure script is free software; the Free Software Foundation
904 gives unlimited permission to copy, distribute and modify it.
905 _ACEOF
906 exit 0
907 fi
908 exec 5>config.log
909 cat >&5 <<_ACEOF
910 This file contains any messages produced by compilers while
911 running configure, to aid debugging if configure makes a mistake.
912
913 It was created by xbitmaps $as_me 1.0.1, which was
914 generated by GNU Autoconf 2.59. Invocation command line was
915
916 $ $0 $@
917
918 _ACEOF
919 {
920 cat <<_ASUNAME
921 ## --------- ##
922 ## Platform. ##
923 ## --------- ##
924
925 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
926 uname -m = `(uname -m) 2>/dev/null || echo unknown`
927 uname -r = `(uname -r) 2>/dev/null || echo unknown`
928 uname -s = `(uname -s) 2>/dev/null || echo unknown`
929 uname -v = `(uname -v) 2>/dev/null || echo unknown`
930
931 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
932 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
933
934 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
935 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
936 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
937 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
938 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
939 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
940 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
941
942 _ASUNAME
943
944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
945 for as_dir in $PATH
946 do
947 IFS=$as_save_IFS
948 test -z "$as_dir" && as_dir=.
949 echo "PATH: $as_dir"
950 done
951
952 } >&5
953
954 cat >&5 <<_ACEOF
955
956
957 ## ----------- ##
958 ## Core tests. ##
959 ## ----------- ##
960
961 _ACEOF
962
963
964 # Keep a trace of the command line.
965 # Strip out --no-create and --no-recursion so they do not pile up.
966 # Strip out --silent because we don't want to record it for future runs.
967 # Also quote any args containing shell meta-characters.
968 # Make two passes to allow for proper duplicate-argument suppression.
969 ac_configure_args=
970 ac_configure_args0=
971 ac_configure_args1=
972 ac_sep=
973 ac_must_keep_next=false
974 for ac_pass in 1 2
975 do
976 for ac_arg
977 do
978 case $ac_arg in
979 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
980 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
981 | -silent | --silent | --silen | --sile | --sil)
982 continue ;;
983 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
984 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
985 esac
986 case $ac_pass in
987 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
988 2)
989 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
990 if test $ac_must_keep_next = true; then
991 ac_must_keep_next=false # Got value, back to normal.
992 else
993 case $ac_arg in
994 *=* | --config-cache | -C | -disable-* | --disable-* \
995 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
996 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
997 | -with-* | --with-* | -without-* | --without-* | --x)
998 case "$ac_configure_args0 " in
999 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1000 esac
1001 ;;
1002 -* ) ac_must_keep_next=true ;;
1003 esac
1004 fi
1005 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1006 # Get rid of the leading space.
1007 ac_sep=" "
1008 ;;
1009 esac
1010 done
1011 done
1012 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1013 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1014
1015 # When interrupted or exit'd, cleanup temporary files, and complete
1016 # config.log. We remove comments because anyway the quotes in there
1017 # would cause problems or look ugly.
1018 # WARNING: Be sure not to use single quotes in there, as some shells,
1019 # such as our DU 5.0 friend, will then `close' the trap.
1020 trap 'exit_status=$?
1021 # Save into config.log some information that might help in debugging.
1022 {
1023 echo
1024
1025 cat <<\_ASBOX
1026 ## ---------------- ##
1027 ## Cache variables. ##
1028 ## ---------------- ##
1029 _ASBOX
1030 echo
1031 # The following way of writing the cache mishandles newlines in values,
1032 {
1033 (set) 2>&1 |
1034 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1035 *ac_space=\ *)
1036 sed -n \
1037 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1038 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1039 ;;
1040 *)
1041 sed -n \
1042 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1043 ;;
1044 esac;
1045 }
1046 echo
1047
1048 cat <<\_ASBOX
1049 ## ----------------- ##
1050 ## Output variables. ##
1051 ## ----------------- ##
1052 _ASBOX
1053 echo
1054 for ac_var in $ac_subst_vars
1055 do
1056 eval ac_val=$`echo $ac_var`
1057 echo "$ac_var='"'"'$ac_val'"'"'"
1058 done | sort
1059 echo
1060
1061 if test -n "$ac_subst_files"; then
1062 cat <<\_ASBOX
1063 ## ------------- ##
1064 ## Output files. ##
1065 ## ------------- ##
1066 _ASBOX
1067 echo
1068 for ac_var in $ac_subst_files
1069 do
1070 eval ac_val=$`echo $ac_var`
1071 echo "$ac_var='"'"'$ac_val'"'"'"
1072 done | sort
1073 echo
1074 fi
1075
1076 if test -s confdefs.h; then
1077 cat <<\_ASBOX
1078 ## ----------- ##
1079 ## confdefs.h. ##
1080 ## ----------- ##
1081 _ASBOX
1082 echo
1083 sed "/^$/d" confdefs.h | sort
1084 echo
1085 fi
1086 test "$ac_signal" != 0 &&
1087 echo "$as_me: caught signal $ac_signal"
1088 echo "$as_me: exit $exit_status"
1089 } >&5
1090 rm -f core *.core &&
1091 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1092 exit $exit_status
1093 ' 0
1094 for ac_signal in 1 2 13 15; do
1095 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1096 done
1097 ac_signal=0
1098
1099 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1100 rm -rf conftest* confdefs.h
1101 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1102 echo >confdefs.h
1103
1104 # Predefined preprocessor variables.
1105
1106 cat >>confdefs.h <<_ACEOF
1107 #define PACKAGE_NAME "$PACKAGE_NAME"
1108 _ACEOF
1109
1110
1111 cat >>confdefs.h <<_ACEOF
1112 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1113 _ACEOF
1114
1115
1116 cat >>confdefs.h <<_ACEOF
1117 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1118 _ACEOF
1119
1120
1121 cat >>confdefs.h <<_ACEOF
1122 #define PACKAGE_STRING "$PACKAGE_STRING"
1123 _ACEOF
1124
1125
1126 cat >>confdefs.h <<_ACEOF
1127 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1128 _ACEOF
1129
1130
1131 # Let the site file select an alternate cache file if it wants to.
1132 # Prefer explicitly selected file to automatically selected ones.
1133 if test -z "$CONFIG_SITE"; then
1134 if test "x$prefix" != xNONE; then
1135 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1136 else
1137 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1138 fi
1139 fi
1140 for ac_site_file in $CONFIG_SITE; do
1141 if test -r "$ac_site_file"; then
1142 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1143 echo "$as_me: loading site script $ac_site_file" >&6;}
1144 sed 's/^/| /' "$ac_site_file" >&5
1145 . "$ac_site_file"
1146 fi
1147 done
1148
1149 if test -r "$cache_file"; then
1150 # Some versions of bash will fail to source /dev/null (special
1151 # files actually), so we avoid doing that.
1152 if test -f "$cache_file"; then
1153 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1154 echo "$as_me: loading cache $cache_file" >&6;}
1155 case $cache_file in
1156 [\\/]* | ?:[\\/]* ) . $cache_file;;
1157 *) . ./$cache_file;;
1158 esac
1159 fi
1160 else
1161 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1162 echo "$as_me: creating cache $cache_file" >&6;}
1163 >$cache_file
1164 fi
1165
1166 # Check that the precious variables saved in the cache have kept the same
1167 # value.
1168 ac_cache_corrupted=false
1169 for ac_var in `(set) 2>&1 |
1170 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1171 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1172 eval ac_new_set=\$ac_env_${ac_var}_set
1173 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1174 eval ac_new_val="\$ac_env_${ac_var}_value"
1175 case $ac_old_set,$ac_new_set in
1176 set,)
1177 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1178 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1179 ac_cache_corrupted=: ;;
1180 ,set)
1181 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1182 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1183 ac_cache_corrupted=: ;;
1184 ,);;
1185 *)
1186 if test "x$ac_old_val" != "x$ac_new_val"; then
1187 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1188 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1189 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1190 echo "$as_me: former value: $ac_old_val" >&2;}
1191 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1192 echo "$as_me: current value: $ac_new_val" >&2;}
1193 ac_cache_corrupted=:
1194 fi;;
1195 esac
1196 # Pass precious variables to config.status.
1197 if test "$ac_new_set" = set; then
1198 case $ac_new_val in
1199 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1200 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1201 *) ac_arg=$ac_var=$ac_new_val ;;
1202 esac
1203 case " $ac_configure_args " in
1204 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1205 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1206 esac
1207 fi
1208 done
1209 if $ac_cache_corrupted; then
1210 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1211 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1212 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1213 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1214 { (exit 1); exit 1; }; }
1215 fi
1216
1217 ac_ext=c
1218 ac_cpp='$CPP $CPPFLAGS'
1219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249 am__api_version="1.7"
1250 ac_aux_dir=
1251 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1252 if test -f $ac_dir/install-sh; then
1253 ac_aux_dir=$ac_dir
1254 ac_install_sh="$ac_aux_dir/install-sh -c"
1255 break
1256 elif test -f $ac_dir/install.sh; then
1257 ac_aux_dir=$ac_dir
1258 ac_install_sh="$ac_aux_dir/install.sh -c"
1259 break
1260 elif test -f $ac_dir/shtool; then
1261 ac_aux_dir=$ac_dir
1262 ac_install_sh="$ac_aux_dir/shtool install -c"
1263 break
1264 fi
1265 done
1266 if test -z "$ac_aux_dir"; then
1267 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1268 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1269 { (exit 1); exit 1; }; }
1270 fi
1271 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1272 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1273 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1274
1275 # Find a good install program. We prefer a C program (faster),
1276 # so one script is as good as another. But avoid the broken or
1277 # incompatible versions:
1278 # SysV /etc/install, /usr/sbin/install
1279 # SunOS /usr/etc/install
1280 # IRIX /sbin/install
1281 # AIX /bin/install
1282 # AmigaOS /C/install, which installs bootblocks on floppy discs
1283 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1284 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1285 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1286 # OS/2's system install, which has a completely different semantic
1287 # ./install, which can be erroneously created by make from ./install.sh.
1288 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1289 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1290 if test -z "$INSTALL"; then
1291 if test "${ac_cv_path_install+set}" = set; then
1292 echo $ECHO_N "(cached) $ECHO_C" >&6
1293 else
1294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1295 for as_dir in $PATH
1296 do
1297 IFS=$as_save_IFS
1298 test -z "$as_dir" && as_dir=.
1299 # Account for people who put trailing slashes in PATH elements.
1300 case $as_dir/ in
1301 ./ | .// | /cC/* | \
1302 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1303 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1304 /usr/ucb/* ) ;;
1305 *)
1306 # OSF1 and SCO ODT 3.0 have their own names for install.
1307 # Don't use installbsd from OSF since it installs stuff as root
1308 # by default.
1309 for ac_prog in ginstall scoinst install; do
1310 for ac_exec_ext in '' $ac_executable_extensions; do
1311 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1312 if test $ac_prog = install &&
1313 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1314 # AIX install. It has an incompatible calling convention.
1315 :
1316 elif test $ac_prog = install &&
1317 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1318 # program-specific install script used by HP pwplus--don't use.
1319 :
1320 else
1321 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1322 break 3
1323 fi
1324 fi
1325 done
1326 done
1327 ;;
1328 esac
1329 done
1330
1331
1332 fi
1333 if test "${ac_cv_path_install+set}" = set; then
1334 INSTALL=$ac_cv_path_install
1335 else
1336 # As a last resort, use the slow shell script. We don't cache a
1337 # path for INSTALL within a source directory, because that will
1338 # break other packages using the cache if that directory is
1339 # removed, or if the path is relative.
1340 INSTALL=$ac_install_sh
1341 fi
1342 fi
1343 echo "$as_me:$LINENO: result: $INSTALL" >&5
1344 echo "${ECHO_T}$INSTALL" >&6
1345
1346 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1347 # It thinks the first close brace ends the variable substitution.
1348 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1349
1350 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1351
1352 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1353
1354 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1355 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1356 # Just in case
1357 sleep 1
1358 echo timestamp > conftest.file
1359 # Do `set' in a subshell so we don't clobber the current shell's
1360 # arguments. Must try -L first in case configure is actually a
1361 # symlink; some systems play weird games with the mod time of symlinks
1362 # (eg FreeBSD returns the mod time of the symlink's containing
1363 # directory).
1364 if (
1365 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1366 if test "$*" = "X"; then
1367 # -L didn't work.
1368 set X `ls -t $srcdir/configure conftest.file`
1369 fi
1370 rm -f conftest.file
1371 if test "$*" != "X $srcdir/configure conftest.file" \
1372 && test "$*" != "X conftest.file $srcdir/configure"; then
1373
1374 # If neither matched, then we have a broken ls. This can happen
1375 # if, for instance, CONFIG_SHELL is bash and it inherits a
1376 # broken ls alias from the environment. This has actually
1377 # happened. Such a system could not be considered "sane".
1378 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1379 alias in your environment" >&5
1380 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1381 alias in your environment" >&2;}
1382 { (exit 1); exit 1; }; }
1383 fi
1384
1385 test "$2" = conftest.file
1386 )
1387 then
1388 # Ok.
1389 :
1390 else
1391 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1392 Check your system clock" >&5
1393 echo "$as_me: error: newly created file is older than distributed files!
1394 Check your system clock" >&2;}
1395 { (exit 1); exit 1; }; }
1396 fi
1397 echo "$as_me:$LINENO: result: yes" >&5
1398 echo "${ECHO_T}yes" >&6
1399 test "$program_prefix" != NONE &&
1400 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1401 # Use a double $ so make ignores it.
1402 test "$program_suffix" != NONE &&
1403 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1404 # Double any \ or $. echo might interpret backslashes.
1405 # By default was `s,x,x', remove it if useless.
1406 cat <<\_ACEOF >conftest.sed
1407 s/[\\$]/&&/g;s/;s,x,x,$//
1408 _ACEOF
1409 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1410 rm conftest.sed
1411
1412
1413 # expand $ac_aux_dir to an absolute path
1414 am_aux_dir=`cd $ac_aux_dir && pwd`
1415
1416 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1417 # Use eval to expand $SHELL
1418 if eval "$MISSING --run true"; then
1419 am_missing_run="$MISSING --run "
1420 else
1421 am_missing_run=
1422 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1423 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1424 fi
1425
1426 for ac_prog in gawk mawk nawk awk
1427 do
1428 # Extract the first word of "$ac_prog", so it can be a program name with args.
1429 set dummy $ac_prog; ac_word=$2
1430 echo "$as_me:$LINENO: checking for $ac_word" >&5
1431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1432 if test "${ac_cv_prog_AWK+set}" = set; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6
1434 else
1435 if test -n "$AWK"; then
1436 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1437 else
1438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1439 for as_dir in $PATH
1440 do
1441 IFS=$as_save_IFS
1442 test -z "$as_dir" && as_dir=.
1443 for ac_exec_ext in '' $ac_executable_extensions; do
1444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1445 ac_cv_prog_AWK="$ac_prog"
1446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1447 break 2
1448 fi
1449 done
1450 done
1451
1452 fi
1453 fi
1454 AWK=$ac_cv_prog_AWK
1455 if test -n "$AWK"; then
1456 echo "$as_me:$LINENO: result: $AWK" >&5
1457 echo "${ECHO_T}$AWK" >&6
1458 else
1459 echo "$as_me:$LINENO: result: no" >&5
1460 echo "${ECHO_T}no" >&6
1461 fi
1462
1463 test -n "$AWK" && break
1464 done
1465
1466 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1467 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1468 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1469 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1470 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 else
1472 cat >conftest.make <<\_ACEOF
1473 all:
1474 @echo 'ac_maketemp="$(MAKE)"'
1475 _ACEOF
1476 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1477 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1478 if test -n "$ac_maketemp"; then
1479 eval ac_cv_prog_make_${ac_make}_set=yes
1480 else
1481 eval ac_cv_prog_make_${ac_make}_set=no
1482 fi
1483 rm -f conftest.make
1484 fi
1485 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1486 echo "$as_me:$LINENO: result: yes" >&5
1487 echo "${ECHO_T}yes" >&6
1488 SET_MAKE=
1489 else
1490 echo "$as_me:$LINENO: result: no" >&5
1491 echo "${ECHO_T}no" >&6
1492 SET_MAKE="MAKE=${MAKE-make}"
1493 fi
1494
1495 rm -rf .tst 2>/dev/null
1496 mkdir .tst 2>/dev/null
1497 if test -d .tst; then
1498 am__leading_dot=.
1499 else
1500 am__leading_dot=_
1501 fi
1502 rmdir .tst 2>/dev/null
1503
1504 # test to see if srcdir already configured
1505 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1506 test -f $srcdir/config.status; then
1507 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1508 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1509 { (exit 1); exit 1; }; }
1510 fi
1511
1512 # test whether we have cygpath
1513 if test -z "$CYGPATH_W"; then
1514 if (cygpath --version) >/dev/null 2>/dev/null; then
1515 CYGPATH_W='cygpath -w'
1516 else
1517 CYGPATH_W=echo
1518 fi
1519 fi
1520
1521
1522 # Define the identity of the package.
1523 PACKAGE='xbitmaps'
1524 VERSION='1.0.1'
1525
1526
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE "$PACKAGE"
1529 _ACEOF
1530
1531
1532 cat >>confdefs.h <<_ACEOF
1533 #define VERSION "$VERSION"
1534 _ACEOF
1535
1536 # Some tools Automake needs.
1537
1538 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1539
1540
1541 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1542
1543
1544 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1545
1546
1547 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1548
1549
1550 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1551
1552
1553 AMTAR=${AMTAR-"${am_missing_run}tar"}
1554
1555 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1556
1557 # Installed binaries are usually stripped using `strip' when the user
1558 # run `make install-strip'. However `strip' might not be the right
1559 # tool to use in cross-compilation environments, therefore Automake
1560 # will honor the `STRIP' environment variable to overrule this program.
1561 if test "$cross_compiling" != no; then
1562 if test -n "$ac_tool_prefix"; then
1563 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1564 set dummy ${ac_tool_prefix}strip; ac_word=$2
1565 echo "$as_me:$LINENO: checking for $ac_word" >&5
1566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1567 if test "${ac_cv_prog_STRIP+set}" = set; then
1568 echo $ECHO_N "(cached) $ECHO_C" >&6
1569 else
1570 if test -n "$STRIP"; then
1571 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1572 else
1573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1574 for as_dir in $PATH
1575 do
1576 IFS=$as_save_IFS
1577 test -z "$as_dir" && as_dir=.
1578 for ac_exec_ext in '' $ac_executable_extensions; do
1579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1580 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1582 break 2
1583 fi
1584 done
1585 done
1586
1587 fi
1588 fi
1589 STRIP=$ac_cv_prog_STRIP
1590 if test -n "$STRIP"; then
1591 echo "$as_me:$LINENO: result: $STRIP" >&5
1592 echo "${ECHO_T}$STRIP" >&6
1593 else
1594 echo "$as_me:$LINENO: result: no" >&5
1595 echo "${ECHO_T}no" >&6
1596 fi
1597
1598 fi
1599 if test -z "$ac_cv_prog_STRIP"; then
1600 ac_ct_STRIP=$STRIP
1601 # Extract the first word of "strip", so it can be a program name with args.
1602 set dummy strip; ac_word=$2
1603 echo "$as_me:$LINENO: checking for $ac_word" >&5
1604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 else
1608 if test -n "$ac_ct_STRIP"; then
1609 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1610 else
1611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612 for as_dir in $PATH
1613 do
1614 IFS=$as_save_IFS
1615 test -z "$as_dir" && as_dir=.
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1618 ac_cv_prog_ac_ct_STRIP="strip"
1619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1620 break 2
1621 fi
1622 done
1623 done
1624
1625 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1626 fi
1627 fi
1628 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1629 if test -n "$ac_ct_STRIP"; then
1630 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1631 echo "${ECHO_T}$ac_ct_STRIP" >&6
1632 else
1633 echo "$as_me:$LINENO: result: no" >&5
1634 echo "${ECHO_T}no" >&6
1635 fi
1636
1637 STRIP=$ac_ct_STRIP
1638 else
1639 STRIP="$ac_cv_prog_STRIP"
1640 fi
1641
1642 fi
1643 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1644
1645 # We need awk for the "check" target. The system "awk" is bad on
1646 # some platforms.
1647
1648
1649
1650 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1651 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1652 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1653 if test "${enable_maintainer_mode+set}" = set; then
1654 enableval="$enable_maintainer_mode"
1655 USE_MAINTAINER_MODE=$enableval
1656 else
1657 USE_MAINTAINER_MODE=no
1658 fi;
1659 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1660 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1661
1662
1663 if test $USE_MAINTAINER_MODE = yes; then
1664 MAINTAINER_MODE_TRUE=
1665 MAINTAINER_MODE_FALSE='#'
1666 else
1667 MAINTAINER_MODE_TRUE='#'
1668 MAINTAINER_MODE_FALSE=
1669 fi
1670
1671 MAINT=$MAINTAINER_MODE_TRUE
1672
1673
1674
1675 ac_config_headers="$ac_config_headers config.h"
1676
1677
1678
1679
1680 # Check whether --with-release-version or --without-release-version was given.
1681 if test "${with_release_version+set}" = set; then
1682 withval="$with_release_version"
1683 RELEASE_VERSION="$withval"
1684 else
1685 RELEASE_VERSION=""
1686 fi;
1687 if test "x$RELEASE_VERSION" != "x"; then
1688 PACKAGE="$PACKAGE-$RELEASE_VERSION"
1689 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
1690 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
1691 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
1692 fi
1693
1694
1695 ac_config_files="$ac_config_files Makefile xbitmaps.pc"
1696 cat >confcache <<\_ACEOF
1697 # This file is a shell script that caches the results of configure
1698 # tests run on this system so they can be shared between configure
1699 # scripts and configure runs, see configure's option --config-cache.
1700 # It is not useful on other systems. If it contains results you don't
1701 # want to keep, you may remove or edit it.
1702 #
1703 # config.status only pays attention to the cache file if you give it
1704 # the --recheck option to rerun configure.
1705 #
1706 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1707 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1708 # following values.
1709
1710 _ACEOF
1711
1712 # The following way of writing the cache mishandles newlines in values,
1713 # but we know of no workaround that is simple, portable, and efficient.
1714 # So, don't put newlines in cache variables' values.
1715 # Ultrix sh set writes to stderr and can't be redirected directly,
1716 # and sets the high bit in the cache file unless we assign to the vars.
1717 {
1718 (set) 2>&1 |
1719 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1720 *ac_space=\ *)
1721 # `set' does not quote correctly, so add quotes (double-quote
1722 # substitution turns \\\\ into \\, and sed turns \\ into \).
1723 sed -n \
1724 "s/'/'\\\\''/g;
1725 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1726 ;;
1727 *)
1728 # `set' quotes correctly as required by POSIX, so do not add quotes.
1729 sed -n \
1730 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1731 ;;
1732 esac;
1733 } |
1734 sed '
1735 t clear
1736 : clear
1737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1738 t end
1739 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1740 : end' >>confcache
1741 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1742 if test -w $cache_file; then
1743 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1744 cat confcache >$cache_file
1745 else
1746 echo "not updating unwritable cache $cache_file"
1747 fi
1748 fi
1749 rm -f confcache
1750
1751 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1752 # Let make expand exec_prefix.
1753 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1754
1755 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1756 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1757 # trailing colons and then remove the whole line if VPATH becomes empty
1758 # (actually we leave an empty line to preserve line numbers).
1759 if test "x$srcdir" = x.; then
1760 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1761 s/:*\$(srcdir):*/:/;
1762 s/:*\${srcdir}:*/:/;
1763 s/:*@srcdir@:*/:/;
1764 s/^\([^=]*=[ ]*\):*/\1/;
1765 s/:*$//;
1766 s/^[^=]*=[ ]*$//;
1767 }'
1768 fi
1769
1770 DEFS=-DHAVE_CONFIG_H
1771
1772 ac_libobjs=
1773 ac_ltlibobjs=
1774 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1775 # 1. Remove the extension, and $U if already installed.
1776 ac_i=`echo "$ac_i" |
1777 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1778 # 2. Add them.
1779 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1780 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1781 done
1782 LIBOBJS=$ac_libobjs
1783
1784 LTLIBOBJS=$ac_ltlibobjs
1785
1786
1787 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1788 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
1789 Usually this means the macro was only invoked conditionally." >&5
1790 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
1791 Usually this means the macro was only invoked conditionally." >&2;}
1792 { (exit 1); exit 1; }; }
1793 fi
1794
1795 : ${CONFIG_STATUS=./config.status}
1796 ac_clean_files_save=$ac_clean_files
1797 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1798 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1799 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1800 cat >$CONFIG_STATUS <<_ACEOF
1801 #! $SHELL
1802 # Generated by $as_me.
1803 # Run this file to recreate the current configuration.
1804 # Compiler output produced by configure, useful for debugging
1805 # configure, is in config.log if it exists.
1806
1807 debug=false
1808 ac_cs_recheck=false
1809 ac_cs_silent=false
1810 SHELL=\${CONFIG_SHELL-$SHELL}
1811 _ACEOF
1812
1813 cat >>$CONFIG_STATUS <<\_ACEOF
1814 ## --------------------- ##
1815 ## M4sh Initialization. ##
1816 ## --------------------- ##
1817
1818 # Be Bourne compatible
1819 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1820 emulate sh
1821 NULLCMD=:
1822 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1823 # is contrary to our usage. Disable this feature.
1824 alias -g '${1+"$@"}'='"$@"'
1825 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1826 set -o posix
1827 fi
1828 DUALCASE=1; export DUALCASE # for MKS sh
1829
1830 # Support unset when possible.
1831 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1832 as_unset=unset
1833 else
1834 as_unset=false
1835 fi
1836
1837
1838 # Work around bugs in pre-3.0 UWIN ksh.
1839 $as_unset ENV MAIL MAILPATH
1840 PS1='$ '
1841 PS2='> '
1842 PS4='+ '
1843
1844 # NLS nuisances.
1845 for as_var in \
1846 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1847 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1848 LC_TELEPHONE LC_TIME
1849 do
1850 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1851 eval $as_var=C; export $as_var
1852 else
1853 $as_unset $as_var
1854 fi
1855 done
1856
1857 # Required to use basename.
1858 if expr a : '\(a\)' >/dev/null 2>&1; then
1859 as_expr=expr
1860 else
1861 as_expr=false
1862 fi
1863
1864 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1865 as_basename=basename
1866 else
1867 as_basename=false
1868 fi
1869
1870
1871 # Name of the executable.
1872 as_me=`$as_basename "$0" ||
1873 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1874 X"$0" : 'X\(//\)$' \| \
1875 X"$0" : 'X\(/\)$' \| \
1876 . : '\(.\)' 2>/dev/null ||
1877 echo X/"$0" |
1878 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1879 /^X\/\(\/\/\)$/{ s//\1/; q; }
1880 /^X\/\(\/\).*/{ s//\1/; q; }
1881 s/.*/./; q'`
1882
1883
1884 # PATH needs CR, and LINENO needs CR and PATH.
1885 # Avoid depending upon Character Ranges.
1886 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1887 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1888 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1889 as_cr_digits='0123456789'
1890 as_cr_alnum=$as_cr_Letters$as_cr_digits
1891
1892 # The user is always right.
1893 if test "${PATH_SEPARATOR+set}" != set; then
1894 echo "#! /bin/sh" >conf$$.sh
1895 echo "exit 0" >>conf$$.sh
1896 chmod +x conf$$.sh
1897 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1898 PATH_SEPARATOR=';'
1899 else
1900 PATH_SEPARATOR=:
1901 fi
1902 rm -f conf$$.sh
1903 fi
1904
1905
1906 as_lineno_1=$LINENO
1907 as_lineno_2=$LINENO
1908 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1909 test "x$as_lineno_1" != "x$as_lineno_2" &&
1910 test "x$as_lineno_3" = "x$as_lineno_2" || {
1911 # Find who we are. Look in the path if we contain no path at all
1912 # relative or not.
1913 case $0 in
1914 *[\\/]* ) as_myself=$0 ;;
1915 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 for as_dir in $PATH
1917 do
1918 IFS=$as_save_IFS
1919 test -z "$as_dir" && as_dir=.
1920 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1921 done
1922
1923 ;;
1924 esac
1925 # We did not find ourselves, most probably we were run as `sh COMMAND'
1926 # in which case we are not to be found in the path.
1927 if test "x$as_myself" = x; then
1928 as_myself=$0
1929 fi
1930 if test ! -f "$as_myself"; then
1931 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1932 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1933 { (exit 1); exit 1; }; }
1934 fi
1935 case $CONFIG_SHELL in
1936 '')
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1939 do
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for as_base in sh bash ksh sh5; do
1943 case $as_dir in
1944 /*)
1945 if ("$as_dir/$as_base" -c '
1946 as_lineno_1=$LINENO
1947 as_lineno_2=$LINENO
1948 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1949 test "x$as_lineno_1" != "x$as_lineno_2" &&
1950 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1951 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1952 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1953 CONFIG_SHELL=$as_dir/$as_base
1954 export CONFIG_SHELL
1955 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1956 fi;;
1957 esac
1958 done
1959 done
1960 ;;
1961 esac
1962
1963 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1964 # uniformly replaced by the line number. The first 'sed' inserts a
1965 # line-number line before each line; the second 'sed' does the real
1966 # work. The second script uses 'N' to pair each line-number line
1967 # with the numbered line, and appends trailing '-' during
1968 # substitution so that $LINENO is not a special case at line end.
1969 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1970 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1971 sed '=' <$as_myself |
1972 sed '
1973 N
1974 s,$,-,
1975 : loop
1976 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1977 t loop
1978 s,-$,,
1979 s,^['$as_cr_digits']*\n,,
1980 ' >$as_me.lineno &&
1981 chmod +x $as_me.lineno ||
1982 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1983 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1984 { (exit 1); exit 1; }; }
1985
1986 # Don't try to exec as it changes $[0], causing all sort of problems
1987 # (the dirname of $[0] is not the place where we might find the
1988 # original and so on. Autoconf is especially sensible to this).
1989 . ./$as_me.lineno
1990 # Exit status is that of the last command.
1991 exit
1992 }
1993
1994
1995 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1996 *c*,-n*) ECHO_N= ECHO_C='
1997 ' ECHO_T=' ' ;;
1998 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1999 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2000 esac
2001
2002 if expr a : '\(a\)' >/dev/null 2>&1; then
2003 as_expr=expr
2004 else
2005 as_expr=false
2006 fi
2007
2008 rm -f conf$$ conf$$.exe conf$$.file
2009 echo >conf$$.file
2010 if ln -s conf$$.file conf$$ 2>/dev/null; then
2011 # We could just check for DJGPP; but this test a) works b) is more generic
2012 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2013 if test -f conf$$.exe; then
2014 # Don't use ln at all; we don't have any links
2015 as_ln_s='cp -p'
2016 else
2017 as_ln_s='ln -s'
2018 fi
2019 elif ln conf$$.file conf$$ 2>/dev/null; then
2020 as_ln_s=ln
2021 else
2022 as_ln_s='cp -p'
2023 fi
2024 rm -f conf$$ conf$$.exe conf$$.file
2025
2026 if mkdir -p . 2>/dev/null; then
2027 as_mkdir_p=:
2028 else
2029 test -d ./-p && rmdir ./-p
2030 as_mkdir_p=false
2031 fi
2032
2033 as_executable_p="test -f"
2034
2035 # Sed expression to map a string onto a valid CPP name.
2036 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2037
2038 # Sed expression to map a string onto a valid variable name.
2039 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2040
2041
2042 # IFS
2043 # We need space, tab and new line, in precisely that order.
2044 as_nl='
2045 '
2046 IFS=" $as_nl"
2047
2048 # CDPATH.
2049 $as_unset CDPATH
2050
2051 exec 6>&1
2052
2053 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2054 # report actual input values of CONFIG_FILES etc. instead of their
2055 # values after options handling. Logging --version etc. is OK.
2056 exec 5>>config.log
2057 {
2058 echo
2059 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2060 ## Running $as_me. ##
2061 _ASBOX
2062 } >&5
2063 cat >&5 <<_CSEOF
2064
2065 This file was extended by xbitmaps $as_me 1.0.1, which was
2066 generated by GNU Autoconf 2.59. Invocation command line was
2067
2068 CONFIG_FILES = $CONFIG_FILES
2069 CONFIG_HEADERS = $CONFIG_HEADERS
2070 CONFIG_LINKS = $CONFIG_LINKS
2071 CONFIG_COMMANDS = $CONFIG_COMMANDS
2072 $ $0 $@
2073
2074 _CSEOF
2075 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2076 echo >&5
2077 _ACEOF
2078
2079 # Files that config.status was made for.
2080 if test -n "$ac_config_files"; then
2081 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2082 fi
2083
2084 if test -n "$ac_config_headers"; then
2085 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2086 fi
2087
2088 if test -n "$ac_config_links"; then
2089 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2090 fi
2091
2092 if test -n "$ac_config_commands"; then
2093 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2094 fi
2095
2096 cat >>$CONFIG_STATUS <<\_ACEOF
2097
2098 ac_cs_usage="\
2099 \`$as_me' instantiates files from templates according to the
2100 current configuration.
2101
2102 Usage: $0 [OPTIONS] [FILE]...
2103
2104 -h, --help print this help, then exit
2105 -V, --version print version number, then exit
2106 -q, --quiet do not print progress messages
2107 -d, --debug don't remove temporary files
2108 --recheck update $as_me by reconfiguring in the same conditions
2109 --file=FILE[:TEMPLATE]
2110 instantiate the configuration file FILE
2111 --header=FILE[:TEMPLATE]
2112 instantiate the configuration header FILE
2113
2114 Configuration files:
2115 $config_files
2116
2117 Configuration headers:
2118 $config_headers
2119
2120 Report bugs to <bug-autoconf@gnu.org>."
2121 _ACEOF
2122
2123 cat >>$CONFIG_STATUS <<_ACEOF
2124 ac_cs_version="\\
2125 xbitmaps config.status 1.0.1
2126 configured by $0, generated by GNU Autoconf 2.59,
2127 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2128
2129 Copyright (C) 2003 Free Software Foundation, Inc.
2130 This config.status script is free software; the Free Software Foundation
2131 gives unlimited permission to copy, distribute and modify it."
2132 srcdir=$srcdir
2133 INSTALL="$INSTALL"
2134 _ACEOF
2135
2136 cat >>$CONFIG_STATUS <<\_ACEOF
2137 # If no file are specified by the user, then we need to provide default
2138 # value. By we need to know if files were specified by the user.
2139 ac_need_defaults=:
2140 while test $# != 0
2141 do
2142 case $1 in
2143 --*=*)
2144 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2145 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2146 ac_shift=:
2147 ;;
2148 -*)
2149 ac_option=$1
2150 ac_optarg=$2
2151 ac_shift=shift
2152 ;;
2153 *) # This is not an option, so the user has probably given explicit
2154 # arguments.
2155 ac_option=$1
2156 ac_need_defaults=false;;
2157 esac
2158
2159 case $ac_option in
2160 # Handling of the options.
2161 _ACEOF
2162 cat >>$CONFIG_STATUS <<\_ACEOF
2163 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2164 ac_cs_recheck=: ;;
2165 --version | --vers* | -V )
2166 echo "$ac_cs_version"; exit 0 ;;
2167 --he | --h)
2168 # Conflict between --help and --header
2169 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2170 Try \`$0 --help' for more information." >&5
2171 echo "$as_me: error: ambiguous option: $1
2172 Try \`$0 --help' for more information." >&2;}
2173 { (exit 1); exit 1; }; };;
2174 --help | --hel | -h )
2175 echo "$ac_cs_usage"; exit 0 ;;
2176 --debug | --d* | -d )
2177 debug=: ;;
2178 --file | --fil | --fi | --f )
2179 $ac_shift
2180 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2181 ac_need_defaults=false;;
2182 --header | --heade | --head | --hea )
2183 $ac_shift
2184 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2185 ac_need_defaults=false;;
2186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2187 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2188 ac_cs_silent=: ;;
2189
2190 # This is an error.
2191 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2192 Try \`$0 --help' for more information." >&5
2193 echo "$as_me: error: unrecognized option: $1
2194 Try \`$0 --help' for more information." >&2;}
2195 { (exit 1); exit 1; }; } ;;
2196
2197 *) ac_config_targets="$ac_config_targets $1" ;;
2198
2199 esac
2200 shift
2201 done
2202
2203 ac_configure_extra_args=
2204
2205 if $ac_cs_silent; then
2206 exec 6>/dev/null
2207 ac_configure_extra_args="$ac_configure_extra_args --silent"
2208 fi
2209
2210 _ACEOF
2211 cat >>$CONFIG_STATUS <<_ACEOF
2212 if \$ac_cs_recheck; then
2213 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2214 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2215 fi
2216
2217 _ACEOF
2218
2219
2220
2221
2222
2223 cat >>$CONFIG_STATUS <<\_ACEOF
2224 for ac_config_target in $ac_config_targets
2225 do
2226 case "$ac_config_target" in
2227 # Handling of arguments.
2228 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2229 "xbitmaps.pc" ) CONFIG_FILES="$CONFIG_FILES xbitmaps.pc" ;;
2230 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
2231 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2232 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2233 { (exit 1); exit 1; }; };;
2234 esac
2235 done
2236
2237 # If the user did not use the arguments to specify the items to instantiate,
2238 # then the envvar interface is used. Set only those that are not.
2239 # We use the long form for the default assignment because of an extremely
2240 # bizarre bug on SunOS 4.1.3.
2241 if $ac_need_defaults; then
2242 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2243 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
2244 fi
2245
2246 # Have a temporary directory for convenience. Make it in the build tree
2247 # simply because there is no reason to put it here, and in addition,
2248 # creating and moving files from /tmp can sometimes cause problems.
2249 # Create a temporary directory, and hook for its removal unless debugging.
2250 $debug ||
2251 {
2252 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2253 trap '{ (exit 1); exit 1; }' 1 2 13 15
2254 }
2255
2256 # Create a (secure) tmp directory for tmp files.
2257
2258 {
2259 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2260 test -n "$tmp" && test -d "$tmp"
2261 } ||
2262 {
2263 tmp=./confstat$$-$RANDOM
2264 (umask 077 && mkdir $tmp)
2265 } ||
2266 {
2267 echo "$me: cannot create a temporary directory in ." >&2
2268 { (exit 1); exit 1; }
2269 }
2270
2271 _ACEOF
2272
2273 cat >>$CONFIG_STATUS <<_ACEOF
2274
2275 #
2276 # CONFIG_FILES section.
2277 #
2278
2279 # No need to generate the scripts if there are no CONFIG_FILES.
2280 # This happens for instance when ./config.status config.h
2281 if test -n "\$CONFIG_FILES"; then
2282 # Protect against being on the right side of a sed subst in config.status.
2283 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2284 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2285 s,@SHELL@,$SHELL,;t t
2286 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2287 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2288 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2289 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2290 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2291 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2292 s,@exec_prefix@,$exec_prefix,;t t
2293 s,@prefix@,$prefix,;t t
2294 s,@program_transform_name@,$program_transform_name,;t t
2295 s,@bindir@,$bindir,;t t
2296 s,@sbindir@,$sbindir,;t t
2297 s,@libexecdir@,$libexecdir,;t t
2298 s,@datadir@,$datadir,;t t
2299 s,@sysconfdir@,$sysconfdir,;t t
2300 s,@sharedstatedir@,$sharedstatedir,;t t
2301 s,@localstatedir@,$localstatedir,;t t
2302 s,@libdir@,$libdir,;t t
2303 s,@includedir@,$includedir,;t t
2304 s,@oldincludedir@,$oldincludedir,;t t
2305 s,@infodir@,$infodir,;t t
2306 s,@mandir@,$mandir,;t t
2307 s,@build_alias@,$build_alias,;t t
2308 s,@host_alias@,$host_alias,;t t
2309 s,@target_alias@,$target_alias,;t t
2310 s,@DEFS@,$DEFS,;t t
2311 s,@ECHO_C@,$ECHO_C,;t t
2312 s,@ECHO_N@,$ECHO_N,;t t
2313 s,@ECHO_T@,$ECHO_T,;t t
2314 s,@LIBS@,$LIBS,;t t
2315 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2316 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2317 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2318 s,@CYGPATH_W@,$CYGPATH_W,;t t
2319 s,@PACKAGE@,$PACKAGE,;t t
2320 s,@VERSION@,$VERSION,;t t
2321 s,@ACLOCAL@,$ACLOCAL,;t t
2322 s,@AUTOCONF@,$AUTOCONF,;t t
2323 s,@AUTOMAKE@,$AUTOMAKE,;t t
2324 s,@AUTOHEADER@,$AUTOHEADER,;t t
2325 s,@MAKEINFO@,$MAKEINFO,;t t
2326 s,@AMTAR@,$AMTAR,;t t
2327 s,@install_sh@,$install_sh,;t t
2328 s,@STRIP@,$STRIP,;t t
2329 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2330 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2331 s,@AWK@,$AWK,;t t
2332 s,@SET_MAKE@,$SET_MAKE,;t t
2333 s,@am__leading_dot@,$am__leading_dot,;t t
2334 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
2335 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
2336 s,@MAINT@,$MAINT,;t t
2337 s,@LIBOBJS@,$LIBOBJS,;t t
2338 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2339 CEOF
2340
2341 _ACEOF
2342
2343 cat >>$CONFIG_STATUS <<\_ACEOF
2344 # Split the substitutions into bite-sized pieces for seds with
2345 # small command number limits, like on Digital OSF/1 and HP-UX.
2346 ac_max_sed_lines=48
2347 ac_sed_frag=1 # Number of current file.
2348 ac_beg=1 # First line for current file.
2349 ac_end=$ac_max_sed_lines # Line after last line for current file.
2350 ac_more_lines=:
2351 ac_sed_cmds=
2352 while $ac_more_lines; do
2353 if test $ac_beg -gt 1; then
2354 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2355 else
2356 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2357 fi
2358 if test ! -s $tmp/subs.frag; then
2359 ac_more_lines=false
2360 else
2361 # The purpose of the label and of the branching condition is to
2362 # speed up the sed processing (if there are no `@' at all, there
2363 # is no need to browse any of the substitutions).
2364 # These are the two extra sed commands mentioned above.
2365 (echo ':t
2366 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2367 if test -z "$ac_sed_cmds"; then
2368 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2369 else
2370 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2371 fi
2372 ac_sed_frag=`expr $ac_sed_frag + 1`
2373 ac_beg=$ac_end
2374 ac_end=`expr $ac_end + $ac_max_sed_lines`
2375 fi
2376 done
2377 if test -z "$ac_sed_cmds"; then
2378 ac_sed_cmds=cat
2379 fi
2380 fi # test -n "$CONFIG_FILES"
2381
2382 _ACEOF
2383 cat >>$CONFIG_STATUS <<\_ACEOF
2384 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2385 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2386 case $ac_file in
2387 - | *:- | *:-:* ) # input from stdin
2388 cat >$tmp/stdin
2389 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2390 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2391 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2392 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2393 * ) ac_file_in=$ac_file.in ;;
2394 esac
2395
2396 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2397 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2398 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2399 X"$ac_file" : 'X\(//\)[^/]' \| \
2400 X"$ac_file" : 'X\(//\)$' \| \
2401 X"$ac_file" : 'X\(/\)' \| \
2402 . : '\(.\)' 2>/dev/null ||
2403 echo X"$ac_file" |
2404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2405 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2406 /^X\(\/\/\)$/{ s//\1/; q; }
2407 /^X\(\/\).*/{ s//\1/; q; }
2408 s/.*/./; q'`
2409 { if $as_mkdir_p; then
2410 mkdir -p "$ac_dir"
2411 else
2412 as_dir="$ac_dir"
2413 as_dirs=
2414 while test ! -d "$as_dir"; do
2415 as_dirs="$as_dir $as_dirs"
2416 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2417 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2418 X"$as_dir" : 'X\(//\)[^/]' \| \
2419 X"$as_dir" : 'X\(//\)$' \| \
2420 X"$as_dir" : 'X\(/\)' \| \
2421 . : '\(.\)' 2>/dev/null ||
2422 echo X"$as_dir" |
2423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2424 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2425 /^X\(\/\/\)$/{ s//\1/; q; }
2426 /^X\(\/\).*/{ s//\1/; q; }
2427 s/.*/./; q'`
2428 done
2429 test ! -n "$as_dirs" || mkdir $as_dirs
2430 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2431 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2432 { (exit 1); exit 1; }; }; }
2433
2434 ac_builddir=.
2435
2436 if test "$ac_dir" != .; then
2437 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2438 # A "../" for each directory in $ac_dir_suffix.
2439 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2440 else
2441 ac_dir_suffix= ac_top_builddir=
2442 fi
2443
2444 case $srcdir in
2445 .) # No --srcdir option. We are building in place.
2446 ac_srcdir=.
2447 if test -z "$ac_top_builddir"; then
2448 ac_top_srcdir=.
2449 else
2450 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2451 fi ;;
2452 [\\/]* | ?:[\\/]* ) # Absolute path.
2453 ac_srcdir=$srcdir$ac_dir_suffix;
2454 ac_top_srcdir=$srcdir ;;
2455 *) # Relative path.
2456 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2457 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2458 esac
2459
2460 # Do not use `cd foo && pwd` to compute absolute paths, because
2461 # the directories may not exist.
2462 case `pwd` in
2463 .) ac_abs_builddir="$ac_dir";;
2464 *)
2465 case "$ac_dir" in
2466 .) ac_abs_builddir=`pwd`;;
2467 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2468 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2469 esac;;
2470 esac
2471 case $ac_abs_builddir in
2472 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2473 *)
2474 case ${ac_top_builddir}. in
2475 .) ac_abs_top_builddir=$ac_abs_builddir;;
2476 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2477 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2478 esac;;
2479 esac
2480 case $ac_abs_builddir in
2481 .) ac_abs_srcdir=$ac_srcdir;;
2482 *)
2483 case $ac_srcdir in
2484 .) ac_abs_srcdir=$ac_abs_builddir;;
2485 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2486 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2487 esac;;
2488 esac
2489 case $ac_abs_builddir in
2490 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2491 *)
2492 case $ac_top_srcdir in
2493 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2494 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2495 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2496 esac;;
2497 esac
2498
2499
2500 case $INSTALL in
2501 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2502 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2503 esac
2504
2505 if test x"$ac_file" != x-; then
2506 { echo "$as_me:$LINENO: creating $ac_file" >&5
2507 echo "$as_me: creating $ac_file" >&6;}
2508 rm -f "$ac_file"
2509 fi
2510 # Let's still pretend it is `configure' which instantiates (i.e., don't
2511 # use $as_me), people would be surprised to read:
2512 # /* config.h. Generated by config.status. */
2513 if test x"$ac_file" = x-; then
2514 configure_input=
2515 else
2516 configure_input="$ac_file. "
2517 fi
2518 configure_input=$configure_input"Generated from `echo $ac_file_in |
2519 sed 's,.*/,,'` by configure."
2520
2521 # First look for the input files in the build tree, otherwise in the
2522 # src tree.
2523 ac_file_inputs=`IFS=:
2524 for f in $ac_file_in; do
2525 case $f in
2526 -) echo $tmp/stdin ;;
2527 [\\/$]*)
2528 # Absolute (can't be DOS-style, as IFS=:)
2529 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2530 echo "$as_me: error: cannot find input file: $f" >&2;}
2531 { (exit 1); exit 1; }; }
2532 echo "$f";;
2533 *) # Relative
2534 if test -f "$f"; then
2535 # Build tree
2536 echo "$f"
2537 elif test -f "$srcdir/$f"; then
2538 # Source tree
2539 echo "$srcdir/$f"
2540 else
2541 # /dev/null tree
2542 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2543 echo "$as_me: error: cannot find input file: $f" >&2;}
2544 { (exit 1); exit 1; }; }
2545 fi;;
2546 esac
2547 done` || { (exit 1); exit 1; }
2548 _ACEOF
2549 cat >>$CONFIG_STATUS <<_ACEOF
2550 sed "$ac_vpsub
2551 $extrasub
2552 _ACEOF
2553 cat >>$CONFIG_STATUS <<\_ACEOF
2554 :t
2555 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2556 s,@configure_input@,$configure_input,;t t
2557 s,@srcdir@,$ac_srcdir,;t t
2558 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2559 s,@top_srcdir@,$ac_top_srcdir,;t t
2560 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2561 s,@builddir@,$ac_builddir,;t t
2562 s,@abs_builddir@,$ac_abs_builddir,;t t
2563 s,@top_builddir@,$ac_top_builddir,;t t
2564 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2565 s,@INSTALL@,$ac_INSTALL,;t t
2566 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2567 rm -f $tmp/stdin
2568 if test x"$ac_file" != x-; then
2569 mv $tmp/out $ac_file
2570 else
2571 cat $tmp/out
2572 rm -f $tmp/out
2573 fi
2574
2575 done
2576 _ACEOF
2577 cat >>$CONFIG_STATUS <<\_ACEOF
2578
2579 #
2580 # CONFIG_HEADER section.
2581 #
2582
2583 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2584 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2585 #
2586 # ac_d sets the value in "#define NAME VALUE" lines.
2587 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2588 ac_dB='[ ].*$,\1#\2'
2589 ac_dC=' '
2590 ac_dD=',;t'
2591 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2592 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2593 ac_uB='$,\1#\2define\3'
2594 ac_uC=' '
2595 ac_uD=',;t'
2596
2597 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
2598 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2599 case $ac_file in
2600 - | *:- | *:-:* ) # input from stdin
2601 cat >$tmp/stdin
2602 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2603 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2604 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2605 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2606 * ) ac_file_in=$ac_file.in ;;
2607 esac
2608
2609 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
2610 echo "$as_me: creating $ac_file" >&6;}
2611
2612 # First look for the input files in the build tree, otherwise in the
2613 # src tree.
2614 ac_file_inputs=`IFS=:
2615 for f in $ac_file_in; do
2616 case $f in
2617 -) echo $tmp/stdin ;;
2618 [\\/$]*)
2619 # Absolute (can't be DOS-style, as IFS=:)
2620 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2621 echo "$as_me: error: cannot find input file: $f" >&2;}
2622 { (exit 1); exit 1; }; }
2623 # Do quote $f, to prevent DOS paths from being IFS'd.
2624 echo "$f";;
2625 *) # Relative
2626 if test -f "$f"; then
2627 # Build tree
2628 echo "$f"
2629 elif test -f "$srcdir/$f"; then
2630 # Source tree
2631 echo "$srcdir/$f"
2632 else
2633 # /dev/null tree
2634 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2635 echo "$as_me: error: cannot find input file: $f" >&2;}
2636 { (exit 1); exit 1; }; }
2637 fi;;
2638 esac
2639 done` || { (exit 1); exit 1; }
2640 # Remove the trailing spaces.
2641 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
2642
2643 _ACEOF
2644
2645 # Transform confdefs.h into two sed scripts, `conftest.defines' and
2646 # `conftest.undefs', that substitutes the proper values into
2647 # config.h.in to produce config.h. The first handles `#define'
2648 # templates, and the second `#undef' templates.
2649 # And first: Protect against being on the right side of a sed subst in
2650 # config.status. Protect against being in an unquoted here document
2651 # in config.status.
2652 rm -f conftest.defines conftest.undefs
2653 # Using a here document instead of a string reduces the quoting nightmare.
2654 # Putting comments in sed scripts is not portable.
2655 #
2656 # `end' is used to avoid that the second main sed command (meant for
2657 # 0-ary CPP macros) applies to n-ary macro definitions.
2658 # See the Autoconf documentation for `clear'.
2659 cat >confdef2sed.sed <<\_ACEOF
2660 s/[\\&,]/\\&/g
2661 s,[\\$`],\\&,g
2662 t clear
2663 : clear
2664 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
2665 t end
2666 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
2667 : end
2668 _ACEOF
2669 # If some macros were called several times there might be several times
2670 # the same #defines, which is useless. Nevertheless, we may not want to
2671 # sort them, since we want the *last* AC-DEFINE to be honored.
2672 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
2673 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
2674 rm -f confdef2sed.sed
2675
2676 # This sed command replaces #undef with comments. This is necessary, for
2677 # example, in the case of _POSIX_SOURCE, which is predefined and required
2678 # on some systems where configure will not decide to define it.
2679 cat >>conftest.undefs <<\_ACEOF
2680 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
2681 _ACEOF
2682
2683 # Break up conftest.defines because some shells have a limit on the size
2684 # of here documents, and old seds have small limits too (100 cmds).
2685 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
2686 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
2687 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
2688 echo ' :' >>$CONFIG_STATUS
2689 rm -f conftest.tail
2690 while grep . conftest.defines >/dev/null
2691 do
2692 # Write a limited-size here document to $tmp/defines.sed.
2693 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
2694 # Speed up: don't consider the non `#define' lines.
2695 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
2696 # Work around the forget-to-reset-the-flag bug.
2697 echo 't clr' >>$CONFIG_STATUS
2698 echo ': clr' >>$CONFIG_STATUS
2699 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
2700 echo 'CEOF
2701 sed -f $tmp/defines.sed $tmp/in >$tmp/out
2702 rm -f $tmp/in
2703 mv $tmp/out $tmp/in
2704 ' >>$CONFIG_STATUS
2705 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
2706 rm -f conftest.defines
2707 mv conftest.tail conftest.defines
2708 done
2709 rm -f conftest.defines
2710 echo ' fi # grep' >>$CONFIG_STATUS
2711 echo >>$CONFIG_STATUS
2712
2713 # Break up conftest.undefs because some shells have a limit on the size
2714 # of here documents, and old seds have small limits too (100 cmds).
2715 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
2716 rm -f conftest.tail
2717 while grep . conftest.undefs >/dev/null
2718 do
2719 # Write a limited-size here document to $tmp/undefs.sed.
2720 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
2721 # Speed up: don't consider the non `#undef'
2722 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
2723 # Work around the forget-to-reset-the-flag bug.
2724 echo 't clr' >>$CONFIG_STATUS
2725 echo ': clr' >>$CONFIG_STATUS
2726 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
2727 echo 'CEOF
2728 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
2729 rm -f $tmp/in
2730 mv $tmp/out $tmp/in
2731 ' >>$CONFIG_STATUS
2732 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
2733 rm -f conftest.undefs
2734 mv conftest.tail conftest.undefs
2735 done
2736 rm -f conftest.undefs
2737
2738 cat >>$CONFIG_STATUS <<\_ACEOF
2739 # Let's still pretend it is `configure' which instantiates (i.e., don't
2740 # use $as_me), people would be surprised to read:
2741 # /* config.h. Generated by config.status. */
2742 if test x"$ac_file" = x-; then
2743 echo "/* Generated by configure. */" >$tmp/config.h
2744 else
2745 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
2746 fi
2747 cat $tmp/in >>$tmp/config.h
2748 rm -f $tmp/in
2749 if test x"$ac_file" != x-; then
2750 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
2751 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
2752 echo "$as_me: $ac_file is unchanged" >&6;}
2753 else
2754 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2755 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2756 X"$ac_file" : 'X\(//\)[^/]' \| \
2757 X"$ac_file" : 'X\(//\)$' \| \
2758 X"$ac_file" : 'X\(/\)' \| \
2759 . : '\(.\)' 2>/dev/null ||
2760 echo X"$ac_file" |
2761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2762 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2763 /^X\(\/\/\)$/{ s//\1/; q; }
2764 /^X\(\/\).*/{ s//\1/; q; }
2765 s/.*/./; q'`
2766 { if $as_mkdir_p; then
2767 mkdir -p "$ac_dir"
2768 else
2769 as_dir="$ac_dir"
2770 as_dirs=
2771 while test ! -d "$as_dir"; do
2772 as_dirs="$as_dir $as_dirs"
2773 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2774 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2775 X"$as_dir" : 'X\(//\)[^/]' \| \
2776 X"$as_dir" : 'X\(//\)$' \| \
2777 X"$as_dir" : 'X\(/\)' \| \
2778 . : '\(.\)' 2>/dev/null ||
2779 echo X"$as_dir" |
2780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2781 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2782 /^X\(\/\/\)$/{ s//\1/; q; }
2783 /^X\(\/\).*/{ s//\1/; q; }
2784 s/.*/./; q'`
2785 done
2786 test ! -n "$as_dirs" || mkdir $as_dirs
2787 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2788 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2789 { (exit 1); exit 1; }; }; }
2790
2791 rm -f $ac_file
2792 mv $tmp/config.h $ac_file
2793 fi
2794 else
2795 cat $tmp/config.h
2796 rm -f $tmp/config.h
2797 fi
2798 # Compute $ac_file's index in $config_headers.
2799 _am_stamp_count=1
2800 for _am_header in $config_headers :; do
2801 case $_am_header in
2802 $ac_file | $ac_file:* )
2803 break ;;
2804 * )
2805 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
2806 esac
2807 done
2808 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
2809 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2810 X$ac_file : 'X\(//\)[^/]' \| \
2811 X$ac_file : 'X\(//\)$' \| \
2812 X$ac_file : 'X\(/\)' \| \
2813 . : '\(.\)' 2>/dev/null ||
2814 echo X$ac_file |
2815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2816 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2817 /^X\(\/\/\)$/{ s//\1/; q; }
2818 /^X\(\/\).*/{ s//\1/; q; }
2819 s/.*/./; q'`/stamp-h$_am_stamp_count
2820 done
2821 _ACEOF
2822
2823 cat >>$CONFIG_STATUS <<\_ACEOF
2824
2825 { (exit 0); exit 0; }
2826 _ACEOF
2827 chmod +x $CONFIG_STATUS
2828 ac_clean_files=$ac_clean_files_save
2829
2830
2831 # configure is writing to config.log, and then calls config.status.
2832 # config.status does its own redirection, appending to config.log.
2833 # Unfortunately, on DOS this fails, as config.log is still kept open
2834 # by configure, so config.status won't be able to write to it; its
2835 # output is simply discarded. So we exec the FD to /dev/null,
2836 # effectively closing config.log, so it can be properly (re)opened and
2837 # appended to by config.status. When coming back to configure, we
2838 # need to make the FD available again.
2839 if test "$no_create" != yes; then
2840 ac_cs_success=:
2841 ac_config_status_args=
2842 test "$silent" = yes &&
2843 ac_config_status_args="$ac_config_status_args --quiet"
2844 exec 5>/dev/null
2845 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2846 exec 5>>config.log
2847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2848 # would make configure fail if this is the last instruction.
2849 $ac_cs_success || { (exit 1); exit 1; }
2850 fi
2851
2852