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