configure revision 2c7c4e3d
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
15if 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+"$@"}'='"$@"'
21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22  set -o posix
23fi
24DUALCASE=1; export DUALCASE # for MKS sh
25
26# Support unset when possible.
27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28  as_unset=unset
29else
30  as_unset=false
31fi
32
33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for 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
45do
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
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55  as_expr=expr
56else
57  as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61  as_basename=basename
62else
63  as_basename=false
64fi
65
66
67# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70	 X"$0" : 'X\(//\)$' \| \
71	 X"$0" : 'X\(/\)$' \| \
72	 .     : '\(.\)' 2>/dev/null ||
73echo 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.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if 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
99fi
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
112for as_dir in $PATH
113do
114  IFS=$as_save_IFS
115  test -z "$as_dir" && as_dir=.
116  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
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
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
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
154done
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
189case `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= ;;
194esac
195
196if expr a : '\(a\)' >/dev/null 2>&1; then
197  as_expr=expr
198else
199  as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if 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
213elif ln conf$$.file conf$$ 2>/dev/null; then
214  as_ln_s=ln
215else
216  as_ln_s='cp -p'
217fi
218rm -f conf$$ conf$$.exe conf$$.file
219
220if mkdir -p . 2>/dev/null; then
221  as_mkdir_p=:
222else
223  test -d ./-p && rmdir ./-p
224  as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_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.
233as_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.
238as_nl='
239'
240IFS=" 	$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.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${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.
270PACKAGE_NAME='xcmsdb'
271PACKAGE_TARNAME='xcmsdb'
272PACKAGE_VERSION='1.0.1'
273PACKAGE_STRING='xcmsdb 1.0.1'
274PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
275
276ac_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'
277ac_subst_files=''
278
279# Initialize some variables set by options.
280ac_init_help=
281ac_init_version=false
282# The variables have the same names as the options, with
283# dashes changed to underlines.
284cache_file=/dev/null
285exec_prefix=NONE
286no_create=
287no_recursion=
288prefix=NONE
289program_prefix=NONE
290program_suffix=NONE
291program_transform_name=s,x,x,
292silent=
293site=
294srcdir=
295verbose=
296x_includes=NONE
297x_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.
304bindir='${exec_prefix}/bin'
305sbindir='${exec_prefix}/sbin'
306libexecdir='${exec_prefix}/libexec'
307datadir='${prefix}/share'
308sysconfdir='${prefix}/etc'
309sharedstatedir='${prefix}/com'
310localstatedir='${prefix}/var'
311libdir='${exec_prefix}/lib'
312includedir='${prefix}/include'
313oldincludedir='/usr/include'
314infodir='${prefix}/info'
315mandir='${prefix}/man'
316
317ac_prev=
318for ac_option
319do
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
591Try \`$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
614done
615
616if 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; }; }
620fi
621
622# Be sure to have absolute paths.
623for ac_var in exec_prefix prefix
624do
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
631done
632
633# Be sure to have absolute paths.
634for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635	      localstatedir libdir includedir oldincludedir infodir mandir
636do
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
643done
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.
648build=$build_alias
649host=$host_alias
650target=$target_alias
651
652# FIXME: To remove some day.
653if 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
661fi
662
663ac_tool_prefix=
664test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
666test "$silent" = yes && exec 6>/dev/null
667
668
669# Find the source files, if location was not specified.
670if 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 ||
679echo 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
689else
690  ac_srcdir_defaulted=no
691fi
692if 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
700fi
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; }; }
704srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705ac_env_build_alias_set=${build_alias+set}
706ac_env_build_alias_value=$build_alias
707ac_cv_env_build_alias_set=${build_alias+set}
708ac_cv_env_build_alias_value=$build_alias
709ac_env_host_alias_set=${host_alias+set}
710ac_env_host_alias_value=$host_alias
711ac_cv_env_host_alias_set=${host_alias+set}
712ac_cv_env_host_alias_value=$host_alias
713ac_env_target_alias_set=${target_alias+set}
714ac_env_target_alias_value=$target_alias
715ac_cv_env_target_alias_set=${target_alias+set}
716ac_cv_env_target_alias_value=$target_alias
717ac_env_CC_set=${CC+set}
718ac_env_CC_value=$CC
719ac_cv_env_CC_set=${CC+set}
720ac_cv_env_CC_value=$CC
721ac_env_CFLAGS_set=${CFLAGS+set}
722ac_env_CFLAGS_value=$CFLAGS
723ac_cv_env_CFLAGS_set=${CFLAGS+set}
724ac_cv_env_CFLAGS_value=$CFLAGS
725ac_env_LDFLAGS_set=${LDFLAGS+set}
726ac_env_LDFLAGS_value=$LDFLAGS
727ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728ac_cv_env_LDFLAGS_value=$LDFLAGS
729ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730ac_env_CPPFLAGS_value=$CPPFLAGS
731ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
734ac_env_PKG_CONFIG_value=$PKG_CONFIG
735ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
736ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
737ac_env_XCMSDB_CFLAGS_set=${XCMSDB_CFLAGS+set}
738ac_env_XCMSDB_CFLAGS_value=$XCMSDB_CFLAGS
739ac_cv_env_XCMSDB_CFLAGS_set=${XCMSDB_CFLAGS+set}
740ac_cv_env_XCMSDB_CFLAGS_value=$XCMSDB_CFLAGS
741ac_env_XCMSDB_LIBS_set=${XCMSDB_LIBS+set}
742ac_env_XCMSDB_LIBS_value=$XCMSDB_LIBS
743ac_cv_env_XCMSDB_LIBS_set=${XCMSDB_LIBS+set}
744ac_cv_env_XCMSDB_LIBS_value=$XCMSDB_LIBS
745
746#
747# Report the --help message.
748#
749if 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
755Usage: $0 [OPTION]... [VAR=VALUE]...
756
757To assign environment variables (e.g., CC, CFLAGS...), specify them as
758VAR=VALUE.  See below for descriptions of some of the useful variables.
759
760Defaults for the options are specified in brackets.
761
762Configuration:
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
776Installation 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
782By default, \`make install' will install all the files in
783\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
784an installation prefix other than \`$ac_default_prefix' using \`--prefix',
785for instance \`--prefix=\$HOME'.
786
787For better control, use the options below.
788
789Fine 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
806Program 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
811System 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
815fi
816
817if 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
823Optional 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
831Optional 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
837Some 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
849Use these variables to override the choices made by `configure' or to help
850it to find libraries and programs with nonstandard names/locations.
851
852Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
853_ACEOF
854fi
855
856if 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
863if 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'`
867else
868  ac_dir_suffix= ac_top_builddir=
869fi
870
871case $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 ;;
885esac
886
887# Do not use `cd foo && pwd` to compute absolute paths, because
888# the directories may not exist.
889case `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;;
897esac
898case $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;;
906esac
907case $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;;
915esac
916case $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;;
924esac
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
943fi
944
945test -n "$ac_init_help" && exit 0
946if $ac_init_version; then
947  cat <<\_ACEOF
948xcmsdb configure 1.0.1
949generated by GNU Autoconf 2.59
950
951Copyright (C) 2003 Free Software Foundation, Inc.
952This configure script is free software; the Free Software Foundation
953gives unlimited permission to copy, distribute and modify it.
954_ACEOF
955  exit 0
956fi
957exec 5>config.log
958cat >&5 <<_ACEOF
959This file contains any messages produced by compilers while
960running configure, to aid debugging if configure makes a mistake.
961
962It was created by xcmsdb $as_me 1.0.1, which was
963generated by GNU Autoconf 2.59.  Invocation command line was
964
965  $ $0 $@
966
967_ACEOF
968{
969cat <<_ASUNAME
970## --------- ##
971## Platform. ##
972## --------- ##
973
974hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
975uname -m = `(uname -m) 2>/dev/null || echo unknown`
976uname -r = `(uname -r) 2>/dev/null || echo unknown`
977uname -s = `(uname -s) 2>/dev/null || echo unknown`
978uname -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`
986hostinfo               = `(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
993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
994for as_dir in $PATH
995do
996  IFS=$as_save_IFS
997  test -z "$as_dir" && as_dir=.
998  echo "PATH: $as_dir"
999done
1000
1001} >&5
1002
1003cat >&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.
1018ac_configure_args=
1019ac_configure_args0=
1020ac_configure_args1=
1021ac_sep=
1022ac_must_keep_next=false
1023for ac_pass in 1 2
1024do
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
1060done
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.
1069trap '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
1143for ac_signal in 1 2 13 15; do
1144  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1145done
1146ac_signal=0
1147
1148# confdefs.h avoids OS command line length limits that DEFS can exceed.
1149rm -rf conftest* confdefs.h
1150# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1151echo >confdefs.h
1152
1153# Predefined preprocessor variables.
1154
1155cat >>confdefs.h <<_ACEOF
1156#define PACKAGE_NAME "$PACKAGE_NAME"
1157_ACEOF
1158
1159
1160cat >>confdefs.h <<_ACEOF
1161#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1162_ACEOF
1163
1164
1165cat >>confdefs.h <<_ACEOF
1166#define PACKAGE_VERSION "$PACKAGE_VERSION"
1167_ACEOF
1168
1169
1170cat >>confdefs.h <<_ACEOF
1171#define PACKAGE_STRING "$PACKAGE_STRING"
1172_ACEOF
1173
1174
1175cat >>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.
1182if 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
1188fi
1189for 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
1192echo "$as_me: loading site script $ac_site_file" >&6;}
1193    sed 's/^/| /' "$ac_site_file" >&5
1194    . "$ac_site_file"
1195  fi
1196done
1197
1198if 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
1203echo "$as_me: loading cache $cache_file" >&6;}
1204    case $cache_file in
1205      [\\/]* | ?:[\\/]* ) . $cache_file;;
1206      *)                      . ./$cache_file;;
1207    esac
1208  fi
1209else
1210  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1211echo "$as_me: creating cache $cache_file" >&6;}
1212  >$cache_file
1213fi
1214
1215# Check that the precious variables saved in the cache have kept the same
1216# value.
1217ac_cache_corrupted=false
1218for 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
1227echo "$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
1231echo "$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
1237echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1238	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1239echo "$as_me:   former value:  $ac_old_val" >&2;}
1240	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1241echo "$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
1257done
1258if $ac_cache_corrupted; then
1259  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1260echo "$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
1262echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1263   { (exit 1); exit 1; }; }
1264fi
1265
1266ac_ext=c
1267ac_cpp='$CPP $CPPFLAGS'
1268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1270ac_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
1298am__api_version="1.7"
1299ac_aux_dir=
1300for 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
1314done
1315if test -z "$ac_aux_dir"; then
1316  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1317echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1318   { (exit 1); exit 1; }; }
1319fi
1320ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1321ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1322ac_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.
1337echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1338echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1339if test -z "$INSTALL"; then
1340if test "${ac_cv_path_install+set}" = set; then
1341  echo $ECHO_N "(cached) $ECHO_C" >&6
1342else
1343  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1344for as_dir in $PATH
1345do
1346  IFS=$as_save_IFS
1347  test -z "$as_dir" && as_dir=.
1348  # Account for people who put trailing slashes in PATH elements.
1349case $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    ;;
1377esac
1378done
1379
1380
1381fi
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
1391fi
1392echo "$as_me:$LINENO: result: $INSTALL" >&5
1393echo "${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.
1397test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1398
1399test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1400
1401test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1402
1403echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1404echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1405# Just in case
1406sleep 1
1407echo 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).
1413if (
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
1428alias in your environment" >&5
1429echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1430alias in your environment" >&2;}
1431   { (exit 1); exit 1; }; }
1432   fi
1433
1434   test "$2" = conftest.file
1435   )
1436then
1437   # Ok.
1438   :
1439else
1440   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1441Check your system clock" >&5
1442echo "$as_me: error: newly created file is older than distributed files!
1443Check your system clock" >&2;}
1444   { (exit 1); exit 1; }; }
1445fi
1446echo "$as_me:$LINENO: result: yes" >&5
1447echo "${ECHO_T}yes" >&6
1448test "$program_prefix" != NONE &&
1449  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1450# Use a double $ so make ignores it.
1451test "$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.
1455cat <<\_ACEOF >conftest.sed
1456s/[\\$]/&&/g;s/;s,x,x,$//
1457_ACEOF
1458program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1459rm conftest.sed
1460
1461
1462# expand $ac_aux_dir to an absolute path
1463am_aux_dir=`cd $ac_aux_dir && pwd`
1464
1465test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1466# Use eval to expand $SHELL
1467if eval "$MISSING --run true"; then
1468  am_missing_run="$MISSING --run "
1469else
1470  am_missing_run=
1471  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1472echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1473fi
1474
1475for ac_prog in gawk mawk nawk awk
1476do
1477  # Extract the first word of "$ac_prog", so it can be a program name with args.
1478set dummy $ac_prog; ac_word=$2
1479echo "$as_me:$LINENO: checking for $ac_word" >&5
1480echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1481if test "${ac_cv_prog_AWK+set}" = set; then
1482  echo $ECHO_N "(cached) $ECHO_C" >&6
1483else
1484  if test -n "$AWK"; then
1485  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1486else
1487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1488for as_dir in $PATH
1489do
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
1498done
1499done
1500
1501fi
1502fi
1503AWK=$ac_cv_prog_AWK
1504if test -n "$AWK"; then
1505  echo "$as_me:$LINENO: result: $AWK" >&5
1506echo "${ECHO_T}$AWK" >&6
1507else
1508  echo "$as_me:$LINENO: result: no" >&5
1509echo "${ECHO_T}no" >&6
1510fi
1511
1512  test -n "$AWK" && break
1513done
1514
1515echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1516echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1517set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1518if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1519  echo $ECHO_N "(cached) $ECHO_C" >&6
1520else
1521  cat >conftest.make <<\_ACEOF
1522all:
1523	@echo 'ac_maketemp="$(MAKE)"'
1524_ACEOF
1525# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1526eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1527if test -n "$ac_maketemp"; then
1528  eval ac_cv_prog_make_${ac_make}_set=yes
1529else
1530  eval ac_cv_prog_make_${ac_make}_set=no
1531fi
1532rm -f conftest.make
1533fi
1534if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1535  echo "$as_me:$LINENO: result: yes" >&5
1536echo "${ECHO_T}yes" >&6
1537  SET_MAKE=
1538else
1539  echo "$as_me:$LINENO: result: no" >&5
1540echo "${ECHO_T}no" >&6
1541  SET_MAKE="MAKE=${MAKE-make}"
1542fi
1543
1544rm -rf .tst 2>/dev/null
1545mkdir .tst 2>/dev/null
1546if test -d .tst; then
1547  am__leading_dot=.
1548else
1549  am__leading_dot=_
1550fi
1551rmdir .tst 2>/dev/null
1552
1553 # test to see if srcdir already configured
1554if 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
1557echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1558   { (exit 1); exit 1; }; }
1559fi
1560
1561# test whether we have cygpath
1562if 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
1568fi
1569
1570
1571# Define the identity of the package.
1572 PACKAGE='xcmsdb'
1573 VERSION='1.0.1'
1574
1575
1576cat >>confdefs.h <<_ACEOF
1577#define PACKAGE "$PACKAGE"
1578_ACEOF
1579
1580
1581cat >>confdefs.h <<_ACEOF
1582#define VERSION "$VERSION"
1583_ACEOF
1584
1585# Some tools Automake needs.
1586
1587ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1588
1589
1590AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1591
1592
1593AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1594
1595
1596AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1597
1598
1599MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1600
1601
1602AMTAR=${AMTAR-"${am_missing_run}tar"}
1603
1604install_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.
1610if 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.
1613set dummy ${ac_tool_prefix}strip; ac_word=$2
1614echo "$as_me:$LINENO: checking for $ac_word" >&5
1615echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1616if test "${ac_cv_prog_STRIP+set}" = set; then
1617  echo $ECHO_N "(cached) $ECHO_C" >&6
1618else
1619  if test -n "$STRIP"; then
1620  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1621else
1622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1623for as_dir in $PATH
1624do
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
1633done
1634done
1635
1636fi
1637fi
1638STRIP=$ac_cv_prog_STRIP
1639if test -n "$STRIP"; then
1640  echo "$as_me:$LINENO: result: $STRIP" >&5
1641echo "${ECHO_T}$STRIP" >&6
1642else
1643  echo "$as_me:$LINENO: result: no" >&5
1644echo "${ECHO_T}no" >&6
1645fi
1646
1647fi
1648if 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.
1651set dummy strip; ac_word=$2
1652echo "$as_me:$LINENO: checking for $ac_word" >&5
1653echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1654if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1655  echo $ECHO_N "(cached) $ECHO_C" >&6
1656else
1657  if test -n "$ac_ct_STRIP"; then
1658  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1659else
1660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661for as_dir in $PATH
1662do
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
1671done
1672done
1673
1674  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1675fi
1676fi
1677ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1678if test -n "$ac_ct_STRIP"; then
1679  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1680echo "${ECHO_T}$ac_ct_STRIP" >&6
1681else
1682  echo "$as_me:$LINENO: result: no" >&5
1683echo "${ECHO_T}no" >&6
1684fi
1685
1686  STRIP=$ac_ct_STRIP
1687else
1688  STRIP="$ac_cv_prog_STRIP"
1689fi
1690
1691fi
1692INSTALL_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
1699echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1700echo $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.
1702if test "${enable_maintainer_mode+set}" = set; then
1703  enableval="$enable_maintainer_mode"
1704  USE_MAINTAINER_MODE=$enableval
1705else
1706  USE_MAINTAINER_MODE=no
1707fi;
1708  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1709echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1710
1711
1712if test $USE_MAINTAINER_MODE = yes; then
1713  MAINTAINER_MODE_TRUE=
1714  MAINTAINER_MODE_FALSE='#'
1715else
1716  MAINTAINER_MODE_TRUE='#'
1717  MAINTAINER_MODE_FALSE=
1718fi
1719
1720  MAINT=$MAINTAINER_MODE_TRUE
1721
1722
1723
1724          ac_config_headers="$ac_config_headers config.h"
1725
1726
1727ac_ext=c
1728ac_cpp='$CPP $CPPFLAGS'
1729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1731ac_compiler_gnu=$ac_cv_c_compiler_gnu
1732if 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.
1734set dummy ${ac_tool_prefix}gcc; ac_word=$2
1735echo "$as_me:$LINENO: checking for $ac_word" >&5
1736echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737if test "${ac_cv_prog_CC+set}" = set; then
1738  echo $ECHO_N "(cached) $ECHO_C" >&6
1739else
1740  if test -n "$CC"; then
1741  ac_cv_prog_CC="$CC" # Let the user override the test.
1742else
1743as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744for as_dir in $PATH
1745do
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
1754done
1755done
1756
1757fi
1758fi
1759CC=$ac_cv_prog_CC
1760if test -n "$CC"; then
1761  echo "$as_me:$LINENO: result: $CC" >&5
1762echo "${ECHO_T}$CC" >&6
1763else
1764  echo "$as_me:$LINENO: result: no" >&5
1765echo "${ECHO_T}no" >&6
1766fi
1767
1768fi
1769if 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.
1772set dummy gcc; ac_word=$2
1773echo "$as_me:$LINENO: checking for $ac_word" >&5
1774echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1775if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1776  echo $ECHO_N "(cached) $ECHO_C" >&6
1777else
1778  if test -n "$ac_ct_CC"; then
1779  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1780else
1781as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1782for as_dir in $PATH
1783do
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
1792done
1793done
1794
1795fi
1796fi
1797ac_ct_CC=$ac_cv_prog_ac_ct_CC
1798if test -n "$ac_ct_CC"; then
1799  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1800echo "${ECHO_T}$ac_ct_CC" >&6
1801else
1802  echo "$as_me:$LINENO: result: no" >&5
1803echo "${ECHO_T}no" >&6
1804fi
1805
1806  CC=$ac_ct_CC
1807else
1808  CC="$ac_cv_prog_CC"
1809fi
1810
1811if 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.
1814set dummy ${ac_tool_prefix}cc; ac_word=$2
1815echo "$as_me:$LINENO: checking for $ac_word" >&5
1816echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1817if test "${ac_cv_prog_CC+set}" = set; then
1818  echo $ECHO_N "(cached) $ECHO_C" >&6
1819else
1820  if test -n "$CC"; then
1821  ac_cv_prog_CC="$CC" # Let the user override the test.
1822else
1823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1824for as_dir in $PATH
1825do
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
1834done
1835done
1836
1837fi
1838fi
1839CC=$ac_cv_prog_CC
1840if test -n "$CC"; then
1841  echo "$as_me:$LINENO: result: $CC" >&5
1842echo "${ECHO_T}$CC" >&6
1843else
1844  echo "$as_me:$LINENO: result: no" >&5
1845echo "${ECHO_T}no" >&6
1846fi
1847
1848fi
1849if 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.
1852set dummy cc; ac_word=$2
1853echo "$as_me:$LINENO: checking for $ac_word" >&5
1854echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1855if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1856  echo $ECHO_N "(cached) $ECHO_C" >&6
1857else
1858  if test -n "$ac_ct_CC"; then
1859  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1860else
1861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1862for as_dir in $PATH
1863do
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
1872done
1873done
1874
1875fi
1876fi
1877ac_ct_CC=$ac_cv_prog_ac_ct_CC
1878if test -n "$ac_ct_CC"; then
1879  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1880echo "${ECHO_T}$ac_ct_CC" >&6
1881else
1882  echo "$as_me:$LINENO: result: no" >&5
1883echo "${ECHO_T}no" >&6
1884fi
1885
1886  CC=$ac_ct_CC
1887else
1888  CC="$ac_cv_prog_CC"
1889fi
1890
1891fi
1892if test -z "$CC"; then
1893  # Extract the first word of "cc", so it can be a program name with args.
1894set dummy cc; ac_word=$2
1895echo "$as_me:$LINENO: checking for $ac_word" >&5
1896echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1897if test "${ac_cv_prog_CC+set}" = set; then
1898  echo $ECHO_N "(cached) $ECHO_C" >&6
1899else
1900  if test -n "$CC"; then
1901  ac_cv_prog_CC="$CC" # Let the user override the test.
1902else
1903  ac_prog_rejected=no
1904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905for as_dir in $PATH
1906do
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
1919done
1920done
1921
1922if 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
1933fi
1934fi
1935fi
1936CC=$ac_cv_prog_CC
1937if test -n "$CC"; then
1938  echo "$as_me:$LINENO: result: $CC" >&5
1939echo "${ECHO_T}$CC" >&6
1940else
1941  echo "$as_me:$LINENO: result: no" >&5
1942echo "${ECHO_T}no" >&6
1943fi
1944
1945fi
1946if 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.
1951set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1952echo "$as_me:$LINENO: checking for $ac_word" >&5
1953echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1954if test "${ac_cv_prog_CC+set}" = set; then
1955  echo $ECHO_N "(cached) $ECHO_C" >&6
1956else
1957  if test -n "$CC"; then
1958  ac_cv_prog_CC="$CC" # Let the user override the test.
1959else
1960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961for as_dir in $PATH
1962do
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
1971done
1972done
1973
1974fi
1975fi
1976CC=$ac_cv_prog_CC
1977if test -n "$CC"; then
1978  echo "$as_me:$LINENO: result: $CC" >&5
1979echo "${ECHO_T}$CC" >&6
1980else
1981  echo "$as_me:$LINENO: result: no" >&5
1982echo "${ECHO_T}no" >&6
1983fi
1984
1985    test -n "$CC" && break
1986  done
1987fi
1988if test -z "$CC"; then
1989  ac_ct_CC=$CC
1990  for ac_prog in cl
1991do
1992  # Extract the first word of "$ac_prog", so it can be a program name with args.
1993set dummy $ac_prog; ac_word=$2
1994echo "$as_me:$LINENO: checking for $ac_word" >&5
1995echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1996if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1997  echo $ECHO_N "(cached) $ECHO_C" >&6
1998else
1999  if test -n "$ac_ct_CC"; then
2000  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2001else
2002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2003for as_dir in $PATH
2004do
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
2013done
2014done
2015
2016fi
2017fi
2018ac_ct_CC=$ac_cv_prog_ac_ct_CC
2019if test -n "$ac_ct_CC"; then
2020  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2021echo "${ECHO_T}$ac_ct_CC" >&6
2022else
2023  echo "$as_me:$LINENO: result: no" >&5
2024echo "${ECHO_T}no" >&6
2025fi
2026
2027  test -n "$ac_ct_CC" && break
2028done
2029
2030  CC=$ac_ct_CC
2031fi
2032
2033fi
2034
2035
2036test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2037See \`config.log' for more details." >&5
2038echo "$as_me: error: no acceptable C compiler found in \$PATH
2039See \`config.log' for more details." >&2;}
2040   { (exit 1); exit 1; }; }
2041
2042# Provide some information about the compiler.
2043echo "$as_me:$LINENO:" \
2044     "checking for C compiler version" >&5
2045ac_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
2062cat >conftest.$ac_ext <<_ACEOF
2063/* confdefs.h.  */
2064_ACEOF
2065cat confdefs.h >>conftest.$ac_ext
2066cat >>conftest.$ac_ext <<_ACEOF
2067/* end confdefs.h.  */
2068
2069int
2070main ()
2071{
2072
2073  ;
2074  return 0;
2075}
2076_ACEOF
2077ac_clean_files_save=$ac_clean_files
2078ac_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.
2082echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2083echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2084ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2085if { (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.
2096ac_cv_exeext=
2097# b.out is created by i960 compilers.
2098for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2099do
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
2121done
2122else
2123  echo "$as_me: failed program was:" >&5
2124sed 's/^/| /' conftest.$ac_ext >&5
2125
2126{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2127See \`config.log' for more details." >&5
2128echo "$as_me: error: C compiler cannot create executables
2129See \`config.log' for more details." >&2;}
2130   { (exit 77); exit 77; }; }
2131fi
2132
2133ac_exeext=$ac_cv_exeext
2134echo "$as_me:$LINENO: result: $ac_file" >&5
2135echo "${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.
2139echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2140echo $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.
2143if 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.
2156If you meant to cross compile, use \`--host'.
2157See \`config.log' for more details." >&5
2158echo "$as_me: error: cannot run C compiled programs.
2159If you meant to cross compile, use \`--host'.
2160See \`config.log' for more details." >&2;}
2161   { (exit 1); exit 1; }; }
2162    fi
2163  fi
2164fi
2165echo "$as_me:$LINENO: result: yes" >&5
2166echo "${ECHO_T}yes" >&6
2167
2168rm -f a.out a.exe conftest$ac_cv_exeext b.out
2169ac_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.
2172echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2173echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2174echo "$as_me:$LINENO: result: $cross_compiling" >&5
2175echo "${ECHO_T}$cross_compiling" >&6
2176
2177echo "$as_me:$LINENO: checking for suffix of executables" >&5
2178echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2179if { (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'.
2188for 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
2197done
2198else
2199  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2200See \`config.log' for more details." >&5
2201echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2202See \`config.log' for more details." >&2;}
2203   { (exit 1); exit 1; }; }
2204fi
2205
2206rm -f conftest$ac_cv_exeext
2207echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2208echo "${ECHO_T}$ac_cv_exeext" >&6
2209
2210rm -f conftest.$ac_ext
2211EXEEXT=$ac_cv_exeext
2212ac_exeext=$EXEEXT
2213echo "$as_me:$LINENO: checking for suffix of object files" >&5
2214echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2215if test "${ac_cv_objext+set}" = set; then
2216  echo $ECHO_N "(cached) $ECHO_C" >&6
2217else
2218  cat >conftest.$ac_ext <<_ACEOF
2219/* confdefs.h.  */
2220_ACEOF
2221cat confdefs.h >>conftest.$ac_ext
2222cat >>conftest.$ac_ext <<_ACEOF
2223/* end confdefs.h.  */
2224
2225int
2226main ()
2227{
2228
2229  ;
2230  return 0;
2231}
2232_ACEOF
2233rm -f conftest.o conftest.obj
2234if { (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
2245done
2246else
2247  echo "$as_me: failed program was:" >&5
2248sed 's/^/| /' conftest.$ac_ext >&5
2249
2250{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2251See \`config.log' for more details." >&5
2252echo "$as_me: error: cannot compute suffix of object files: cannot compile
2253See \`config.log' for more details." >&2;}
2254   { (exit 1); exit 1; }; }
2255fi
2256
2257rm -f conftest.$ac_cv_objext conftest.$ac_ext
2258fi
2259echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2260echo "${ECHO_T}$ac_cv_objext" >&6
2261OBJEXT=$ac_cv_objext
2262ac_objext=$OBJEXT
2263echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2264echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2265if test "${ac_cv_c_compiler_gnu+set}" = set; then
2266  echo $ECHO_N "(cached) $ECHO_C" >&6
2267else
2268  cat >conftest.$ac_ext <<_ACEOF
2269/* confdefs.h.  */
2270_ACEOF
2271cat confdefs.h >>conftest.$ac_ext
2272cat >>conftest.$ac_ext <<_ACEOF
2273/* end confdefs.h.  */
2274
2275int
2276main ()
2277{
2278#ifndef __GNUC__
2279       choke me
2280#endif
2281
2282  ;
2283  return 0;
2284}
2285_ACEOF
2286rm -f conftest.$ac_objext
2287if { (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
2309else
2310  echo "$as_me: failed program was:" >&5
2311sed 's/^/| /' conftest.$ac_ext >&5
2312
2313ac_compiler_gnu=no
2314fi
2315rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2316ac_cv_c_compiler_gnu=$ac_compiler_gnu
2317
2318fi
2319echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2320echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2321GCC=`test $ac_compiler_gnu = yes && echo yes`
2322ac_test_CFLAGS=${CFLAGS+set}
2323ac_save_CFLAGS=$CFLAGS
2324CFLAGS="-g"
2325echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2326echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2327if test "${ac_cv_prog_cc_g+set}" = set; then
2328  echo $ECHO_N "(cached) $ECHO_C" >&6
2329else
2330  cat >conftest.$ac_ext <<_ACEOF
2331/* confdefs.h.  */
2332_ACEOF
2333cat confdefs.h >>conftest.$ac_ext
2334cat >>conftest.$ac_ext <<_ACEOF
2335/* end confdefs.h.  */
2336
2337int
2338main ()
2339{
2340
2341  ;
2342  return 0;
2343}
2344_ACEOF
2345rm -f conftest.$ac_objext
2346if { (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
2368else
2369  echo "$as_me: failed program was:" >&5
2370sed 's/^/| /' conftest.$ac_ext >&5
2371
2372ac_cv_prog_cc_g=no
2373fi
2374rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2375fi
2376echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2377echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2378if test "$ac_test_CFLAGS" = set; then
2379  CFLAGS=$ac_save_CFLAGS
2380elif 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
2386else
2387  if test "$GCC" = yes; then
2388    CFLAGS="-O2"
2389  else
2390    CFLAGS=
2391  fi
2392fi
2393echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2394echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2395if test "${ac_cv_prog_cc_stdc+set}" = set; then
2396  echo $ECHO_N "(cached) $ECHO_C" >&6
2397else
2398  ac_cv_prog_cc_stdc=no
2399ac_save_CC=$CC
2400cat >conftest.$ac_ext <<_ACEOF
2401/* confdefs.h.  */
2402_ACEOF
2403cat confdefs.h >>conftest.$ac_ext
2404cat >>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.  */
2411struct buf { int x; };
2412FILE * (*rcsopen) (struct buf *, struct stat *, int);
2413static char *e (p, i)
2414     char **p;
2415     int i;
2416{
2417  return p[i];
2418}
2419static 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.  */
2436int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2437
2438int test (int i, double x);
2439struct s1 {int (*f) (int a);};
2440struct s2 {int (*f) (double a);};
2441int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2442int argc;
2443char **argv;
2444int
2445main ()
2446{
2447return 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__
2459for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2460do
2461  CC="$ac_save_CC $ac_arg"
2462  rm -f conftest.$ac_objext
2463if { (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
2485break
2486else
2487  echo "$as_me: failed program was:" >&5
2488sed 's/^/| /' conftest.$ac_ext >&5
2489
2490fi
2491rm -f conftest.err conftest.$ac_objext
2492done
2493rm -f conftest.$ac_ext conftest.$ac_objext
2494CC=$ac_save_CC
2495
2496fi
2497
2498case "x$ac_cv_prog_cc_stdc" in
2499  x|xno)
2500    echo "$as_me:$LINENO: result: none needed" >&5
2501echo "${ECHO_T}none needed" >&6 ;;
2502  *)
2503    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2504echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2505    CC="$CC $ac_cv_prog_cc_stdc" ;;
2506esac
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.
2512cat >conftest.$ac_ext <<_ACEOF
2513#ifndef __cplusplus
2514  choke me
2515#endif
2516_ACEOF
2517rm -f conftest.$ac_objext
2518if { (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);'
2546do
2547  cat >conftest.$ac_ext <<_ACEOF
2548/* confdefs.h.  */
2549_ACEOF
2550cat confdefs.h >>conftest.$ac_ext
2551cat >>conftest.$ac_ext <<_ACEOF
2552/* end confdefs.h.  */
2553$ac_declaration
2554#include <stdlib.h>
2555int
2556main ()
2557{
2558exit (42);
2559  ;
2560  return 0;
2561}
2562_ACEOF
2563rm -f conftest.$ac_objext
2564if { (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  :
2586else
2587  echo "$as_me: failed program was:" >&5
2588sed 's/^/| /' conftest.$ac_ext >&5
2589
2590continue
2591fi
2592rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2593  cat >conftest.$ac_ext <<_ACEOF
2594/* confdefs.h.  */
2595_ACEOF
2596cat confdefs.h >>conftest.$ac_ext
2597cat >>conftest.$ac_ext <<_ACEOF
2598/* end confdefs.h.  */
2599$ac_declaration
2600int
2601main ()
2602{
2603exit (42);
2604  ;
2605  return 0;
2606}
2607_ACEOF
2608rm -f conftest.$ac_objext
2609if { (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
2631else
2632  echo "$as_me: failed program was:" >&5
2633sed 's/^/| /' conftest.$ac_ext >&5
2634
2635fi
2636rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2637done
2638rm -f conftest*
2639if test -n "$ac_declaration"; then
2640  echo '#ifdef __cplusplus' >>confdefs.h
2641  echo $ac_declaration      >>confdefs.h
2642  echo '#endif'             >>confdefs.h
2643fi
2644
2645else
2646  echo "$as_me: failed program was:" >&5
2647sed 's/^/| /' conftest.$ac_ext >&5
2648
2649fi
2650rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2651ac_ext=c
2652ac_cpp='$CPP $CPPFLAGS'
2653ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2654ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2655ac_compiler_gnu=$ac_cv_c_compiler_gnu
2656DEPDIR="${am__leading_dot}deps"
2657
2658          ac_config_commands="$ac_config_commands depfiles"
2659
2660
2661am_make=${MAKE-make}
2662cat > confinc << 'END'
2663am__doit:
2664	@echo done
2665.PHONY: am__doit
2666END
2667# If we don't find an include directive, just comment out the code.
2668echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2669echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2670am__include="#"
2671am__quote=
2672_am_result=none
2673# First try GNU make style include.
2674echo "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'.
2680if 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
2684fi
2685# Now try BSD make style include.
2686if 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
2693fi
2694
2695
2696echo "$as_me:$LINENO: result: $_am_result" >&5
2697echo "${ECHO_T}$_am_result" >&6
2698rm -f confinc confmf
2699
2700# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2701if test "${enable_dependency_tracking+set}" = set; then
2702  enableval="$enable_dependency_tracking"
2703
2704fi;
2705if test "x$enable_dependency_tracking" != xno; then
2706  am_depcomp="$ac_aux_dir/depcomp"
2707  AMDEPBACKSLASH='\'
2708fi
2709
2710
2711if test "x$enable_dependency_tracking" != xno; then
2712  AMDEP_TRUE=
2713  AMDEP_FALSE='#'
2714else
2715  AMDEP_TRUE='#'
2716  AMDEP_FALSE=
2717fi
2718
2719
2720
2721
2722depcc="$CC"   am_compiler_list=
2723
2724echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2725echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2726if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2727  echo $ECHO_N "(cached) $ECHO_C" >&6
2728else
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
2802else
2803  am_cv_CC_dependencies_compiler_type=none
2804fi
2805
2806fi
2807echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2808echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2809CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2810
2811
2812
2813if
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='#'
2818else
2819  am__fastdepCC_TRUE='#'
2820  am__fastdepCC_FALSE=
2821fi
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.
2837echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2838echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2839if test -z "$INSTALL"; then
2840if test "${ac_cv_path_install+set}" = set; then
2841  echo $ECHO_N "(cached) $ECHO_C" >&6
2842else
2843  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844for as_dir in $PATH
2845do
2846  IFS=$as_save_IFS
2847  test -z "$as_dir" && as_dir=.
2848  # Account for people who put trailing slashes in PATH elements.
2849case $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    ;;
2877esac
2878done
2879
2880
2881fi
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
2891fi
2892echo "$as_me:$LINENO: result: $INSTALL" >&5
2893echo "${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.
2897test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2898
2899test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2900
2901test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2902
2903
2904# Checks for pkg-config packages
2905
2906
2907if 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.
2910set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2911echo "$as_me:$LINENO: checking for $ac_word" >&5
2912echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2913if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
2914  echo $ECHO_N "(cached) $ECHO_C" >&6
2915else
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
2922for as_dir in $PATH
2923do
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
2932done
2933done
2934
2935  ;;
2936esac
2937fi
2938PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2939
2940if test -n "$PKG_CONFIG"; then
2941  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2942echo "${ECHO_T}$PKG_CONFIG" >&6
2943else
2944  echo "$as_me:$LINENO: result: no" >&5
2945echo "${ECHO_T}no" >&6
2946fi
2947
2948fi
2949if 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.
2952set dummy pkg-config; ac_word=$2
2953echo "$as_me:$LINENO: checking for $ac_word" >&5
2954echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2955if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
2956  echo $ECHO_N "(cached) $ECHO_C" >&6
2957else
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
2964for as_dir in $PATH
2965do
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
2974done
2975done
2976
2977  ;;
2978esac
2979fi
2980ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2981
2982if test -n "$ac_pt_PKG_CONFIG"; then
2983  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
2984echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
2985else
2986  echo "$as_me:$LINENO: result: no" >&5
2987echo "${ECHO_T}no" >&6
2988fi
2989
2990  PKG_CONFIG=$ac_pt_PKG_CONFIG
2991else
2992  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2993fi
2994
2995fi
2996if 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
2999echo $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
3002echo "${ECHO_T}yes" >&6
3003	else
3004		echo "$as_me:$LINENO: result: no" >&5
3005echo "${ECHO_T}no" >&6
3006		PKG_CONFIG=""
3007	fi
3008
3009fi
3010
3011pkg_failed=no
3012echo "$as_me:$LINENO: checking for XCMSDB" >&5
3013echo $ECHO_N "checking for XCMSDB... $ECHO_C" >&6
3014
3015if 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`
3026else
3027  pkg_failed=yes
3028fi
3029    fi
3030else
3031	pkg_failed=untried
3032fi
3033if 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`
3044else
3045  pkg_failed=yes
3046fi
3047    fi
3048else
3049	pkg_failed=untried
3050fi
3051
3052
3053
3054if test $pkg_failed = yes; then
3055
3056if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3057        _pkg_short_errors_supported=yes
3058else
3059        _pkg_short_errors_supported=no
3060fi
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
3073Consider adjusting the PKG_CONFIG_PATH environment variable if you
3074installed software in a non-standard prefix.
3075
3076Alternatively, you may set the environment variables XCMSDB_CFLAGS
3077and XCMSDB_LIBS to avoid the need to call pkg-config.
3078See the pkg-config man page for more details.
3079" >&5
3080echo "$as_me: error: Package requirements (x11) were not met:
3081
3082$XCMSDB_PKG_ERRORS
3083
3084Consider adjusting the PKG_CONFIG_PATH environment variable if you
3085installed software in a non-standard prefix.
3086
3087Alternatively, you may set the environment variables XCMSDB_CFLAGS
3088and XCMSDB_LIBS to avoid the need to call pkg-config.
3089See the pkg-config man page for more details.
3090" >&2;}
3091   { (exit 1); exit 1; }; }
3092elif 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
3094is in your PATH or set the PKG_CONFIG environment variable to the full
3095path to pkg-config.
3096
3097Alternatively, you may set the environment variables XCMSDB_CFLAGS
3098and XCMSDB_LIBS to avoid the need to call pkg-config.
3099See the pkg-config man page for more details.
3100
3101To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3102See \`config.log' for more details." >&5
3103echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
3104is in your PATH or set the PKG_CONFIG environment variable to the full
3105path to pkg-config.
3106
3107Alternatively, you may set the environment variables XCMSDB_CFLAGS
3108and XCMSDB_LIBS to avoid the need to call pkg-config.
3109See the pkg-config man page for more details.
3110
3111To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3112See \`config.log' for more details." >&2;}
3113   { (exit 1); exit 1; }; }
3114else
3115	XCMSDB_CFLAGS=$pkg_cv_XCMSDB_CFLAGS
3116	XCMSDB_LIBS=$pkg_cv_XCMSDB_LIBS
3117        echo "$as_me:$LINENO: result: yes" >&5
3118echo "${ECHO_T}yes" >&6
3119	:
3120fi
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
3127echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3128   { (exit 1); exit 1; }; }
3129
3130echo "$as_me:$LINENO: checking build system type" >&5
3131echo $ECHO_N "checking build system type... $ECHO_C" >&6
3132if test "${ac_cv_build+set}" = set; then
3133  echo $ECHO_N "(cached) $ECHO_C" >&6
3134else
3135  ac_cv_build_alias=$build_alias
3136test -z "$ac_cv_build_alias" &&
3137  ac_cv_build_alias=`$ac_config_guess`
3138test -z "$ac_cv_build_alias" &&
3139  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3140echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3141   { (exit 1); exit 1; }; }
3142ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3143  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3144echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3145   { (exit 1); exit 1; }; }
3146
3147fi
3148echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3149echo "${ECHO_T}$ac_cv_build" >&6
3150build=$ac_cv_build
3151build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3152build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3153build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3154
3155
3156echo "$as_me:$LINENO: checking host system type" >&5
3157echo $ECHO_N "checking host system type... $ECHO_C" >&6
3158if test "${ac_cv_host+set}" = set; then
3159  echo $ECHO_N "(cached) $ECHO_C" >&6
3160else
3161  ac_cv_host_alias=$host_alias
3162test -z "$ac_cv_host_alias" &&
3163  ac_cv_host_alias=$ac_cv_build_alias
3164ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3165  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3166echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3167   { (exit 1); exit 1; }; }
3168
3169fi
3170echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3171echo "${ECHO_T}$ac_cv_host" >&6
3172host=$ac_cv_host
3173host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3174host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3175host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3176
3177
3178
3179
3180
3181if 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
3186fi
3187if 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
3192fi
3193
3194if 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
3199fi
3200if 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
3205fi
3206
3207if 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
3213fi
3214if 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
3219fi
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
3223if 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
3229fi
3230if 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
3235fi
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
3239if 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
3245fi
3246if 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
3251fi
3252
3253if 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
3258fi
3259if test x$ADMIN_MAN_DIR = x    ; then
3260    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3261fi
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.
3280if test "${with_release_version+set}" = set; then
3281  withval="$with_release_version"
3282  RELEASE_VERSION="$withval"
3283else
3284  RELEASE_VERSION=""
3285fi;
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
3290echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3291	fi
3292
3293
3294          ac_config_files="$ac_config_files Makefile"
3295cat >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
3340if 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
3347fi
3348rm -f confcache
3349
3350test "x$prefix" = xNONE && prefix=$ac_default_prefix
3351# Let make expand exec_prefix.
3352test "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).
3358if test "x$srcdir" = x.; then
3359  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
3360s/:*\$(srcdir):*/:/;
3361s/:*\${srcdir}:*/:/;
3362s/:*@srcdir@:*/:/;
3363s/^\([^=]*=[	 ]*\):*/\1/;
3364s/:*$//;
3365s/^[^=]*=[	 ]*$//;
3366}'
3367fi
3368
3369DEFS=-DHAVE_CONFIG_H
3370
3371ac_libobjs=
3372ac_ltlibobjs=
3373for 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'
3380done
3381LIBOBJS=$ac_libobjs
3382
3383LTLIBOBJS=$ac_ltlibobjs
3384
3385
3386if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3387  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
3388Usually this means the macro was only invoked conditionally." >&5
3389echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
3390Usually this means the macro was only invoked conditionally." >&2;}
3391   { (exit 1); exit 1; }; }
3392fi
3393if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3394  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3395Usually this means the macro was only invoked conditionally." >&5
3396echo "$as_me: error: conditional \"AMDEP\" was never defined.
3397Usually this means the macro was only invoked conditionally." >&2;}
3398   { (exit 1); exit 1; }; }
3399fi
3400if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3401  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3402Usually this means the macro was only invoked conditionally." >&5
3403echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3404Usually this means the macro was only invoked conditionally." >&2;}
3405   { (exit 1); exit 1; }; }
3406fi
3407
3408: ${CONFIG_STATUS=./config.status}
3409ac_clean_files_save=$ac_clean_files
3410ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3411{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3412echo "$as_me: creating $CONFIG_STATUS" >&6;}
3413cat >$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
3420debug=false
3421ac_cs_recheck=false
3422ac_cs_silent=false
3423SHELL=\${CONFIG_SHELL-$SHELL}
3424_ACEOF
3425
3426cat >>$CONFIG_STATUS <<\_ACEOF
3427## --------------------- ##
3428## M4sh Initialization.  ##
3429## --------------------- ##
3430
3431# Be Bourne compatible
3432if 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+"$@"}'='"$@"'
3438elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3439  set -o posix
3440fi
3441DUALCASE=1; export DUALCASE # for MKS sh
3442
3443# Support unset when possible.
3444if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3445  as_unset=unset
3446else
3447  as_unset=false
3448fi
3449
3450
3451# Work around bugs in pre-3.0 UWIN ksh.
3452$as_unset ENV MAIL MAILPATH
3453PS1='$ '
3454PS2='> '
3455PS4='+ '
3456
3457# NLS nuisances.
3458for 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
3462do
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
3468done
3469
3470# Required to use basename.
3471if expr a : '\(a\)' >/dev/null 2>&1; then
3472  as_expr=expr
3473else
3474  as_expr=false
3475fi
3476
3477if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3478  as_basename=basename
3479else
3480  as_basename=false
3481fi
3482
3483
3484# Name of the executable.
3485as_me=`$as_basename "$0" ||
3486$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3487	 X"$0" : 'X\(//\)$' \| \
3488	 X"$0" : 'X\(/\)$' \| \
3489	 .     : '\(.\)' 2>/dev/null ||
3490echo 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.
3499as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3500as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3501as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3502as_cr_digits='0123456789'
3503as_cr_alnum=$as_cr_Letters$as_cr_digits
3504
3505# The user is always right.
3506if 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
3516fi
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
3529for as_dir in $PATH
3530do
3531  IFS=$as_save_IFS
3532  test -z "$as_dir" && as_dir=.
3533  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3534done
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
3545echo "$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
3551for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3552do
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
3572done
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
3596echo "$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
3608case `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= ;;
3613esac
3614
3615if expr a : '\(a\)' >/dev/null 2>&1; then
3616  as_expr=expr
3617else
3618  as_expr=false
3619fi
3620
3621rm -f conf$$ conf$$.exe conf$$.file
3622echo >conf$$.file
3623if 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
3632elif ln conf$$.file conf$$ 2>/dev/null; then
3633  as_ln_s=ln
3634else
3635  as_ln_s='cp -p'
3636fi
3637rm -f conf$$ conf$$.exe conf$$.file
3638
3639if mkdir -p . 2>/dev/null; then
3640  as_mkdir_p=:
3641else
3642  test -d ./-p && rmdir ./-p
3643  as_mkdir_p=false
3644fi
3645
3646as_executable_p="test -f"
3647
3648# Sed expression to map a string onto a valid CPP name.
3649as_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.
3652as_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.
3657as_nl='
3658'
3659IFS=" 	$as_nl"
3660
3661# CDPATH.
3662$as_unset CDPATH
3663
3664exec 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.
3669exec 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
3676cat >&5 <<_CSEOF
3677
3678This file was extended by xcmsdb $as_me 1.0.1, which was
3679generated 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
3688echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3689echo >&5
3690_ACEOF
3691
3692# Files that config.status was made for.
3693if test -n "$ac_config_files"; then
3694  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3695fi
3696
3697if test -n "$ac_config_headers"; then
3698  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3699fi
3700
3701if test -n "$ac_config_links"; then
3702  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3703fi
3704
3705if test -n "$ac_config_commands"; then
3706  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3707fi
3708
3709cat >>$CONFIG_STATUS <<\_ACEOF
3710
3711ac_cs_usage="\
3712\`$as_me' instantiates files from templates according to the
3713current configuration.
3714
3715Usage: $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
3727Configuration files:
3728$config_files
3729
3730Configuration headers:
3731$config_headers
3732
3733Configuration commands:
3734$config_commands
3735
3736Report bugs to <bug-autoconf@gnu.org>."
3737_ACEOF
3738
3739cat >>$CONFIG_STATUS <<_ACEOF
3740ac_cs_version="\\
3741xcmsdb config.status 1.0.1
3742configured by $0, generated by GNU Autoconf 2.59,
3743  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3744
3745Copyright (C) 2003 Free Software Foundation, Inc.
3746This config.status script is free software; the Free Software Foundation
3747gives unlimited permission to copy, distribute and modify it."
3748srcdir=$srcdir
3749INSTALL="$INSTALL"
3750_ACEOF
3751
3752cat >>$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.
3755ac_need_defaults=:
3756while test $# != 0
3757do
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
3778cat >>$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
3786Try \`$0 --help' for more information." >&5
3787echo "$as_me: error: ambiguous option: $1
3788Try \`$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
3808Try \`$0 --help' for more information." >&5
3809echo "$as_me: error: unrecognized option: $1
3810Try \`$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
3817done
3818
3819ac_configure_extra_args=
3820
3821if $ac_cs_silent; then
3822  exec 6>/dev/null
3823  ac_configure_extra_args="$ac_configure_extra_args --silent"
3824fi
3825
3826_ACEOF
3827cat >>$CONFIG_STATUS <<_ACEOF
3828if \$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
3831fi
3832
3833_ACEOF
3834
3835cat >>$CONFIG_STATUS <<_ACEOF
3836#
3837# INIT-COMMANDS section.
3838#
3839
3840AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3841
3842_ACEOF
3843
3844
3845
3846cat >>$CONFIG_STATUS <<\_ACEOF
3847for ac_config_target in $ac_config_targets
3848do
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
3855echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3856   { (exit 1); exit 1; }; };;
3857  esac
3858done
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.
3864if $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
3868fi
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
3897cat >>$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
3905if 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
3909s,@SHELL@,$SHELL,;t t
3910s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3911s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3912s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3913s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3914s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3915s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3916s,@exec_prefix@,$exec_prefix,;t t
3917s,@prefix@,$prefix,;t t
3918s,@program_transform_name@,$program_transform_name,;t t
3919s,@bindir@,$bindir,;t t
3920s,@sbindir@,$sbindir,;t t
3921s,@libexecdir@,$libexecdir,;t t
3922s,@datadir@,$datadir,;t t
3923s,@sysconfdir@,$sysconfdir,;t t
3924s,@sharedstatedir@,$sharedstatedir,;t t
3925s,@localstatedir@,$localstatedir,;t t
3926s,@libdir@,$libdir,;t t
3927s,@includedir@,$includedir,;t t
3928s,@oldincludedir@,$oldincludedir,;t t
3929s,@infodir@,$infodir,;t t
3930s,@mandir@,$mandir,;t t
3931s,@build_alias@,$build_alias,;t t
3932s,@host_alias@,$host_alias,;t t
3933s,@target_alias@,$target_alias,;t t
3934s,@DEFS@,$DEFS,;t t
3935s,@ECHO_C@,$ECHO_C,;t t
3936s,@ECHO_N@,$ECHO_N,;t t
3937s,@ECHO_T@,$ECHO_T,;t t
3938s,@LIBS@,$LIBS,;t t
3939s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3940s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3941s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3942s,@CYGPATH_W@,$CYGPATH_W,;t t
3943s,@PACKAGE@,$PACKAGE,;t t
3944s,@VERSION@,$VERSION,;t t
3945s,@ACLOCAL@,$ACLOCAL,;t t
3946s,@AUTOCONF@,$AUTOCONF,;t t
3947s,@AUTOMAKE@,$AUTOMAKE,;t t
3948s,@AUTOHEADER@,$AUTOHEADER,;t t
3949s,@MAKEINFO@,$MAKEINFO,;t t
3950s,@AMTAR@,$AMTAR,;t t
3951s,@install_sh@,$install_sh,;t t
3952s,@STRIP@,$STRIP,;t t
3953s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3954s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3955s,@AWK@,$AWK,;t t
3956s,@SET_MAKE@,$SET_MAKE,;t t
3957s,@am__leading_dot@,$am__leading_dot,;t t
3958s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3959s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3960s,@MAINT@,$MAINT,;t t
3961s,@CC@,$CC,;t t
3962s,@CFLAGS@,$CFLAGS,;t t
3963s,@LDFLAGS@,$LDFLAGS,;t t
3964s,@CPPFLAGS@,$CPPFLAGS,;t t
3965s,@ac_ct_CC@,$ac_ct_CC,;t t
3966s,@EXEEXT@,$EXEEXT,;t t
3967s,@OBJEXT@,$OBJEXT,;t t
3968s,@DEPDIR@,$DEPDIR,;t t
3969s,@am__include@,$am__include,;t t
3970s,@am__quote@,$am__quote,;t t
3971s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3972s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3973s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3974s,@CCDEPMODE@,$CCDEPMODE,;t t
3975s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3976s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3977s,@PKG_CONFIG@,$PKG_CONFIG,;t t
3978s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
3979s,@XCMSDB_CFLAGS@,$XCMSDB_CFLAGS,;t t
3980s,@XCMSDB_LIBS@,$XCMSDB_LIBS,;t t
3981s,@build@,$build,;t t
3982s,@build_cpu@,$build_cpu,;t t
3983s,@build_vendor@,$build_vendor,;t t
3984s,@build_os@,$build_os,;t t
3985s,@host@,$host,;t t
3986s,@host_cpu@,$host_cpu,;t t
3987s,@host_vendor@,$host_vendor,;t t
3988s,@host_os@,$host_os,;t t
3989s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
3990s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
3991s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
3992s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
3993s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
3994s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
3995s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
3996s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
3997s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
3998s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
3999s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
4000s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
4001s,@LIBOBJS@,$LIBOBJS,;t t
4002s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4003CEOF
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
4044fi # test -n "$CONFIG_FILES"
4045
4046_ACEOF
4047cat >>$CONFIG_STATUS <<\_ACEOF
4048for 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 ||
4067echo 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 ||
4086echo 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
4095echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4096   { (exit 1); exit 1; }; }; }
4097
4098  ac_builddir=.
4099
4100if 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'`
4104else
4105  ac_dir_suffix= ac_top_builddir=
4106fi
4107
4108case $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 ;;
4122esac
4123
4124# Do not use `cd foo && pwd` to compute absolute paths, because
4125# the directories may not exist.
4126case `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;;
4134esac
4135case $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;;
4143esac
4144case $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;;
4152esac
4153case $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;;
4161esac
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
4171echo "$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
4194echo "$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
4207echo "$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
4213cat >>$CONFIG_STATUS <<_ACEOF
4214  sed "$ac_vpsub
4215$extrasub
4216_ACEOF
4217cat >>$CONFIG_STATUS <<\_ACEOF
4218:t
4219/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4220s,@configure_input@,$configure_input,;t t
4221s,@srcdir@,$ac_srcdir,;t t
4222s,@abs_srcdir@,$ac_abs_srcdir,;t t
4223s,@top_srcdir@,$ac_top_srcdir,;t t
4224s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4225s,@builddir@,$ac_builddir,;t t
4226s,@abs_builddir@,$ac_abs_builddir,;t t
4227s,@top_builddir@,$ac_top_builddir,;t t
4228s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4229s,@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
4239done
4240_ACEOF
4241cat >>$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.
4251ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
4252ac_dB='[	 ].*$,\1#\2'
4253ac_dC=' '
4254ac_dD=',;t'
4255# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4256ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
4257ac_uB='$,\1#\2define\3'
4258ac_uC=' '
4259ac_uD=',;t'
4260
4261for 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
4274echo "$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
4285echo "$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
4299echo "$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.
4316rm -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'.
4323cat >confdef2sed.sed <<\_ACEOF
4324s/[\\&,]/\\&/g
4325s,[\\$`],\\&,g
4326t clear
4327: clear
4328s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4329t end
4330s,^[	 ]*#[	 ]*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.
4336uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4337sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4338rm -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.
4343cat >>conftest.undefs <<\_ACEOF
4344s,^[	 ]*#[	 ]*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).
4349echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4350echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4351echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4352echo '  :' >>$CONFIG_STATUS
4353rm -f conftest.tail
4354while grep . conftest.defines >/dev/null
4355do
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
4372done
4373rm -f conftest.defines
4374echo '  fi # grep' >>$CONFIG_STATUS
4375echo >>$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).
4379echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
4380rm -f conftest.tail
4381while grep . conftest.undefs >/dev/null
4382do
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
4399done
4400rm -f conftest.undefs
4401
4402cat >>$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
4416echo "$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 ||
4424echo 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 ||
4443echo 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
4452echo "$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
4464for _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
4471done
4472echo "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 ||
4478echo 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
4484done
4485_ACEOF
4486cat >>$CONFIG_STATUS <<\_ACEOF
4487
4488#
4489# CONFIG_COMMANDS section.
4490#
4491for 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 ||
4500echo 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 ||
4519echo 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
4528echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4529   { (exit 1); exit 1; }; }; }
4530
4531  ac_builddir=.
4532
4533if 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'`
4537else
4538  ac_dir_suffix= ac_top_builddir=
4539fi
4540
4541case $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 ;;
4555esac
4556
4557# Do not use `cd foo && pwd` to compute absolute paths, because
4558# the directories may not exist.
4559case `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;;
4567esac
4568case $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;;
4576esac
4577case $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;;
4585esac
4586case $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;;
4594esac
4595
4596
4597  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4598echo "$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 ||
4616echo 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 ||
4655echo 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 ||
4674echo 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
4683echo "$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
4689done
4690 ;;
4691  esac
4692done
4693_ACEOF
4694
4695cat >>$CONFIG_STATUS <<\_ACEOF
4696
4697{ (exit 0); exit 0; }
4698_ACEOF
4699chmod +x $CONFIG_STATUS
4700ac_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.
4711if 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; }
4722fi
4723
4724