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