configure revision fd7d9bd3
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for xgc 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='xgc'
271PACKAGE_TARNAME='xgc'
272PACKAGE_VERSION='1.0.1'
273PACKAGE_STRING='xgc 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 LEX 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 LEXLIB LEX_OUTPUT_ROOT YACC PKG_CONFIG ac_pt_PKG_CONFIG TMP_XAW_CFLAGS TMP_XAW_LIBS XAW_USE_XPRINT_TRUE XAW_USE_XPRINT_FALSE XGC_CFLAGS XGC_LIBS APPDEFS_CFLAGS APPDEFS_LIBS appdefaultdir 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_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set}
738ac_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS
739ac_cv_env_TMP_XAW_CFLAGS_set=${TMP_XAW_CFLAGS+set}
740ac_cv_env_TMP_XAW_CFLAGS_value=$TMP_XAW_CFLAGS
741ac_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set}
742ac_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS
743ac_cv_env_TMP_XAW_LIBS_set=${TMP_XAW_LIBS+set}
744ac_cv_env_TMP_XAW_LIBS_value=$TMP_XAW_LIBS
745ac_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set}
746ac_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS
747ac_cv_env_APPDEFS_CFLAGS_set=${APPDEFS_CFLAGS+set}
748ac_cv_env_APPDEFS_CFLAGS_value=$APPDEFS_CFLAGS
749ac_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set}
750ac_env_APPDEFS_LIBS_value=$APPDEFS_LIBS
751ac_cv_env_APPDEFS_LIBS_set=${APPDEFS_LIBS+set}
752ac_cv_env_APPDEFS_LIBS_value=$APPDEFS_LIBS
753
754#
755# Report the --help message.
756#
757if test "$ac_init_help" = "long"; then
758  # Omit some internal or obsolete options to make the list less imposing.
759  # This message is too long to be a string in the A/UX 3.1 sh.
760  cat <<_ACEOF
761\`configure' configures xgc 1.0.1 to adapt to many kinds of systems.
762
763Usage: $0 [OPTION]... [VAR=VALUE]...
764
765To assign environment variables (e.g., CC, CFLAGS...), specify them as
766VAR=VALUE.  See below for descriptions of some of the useful variables.
767
768Defaults for the options are specified in brackets.
769
770Configuration:
771  -h, --help              display this help and exit
772      --help=short        display options specific to this package
773      --help=recursive    display the short help of all the included packages
774  -V, --version           display version information and exit
775  -q, --quiet, --silent   do not print \`checking...' messages
776      --cache-file=FILE   cache test results in FILE [disabled]
777  -C, --config-cache      alias for \`--cache-file=config.cache'
778  -n, --no-create         do not create output files
779      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
780
781_ACEOF
782
783  cat <<_ACEOF
784Installation directories:
785  --prefix=PREFIX         install architecture-independent files in PREFIX
786			  [$ac_default_prefix]
787  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
788			  [PREFIX]
789
790By default, \`make install' will install all the files in
791\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
792an installation prefix other than \`$ac_default_prefix' using \`--prefix',
793for instance \`--prefix=\$HOME'.
794
795For better control, use the options below.
796
797Fine tuning of the installation directories:
798  --bindir=DIR           user executables [EPREFIX/bin]
799  --sbindir=DIR          system admin executables [EPREFIX/sbin]
800  --libexecdir=DIR       program executables [EPREFIX/libexec]
801  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
802  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
803  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
804  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
805  --libdir=DIR           object code libraries [EPREFIX/lib]
806  --includedir=DIR       C header files [PREFIX/include]
807  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
808  --infodir=DIR          info documentation [PREFIX/info]
809  --mandir=DIR           man documentation [PREFIX/man]
810_ACEOF
811
812  cat <<\_ACEOF
813
814Program names:
815  --program-prefix=PREFIX            prepend PREFIX to installed program names
816  --program-suffix=SUFFIX            append SUFFIX to installed program names
817  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
818
819System types:
820  --build=BUILD     configure for building on BUILD [guessed]
821  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
822_ACEOF
823fi
824
825if test -n "$ac_init_help"; then
826  case $ac_init_help in
827     short | recursive ) echo "Configuration of xgc 1.0.1:";;
828   esac
829  cat <<\_ACEOF
830
831Optional Features:
832  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
833  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
834  --enable-maintainer-mode enable make rules and dependencies not useful
835                          (and sometimes confusing) to the casual installer
836  --disable-dependency-tracking Speeds up one-time builds
837  --enable-dependency-tracking  Do not reject slow dependency extractors
838  --enable-xprint         Enable XPrint support
839
840Optional Packages:
841  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
842  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
843  --with-release-version=STRING
844                          Use release version string in package name
845
846Some influential environment variables:
847  CC          C compiler command
848  CFLAGS      C compiler flags
849  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
850              nonstandard directory <lib dir>
851  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
852              headers in a nonstandard directory <include dir>
853  PKG_CONFIG  path to pkg-config utility
854  TMP_XAW_CFLAGS
855              C compiler flags for TMP_XAW, overriding pkg-config
856  TMP_XAW_LIBS
857              linker flags for TMP_XAW, overriding pkg-config
858  APPDEFS_CFLAGS
859              C compiler flags for APPDEFS, overriding pkg-config
860  APPDEFS_LIBS
861              linker flags for APPDEFS, overriding pkg-config
862
863Use these variables to override the choices made by `configure' or to help
864it to find libraries and programs with nonstandard names/locations.
865
866Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
867_ACEOF
868fi
869
870if test "$ac_init_help" = "recursive"; then
871  # If there are subdirs, report their specific --help.
872  ac_popdir=`pwd`
873  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
874    test -d $ac_dir || continue
875    ac_builddir=.
876
877if test "$ac_dir" != .; then
878  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
879  # A "../" for each directory in $ac_dir_suffix.
880  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
881else
882  ac_dir_suffix= ac_top_builddir=
883fi
884
885case $srcdir in
886  .)  # No --srcdir option.  We are building in place.
887    ac_srcdir=.
888    if test -z "$ac_top_builddir"; then
889       ac_top_srcdir=.
890    else
891       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
892    fi ;;
893  [\\/]* | ?:[\\/]* )  # Absolute path.
894    ac_srcdir=$srcdir$ac_dir_suffix;
895    ac_top_srcdir=$srcdir ;;
896  *) # Relative path.
897    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
898    ac_top_srcdir=$ac_top_builddir$srcdir ;;
899esac
900
901# Do not use `cd foo && pwd` to compute absolute paths, because
902# the directories may not exist.
903case `pwd` in
904.) ac_abs_builddir="$ac_dir";;
905*)
906  case "$ac_dir" in
907  .) ac_abs_builddir=`pwd`;;
908  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
909  *) ac_abs_builddir=`pwd`/"$ac_dir";;
910  esac;;
911esac
912case $ac_abs_builddir in
913.) ac_abs_top_builddir=${ac_top_builddir}.;;
914*)
915  case ${ac_top_builddir}. in
916  .) ac_abs_top_builddir=$ac_abs_builddir;;
917  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
918  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
919  esac;;
920esac
921case $ac_abs_builddir in
922.) ac_abs_srcdir=$ac_srcdir;;
923*)
924  case $ac_srcdir in
925  .) ac_abs_srcdir=$ac_abs_builddir;;
926  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
927  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
928  esac;;
929esac
930case $ac_abs_builddir in
931.) ac_abs_top_srcdir=$ac_top_srcdir;;
932*)
933  case $ac_top_srcdir in
934  .) ac_abs_top_srcdir=$ac_abs_builddir;;
935  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
936  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
937  esac;;
938esac
939
940    cd $ac_dir
941    # Check for guested configure; otherwise get Cygnus style configure.
942    if test -f $ac_srcdir/configure.gnu; then
943      echo
944      $SHELL $ac_srcdir/configure.gnu  --help=recursive
945    elif test -f $ac_srcdir/configure; then
946      echo
947      $SHELL $ac_srcdir/configure  --help=recursive
948    elif test -f $ac_srcdir/configure.ac ||
949	   test -f $ac_srcdir/configure.in; then
950      echo
951      $ac_configure --help
952    else
953      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
954    fi
955    cd $ac_popdir
956  done
957fi
958
959test -n "$ac_init_help" && exit 0
960if $ac_init_version; then
961  cat <<\_ACEOF
962xgc configure 1.0.1
963generated by GNU Autoconf 2.59
964
965Copyright (C) 2003 Free Software Foundation, Inc.
966This configure script is free software; the Free Software Foundation
967gives unlimited permission to copy, distribute and modify it.
968_ACEOF
969  exit 0
970fi
971exec 5>config.log
972cat >&5 <<_ACEOF
973This file contains any messages produced by compilers while
974running configure, to aid debugging if configure makes a mistake.
975
976It was created by xgc $as_me 1.0.1, which was
977generated by GNU Autoconf 2.59.  Invocation command line was
978
979  $ $0 $@
980
981_ACEOF
982{
983cat <<_ASUNAME
984## --------- ##
985## Platform. ##
986## --------- ##
987
988hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
989uname -m = `(uname -m) 2>/dev/null || echo unknown`
990uname -r = `(uname -r) 2>/dev/null || echo unknown`
991uname -s = `(uname -s) 2>/dev/null || echo unknown`
992uname -v = `(uname -v) 2>/dev/null || echo unknown`
993
994/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
995/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
996
997/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
998/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
999/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1000hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1001/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1002/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1003/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1004
1005_ASUNAME
1006
1007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1008for as_dir in $PATH
1009do
1010  IFS=$as_save_IFS
1011  test -z "$as_dir" && as_dir=.
1012  echo "PATH: $as_dir"
1013done
1014
1015} >&5
1016
1017cat >&5 <<_ACEOF
1018
1019
1020## ----------- ##
1021## Core tests. ##
1022## ----------- ##
1023
1024_ACEOF
1025
1026
1027# Keep a trace of the command line.
1028# Strip out --no-create and --no-recursion so they do not pile up.
1029# Strip out --silent because we don't want to record it for future runs.
1030# Also quote any args containing shell meta-characters.
1031# Make two passes to allow for proper duplicate-argument suppression.
1032ac_configure_args=
1033ac_configure_args0=
1034ac_configure_args1=
1035ac_sep=
1036ac_must_keep_next=false
1037for ac_pass in 1 2
1038do
1039  for ac_arg
1040  do
1041    case $ac_arg in
1042    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1043    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1044    | -silent | --silent | --silen | --sile | --sil)
1045      continue ;;
1046    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1047      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1048    esac
1049    case $ac_pass in
1050    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1051    2)
1052      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1053      if test $ac_must_keep_next = true; then
1054	ac_must_keep_next=false # Got value, back to normal.
1055      else
1056	case $ac_arg in
1057	  *=* | --config-cache | -C | -disable-* | --disable-* \
1058	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1059	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1060	  | -with-* | --with-* | -without-* | --without-* | --x)
1061	    case "$ac_configure_args0 " in
1062	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1063	    esac
1064	    ;;
1065	  -* ) ac_must_keep_next=true ;;
1066	esac
1067      fi
1068      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1069      # Get rid of the leading space.
1070      ac_sep=" "
1071      ;;
1072    esac
1073  done
1074done
1075$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1076$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1077
1078# When interrupted or exit'd, cleanup temporary files, and complete
1079# config.log.  We remove comments because anyway the quotes in there
1080# would cause problems or look ugly.
1081# WARNING: Be sure not to use single quotes in there, as some shells,
1082# such as our DU 5.0 friend, will then `close' the trap.
1083trap 'exit_status=$?
1084  # Save into config.log some information that might help in debugging.
1085  {
1086    echo
1087
1088    cat <<\_ASBOX
1089## ---------------- ##
1090## Cache variables. ##
1091## ---------------- ##
1092_ASBOX
1093    echo
1094    # The following way of writing the cache mishandles newlines in values,
1095{
1096  (set) 2>&1 |
1097    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1098    *ac_space=\ *)
1099      sed -n \
1100	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1101	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1102      ;;
1103    *)
1104      sed -n \
1105	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1106      ;;
1107    esac;
1108}
1109    echo
1110
1111    cat <<\_ASBOX
1112## ----------------- ##
1113## Output variables. ##
1114## ----------------- ##
1115_ASBOX
1116    echo
1117    for ac_var in $ac_subst_vars
1118    do
1119      eval ac_val=$`echo $ac_var`
1120      echo "$ac_var='"'"'$ac_val'"'"'"
1121    done | sort
1122    echo
1123
1124    if test -n "$ac_subst_files"; then
1125      cat <<\_ASBOX
1126## ------------- ##
1127## Output files. ##
1128## ------------- ##
1129_ASBOX
1130      echo
1131      for ac_var in $ac_subst_files
1132      do
1133	eval ac_val=$`echo $ac_var`
1134	echo "$ac_var='"'"'$ac_val'"'"'"
1135      done | sort
1136      echo
1137    fi
1138
1139    if test -s confdefs.h; then
1140      cat <<\_ASBOX
1141## ----------- ##
1142## confdefs.h. ##
1143## ----------- ##
1144_ASBOX
1145      echo
1146      sed "/^$/d" confdefs.h | sort
1147      echo
1148    fi
1149    test "$ac_signal" != 0 &&
1150      echo "$as_me: caught signal $ac_signal"
1151    echo "$as_me: exit $exit_status"
1152  } >&5
1153  rm -f core *.core &&
1154  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1155    exit $exit_status
1156     ' 0
1157for ac_signal in 1 2 13 15; do
1158  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1159done
1160ac_signal=0
1161
1162# confdefs.h avoids OS command line length limits that DEFS can exceed.
1163rm -rf conftest* confdefs.h
1164# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1165echo >confdefs.h
1166
1167# Predefined preprocessor variables.
1168
1169cat >>confdefs.h <<_ACEOF
1170#define PACKAGE_NAME "$PACKAGE_NAME"
1171_ACEOF
1172
1173
1174cat >>confdefs.h <<_ACEOF
1175#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1176_ACEOF
1177
1178
1179cat >>confdefs.h <<_ACEOF
1180#define PACKAGE_VERSION "$PACKAGE_VERSION"
1181_ACEOF
1182
1183
1184cat >>confdefs.h <<_ACEOF
1185#define PACKAGE_STRING "$PACKAGE_STRING"
1186_ACEOF
1187
1188
1189cat >>confdefs.h <<_ACEOF
1190#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1191_ACEOF
1192
1193
1194# Let the site file select an alternate cache file if it wants to.
1195# Prefer explicitly selected file to automatically selected ones.
1196if test -z "$CONFIG_SITE"; then
1197  if test "x$prefix" != xNONE; then
1198    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1199  else
1200    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1201  fi
1202fi
1203for ac_site_file in $CONFIG_SITE; do
1204  if test -r "$ac_site_file"; then
1205    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1206echo "$as_me: loading site script $ac_site_file" >&6;}
1207    sed 's/^/| /' "$ac_site_file" >&5
1208    . "$ac_site_file"
1209  fi
1210done
1211
1212if test -r "$cache_file"; then
1213  # Some versions of bash will fail to source /dev/null (special
1214  # files actually), so we avoid doing that.
1215  if test -f "$cache_file"; then
1216    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1217echo "$as_me: loading cache $cache_file" >&6;}
1218    case $cache_file in
1219      [\\/]* | ?:[\\/]* ) . $cache_file;;
1220      *)                      . ./$cache_file;;
1221    esac
1222  fi
1223else
1224  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1225echo "$as_me: creating cache $cache_file" >&6;}
1226  >$cache_file
1227fi
1228
1229# Check that the precious variables saved in the cache have kept the same
1230# value.
1231ac_cache_corrupted=false
1232for ac_var in `(set) 2>&1 |
1233	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1234  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1235  eval ac_new_set=\$ac_env_${ac_var}_set
1236  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1237  eval ac_new_val="\$ac_env_${ac_var}_value"
1238  case $ac_old_set,$ac_new_set in
1239    set,)
1240      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1241echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1242      ac_cache_corrupted=: ;;
1243    ,set)
1244      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1245echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1246      ac_cache_corrupted=: ;;
1247    ,);;
1248    *)
1249      if test "x$ac_old_val" != "x$ac_new_val"; then
1250	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1251echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1252	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1253echo "$as_me:   former value:  $ac_old_val" >&2;}
1254	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1255echo "$as_me:   current value: $ac_new_val" >&2;}
1256	ac_cache_corrupted=:
1257      fi;;
1258  esac
1259  # Pass precious variables to config.status.
1260  if test "$ac_new_set" = set; then
1261    case $ac_new_val in
1262    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1263      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1264    *) ac_arg=$ac_var=$ac_new_val ;;
1265    esac
1266    case " $ac_configure_args " in
1267      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1268      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1269    esac
1270  fi
1271done
1272if $ac_cache_corrupted; then
1273  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1274echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1275  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1276echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1277   { (exit 1); exit 1; }; }
1278fi
1279
1280ac_ext=c
1281ac_cpp='$CPP $CPPFLAGS'
1282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1284ac_compiler_gnu=$ac_cv_c_compiler_gnu
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312am__api_version="1.7"
1313ac_aux_dir=
1314for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1315  if test -f $ac_dir/install-sh; then
1316    ac_aux_dir=$ac_dir
1317    ac_install_sh="$ac_aux_dir/install-sh -c"
1318    break
1319  elif test -f $ac_dir/install.sh; then
1320    ac_aux_dir=$ac_dir
1321    ac_install_sh="$ac_aux_dir/install.sh -c"
1322    break
1323  elif test -f $ac_dir/shtool; then
1324    ac_aux_dir=$ac_dir
1325    ac_install_sh="$ac_aux_dir/shtool install -c"
1326    break
1327  fi
1328done
1329if test -z "$ac_aux_dir"; then
1330  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1331echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1332   { (exit 1); exit 1; }; }
1333fi
1334ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1335ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1336ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1337
1338# Find a good install program.  We prefer a C program (faster),
1339# so one script is as good as another.  But avoid the broken or
1340# incompatible versions:
1341# SysV /etc/install, /usr/sbin/install
1342# SunOS /usr/etc/install
1343# IRIX /sbin/install
1344# AIX /bin/install
1345# AmigaOS /C/install, which installs bootblocks on floppy discs
1346# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1347# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1348# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1349# OS/2's system install, which has a completely different semantic
1350# ./install, which can be erroneously created by make from ./install.sh.
1351echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1352echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1353if test -z "$INSTALL"; then
1354if test "${ac_cv_path_install+set}" = set; then
1355  echo $ECHO_N "(cached) $ECHO_C" >&6
1356else
1357  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1358for as_dir in $PATH
1359do
1360  IFS=$as_save_IFS
1361  test -z "$as_dir" && as_dir=.
1362  # Account for people who put trailing slashes in PATH elements.
1363case $as_dir/ in
1364  ./ | .// | /cC/* | \
1365  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1366  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1367  /usr/ucb/* ) ;;
1368  *)
1369    # OSF1 and SCO ODT 3.0 have their own names for install.
1370    # Don't use installbsd from OSF since it installs stuff as root
1371    # by default.
1372    for ac_prog in ginstall scoinst install; do
1373      for ac_exec_ext in '' $ac_executable_extensions; do
1374	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1375	  if test $ac_prog = install &&
1376	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1377	    # AIX install.  It has an incompatible calling convention.
1378	    :
1379	  elif test $ac_prog = install &&
1380	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1381	    # program-specific install script used by HP pwplus--don't use.
1382	    :
1383	  else
1384	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1385	    break 3
1386	  fi
1387	fi
1388      done
1389    done
1390    ;;
1391esac
1392done
1393
1394
1395fi
1396  if test "${ac_cv_path_install+set}" = set; then
1397    INSTALL=$ac_cv_path_install
1398  else
1399    # As a last resort, use the slow shell script.  We don't cache a
1400    # path for INSTALL within a source directory, because that will
1401    # break other packages using the cache if that directory is
1402    # removed, or if the path is relative.
1403    INSTALL=$ac_install_sh
1404  fi
1405fi
1406echo "$as_me:$LINENO: result: $INSTALL" >&5
1407echo "${ECHO_T}$INSTALL" >&6
1408
1409# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1410# It thinks the first close brace ends the variable substitution.
1411test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1412
1413test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1414
1415test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1416
1417echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1418echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1419# Just in case
1420sleep 1
1421echo timestamp > conftest.file
1422# Do `set' in a subshell so we don't clobber the current shell's
1423# arguments.  Must try -L first in case configure is actually a
1424# symlink; some systems play weird games with the mod time of symlinks
1425# (eg FreeBSD returns the mod time of the symlink's containing
1426# directory).
1427if (
1428   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1429   if test "$*" = "X"; then
1430      # -L didn't work.
1431      set X `ls -t $srcdir/configure conftest.file`
1432   fi
1433   rm -f conftest.file
1434   if test "$*" != "X $srcdir/configure conftest.file" \
1435      && test "$*" != "X conftest.file $srcdir/configure"; then
1436
1437      # If neither matched, then we have a broken ls.  This can happen
1438      # if, for instance, CONFIG_SHELL is bash and it inherits a
1439      # broken ls alias from the environment.  This has actually
1440      # happened.  Such a system could not be considered "sane".
1441      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1442alias in your environment" >&5
1443echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1444alias in your environment" >&2;}
1445   { (exit 1); exit 1; }; }
1446   fi
1447
1448   test "$2" = conftest.file
1449   )
1450then
1451   # Ok.
1452   :
1453else
1454   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1455Check your system clock" >&5
1456echo "$as_me: error: newly created file is older than distributed files!
1457Check your system clock" >&2;}
1458   { (exit 1); exit 1; }; }
1459fi
1460echo "$as_me:$LINENO: result: yes" >&5
1461echo "${ECHO_T}yes" >&6
1462test "$program_prefix" != NONE &&
1463  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1464# Use a double $ so make ignores it.
1465test "$program_suffix" != NONE &&
1466  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1467# Double any \ or $.  echo might interpret backslashes.
1468# By default was `s,x,x', remove it if useless.
1469cat <<\_ACEOF >conftest.sed
1470s/[\\$]/&&/g;s/;s,x,x,$//
1471_ACEOF
1472program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1473rm conftest.sed
1474
1475
1476# expand $ac_aux_dir to an absolute path
1477am_aux_dir=`cd $ac_aux_dir && pwd`
1478
1479test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1480# Use eval to expand $SHELL
1481if eval "$MISSING --run true"; then
1482  am_missing_run="$MISSING --run "
1483else
1484  am_missing_run=
1485  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1486echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1487fi
1488
1489for ac_prog in gawk mawk nawk awk
1490do
1491  # Extract the first word of "$ac_prog", so it can be a program name with args.
1492set dummy $ac_prog; ac_word=$2
1493echo "$as_me:$LINENO: checking for $ac_word" >&5
1494echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1495if test "${ac_cv_prog_AWK+set}" = set; then
1496  echo $ECHO_N "(cached) $ECHO_C" >&6
1497else
1498  if test -n "$AWK"; then
1499  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1500else
1501as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502for as_dir in $PATH
1503do
1504  IFS=$as_save_IFS
1505  test -z "$as_dir" && as_dir=.
1506  for ac_exec_ext in '' $ac_executable_extensions; do
1507  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1508    ac_cv_prog_AWK="$ac_prog"
1509    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1510    break 2
1511  fi
1512done
1513done
1514
1515fi
1516fi
1517AWK=$ac_cv_prog_AWK
1518if test -n "$AWK"; then
1519  echo "$as_me:$LINENO: result: $AWK" >&5
1520echo "${ECHO_T}$AWK" >&6
1521else
1522  echo "$as_me:$LINENO: result: no" >&5
1523echo "${ECHO_T}no" >&6
1524fi
1525
1526  test -n "$AWK" && break
1527done
1528
1529echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1530echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1531set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1532if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1533  echo $ECHO_N "(cached) $ECHO_C" >&6
1534else
1535  cat >conftest.make <<\_ACEOF
1536all:
1537	@echo 'ac_maketemp="$(MAKE)"'
1538_ACEOF
1539# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1540eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1541if test -n "$ac_maketemp"; then
1542  eval ac_cv_prog_make_${ac_make}_set=yes
1543else
1544  eval ac_cv_prog_make_${ac_make}_set=no
1545fi
1546rm -f conftest.make
1547fi
1548if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1549  echo "$as_me:$LINENO: result: yes" >&5
1550echo "${ECHO_T}yes" >&6
1551  SET_MAKE=
1552else
1553  echo "$as_me:$LINENO: result: no" >&5
1554echo "${ECHO_T}no" >&6
1555  SET_MAKE="MAKE=${MAKE-make}"
1556fi
1557
1558rm -rf .tst 2>/dev/null
1559mkdir .tst 2>/dev/null
1560if test -d .tst; then
1561  am__leading_dot=.
1562else
1563  am__leading_dot=_
1564fi
1565rmdir .tst 2>/dev/null
1566
1567 # test to see if srcdir already configured
1568if test "`cd $srcdir && pwd`" != "`pwd`" &&
1569   test -f $srcdir/config.status; then
1570  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1571echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1572   { (exit 1); exit 1; }; }
1573fi
1574
1575# test whether we have cygpath
1576if test -z "$CYGPATH_W"; then
1577  if (cygpath --version) >/dev/null 2>/dev/null; then
1578    CYGPATH_W='cygpath -w'
1579  else
1580    CYGPATH_W=echo
1581  fi
1582fi
1583
1584
1585# Define the identity of the package.
1586 PACKAGE='xgc'
1587 VERSION='1.0.1'
1588
1589
1590cat >>confdefs.h <<_ACEOF
1591#define PACKAGE "$PACKAGE"
1592_ACEOF
1593
1594
1595cat >>confdefs.h <<_ACEOF
1596#define VERSION "$VERSION"
1597_ACEOF
1598
1599# Some tools Automake needs.
1600
1601ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1602
1603
1604AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1605
1606
1607AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1608
1609
1610AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1611
1612
1613MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1614
1615
1616AMTAR=${AMTAR-"${am_missing_run}tar"}
1617
1618install_sh=${install_sh-"$am_aux_dir/install-sh"}
1619
1620# Installed binaries are usually stripped using `strip' when the user
1621# run `make install-strip'.  However `strip' might not be the right
1622# tool to use in cross-compilation environments, therefore Automake
1623# will honor the `STRIP' environment variable to overrule this program.
1624if test "$cross_compiling" != no; then
1625  if test -n "$ac_tool_prefix"; then
1626  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1627set dummy ${ac_tool_prefix}strip; ac_word=$2
1628echo "$as_me:$LINENO: checking for $ac_word" >&5
1629echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1630if test "${ac_cv_prog_STRIP+set}" = set; then
1631  echo $ECHO_N "(cached) $ECHO_C" >&6
1632else
1633  if test -n "$STRIP"; then
1634  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1635else
1636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1637for as_dir in $PATH
1638do
1639  IFS=$as_save_IFS
1640  test -z "$as_dir" && as_dir=.
1641  for ac_exec_ext in '' $ac_executable_extensions; do
1642  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1643    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1644    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1645    break 2
1646  fi
1647done
1648done
1649
1650fi
1651fi
1652STRIP=$ac_cv_prog_STRIP
1653if test -n "$STRIP"; then
1654  echo "$as_me:$LINENO: result: $STRIP" >&5
1655echo "${ECHO_T}$STRIP" >&6
1656else
1657  echo "$as_me:$LINENO: result: no" >&5
1658echo "${ECHO_T}no" >&6
1659fi
1660
1661fi
1662if test -z "$ac_cv_prog_STRIP"; then
1663  ac_ct_STRIP=$STRIP
1664  # Extract the first word of "strip", so it can be a program name with args.
1665set dummy strip; ac_word=$2
1666echo "$as_me:$LINENO: checking for $ac_word" >&5
1667echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1668if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1669  echo $ECHO_N "(cached) $ECHO_C" >&6
1670else
1671  if test -n "$ac_ct_STRIP"; then
1672  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1673else
1674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675for as_dir in $PATH
1676do
1677  IFS=$as_save_IFS
1678  test -z "$as_dir" && as_dir=.
1679  for ac_exec_ext in '' $ac_executable_extensions; do
1680  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1681    ac_cv_prog_ac_ct_STRIP="strip"
1682    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1683    break 2
1684  fi
1685done
1686done
1687
1688  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1689fi
1690fi
1691ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1692if test -n "$ac_ct_STRIP"; then
1693  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1694echo "${ECHO_T}$ac_ct_STRIP" >&6
1695else
1696  echo "$as_me:$LINENO: result: no" >&5
1697echo "${ECHO_T}no" >&6
1698fi
1699
1700  STRIP=$ac_ct_STRIP
1701else
1702  STRIP="$ac_cv_prog_STRIP"
1703fi
1704
1705fi
1706INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1707
1708# We need awk for the "check" target.  The system "awk" is bad on
1709# some platforms.
1710
1711
1712
1713echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1714echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1715    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1716if test "${enable_maintainer_mode+set}" = set; then
1717  enableval="$enable_maintainer_mode"
1718  USE_MAINTAINER_MODE=$enableval
1719else
1720  USE_MAINTAINER_MODE=no
1721fi;
1722  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1723echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1724
1725
1726if test $USE_MAINTAINER_MODE = yes; then
1727  MAINTAINER_MODE_TRUE=
1728  MAINTAINER_MODE_FALSE='#'
1729else
1730  MAINTAINER_MODE_TRUE='#'
1731  MAINTAINER_MODE_FALSE=
1732fi
1733
1734  MAINT=$MAINTAINER_MODE_TRUE
1735
1736
1737
1738          ac_config_headers="$ac_config_headers config.h"
1739
1740
1741DEPDIR="${am__leading_dot}deps"
1742
1743          ac_config_commands="$ac_config_commands depfiles"
1744
1745
1746am_make=${MAKE-make}
1747cat > confinc << 'END'
1748am__doit:
1749	@echo done
1750.PHONY: am__doit
1751END
1752# If we don't find an include directive, just comment out the code.
1753echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1754echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1755am__include="#"
1756am__quote=
1757_am_result=none
1758# First try GNU make style include.
1759echo "include confinc" > confmf
1760# We grep out `Entering directory' and `Leaving directory'
1761# messages which can occur if `w' ends up in MAKEFLAGS.
1762# In particular we don't look at `^make:' because GNU make might
1763# be invoked under some other name (usually "gmake"), in which
1764# case it prints its new name instead of `make'.
1765if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1766   am__include=include
1767   am__quote=
1768   _am_result=GNU
1769fi
1770# Now try BSD make style include.
1771if test "$am__include" = "#"; then
1772   echo '.include "confinc"' > confmf
1773   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1774      am__include=.include
1775      am__quote="\""
1776      _am_result=BSD
1777   fi
1778fi
1779
1780
1781echo "$as_me:$LINENO: result: $_am_result" >&5
1782echo "${ECHO_T}$_am_result" >&6
1783rm -f confinc confmf
1784
1785# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1786if test "${enable_dependency_tracking+set}" = set; then
1787  enableval="$enable_dependency_tracking"
1788
1789fi;
1790if test "x$enable_dependency_tracking" != xno; then
1791  am_depcomp="$ac_aux_dir/depcomp"
1792  AMDEPBACKSLASH='\'
1793fi
1794
1795
1796if test "x$enable_dependency_tracking" != xno; then
1797  AMDEP_TRUE=
1798  AMDEP_FALSE='#'
1799else
1800  AMDEP_TRUE='#'
1801  AMDEP_FALSE=
1802fi
1803
1804
1805
1806ac_ext=c
1807ac_cpp='$CPP $CPPFLAGS'
1808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1810ac_compiler_gnu=$ac_cv_c_compiler_gnu
1811if test -n "$ac_tool_prefix"; then
1812  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1813set dummy ${ac_tool_prefix}gcc; ac_word=$2
1814echo "$as_me:$LINENO: checking for $ac_word" >&5
1815echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1816if test "${ac_cv_prog_CC+set}" = set; then
1817  echo $ECHO_N "(cached) $ECHO_C" >&6
1818else
1819  if test -n "$CC"; then
1820  ac_cv_prog_CC="$CC" # Let the user override the test.
1821else
1822as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1823for as_dir in $PATH
1824do
1825  IFS=$as_save_IFS
1826  test -z "$as_dir" && as_dir=.
1827  for ac_exec_ext in '' $ac_executable_extensions; do
1828  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1829    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1830    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831    break 2
1832  fi
1833done
1834done
1835
1836fi
1837fi
1838CC=$ac_cv_prog_CC
1839if test -n "$CC"; then
1840  echo "$as_me:$LINENO: result: $CC" >&5
1841echo "${ECHO_T}$CC" >&6
1842else
1843  echo "$as_me:$LINENO: result: no" >&5
1844echo "${ECHO_T}no" >&6
1845fi
1846
1847fi
1848if test -z "$ac_cv_prog_CC"; then
1849  ac_ct_CC=$CC
1850  # Extract the first word of "gcc", so it can be a program name with args.
1851set dummy gcc; ac_word=$2
1852echo "$as_me:$LINENO: checking for $ac_word" >&5
1853echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1854if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1855  echo $ECHO_N "(cached) $ECHO_C" >&6
1856else
1857  if test -n "$ac_ct_CC"; then
1858  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1859else
1860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861for as_dir in $PATH
1862do
1863  IFS=$as_save_IFS
1864  test -z "$as_dir" && as_dir=.
1865  for ac_exec_ext in '' $ac_executable_extensions; do
1866  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867    ac_cv_prog_ac_ct_CC="gcc"
1868    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869    break 2
1870  fi
1871done
1872done
1873
1874fi
1875fi
1876ac_ct_CC=$ac_cv_prog_ac_ct_CC
1877if test -n "$ac_ct_CC"; then
1878  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1879echo "${ECHO_T}$ac_ct_CC" >&6
1880else
1881  echo "$as_me:$LINENO: result: no" >&5
1882echo "${ECHO_T}no" >&6
1883fi
1884
1885  CC=$ac_ct_CC
1886else
1887  CC="$ac_cv_prog_CC"
1888fi
1889
1890if test -z "$CC"; then
1891  if test -n "$ac_tool_prefix"; then
1892  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1893set dummy ${ac_tool_prefix}cc; ac_word=$2
1894echo "$as_me:$LINENO: checking for $ac_word" >&5
1895echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1896if test "${ac_cv_prog_CC+set}" = set; then
1897  echo $ECHO_N "(cached) $ECHO_C" >&6
1898else
1899  if test -n "$CC"; then
1900  ac_cv_prog_CC="$CC" # Let the user override the test.
1901else
1902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903for as_dir in $PATH
1904do
1905  IFS=$as_save_IFS
1906  test -z "$as_dir" && as_dir=.
1907  for ac_exec_ext in '' $ac_executable_extensions; do
1908  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1909    ac_cv_prog_CC="${ac_tool_prefix}cc"
1910    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911    break 2
1912  fi
1913done
1914done
1915
1916fi
1917fi
1918CC=$ac_cv_prog_CC
1919if test -n "$CC"; then
1920  echo "$as_me:$LINENO: result: $CC" >&5
1921echo "${ECHO_T}$CC" >&6
1922else
1923  echo "$as_me:$LINENO: result: no" >&5
1924echo "${ECHO_T}no" >&6
1925fi
1926
1927fi
1928if test -z "$ac_cv_prog_CC"; then
1929  ac_ct_CC=$CC
1930  # Extract the first word of "cc", so it can be a program name with args.
1931set dummy cc; ac_word=$2
1932echo "$as_me:$LINENO: checking for $ac_word" >&5
1933echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1935  echo $ECHO_N "(cached) $ECHO_C" >&6
1936else
1937  if test -n "$ac_ct_CC"; then
1938  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1939else
1940as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941for as_dir in $PATH
1942do
1943  IFS=$as_save_IFS
1944  test -z "$as_dir" && as_dir=.
1945  for ac_exec_ext in '' $ac_executable_extensions; do
1946  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947    ac_cv_prog_ac_ct_CC="cc"
1948    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949    break 2
1950  fi
1951done
1952done
1953
1954fi
1955fi
1956ac_ct_CC=$ac_cv_prog_ac_ct_CC
1957if test -n "$ac_ct_CC"; then
1958  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1959echo "${ECHO_T}$ac_ct_CC" >&6
1960else
1961  echo "$as_me:$LINENO: result: no" >&5
1962echo "${ECHO_T}no" >&6
1963fi
1964
1965  CC=$ac_ct_CC
1966else
1967  CC="$ac_cv_prog_CC"
1968fi
1969
1970fi
1971if test -z "$CC"; then
1972  # Extract the first word of "cc", so it can be a program name with args.
1973set dummy cc; ac_word=$2
1974echo "$as_me:$LINENO: checking for $ac_word" >&5
1975echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1976if test "${ac_cv_prog_CC+set}" = set; then
1977  echo $ECHO_N "(cached) $ECHO_C" >&6
1978else
1979  if test -n "$CC"; then
1980  ac_cv_prog_CC="$CC" # Let the user override the test.
1981else
1982  ac_prog_rejected=no
1983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984for as_dir in $PATH
1985do
1986  IFS=$as_save_IFS
1987  test -z "$as_dir" && as_dir=.
1988  for ac_exec_ext in '' $ac_executable_extensions; do
1989  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1990    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1991       ac_prog_rejected=yes
1992       continue
1993     fi
1994    ac_cv_prog_CC="cc"
1995    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1996    break 2
1997  fi
1998done
1999done
2000
2001if test $ac_prog_rejected = yes; then
2002  # We found a bogon in the path, so make sure we never use it.
2003  set dummy $ac_cv_prog_CC
2004  shift
2005  if test $# != 0; then
2006    # We chose a different compiler from the bogus one.
2007    # However, it has the same basename, so the bogon will be chosen
2008    # first if we set CC to just the basename; use the full file name.
2009    shift
2010    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2011  fi
2012fi
2013fi
2014fi
2015CC=$ac_cv_prog_CC
2016if test -n "$CC"; then
2017  echo "$as_me:$LINENO: result: $CC" >&5
2018echo "${ECHO_T}$CC" >&6
2019else
2020  echo "$as_me:$LINENO: result: no" >&5
2021echo "${ECHO_T}no" >&6
2022fi
2023
2024fi
2025if test -z "$CC"; then
2026  if test -n "$ac_tool_prefix"; then
2027  for ac_prog in cl
2028  do
2029    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2030set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2031echo "$as_me:$LINENO: checking for $ac_word" >&5
2032echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2033if test "${ac_cv_prog_CC+set}" = set; then
2034  echo $ECHO_N "(cached) $ECHO_C" >&6
2035else
2036  if test -n "$CC"; then
2037  ac_cv_prog_CC="$CC" # Let the user override the test.
2038else
2039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2040for as_dir in $PATH
2041do
2042  IFS=$as_save_IFS
2043  test -z "$as_dir" && as_dir=.
2044  for ac_exec_ext in '' $ac_executable_extensions; do
2045  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2046    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2047    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048    break 2
2049  fi
2050done
2051done
2052
2053fi
2054fi
2055CC=$ac_cv_prog_CC
2056if test -n "$CC"; then
2057  echo "$as_me:$LINENO: result: $CC" >&5
2058echo "${ECHO_T}$CC" >&6
2059else
2060  echo "$as_me:$LINENO: result: no" >&5
2061echo "${ECHO_T}no" >&6
2062fi
2063
2064    test -n "$CC" && break
2065  done
2066fi
2067if test -z "$CC"; then
2068  ac_ct_CC=$CC
2069  for ac_prog in cl
2070do
2071  # Extract the first word of "$ac_prog", so it can be a program name with args.
2072set dummy $ac_prog; ac_word=$2
2073echo "$as_me:$LINENO: checking for $ac_word" >&5
2074echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2076  echo $ECHO_N "(cached) $ECHO_C" >&6
2077else
2078  if test -n "$ac_ct_CC"; then
2079  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2080else
2081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082for as_dir in $PATH
2083do
2084  IFS=$as_save_IFS
2085  test -z "$as_dir" && as_dir=.
2086  for ac_exec_ext in '' $ac_executable_extensions; do
2087  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2088    ac_cv_prog_ac_ct_CC="$ac_prog"
2089    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2090    break 2
2091  fi
2092done
2093done
2094
2095fi
2096fi
2097ac_ct_CC=$ac_cv_prog_ac_ct_CC
2098if test -n "$ac_ct_CC"; then
2099  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2100echo "${ECHO_T}$ac_ct_CC" >&6
2101else
2102  echo "$as_me:$LINENO: result: no" >&5
2103echo "${ECHO_T}no" >&6
2104fi
2105
2106  test -n "$ac_ct_CC" && break
2107done
2108
2109  CC=$ac_ct_CC
2110fi
2111
2112fi
2113
2114
2115test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2116See \`config.log' for more details." >&5
2117echo "$as_me: error: no acceptable C compiler found in \$PATH
2118See \`config.log' for more details." >&2;}
2119   { (exit 1); exit 1; }; }
2120
2121# Provide some information about the compiler.
2122echo "$as_me:$LINENO:" \
2123     "checking for C compiler version" >&5
2124ac_compiler=`set X $ac_compile; echo $2`
2125{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2126  (eval $ac_compiler --version </dev/null >&5) 2>&5
2127  ac_status=$?
2128  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129  (exit $ac_status); }
2130{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2131  (eval $ac_compiler -v </dev/null >&5) 2>&5
2132  ac_status=$?
2133  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134  (exit $ac_status); }
2135{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2136  (eval $ac_compiler -V </dev/null >&5) 2>&5
2137  ac_status=$?
2138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139  (exit $ac_status); }
2140
2141cat >conftest.$ac_ext <<_ACEOF
2142/* confdefs.h.  */
2143_ACEOF
2144cat confdefs.h >>conftest.$ac_ext
2145cat >>conftest.$ac_ext <<_ACEOF
2146/* end confdefs.h.  */
2147
2148int
2149main ()
2150{
2151
2152  ;
2153  return 0;
2154}
2155_ACEOF
2156ac_clean_files_save=$ac_clean_files
2157ac_clean_files="$ac_clean_files a.out a.exe b.out"
2158# Try to create an executable without -o first, disregard a.out.
2159# It will help us diagnose broken compilers, and finding out an intuition
2160# of exeext.
2161echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2162echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2163ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2164if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2165  (eval $ac_link_default) 2>&5
2166  ac_status=$?
2167  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168  (exit $ac_status); }; then
2169  # Find the output, starting from the most likely.  This scheme is
2170# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2171# resort.
2172
2173# Be careful to initialize this variable, since it used to be cached.
2174# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2175ac_cv_exeext=
2176# b.out is created by i960 compilers.
2177for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2178do
2179  test -f "$ac_file" || continue
2180  case $ac_file in
2181    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2182	;;
2183    conftest.$ac_ext )
2184	# This is the source file.
2185	;;
2186    [ab].out )
2187	# We found the default executable, but exeext='' is most
2188	# certainly right.
2189	break;;
2190    *.* )
2191	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2192	# FIXME: I believe we export ac_cv_exeext for Libtool,
2193	# but it would be cool to find out if it's true.  Does anybody
2194	# maintain Libtool? --akim.
2195	export ac_cv_exeext
2196	break;;
2197    * )
2198	break;;
2199  esac
2200done
2201else
2202  echo "$as_me: failed program was:" >&5
2203sed 's/^/| /' conftest.$ac_ext >&5
2204
2205{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2206See \`config.log' for more details." >&5
2207echo "$as_me: error: C compiler cannot create executables
2208See \`config.log' for more details." >&2;}
2209   { (exit 77); exit 77; }; }
2210fi
2211
2212ac_exeext=$ac_cv_exeext
2213echo "$as_me:$LINENO: result: $ac_file" >&5
2214echo "${ECHO_T}$ac_file" >&6
2215
2216# Check the compiler produces executables we can run.  If not, either
2217# the compiler is broken, or we cross compile.
2218echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2219echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2220# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2221# If not cross compiling, check that we can run a simple program.
2222if test "$cross_compiling" != yes; then
2223  if { ac_try='./$ac_file'
2224  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2225  (eval $ac_try) 2>&5
2226  ac_status=$?
2227  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228  (exit $ac_status); }; }; then
2229    cross_compiling=no
2230  else
2231    if test "$cross_compiling" = maybe; then
2232	cross_compiling=yes
2233    else
2234	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2235If you meant to cross compile, use \`--host'.
2236See \`config.log' for more details." >&5
2237echo "$as_me: error: cannot run C compiled programs.
2238If you meant to cross compile, use \`--host'.
2239See \`config.log' for more details." >&2;}
2240   { (exit 1); exit 1; }; }
2241    fi
2242  fi
2243fi
2244echo "$as_me:$LINENO: result: yes" >&5
2245echo "${ECHO_T}yes" >&6
2246
2247rm -f a.out a.exe conftest$ac_cv_exeext b.out
2248ac_clean_files=$ac_clean_files_save
2249# Check the compiler produces executables we can run.  If not, either
2250# the compiler is broken, or we cross compile.
2251echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2252echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2253echo "$as_me:$LINENO: result: $cross_compiling" >&5
2254echo "${ECHO_T}$cross_compiling" >&6
2255
2256echo "$as_me:$LINENO: checking for suffix of executables" >&5
2257echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2258if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2259  (eval $ac_link) 2>&5
2260  ac_status=$?
2261  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262  (exit $ac_status); }; then
2263  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2264# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2265# work properly (i.e., refer to `conftest.exe'), while it won't with
2266# `rm'.
2267for ac_file in conftest.exe conftest conftest.*; do
2268  test -f "$ac_file" || continue
2269  case $ac_file in
2270    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2271    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2272	  export ac_cv_exeext
2273	  break;;
2274    * ) break;;
2275  esac
2276done
2277else
2278  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2279See \`config.log' for more details." >&5
2280echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2281See \`config.log' for more details." >&2;}
2282   { (exit 1); exit 1; }; }
2283fi
2284
2285rm -f conftest$ac_cv_exeext
2286echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2287echo "${ECHO_T}$ac_cv_exeext" >&6
2288
2289rm -f conftest.$ac_ext
2290EXEEXT=$ac_cv_exeext
2291ac_exeext=$EXEEXT
2292echo "$as_me:$LINENO: checking for suffix of object files" >&5
2293echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2294if test "${ac_cv_objext+set}" = set; then
2295  echo $ECHO_N "(cached) $ECHO_C" >&6
2296else
2297  cat >conftest.$ac_ext <<_ACEOF
2298/* confdefs.h.  */
2299_ACEOF
2300cat confdefs.h >>conftest.$ac_ext
2301cat >>conftest.$ac_ext <<_ACEOF
2302/* end confdefs.h.  */
2303
2304int
2305main ()
2306{
2307
2308  ;
2309  return 0;
2310}
2311_ACEOF
2312rm -f conftest.o conftest.obj
2313if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2314  (eval $ac_compile) 2>&5
2315  ac_status=$?
2316  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317  (exit $ac_status); }; then
2318  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2319  case $ac_file in
2320    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2321    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2322       break;;
2323  esac
2324done
2325else
2326  echo "$as_me: failed program was:" >&5
2327sed 's/^/| /' conftest.$ac_ext >&5
2328
2329{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2330See \`config.log' for more details." >&5
2331echo "$as_me: error: cannot compute suffix of object files: cannot compile
2332See \`config.log' for more details." >&2;}
2333   { (exit 1); exit 1; }; }
2334fi
2335
2336rm -f conftest.$ac_cv_objext conftest.$ac_ext
2337fi
2338echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2339echo "${ECHO_T}$ac_cv_objext" >&6
2340OBJEXT=$ac_cv_objext
2341ac_objext=$OBJEXT
2342echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2343echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2344if test "${ac_cv_c_compiler_gnu+set}" = set; then
2345  echo $ECHO_N "(cached) $ECHO_C" >&6
2346else
2347  cat >conftest.$ac_ext <<_ACEOF
2348/* confdefs.h.  */
2349_ACEOF
2350cat confdefs.h >>conftest.$ac_ext
2351cat >>conftest.$ac_ext <<_ACEOF
2352/* end confdefs.h.  */
2353
2354int
2355main ()
2356{
2357#ifndef __GNUC__
2358       choke me
2359#endif
2360
2361  ;
2362  return 0;
2363}
2364_ACEOF
2365rm -f conftest.$ac_objext
2366if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2367  (eval $ac_compile) 2>conftest.er1
2368  ac_status=$?
2369  grep -v '^ *+' conftest.er1 >conftest.err
2370  rm -f conftest.er1
2371  cat conftest.err >&5
2372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373  (exit $ac_status); } &&
2374	 { ac_try='test -z "$ac_c_werror_flag"
2375			 || test ! -s conftest.err'
2376  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2377  (eval $ac_try) 2>&5
2378  ac_status=$?
2379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380  (exit $ac_status); }; } &&
2381	 { ac_try='test -s conftest.$ac_objext'
2382  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2383  (eval $ac_try) 2>&5
2384  ac_status=$?
2385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386  (exit $ac_status); }; }; then
2387  ac_compiler_gnu=yes
2388else
2389  echo "$as_me: failed program was:" >&5
2390sed 's/^/| /' conftest.$ac_ext >&5
2391
2392ac_compiler_gnu=no
2393fi
2394rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2395ac_cv_c_compiler_gnu=$ac_compiler_gnu
2396
2397fi
2398echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2399echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2400GCC=`test $ac_compiler_gnu = yes && echo yes`
2401ac_test_CFLAGS=${CFLAGS+set}
2402ac_save_CFLAGS=$CFLAGS
2403CFLAGS="-g"
2404echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2405echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2406if test "${ac_cv_prog_cc_g+set}" = set; then
2407  echo $ECHO_N "(cached) $ECHO_C" >&6
2408else
2409  cat >conftest.$ac_ext <<_ACEOF
2410/* confdefs.h.  */
2411_ACEOF
2412cat confdefs.h >>conftest.$ac_ext
2413cat >>conftest.$ac_ext <<_ACEOF
2414/* end confdefs.h.  */
2415
2416int
2417main ()
2418{
2419
2420  ;
2421  return 0;
2422}
2423_ACEOF
2424rm -f conftest.$ac_objext
2425if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2426  (eval $ac_compile) 2>conftest.er1
2427  ac_status=$?
2428  grep -v '^ *+' conftest.er1 >conftest.err
2429  rm -f conftest.er1
2430  cat conftest.err >&5
2431  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432  (exit $ac_status); } &&
2433	 { ac_try='test -z "$ac_c_werror_flag"
2434			 || test ! -s conftest.err'
2435  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436  (eval $ac_try) 2>&5
2437  ac_status=$?
2438  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439  (exit $ac_status); }; } &&
2440	 { ac_try='test -s conftest.$ac_objext'
2441  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2442  (eval $ac_try) 2>&5
2443  ac_status=$?
2444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445  (exit $ac_status); }; }; then
2446  ac_cv_prog_cc_g=yes
2447else
2448  echo "$as_me: failed program was:" >&5
2449sed 's/^/| /' conftest.$ac_ext >&5
2450
2451ac_cv_prog_cc_g=no
2452fi
2453rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2454fi
2455echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2456echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2457if test "$ac_test_CFLAGS" = set; then
2458  CFLAGS=$ac_save_CFLAGS
2459elif test $ac_cv_prog_cc_g = yes; then
2460  if test "$GCC" = yes; then
2461    CFLAGS="-g -O2"
2462  else
2463    CFLAGS="-g"
2464  fi
2465else
2466  if test "$GCC" = yes; then
2467    CFLAGS="-O2"
2468  else
2469    CFLAGS=
2470  fi
2471fi
2472echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2473echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2474if test "${ac_cv_prog_cc_stdc+set}" = set; then
2475  echo $ECHO_N "(cached) $ECHO_C" >&6
2476else
2477  ac_cv_prog_cc_stdc=no
2478ac_save_CC=$CC
2479cat >conftest.$ac_ext <<_ACEOF
2480/* confdefs.h.  */
2481_ACEOF
2482cat confdefs.h >>conftest.$ac_ext
2483cat >>conftest.$ac_ext <<_ACEOF
2484/* end confdefs.h.  */
2485#include <stdarg.h>
2486#include <stdio.h>
2487#include <sys/types.h>
2488#include <sys/stat.h>
2489/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2490struct buf { int x; };
2491FILE * (*rcsopen) (struct buf *, struct stat *, int);
2492static char *e (p, i)
2493     char **p;
2494     int i;
2495{
2496  return p[i];
2497}
2498static char *f (char * (*g) (char **, int), char **p, ...)
2499{
2500  char *s;
2501  va_list v;
2502  va_start (v,p);
2503  s = g (p, va_arg (v,int));
2504  va_end (v);
2505  return s;
2506}
2507
2508/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2509   function prototypes and stuff, but not '\xHH' hex character constants.
2510   These don't provoke an error unfortunately, instead are silently treated
2511   as 'x'.  The following induces an error, until -std1 is added to get
2512   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2513   array size at least.  It's necessary to write '\x00'==0 to get something
2514   that's true only with -std1.  */
2515int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2516
2517int test (int i, double x);
2518struct s1 {int (*f) (int a);};
2519struct s2 {int (*f) (double a);};
2520int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2521int argc;
2522char **argv;
2523int
2524main ()
2525{
2526return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2527  ;
2528  return 0;
2529}
2530_ACEOF
2531# Don't try gcc -ansi; that turns off useful extensions and
2532# breaks some systems' header files.
2533# AIX			-qlanglvl=ansi
2534# Ultrix and OSF/1	-std1
2535# HP-UX 10.20 and later	-Ae
2536# HP-UX older versions	-Aa -D_HPUX_SOURCE
2537# SVR4			-Xc -D__EXTENSIONS__
2538for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2539do
2540  CC="$ac_save_CC $ac_arg"
2541  rm -f conftest.$ac_objext
2542if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2543  (eval $ac_compile) 2>conftest.er1
2544  ac_status=$?
2545  grep -v '^ *+' conftest.er1 >conftest.err
2546  rm -f conftest.er1
2547  cat conftest.err >&5
2548  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549  (exit $ac_status); } &&
2550	 { ac_try='test -z "$ac_c_werror_flag"
2551			 || test ! -s conftest.err'
2552  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2553  (eval $ac_try) 2>&5
2554  ac_status=$?
2555  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556  (exit $ac_status); }; } &&
2557	 { ac_try='test -s conftest.$ac_objext'
2558  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559  (eval $ac_try) 2>&5
2560  ac_status=$?
2561  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562  (exit $ac_status); }; }; then
2563  ac_cv_prog_cc_stdc=$ac_arg
2564break
2565else
2566  echo "$as_me: failed program was:" >&5
2567sed 's/^/| /' conftest.$ac_ext >&5
2568
2569fi
2570rm -f conftest.err conftest.$ac_objext
2571done
2572rm -f conftest.$ac_ext conftest.$ac_objext
2573CC=$ac_save_CC
2574
2575fi
2576
2577case "x$ac_cv_prog_cc_stdc" in
2578  x|xno)
2579    echo "$as_me:$LINENO: result: none needed" >&5
2580echo "${ECHO_T}none needed" >&6 ;;
2581  *)
2582    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2583echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2584    CC="$CC $ac_cv_prog_cc_stdc" ;;
2585esac
2586
2587# Some people use a C++ compiler to compile C.  Since we use `exit',
2588# in C++ we need to declare it.  In case someone uses the same compiler
2589# for both compiling C and C++ we need to have the C++ compiler decide
2590# the declaration of exit, since it's the most demanding environment.
2591cat >conftest.$ac_ext <<_ACEOF
2592#ifndef __cplusplus
2593  choke me
2594#endif
2595_ACEOF
2596rm -f conftest.$ac_objext
2597if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598  (eval $ac_compile) 2>conftest.er1
2599  ac_status=$?
2600  grep -v '^ *+' conftest.er1 >conftest.err
2601  rm -f conftest.er1
2602  cat conftest.err >&5
2603  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604  (exit $ac_status); } &&
2605	 { ac_try='test -z "$ac_c_werror_flag"
2606			 || test ! -s conftest.err'
2607  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2608  (eval $ac_try) 2>&5
2609  ac_status=$?
2610  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611  (exit $ac_status); }; } &&
2612	 { ac_try='test -s conftest.$ac_objext'
2613  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614  (eval $ac_try) 2>&5
2615  ac_status=$?
2616  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617  (exit $ac_status); }; }; then
2618  for ac_declaration in \
2619   '' \
2620   'extern "C" void std::exit (int) throw (); using std::exit;' \
2621   'extern "C" void std::exit (int); using std::exit;' \
2622   'extern "C" void exit (int) throw ();' \
2623   'extern "C" void exit (int);' \
2624   'void exit (int);'
2625do
2626  cat >conftest.$ac_ext <<_ACEOF
2627/* confdefs.h.  */
2628_ACEOF
2629cat confdefs.h >>conftest.$ac_ext
2630cat >>conftest.$ac_ext <<_ACEOF
2631/* end confdefs.h.  */
2632$ac_declaration
2633#include <stdlib.h>
2634int
2635main ()
2636{
2637exit (42);
2638  ;
2639  return 0;
2640}
2641_ACEOF
2642rm -f conftest.$ac_objext
2643if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2644  (eval $ac_compile) 2>conftest.er1
2645  ac_status=$?
2646  grep -v '^ *+' conftest.er1 >conftest.err
2647  rm -f conftest.er1
2648  cat conftest.err >&5
2649  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650  (exit $ac_status); } &&
2651	 { ac_try='test -z "$ac_c_werror_flag"
2652			 || test ! -s conftest.err'
2653  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654  (eval $ac_try) 2>&5
2655  ac_status=$?
2656  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657  (exit $ac_status); }; } &&
2658	 { ac_try='test -s conftest.$ac_objext'
2659  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660  (eval $ac_try) 2>&5
2661  ac_status=$?
2662  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663  (exit $ac_status); }; }; then
2664  :
2665else
2666  echo "$as_me: failed program was:" >&5
2667sed 's/^/| /' conftest.$ac_ext >&5
2668
2669continue
2670fi
2671rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2672  cat >conftest.$ac_ext <<_ACEOF
2673/* confdefs.h.  */
2674_ACEOF
2675cat confdefs.h >>conftest.$ac_ext
2676cat >>conftest.$ac_ext <<_ACEOF
2677/* end confdefs.h.  */
2678$ac_declaration
2679int
2680main ()
2681{
2682exit (42);
2683  ;
2684  return 0;
2685}
2686_ACEOF
2687rm -f conftest.$ac_objext
2688if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2689  (eval $ac_compile) 2>conftest.er1
2690  ac_status=$?
2691  grep -v '^ *+' conftest.er1 >conftest.err
2692  rm -f conftest.er1
2693  cat conftest.err >&5
2694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695  (exit $ac_status); } &&
2696	 { ac_try='test -z "$ac_c_werror_flag"
2697			 || test ! -s conftest.err'
2698  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699  (eval $ac_try) 2>&5
2700  ac_status=$?
2701  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702  (exit $ac_status); }; } &&
2703	 { ac_try='test -s conftest.$ac_objext'
2704  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705  (eval $ac_try) 2>&5
2706  ac_status=$?
2707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708  (exit $ac_status); }; }; then
2709  break
2710else
2711  echo "$as_me: failed program was:" >&5
2712sed 's/^/| /' conftest.$ac_ext >&5
2713
2714fi
2715rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2716done
2717rm -f conftest*
2718if test -n "$ac_declaration"; then
2719  echo '#ifdef __cplusplus' >>confdefs.h
2720  echo $ac_declaration      >>confdefs.h
2721  echo '#endif'             >>confdefs.h
2722fi
2723
2724else
2725  echo "$as_me: failed program was:" >&5
2726sed 's/^/| /' conftest.$ac_ext >&5
2727
2728fi
2729rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2730ac_ext=c
2731ac_cpp='$CPP $CPPFLAGS'
2732ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2733ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2734ac_compiler_gnu=$ac_cv_c_compiler_gnu
2735
2736depcc="$CC"   am_compiler_list=
2737
2738echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2739echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2740if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2741  echo $ECHO_N "(cached) $ECHO_C" >&6
2742else
2743  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2744  # We make a subdir and do the tests there.  Otherwise we can end up
2745  # making bogus files that we don't know about and never remove.  For
2746  # instance it was reported that on HP-UX the gcc test will end up
2747  # making a dummy file named `D' -- because `-MD' means `put the output
2748  # in D'.
2749  mkdir conftest.dir
2750  # Copy depcomp to subdir because otherwise we won't find it if we're
2751  # using a relative directory.
2752  cp "$am_depcomp" conftest.dir
2753  cd conftest.dir
2754  # We will build objects and dependencies in a subdirectory because
2755  # it helps to detect inapplicable dependency modes.  For instance
2756  # both Tru64's cc and ICC support -MD to output dependencies as a
2757  # side effect of compilation, but ICC will put the dependencies in
2758  # the current directory while Tru64 will put them in the object
2759  # directory.
2760  mkdir sub
2761
2762  am_cv_CC_dependencies_compiler_type=none
2763  if test "$am_compiler_list" = ""; then
2764     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2765  fi
2766  for depmode in $am_compiler_list; do
2767    # Setup a source with many dependencies, because some compilers
2768    # like to wrap large dependency lists on column 80 (with \), and
2769    # we should not choose a depcomp mode which is confused by this.
2770    #
2771    # We need to recreate these files for each test, as the compiler may
2772    # overwrite some of them when testing with obscure command lines.
2773    # This happens at least with the AIX C compiler.
2774    : > sub/conftest.c
2775    for i in 1 2 3 4 5 6; do
2776      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2777      : > sub/conftst$i.h
2778    done
2779    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2780
2781    case $depmode in
2782    nosideeffect)
2783      # after this tag, mechanisms are not by side-effect, so they'll
2784      # only be used when explicitly requested
2785      if test "x$enable_dependency_tracking" = xyes; then
2786	continue
2787      else
2788	break
2789      fi
2790      ;;
2791    none) break ;;
2792    esac
2793    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2794    # mode.  It turns out that the SunPro C++ compiler does not properly
2795    # handle `-M -o', and we need to detect this.
2796    if depmode=$depmode \
2797       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2798       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2799       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2800         >/dev/null 2>conftest.err &&
2801       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2802       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2803       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2804      # icc doesn't choke on unknown options, it will just issue warnings
2805      # (even with -Werror).  So we grep stderr for any message
2806      # that says an option was ignored.
2807      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2808        am_cv_CC_dependencies_compiler_type=$depmode
2809        break
2810      fi
2811    fi
2812  done
2813
2814  cd ..
2815  rm -rf conftest.dir
2816else
2817  am_cv_CC_dependencies_compiler_type=none
2818fi
2819
2820fi
2821echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2822echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2823CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2824
2825
2826
2827if
2828  test "x$enable_dependency_tracking" != xno \
2829  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2830  am__fastdepCC_TRUE=
2831  am__fastdepCC_FALSE='#'
2832else
2833  am__fastdepCC_TRUE='#'
2834  am__fastdepCC_FALSE=
2835fi
2836
2837
2838
2839for ac_prog in flex lex
2840do
2841  # Extract the first word of "$ac_prog", so it can be a program name with args.
2842set dummy $ac_prog; ac_word=$2
2843echo "$as_me:$LINENO: checking for $ac_word" >&5
2844echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2845if test "${ac_cv_prog_LEX+set}" = set; then
2846  echo $ECHO_N "(cached) $ECHO_C" >&6
2847else
2848  if test -n "$LEX"; then
2849  ac_cv_prog_LEX="$LEX" # Let the user override the test.
2850else
2851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852for as_dir in $PATH
2853do
2854  IFS=$as_save_IFS
2855  test -z "$as_dir" && as_dir=.
2856  for ac_exec_ext in '' $ac_executable_extensions; do
2857  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2858    ac_cv_prog_LEX="$ac_prog"
2859    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2860    break 2
2861  fi
2862done
2863done
2864
2865fi
2866fi
2867LEX=$ac_cv_prog_LEX
2868if test -n "$LEX"; then
2869  echo "$as_me:$LINENO: result: $LEX" >&5
2870echo "${ECHO_T}$LEX" >&6
2871else
2872  echo "$as_me:$LINENO: result: no" >&5
2873echo "${ECHO_T}no" >&6
2874fi
2875
2876  test -n "$LEX" && break
2877done
2878test -n "$LEX" || LEX=":"
2879
2880if test -z "$LEXLIB"
2881then
2882  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
2883echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
2884if test "${ac_cv_lib_fl_yywrap+set}" = set; then
2885  echo $ECHO_N "(cached) $ECHO_C" >&6
2886else
2887  ac_check_lib_save_LIBS=$LIBS
2888LIBS="-lfl  $LIBS"
2889cat >conftest.$ac_ext <<_ACEOF
2890/* confdefs.h.  */
2891_ACEOF
2892cat confdefs.h >>conftest.$ac_ext
2893cat >>conftest.$ac_ext <<_ACEOF
2894/* end confdefs.h.  */
2895
2896/* Override any gcc2 internal prototype to avoid an error.  */
2897#ifdef __cplusplus
2898extern "C"
2899#endif
2900/* We use char because int might match the return type of a gcc2
2901   builtin and then its argument prototype would still apply.  */
2902char yywrap ();
2903int
2904main ()
2905{
2906yywrap ();
2907  ;
2908  return 0;
2909}
2910_ACEOF
2911rm -f conftest.$ac_objext conftest$ac_exeext
2912if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2913  (eval $ac_link) 2>conftest.er1
2914  ac_status=$?
2915  grep -v '^ *+' conftest.er1 >conftest.err
2916  rm -f conftest.er1
2917  cat conftest.err >&5
2918  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919  (exit $ac_status); } &&
2920	 { ac_try='test -z "$ac_c_werror_flag"
2921			 || test ! -s conftest.err'
2922  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923  (eval $ac_try) 2>&5
2924  ac_status=$?
2925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926  (exit $ac_status); }; } &&
2927	 { ac_try='test -s conftest$ac_exeext'
2928  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929  (eval $ac_try) 2>&5
2930  ac_status=$?
2931  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932  (exit $ac_status); }; }; then
2933  ac_cv_lib_fl_yywrap=yes
2934else
2935  echo "$as_me: failed program was:" >&5
2936sed 's/^/| /' conftest.$ac_ext >&5
2937
2938ac_cv_lib_fl_yywrap=no
2939fi
2940rm -f conftest.err conftest.$ac_objext \
2941      conftest$ac_exeext conftest.$ac_ext
2942LIBS=$ac_check_lib_save_LIBS
2943fi
2944echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
2945echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
2946if test $ac_cv_lib_fl_yywrap = yes; then
2947  LEXLIB="-lfl"
2948else
2949  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
2950echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
2951if test "${ac_cv_lib_l_yywrap+set}" = set; then
2952  echo $ECHO_N "(cached) $ECHO_C" >&6
2953else
2954  ac_check_lib_save_LIBS=$LIBS
2955LIBS="-ll  $LIBS"
2956cat >conftest.$ac_ext <<_ACEOF
2957/* confdefs.h.  */
2958_ACEOF
2959cat confdefs.h >>conftest.$ac_ext
2960cat >>conftest.$ac_ext <<_ACEOF
2961/* end confdefs.h.  */
2962
2963/* Override any gcc2 internal prototype to avoid an error.  */
2964#ifdef __cplusplus
2965extern "C"
2966#endif
2967/* We use char because int might match the return type of a gcc2
2968   builtin and then its argument prototype would still apply.  */
2969char yywrap ();
2970int
2971main ()
2972{
2973yywrap ();
2974  ;
2975  return 0;
2976}
2977_ACEOF
2978rm -f conftest.$ac_objext conftest$ac_exeext
2979if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2980  (eval $ac_link) 2>conftest.er1
2981  ac_status=$?
2982  grep -v '^ *+' conftest.er1 >conftest.err
2983  rm -f conftest.er1
2984  cat conftest.err >&5
2985  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986  (exit $ac_status); } &&
2987	 { ac_try='test -z "$ac_c_werror_flag"
2988			 || test ! -s conftest.err'
2989  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990  (eval $ac_try) 2>&5
2991  ac_status=$?
2992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993  (exit $ac_status); }; } &&
2994	 { ac_try='test -s conftest$ac_exeext'
2995  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996  (eval $ac_try) 2>&5
2997  ac_status=$?
2998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999  (exit $ac_status); }; }; then
3000  ac_cv_lib_l_yywrap=yes
3001else
3002  echo "$as_me: failed program was:" >&5
3003sed 's/^/| /' conftest.$ac_ext >&5
3004
3005ac_cv_lib_l_yywrap=no
3006fi
3007rm -f conftest.err conftest.$ac_objext \
3008      conftest$ac_exeext conftest.$ac_ext
3009LIBS=$ac_check_lib_save_LIBS
3010fi
3011echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3012echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3013if test $ac_cv_lib_l_yywrap = yes; then
3014  LEXLIB="-ll"
3015fi
3016
3017fi
3018
3019fi
3020
3021if test "x$LEX" != "x:"; then
3022  echo "$as_me:$LINENO: checking lex output file root" >&5
3023echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3024if test "${ac_cv_prog_lex_root+set}" = set; then
3025  echo $ECHO_N "(cached) $ECHO_C" >&6
3026else
3027  # The minimal lex program is just a single line: %%.  But some broken lexes
3028# (Solaris, I think it was) want two %% lines, so accommodate them.
3029cat >conftest.l <<_ACEOF
3030%%
3031%%
3032_ACEOF
3033{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3034  (eval $LEX conftest.l) 2>&5
3035  ac_status=$?
3036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037  (exit $ac_status); }
3038if test -f lex.yy.c; then
3039  ac_cv_prog_lex_root=lex.yy
3040elif test -f lexyy.c; then
3041  ac_cv_prog_lex_root=lexyy
3042else
3043  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3044echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3045   { (exit 1); exit 1; }; }
3046fi
3047fi
3048echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3049echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3050rm -f conftest.l
3051LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3052
3053echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3054echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3055if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3056  echo $ECHO_N "(cached) $ECHO_C" >&6
3057else
3058  # POSIX says lex can declare yytext either as a pointer or an array; the
3059# default is implementation-dependent. Figure out which it is, since
3060# not all implementations provide the %pointer and %array declarations.
3061ac_cv_prog_lex_yytext_pointer=no
3062echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3063ac_save_LIBS=$LIBS
3064LIBS="$LIBS $LEXLIB"
3065cat >conftest.$ac_ext <<_ACEOF
3066`cat $LEX_OUTPUT_ROOT.c`
3067_ACEOF
3068rm -f conftest.$ac_objext conftest$ac_exeext
3069if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3070  (eval $ac_link) 2>conftest.er1
3071  ac_status=$?
3072  grep -v '^ *+' conftest.er1 >conftest.err
3073  rm -f conftest.er1
3074  cat conftest.err >&5
3075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076  (exit $ac_status); } &&
3077	 { ac_try='test -z "$ac_c_werror_flag"
3078			 || test ! -s conftest.err'
3079  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080  (eval $ac_try) 2>&5
3081  ac_status=$?
3082  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083  (exit $ac_status); }; } &&
3084	 { ac_try='test -s conftest$ac_exeext'
3085  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086  (eval $ac_try) 2>&5
3087  ac_status=$?
3088  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3089  (exit $ac_status); }; }; then
3090  ac_cv_prog_lex_yytext_pointer=yes
3091else
3092  echo "$as_me: failed program was:" >&5
3093sed 's/^/| /' conftest.$ac_ext >&5
3094
3095fi
3096rm -f conftest.err conftest.$ac_objext \
3097      conftest$ac_exeext conftest.$ac_ext
3098LIBS=$ac_save_LIBS
3099rm -f "${LEX_OUTPUT_ROOT}.c"
3100
3101fi
3102echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3103echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3104if test $ac_cv_prog_lex_yytext_pointer = yes; then
3105
3106cat >>confdefs.h <<\_ACEOF
3107#define YYTEXT_POINTER 1
3108_ACEOF
3109
3110fi
3111
3112fi
3113for ac_prog in 'bison -y' byacc
3114do
3115  # Extract the first word of "$ac_prog", so it can be a program name with args.
3116set dummy $ac_prog; ac_word=$2
3117echo "$as_me:$LINENO: checking for $ac_word" >&5
3118echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3119if test "${ac_cv_prog_YACC+set}" = set; then
3120  echo $ECHO_N "(cached) $ECHO_C" >&6
3121else
3122  if test -n "$YACC"; then
3123  ac_cv_prog_YACC="$YACC" # Let the user override the test.
3124else
3125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126for as_dir in $PATH
3127do
3128  IFS=$as_save_IFS
3129  test -z "$as_dir" && as_dir=.
3130  for ac_exec_ext in '' $ac_executable_extensions; do
3131  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3132    ac_cv_prog_YACC="$ac_prog"
3133    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134    break 2
3135  fi
3136done
3137done
3138
3139fi
3140fi
3141YACC=$ac_cv_prog_YACC
3142if test -n "$YACC"; then
3143  echo "$as_me:$LINENO: result: $YACC" >&5
3144echo "${ECHO_T}$YACC" >&6
3145else
3146  echo "$as_me:$LINENO: result: no" >&5
3147echo "${ECHO_T}no" >&6
3148fi
3149
3150  test -n "$YACC" && break
3151done
3152test -n "$YACC" || YACC="yacc"
3153
3154ac_ext=c
3155ac_cpp='$CPP $CPPFLAGS'
3156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158ac_compiler_gnu=$ac_cv_c_compiler_gnu
3159if test -n "$ac_tool_prefix"; then
3160  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3161set dummy ${ac_tool_prefix}gcc; ac_word=$2
3162echo "$as_me:$LINENO: checking for $ac_word" >&5
3163echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3164if test "${ac_cv_prog_CC+set}" = set; then
3165  echo $ECHO_N "(cached) $ECHO_C" >&6
3166else
3167  if test -n "$CC"; then
3168  ac_cv_prog_CC="$CC" # Let the user override the test.
3169else
3170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171for as_dir in $PATH
3172do
3173  IFS=$as_save_IFS
3174  test -z "$as_dir" && as_dir=.
3175  for ac_exec_ext in '' $ac_executable_extensions; do
3176  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3177    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3178    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3179    break 2
3180  fi
3181done
3182done
3183
3184fi
3185fi
3186CC=$ac_cv_prog_CC
3187if test -n "$CC"; then
3188  echo "$as_me:$LINENO: result: $CC" >&5
3189echo "${ECHO_T}$CC" >&6
3190else
3191  echo "$as_me:$LINENO: result: no" >&5
3192echo "${ECHO_T}no" >&6
3193fi
3194
3195fi
3196if test -z "$ac_cv_prog_CC"; then
3197  ac_ct_CC=$CC
3198  # Extract the first word of "gcc", so it can be a program name with args.
3199set dummy gcc; ac_word=$2
3200echo "$as_me:$LINENO: checking for $ac_word" >&5
3201echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3202if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3203  echo $ECHO_N "(cached) $ECHO_C" >&6
3204else
3205  if test -n "$ac_ct_CC"; then
3206  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3207else
3208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209for as_dir in $PATH
3210do
3211  IFS=$as_save_IFS
3212  test -z "$as_dir" && as_dir=.
3213  for ac_exec_ext in '' $ac_executable_extensions; do
3214  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3215    ac_cv_prog_ac_ct_CC="gcc"
3216    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3217    break 2
3218  fi
3219done
3220done
3221
3222fi
3223fi
3224ac_ct_CC=$ac_cv_prog_ac_ct_CC
3225if test -n "$ac_ct_CC"; then
3226  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3227echo "${ECHO_T}$ac_ct_CC" >&6
3228else
3229  echo "$as_me:$LINENO: result: no" >&5
3230echo "${ECHO_T}no" >&6
3231fi
3232
3233  CC=$ac_ct_CC
3234else
3235  CC="$ac_cv_prog_CC"
3236fi
3237
3238if test -z "$CC"; then
3239  if test -n "$ac_tool_prefix"; then
3240  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3241set dummy ${ac_tool_prefix}cc; ac_word=$2
3242echo "$as_me:$LINENO: checking for $ac_word" >&5
3243echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3244if test "${ac_cv_prog_CC+set}" = set; then
3245  echo $ECHO_N "(cached) $ECHO_C" >&6
3246else
3247  if test -n "$CC"; then
3248  ac_cv_prog_CC="$CC" # Let the user override the test.
3249else
3250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251for as_dir in $PATH
3252do
3253  IFS=$as_save_IFS
3254  test -z "$as_dir" && as_dir=.
3255  for ac_exec_ext in '' $ac_executable_extensions; do
3256  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3257    ac_cv_prog_CC="${ac_tool_prefix}cc"
3258    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3259    break 2
3260  fi
3261done
3262done
3263
3264fi
3265fi
3266CC=$ac_cv_prog_CC
3267if test -n "$CC"; then
3268  echo "$as_me:$LINENO: result: $CC" >&5
3269echo "${ECHO_T}$CC" >&6
3270else
3271  echo "$as_me:$LINENO: result: no" >&5
3272echo "${ECHO_T}no" >&6
3273fi
3274
3275fi
3276if test -z "$ac_cv_prog_CC"; then
3277  ac_ct_CC=$CC
3278  # Extract the first word of "cc", so it can be a program name with args.
3279set dummy cc; ac_word=$2
3280echo "$as_me:$LINENO: checking for $ac_word" >&5
3281echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3282if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3283  echo $ECHO_N "(cached) $ECHO_C" >&6
3284else
3285  if test -n "$ac_ct_CC"; then
3286  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3287else
3288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289for as_dir in $PATH
3290do
3291  IFS=$as_save_IFS
3292  test -z "$as_dir" && as_dir=.
3293  for ac_exec_ext in '' $ac_executable_extensions; do
3294  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3295    ac_cv_prog_ac_ct_CC="cc"
3296    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3297    break 2
3298  fi
3299done
3300done
3301
3302fi
3303fi
3304ac_ct_CC=$ac_cv_prog_ac_ct_CC
3305if test -n "$ac_ct_CC"; then
3306  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3307echo "${ECHO_T}$ac_ct_CC" >&6
3308else
3309  echo "$as_me:$LINENO: result: no" >&5
3310echo "${ECHO_T}no" >&6
3311fi
3312
3313  CC=$ac_ct_CC
3314else
3315  CC="$ac_cv_prog_CC"
3316fi
3317
3318fi
3319if test -z "$CC"; then
3320  # Extract the first word of "cc", so it can be a program name with args.
3321set dummy cc; ac_word=$2
3322echo "$as_me:$LINENO: checking for $ac_word" >&5
3323echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3324if test "${ac_cv_prog_CC+set}" = set; then
3325  echo $ECHO_N "(cached) $ECHO_C" >&6
3326else
3327  if test -n "$CC"; then
3328  ac_cv_prog_CC="$CC" # Let the user override the test.
3329else
3330  ac_prog_rejected=no
3331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332for as_dir in $PATH
3333do
3334  IFS=$as_save_IFS
3335  test -z "$as_dir" && as_dir=.
3336  for ac_exec_ext in '' $ac_executable_extensions; do
3337  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3338    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3339       ac_prog_rejected=yes
3340       continue
3341     fi
3342    ac_cv_prog_CC="cc"
3343    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3344    break 2
3345  fi
3346done
3347done
3348
3349if test $ac_prog_rejected = yes; then
3350  # We found a bogon in the path, so make sure we never use it.
3351  set dummy $ac_cv_prog_CC
3352  shift
3353  if test $# != 0; then
3354    # We chose a different compiler from the bogus one.
3355    # However, it has the same basename, so the bogon will be chosen
3356    # first if we set CC to just the basename; use the full file name.
3357    shift
3358    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3359  fi
3360fi
3361fi
3362fi
3363CC=$ac_cv_prog_CC
3364if test -n "$CC"; then
3365  echo "$as_me:$LINENO: result: $CC" >&5
3366echo "${ECHO_T}$CC" >&6
3367else
3368  echo "$as_me:$LINENO: result: no" >&5
3369echo "${ECHO_T}no" >&6
3370fi
3371
3372fi
3373if test -z "$CC"; then
3374  if test -n "$ac_tool_prefix"; then
3375  for ac_prog in cl
3376  do
3377    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3378set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3379echo "$as_me:$LINENO: checking for $ac_word" >&5
3380echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3381if test "${ac_cv_prog_CC+set}" = set; then
3382  echo $ECHO_N "(cached) $ECHO_C" >&6
3383else
3384  if test -n "$CC"; then
3385  ac_cv_prog_CC="$CC" # Let the user override the test.
3386else
3387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388for as_dir in $PATH
3389do
3390  IFS=$as_save_IFS
3391  test -z "$as_dir" && as_dir=.
3392  for ac_exec_ext in '' $ac_executable_extensions; do
3393  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3394    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3395    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3396    break 2
3397  fi
3398done
3399done
3400
3401fi
3402fi
3403CC=$ac_cv_prog_CC
3404if test -n "$CC"; then
3405  echo "$as_me:$LINENO: result: $CC" >&5
3406echo "${ECHO_T}$CC" >&6
3407else
3408  echo "$as_me:$LINENO: result: no" >&5
3409echo "${ECHO_T}no" >&6
3410fi
3411
3412    test -n "$CC" && break
3413  done
3414fi
3415if test -z "$CC"; then
3416  ac_ct_CC=$CC
3417  for ac_prog in cl
3418do
3419  # Extract the first word of "$ac_prog", so it can be a program name with args.
3420set dummy $ac_prog; ac_word=$2
3421echo "$as_me:$LINENO: checking for $ac_word" >&5
3422echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3423if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3424  echo $ECHO_N "(cached) $ECHO_C" >&6
3425else
3426  if test -n "$ac_ct_CC"; then
3427  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3428else
3429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430for as_dir in $PATH
3431do
3432  IFS=$as_save_IFS
3433  test -z "$as_dir" && as_dir=.
3434  for ac_exec_ext in '' $ac_executable_extensions; do
3435  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3436    ac_cv_prog_ac_ct_CC="$ac_prog"
3437    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3438    break 2
3439  fi
3440done
3441done
3442
3443fi
3444fi
3445ac_ct_CC=$ac_cv_prog_ac_ct_CC
3446if test -n "$ac_ct_CC"; then
3447  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3448echo "${ECHO_T}$ac_ct_CC" >&6
3449else
3450  echo "$as_me:$LINENO: result: no" >&5
3451echo "${ECHO_T}no" >&6
3452fi
3453
3454  test -n "$ac_ct_CC" && break
3455done
3456
3457  CC=$ac_ct_CC
3458fi
3459
3460fi
3461
3462
3463test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3464See \`config.log' for more details." >&5
3465echo "$as_me: error: no acceptable C compiler found in \$PATH
3466See \`config.log' for more details." >&2;}
3467   { (exit 1); exit 1; }; }
3468
3469# Provide some information about the compiler.
3470echo "$as_me:$LINENO:" \
3471     "checking for C compiler version" >&5
3472ac_compiler=`set X $ac_compile; echo $2`
3473{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3474  (eval $ac_compiler --version </dev/null >&5) 2>&5
3475  ac_status=$?
3476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477  (exit $ac_status); }
3478{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3479  (eval $ac_compiler -v </dev/null >&5) 2>&5
3480  ac_status=$?
3481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482  (exit $ac_status); }
3483{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3484  (eval $ac_compiler -V </dev/null >&5) 2>&5
3485  ac_status=$?
3486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487  (exit $ac_status); }
3488
3489echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3490echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3491if test "${ac_cv_c_compiler_gnu+set}" = set; then
3492  echo $ECHO_N "(cached) $ECHO_C" >&6
3493else
3494  cat >conftest.$ac_ext <<_ACEOF
3495/* confdefs.h.  */
3496_ACEOF
3497cat confdefs.h >>conftest.$ac_ext
3498cat >>conftest.$ac_ext <<_ACEOF
3499/* end confdefs.h.  */
3500
3501int
3502main ()
3503{
3504#ifndef __GNUC__
3505       choke me
3506#endif
3507
3508  ;
3509  return 0;
3510}
3511_ACEOF
3512rm -f conftest.$ac_objext
3513if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3514  (eval $ac_compile) 2>conftest.er1
3515  ac_status=$?
3516  grep -v '^ *+' conftest.er1 >conftest.err
3517  rm -f conftest.er1
3518  cat conftest.err >&5
3519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520  (exit $ac_status); } &&
3521	 { ac_try='test -z "$ac_c_werror_flag"
3522			 || test ! -s conftest.err'
3523  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524  (eval $ac_try) 2>&5
3525  ac_status=$?
3526  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527  (exit $ac_status); }; } &&
3528	 { ac_try='test -s conftest.$ac_objext'
3529  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530  (eval $ac_try) 2>&5
3531  ac_status=$?
3532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533  (exit $ac_status); }; }; then
3534  ac_compiler_gnu=yes
3535else
3536  echo "$as_me: failed program was:" >&5
3537sed 's/^/| /' conftest.$ac_ext >&5
3538
3539ac_compiler_gnu=no
3540fi
3541rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3542ac_cv_c_compiler_gnu=$ac_compiler_gnu
3543
3544fi
3545echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3546echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3547GCC=`test $ac_compiler_gnu = yes && echo yes`
3548ac_test_CFLAGS=${CFLAGS+set}
3549ac_save_CFLAGS=$CFLAGS
3550CFLAGS="-g"
3551echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3552echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3553if test "${ac_cv_prog_cc_g+set}" = set; then
3554  echo $ECHO_N "(cached) $ECHO_C" >&6
3555else
3556  cat >conftest.$ac_ext <<_ACEOF
3557/* confdefs.h.  */
3558_ACEOF
3559cat confdefs.h >>conftest.$ac_ext
3560cat >>conftest.$ac_ext <<_ACEOF
3561/* end confdefs.h.  */
3562
3563int
3564main ()
3565{
3566
3567  ;
3568  return 0;
3569}
3570_ACEOF
3571rm -f conftest.$ac_objext
3572if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3573  (eval $ac_compile) 2>conftest.er1
3574  ac_status=$?
3575  grep -v '^ *+' conftest.er1 >conftest.err
3576  rm -f conftest.er1
3577  cat conftest.err >&5
3578  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579  (exit $ac_status); } &&
3580	 { ac_try='test -z "$ac_c_werror_flag"
3581			 || test ! -s conftest.err'
3582  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3583  (eval $ac_try) 2>&5
3584  ac_status=$?
3585  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586  (exit $ac_status); }; } &&
3587	 { ac_try='test -s conftest.$ac_objext'
3588  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3589  (eval $ac_try) 2>&5
3590  ac_status=$?
3591  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592  (exit $ac_status); }; }; then
3593  ac_cv_prog_cc_g=yes
3594else
3595  echo "$as_me: failed program was:" >&5
3596sed 's/^/| /' conftest.$ac_ext >&5
3597
3598ac_cv_prog_cc_g=no
3599fi
3600rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3601fi
3602echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3603echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3604if test "$ac_test_CFLAGS" = set; then
3605  CFLAGS=$ac_save_CFLAGS
3606elif test $ac_cv_prog_cc_g = yes; then
3607  if test "$GCC" = yes; then
3608    CFLAGS="-g -O2"
3609  else
3610    CFLAGS="-g"
3611  fi
3612else
3613  if test "$GCC" = yes; then
3614    CFLAGS="-O2"
3615  else
3616    CFLAGS=
3617  fi
3618fi
3619echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3620echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3621if test "${ac_cv_prog_cc_stdc+set}" = set; then
3622  echo $ECHO_N "(cached) $ECHO_C" >&6
3623else
3624  ac_cv_prog_cc_stdc=no
3625ac_save_CC=$CC
3626cat >conftest.$ac_ext <<_ACEOF
3627/* confdefs.h.  */
3628_ACEOF
3629cat confdefs.h >>conftest.$ac_ext
3630cat >>conftest.$ac_ext <<_ACEOF
3631/* end confdefs.h.  */
3632#include <stdarg.h>
3633#include <stdio.h>
3634#include <sys/types.h>
3635#include <sys/stat.h>
3636/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3637struct buf { int x; };
3638FILE * (*rcsopen) (struct buf *, struct stat *, int);
3639static char *e (p, i)
3640     char **p;
3641     int i;
3642{
3643  return p[i];
3644}
3645static char *f (char * (*g) (char **, int), char **p, ...)
3646{
3647  char *s;
3648  va_list v;
3649  va_start (v,p);
3650  s = g (p, va_arg (v,int));
3651  va_end (v);
3652  return s;
3653}
3654
3655/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3656   function prototypes and stuff, but not '\xHH' hex character constants.
3657   These don't provoke an error unfortunately, instead are silently treated
3658   as 'x'.  The following induces an error, until -std1 is added to get
3659   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3660   array size at least.  It's necessary to write '\x00'==0 to get something
3661   that's true only with -std1.  */
3662int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3663
3664int test (int i, double x);
3665struct s1 {int (*f) (int a);};
3666struct s2 {int (*f) (double a);};
3667int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3668int argc;
3669char **argv;
3670int
3671main ()
3672{
3673return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3674  ;
3675  return 0;
3676}
3677_ACEOF
3678# Don't try gcc -ansi; that turns off useful extensions and
3679# breaks some systems' header files.
3680# AIX			-qlanglvl=ansi
3681# Ultrix and OSF/1	-std1
3682# HP-UX 10.20 and later	-Ae
3683# HP-UX older versions	-Aa -D_HPUX_SOURCE
3684# SVR4			-Xc -D__EXTENSIONS__
3685for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3686do
3687  CC="$ac_save_CC $ac_arg"
3688  rm -f conftest.$ac_objext
3689if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3690  (eval $ac_compile) 2>conftest.er1
3691  ac_status=$?
3692  grep -v '^ *+' conftest.er1 >conftest.err
3693  rm -f conftest.er1
3694  cat conftest.err >&5
3695  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696  (exit $ac_status); } &&
3697	 { ac_try='test -z "$ac_c_werror_flag"
3698			 || test ! -s conftest.err'
3699  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3700  (eval $ac_try) 2>&5
3701  ac_status=$?
3702  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703  (exit $ac_status); }; } &&
3704	 { ac_try='test -s conftest.$ac_objext'
3705  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3706  (eval $ac_try) 2>&5
3707  ac_status=$?
3708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709  (exit $ac_status); }; }; then
3710  ac_cv_prog_cc_stdc=$ac_arg
3711break
3712else
3713  echo "$as_me: failed program was:" >&5
3714sed 's/^/| /' conftest.$ac_ext >&5
3715
3716fi
3717rm -f conftest.err conftest.$ac_objext
3718done
3719rm -f conftest.$ac_ext conftest.$ac_objext
3720CC=$ac_save_CC
3721
3722fi
3723
3724case "x$ac_cv_prog_cc_stdc" in
3725  x|xno)
3726    echo "$as_me:$LINENO: result: none needed" >&5
3727echo "${ECHO_T}none needed" >&6 ;;
3728  *)
3729    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3730echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3731    CC="$CC $ac_cv_prog_cc_stdc" ;;
3732esac
3733
3734# Some people use a C++ compiler to compile C.  Since we use `exit',
3735# in C++ we need to declare it.  In case someone uses the same compiler
3736# for both compiling C and C++ we need to have the C++ compiler decide
3737# the declaration of exit, since it's the most demanding environment.
3738cat >conftest.$ac_ext <<_ACEOF
3739#ifndef __cplusplus
3740  choke me
3741#endif
3742_ACEOF
3743rm -f conftest.$ac_objext
3744if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3745  (eval $ac_compile) 2>conftest.er1
3746  ac_status=$?
3747  grep -v '^ *+' conftest.er1 >conftest.err
3748  rm -f conftest.er1
3749  cat conftest.err >&5
3750  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751  (exit $ac_status); } &&
3752	 { ac_try='test -z "$ac_c_werror_flag"
3753			 || test ! -s conftest.err'
3754  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3755  (eval $ac_try) 2>&5
3756  ac_status=$?
3757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758  (exit $ac_status); }; } &&
3759	 { ac_try='test -s conftest.$ac_objext'
3760  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3761  (eval $ac_try) 2>&5
3762  ac_status=$?
3763  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764  (exit $ac_status); }; }; then
3765  for ac_declaration in \
3766   '' \
3767   'extern "C" void std::exit (int) throw (); using std::exit;' \
3768   'extern "C" void std::exit (int); using std::exit;' \
3769   'extern "C" void exit (int) throw ();' \
3770   'extern "C" void exit (int);' \
3771   'void exit (int);'
3772do
3773  cat >conftest.$ac_ext <<_ACEOF
3774/* confdefs.h.  */
3775_ACEOF
3776cat confdefs.h >>conftest.$ac_ext
3777cat >>conftest.$ac_ext <<_ACEOF
3778/* end confdefs.h.  */
3779$ac_declaration
3780#include <stdlib.h>
3781int
3782main ()
3783{
3784exit (42);
3785  ;
3786  return 0;
3787}
3788_ACEOF
3789rm -f conftest.$ac_objext
3790if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3791  (eval $ac_compile) 2>conftest.er1
3792  ac_status=$?
3793  grep -v '^ *+' conftest.er1 >conftest.err
3794  rm -f conftest.er1
3795  cat conftest.err >&5
3796  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797  (exit $ac_status); } &&
3798	 { ac_try='test -z "$ac_c_werror_flag"
3799			 || test ! -s conftest.err'
3800  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801  (eval $ac_try) 2>&5
3802  ac_status=$?
3803  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804  (exit $ac_status); }; } &&
3805	 { ac_try='test -s conftest.$ac_objext'
3806  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807  (eval $ac_try) 2>&5
3808  ac_status=$?
3809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810  (exit $ac_status); }; }; then
3811  :
3812else
3813  echo "$as_me: failed program was:" >&5
3814sed 's/^/| /' conftest.$ac_ext >&5
3815
3816continue
3817fi
3818rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3819  cat >conftest.$ac_ext <<_ACEOF
3820/* confdefs.h.  */
3821_ACEOF
3822cat confdefs.h >>conftest.$ac_ext
3823cat >>conftest.$ac_ext <<_ACEOF
3824/* end confdefs.h.  */
3825$ac_declaration
3826int
3827main ()
3828{
3829exit (42);
3830  ;
3831  return 0;
3832}
3833_ACEOF
3834rm -f conftest.$ac_objext
3835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3836  (eval $ac_compile) 2>conftest.er1
3837  ac_status=$?
3838  grep -v '^ *+' conftest.er1 >conftest.err
3839  rm -f conftest.er1
3840  cat conftest.err >&5
3841  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842  (exit $ac_status); } &&
3843	 { ac_try='test -z "$ac_c_werror_flag"
3844			 || test ! -s conftest.err'
3845  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3846  (eval $ac_try) 2>&5
3847  ac_status=$?
3848  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849  (exit $ac_status); }; } &&
3850	 { ac_try='test -s conftest.$ac_objext'
3851  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3852  (eval $ac_try) 2>&5
3853  ac_status=$?
3854  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855  (exit $ac_status); }; }; then
3856  break
3857else
3858  echo "$as_me: failed program was:" >&5
3859sed 's/^/| /' conftest.$ac_ext >&5
3860
3861fi
3862rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3863done
3864rm -f conftest*
3865if test -n "$ac_declaration"; then
3866  echo '#ifdef __cplusplus' >>confdefs.h
3867  echo $ac_declaration      >>confdefs.h
3868  echo '#endif'             >>confdefs.h
3869fi
3870
3871else
3872  echo "$as_me: failed program was:" >&5
3873sed 's/^/| /' conftest.$ac_ext >&5
3874
3875fi
3876rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3877ac_ext=c
3878ac_cpp='$CPP $CPPFLAGS'
3879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881ac_compiler_gnu=$ac_cv_c_compiler_gnu
3882
3883depcc="$CC"   am_compiler_list=
3884
3885echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3886echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3887if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3888  echo $ECHO_N "(cached) $ECHO_C" >&6
3889else
3890  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3891  # We make a subdir and do the tests there.  Otherwise we can end up
3892  # making bogus files that we don't know about and never remove.  For
3893  # instance it was reported that on HP-UX the gcc test will end up
3894  # making a dummy file named `D' -- because `-MD' means `put the output
3895  # in D'.
3896  mkdir conftest.dir
3897  # Copy depcomp to subdir because otherwise we won't find it if we're
3898  # using a relative directory.
3899  cp "$am_depcomp" conftest.dir
3900  cd conftest.dir
3901  # We will build objects and dependencies in a subdirectory because
3902  # it helps to detect inapplicable dependency modes.  For instance
3903  # both Tru64's cc and ICC support -MD to output dependencies as a
3904  # side effect of compilation, but ICC will put the dependencies in
3905  # the current directory while Tru64 will put them in the object
3906  # directory.
3907  mkdir sub
3908
3909  am_cv_CC_dependencies_compiler_type=none
3910  if test "$am_compiler_list" = ""; then
3911     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3912  fi
3913  for depmode in $am_compiler_list; do
3914    # Setup a source with many dependencies, because some compilers
3915    # like to wrap large dependency lists on column 80 (with \), and
3916    # we should not choose a depcomp mode which is confused by this.
3917    #
3918    # We need to recreate these files for each test, as the compiler may
3919    # overwrite some of them when testing with obscure command lines.
3920    # This happens at least with the AIX C compiler.
3921    : > sub/conftest.c
3922    for i in 1 2 3 4 5 6; do
3923      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3924      : > sub/conftst$i.h
3925    done
3926    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3927
3928    case $depmode in
3929    nosideeffect)
3930      # after this tag, mechanisms are not by side-effect, so they'll
3931      # only be used when explicitly requested
3932      if test "x$enable_dependency_tracking" = xyes; then
3933	continue
3934      else
3935	break
3936      fi
3937      ;;
3938    none) break ;;
3939    esac
3940    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3941    # mode.  It turns out that the SunPro C++ compiler does not properly
3942    # handle `-M -o', and we need to detect this.
3943    if depmode=$depmode \
3944       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3945       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3946       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3947         >/dev/null 2>conftest.err &&
3948       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3949       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3950       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3951      # icc doesn't choke on unknown options, it will just issue warnings
3952      # (even with -Werror).  So we grep stderr for any message
3953      # that says an option was ignored.
3954      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3955        am_cv_CC_dependencies_compiler_type=$depmode
3956        break
3957      fi
3958    fi
3959  done
3960
3961  cd ..
3962  rm -rf conftest.dir
3963else
3964  am_cv_CC_dependencies_compiler_type=none
3965fi
3966
3967fi
3968echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3969echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3970CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3971
3972
3973
3974if
3975  test "x$enable_dependency_tracking" != xno \
3976  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3977  am__fastdepCC_TRUE=
3978  am__fastdepCC_FALSE='#'
3979else
3980  am__fastdepCC_TRUE='#'
3981  am__fastdepCC_FALSE=
3982fi
3983
3984
3985# Find a good install program.  We prefer a C program (faster),
3986# so one script is as good as another.  But avoid the broken or
3987# incompatible versions:
3988# SysV /etc/install, /usr/sbin/install
3989# SunOS /usr/etc/install
3990# IRIX /sbin/install
3991# AIX /bin/install
3992# AmigaOS /C/install, which installs bootblocks on floppy discs
3993# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3994# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3995# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3996# OS/2's system install, which has a completely different semantic
3997# ./install, which can be erroneously created by make from ./install.sh.
3998echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3999echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4000if test -z "$INSTALL"; then
4001if test "${ac_cv_path_install+set}" = set; then
4002  echo $ECHO_N "(cached) $ECHO_C" >&6
4003else
4004  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005for as_dir in $PATH
4006do
4007  IFS=$as_save_IFS
4008  test -z "$as_dir" && as_dir=.
4009  # Account for people who put trailing slashes in PATH elements.
4010case $as_dir/ in
4011  ./ | .// | /cC/* | \
4012  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4013  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4014  /usr/ucb/* ) ;;
4015  *)
4016    # OSF1 and SCO ODT 3.0 have their own names for install.
4017    # Don't use installbsd from OSF since it installs stuff as root
4018    # by default.
4019    for ac_prog in ginstall scoinst install; do
4020      for ac_exec_ext in '' $ac_executable_extensions; do
4021	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4022	  if test $ac_prog = install &&
4023	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4024	    # AIX install.  It has an incompatible calling convention.
4025	    :
4026	  elif test $ac_prog = install &&
4027	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4028	    # program-specific install script used by HP pwplus--don't use.
4029	    :
4030	  else
4031	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4032	    break 3
4033	  fi
4034	fi
4035      done
4036    done
4037    ;;
4038esac
4039done
4040
4041
4042fi
4043  if test "${ac_cv_path_install+set}" = set; then
4044    INSTALL=$ac_cv_path_install
4045  else
4046    # As a last resort, use the slow shell script.  We don't cache a
4047    # path for INSTALL within a source directory, because that will
4048    # break other packages using the cache if that directory is
4049    # removed, or if the path is relative.
4050    INSTALL=$ac_install_sh
4051  fi
4052fi
4053echo "$as_me:$LINENO: result: $INSTALL" >&5
4054echo "${ECHO_T}$INSTALL" >&6
4055
4056# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4057# It thinks the first close brace ends the variable substitution.
4058test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4059
4060test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4061
4062test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4063
4064
4065
4066
4067if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4068	if test -n "$ac_tool_prefix"; then
4069  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4070set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4071echo "$as_me:$LINENO: checking for $ac_word" >&5
4072echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4073if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4074  echo $ECHO_N "(cached) $ECHO_C" >&6
4075else
4076  case $PKG_CONFIG in
4077  [\\/]* | ?:[\\/]*)
4078  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4079  ;;
4080  *)
4081  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4082for as_dir in $PATH
4083do
4084  IFS=$as_save_IFS
4085  test -z "$as_dir" && as_dir=.
4086  for ac_exec_ext in '' $ac_executable_extensions; do
4087  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4089    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4090    break 2
4091  fi
4092done
4093done
4094
4095  ;;
4096esac
4097fi
4098PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4099
4100if test -n "$PKG_CONFIG"; then
4101  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4102echo "${ECHO_T}$PKG_CONFIG" >&6
4103else
4104  echo "$as_me:$LINENO: result: no" >&5
4105echo "${ECHO_T}no" >&6
4106fi
4107
4108fi
4109if test -z "$ac_cv_path_PKG_CONFIG"; then
4110  ac_pt_PKG_CONFIG=$PKG_CONFIG
4111  # Extract the first word of "pkg-config", so it can be a program name with args.
4112set dummy pkg-config; ac_word=$2
4113echo "$as_me:$LINENO: checking for $ac_word" >&5
4114echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4115if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4116  echo $ECHO_N "(cached) $ECHO_C" >&6
4117else
4118  case $ac_pt_PKG_CONFIG in
4119  [\\/]* | ?:[\\/]*)
4120  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4121  ;;
4122  *)
4123  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4124for as_dir in $PATH
4125do
4126  IFS=$as_save_IFS
4127  test -z "$as_dir" && as_dir=.
4128  for ac_exec_ext in '' $ac_executable_extensions; do
4129  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4130    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4131    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4132    break 2
4133  fi
4134done
4135done
4136
4137  ;;
4138esac
4139fi
4140ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4141
4142if test -n "$ac_pt_PKG_CONFIG"; then
4143  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4144echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
4145else
4146  echo "$as_me:$LINENO: result: no" >&5
4147echo "${ECHO_T}no" >&6
4148fi
4149
4150  PKG_CONFIG=$ac_pt_PKG_CONFIG
4151else
4152  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4153fi
4154
4155fi
4156if test -n "$PKG_CONFIG"; then
4157	_pkg_min_version=0.9.0
4158	echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4159echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
4160	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4161		echo "$as_me:$LINENO: result: yes" >&5
4162echo "${ECHO_T}yes" >&6
4163	else
4164		echo "$as_me:$LINENO: result: no" >&5
4165echo "${ECHO_T}no" >&6
4166		PKG_CONFIG=""
4167	fi
4168
4169fi
4170
4171	# Check whether --enable-xprint or --disable-xprint was given.
4172if test "${enable_xprint+set}" = set; then
4173  enableval="$enable_xprint"
4174  use_xprint=$enableval
4175else
4176  use_xprint=auto
4177fi;
4178	if test "x$use_xprint" = "xyes"; then
4179		TMP_CHECK1=xaw8
4180		TMP_CHECK2=
4181		xaw_use_xprint=yes
4182	elif test "x$use_xprint" = "xno"; then
4183		TMP_CHECK1=xaw7
4184		TMP_CHECK2=
4185		xaw_use_xprint=no
4186	else
4187		TMP_CHECK1=xaw8
4188		TMP_CHECK2=xaw7
4189		xaw_use_xprint=yes
4190	fi
4191
4192
4193pkg_failed=no
4194echo "$as_me:$LINENO: checking for TMP_XAW" >&5
4195echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6
4196
4197if test -n "$PKG_CONFIG"; then
4198    if test -n "$TMP_XAW_CFLAGS"; then
4199        pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS"
4200    else
4201        if test -n "$PKG_CONFIG" && \
4202    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
4203  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
4204  ac_status=$?
4205  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206  (exit $ac_status); }; then
4207  pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK1" 2>/dev/null`
4208else
4209  pkg_failed=yes
4210fi
4211    fi
4212else
4213	pkg_failed=untried
4214fi
4215if test -n "$PKG_CONFIG"; then
4216    if test -n "$TMP_XAW_LIBS"; then
4217        pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS"
4218    else
4219        if test -n "$PKG_CONFIG" && \
4220    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK1\"") >&5
4221  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK1") 2>&5
4222  ac_status=$?
4223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224  (exit $ac_status); }; then
4225  pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK1" 2>/dev/null`
4226else
4227  pkg_failed=yes
4228fi
4229    fi
4230else
4231	pkg_failed=untried
4232fi
4233
4234
4235
4236if test $pkg_failed = yes; then
4237
4238if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4239        _pkg_short_errors_supported=yes
4240else
4241        _pkg_short_errors_supported=no
4242fi
4243        if test $_pkg_short_errors_supported = yes; then
4244	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK1"`
4245        else
4246	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK1"`
4247        fi
4248	# Put the nasty error message in config.log where it belongs
4249	echo "$TMP_XAW_PKG_ERRORS" >&5
4250
4251	success=no
4252elif test $pkg_failed = untried; then
4253	success=no
4254else
4255	TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
4256	TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
4257        echo "$as_me:$LINENO: result: yes" >&5
4258echo "${ECHO_T}yes" >&6
4259	success=yes
4260fi
4261	if [ ! -z $TMP_CHECK2 ] ; then
4262		if test $success = no ; then
4263
4264pkg_failed=no
4265echo "$as_me:$LINENO: checking for TMP_XAW" >&5
4266echo $ECHO_N "checking for TMP_XAW... $ECHO_C" >&6
4267
4268if test -n "$PKG_CONFIG"; then
4269    if test -n "$TMP_XAW_CFLAGS"; then
4270        pkg_cv_TMP_XAW_CFLAGS="$TMP_XAW_CFLAGS"
4271    else
4272        if test -n "$PKG_CONFIG" && \
4273    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
4274  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
4275  ac_status=$?
4276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277  (exit $ac_status); }; then
4278  pkg_cv_TMP_XAW_CFLAGS=`$PKG_CONFIG --cflags "$TMP_CHECK2" 2>/dev/null`
4279else
4280  pkg_failed=yes
4281fi
4282    fi
4283else
4284	pkg_failed=untried
4285fi
4286if test -n "$PKG_CONFIG"; then
4287    if test -n "$TMP_XAW_LIBS"; then
4288        pkg_cv_TMP_XAW_LIBS="$TMP_XAW_LIBS"
4289    else
4290        if test -n "$PKG_CONFIG" && \
4291    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$TMP_CHECK2\"") >&5
4292  ($PKG_CONFIG --exists --print-errors "$TMP_CHECK2") 2>&5
4293  ac_status=$?
4294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295  (exit $ac_status); }; then
4296  pkg_cv_TMP_XAW_LIBS=`$PKG_CONFIG --libs "$TMP_CHECK2" 2>/dev/null`
4297else
4298  pkg_failed=yes
4299fi
4300    fi
4301else
4302	pkg_failed=untried
4303fi
4304
4305
4306
4307if test $pkg_failed = yes; then
4308
4309if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4310        _pkg_short_errors_supported=yes
4311else
4312        _pkg_short_errors_supported=no
4313fi
4314        if test $_pkg_short_errors_supported = yes; then
4315	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$TMP_CHECK2"`
4316        else
4317	        TMP_XAW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$TMP_CHECK2"`
4318        fi
4319	# Put the nasty error message in config.log where it belongs
4320	echo "$TMP_XAW_PKG_ERRORS" >&5
4321
4322	success=no
4323elif test $pkg_failed = untried; then
4324	success=no
4325else
4326	TMP_XAW_CFLAGS=$pkg_cv_TMP_XAW_CFLAGS
4327	TMP_XAW_LIBS=$pkg_cv_TMP_XAW_LIBS
4328        echo "$as_me:$LINENO: result: yes" >&5
4329echo "${ECHO_T}yes" >&6
4330	success=yes
4331fi
4332			xaw_use_xprint=no
4333		fi
4334	fi
4335
4336	if test "x$success" = "xyes"; then
4337		XGC_CFLAGS=$TMP_XAW_CFLAGS
4338		XGC_LIBS=$TMP_XAW_LIBS
4339
4340
4341
4342if test "x$xaw_use_xprint" = "xyes"; then
4343  XAW_USE_XPRINT_TRUE=
4344  XAW_USE_XPRINT_FALSE='#'
4345else
4346  XAW_USE_XPRINT_TRUE='#'
4347  XAW_USE_XPRINT_FALSE=
4348fi
4349
4350	else
4351		{ { echo "$as_me:$LINENO: error: No suitable version of Xaw found" >&5
4352echo "$as_me: error: No suitable version of Xaw found" >&2;}
4353   { (exit 1); exit 1; }; }
4354	fi
4355
4356
4357
4358
4359
4360
4361pkg_failed=no
4362echo "$as_me:$LINENO: checking for APPDEFS" >&5
4363echo $ECHO_N "checking for APPDEFS... $ECHO_C" >&6
4364
4365if test -n "$PKG_CONFIG"; then
4366    if test -n "$APPDEFS_CFLAGS"; then
4367        pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
4368    else
4369        if test -n "$PKG_CONFIG" && \
4370    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
4371  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
4372  ac_status=$?
4373  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374  (exit $ac_status); }; then
4375  pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
4376else
4377  pkg_failed=yes
4378fi
4379    fi
4380else
4381	pkg_failed=untried
4382fi
4383if test -n "$PKG_CONFIG"; then
4384    if test -n "$APPDEFS_LIBS"; then
4385        pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
4386    else
4387        if test -n "$PKG_CONFIG" && \
4388    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt\"") >&5
4389  ($PKG_CONFIG --exists --print-errors "xt") 2>&5
4390  ac_status=$?
4391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392  (exit $ac_status); }; then
4393  pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
4394else
4395  pkg_failed=yes
4396fi
4397    fi
4398else
4399	pkg_failed=untried
4400fi
4401
4402
4403
4404if test $pkg_failed = yes; then
4405
4406if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4407        _pkg_short_errors_supported=yes
4408else
4409        _pkg_short_errors_supported=no
4410fi
4411        if test $_pkg_short_errors_supported = yes; then
4412	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xt"`
4413        else
4414	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xt"`
4415        fi
4416	# Put the nasty error message in config.log where it belongs
4417	echo "$APPDEFS_PKG_ERRORS" >&5
4418
4419	{ { echo "$as_me:$LINENO: error: Package requirements (xt) were not met:
4420
4421$APPDEFS_PKG_ERRORS
4422
4423Consider adjusting the PKG_CONFIG_PATH environment variable if you
4424installed software in a non-standard prefix.
4425
4426Alternatively, you may set the environment variables APPDEFS_CFLAGS
4427and APPDEFS_LIBS to avoid the need to call pkg-config.
4428See the pkg-config man page for more details.
4429" >&5
4430echo "$as_me: error: Package requirements (xt) were not met:
4431
4432$APPDEFS_PKG_ERRORS
4433
4434Consider adjusting the PKG_CONFIG_PATH environment variable if you
4435installed software in a non-standard prefix.
4436
4437Alternatively, you may set the environment variables APPDEFS_CFLAGS
4438and APPDEFS_LIBS to avoid the need to call pkg-config.
4439See the pkg-config man page for more details.
4440" >&2;}
4441   { (exit 1); exit 1; }; }
4442elif test $pkg_failed = untried; then
4443	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
4444is in your PATH or set the PKG_CONFIG environment variable to the full
4445path to pkg-config.
4446
4447Alternatively, you may set the environment variables APPDEFS_CFLAGS
4448and APPDEFS_LIBS to avoid the need to call pkg-config.
4449See the pkg-config man page for more details.
4450
4451To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4452See \`config.log' for more details." >&5
4453echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
4454is in your PATH or set the PKG_CONFIG environment variable to the full
4455path to pkg-config.
4456
4457Alternatively, you may set the environment variables APPDEFS_CFLAGS
4458and APPDEFS_LIBS to avoid the need to call pkg-config.
4459See the pkg-config man page for more details.
4460
4461To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
4462See \`config.log' for more details." >&2;}
4463   { (exit 1); exit 1; }; }
4464else
4465	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
4466	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
4467        echo "$as_me:$LINENO: result: yes" >&5
4468echo "${ECHO_T}yes" >&6
4469	:
4470fi
4471appdefaultdir=$(pkg-config --variable=appdefaultdir xt)
4472
4473
4474# Make sure we can run config.sub.
4475$ac_config_sub sun4 >/dev/null 2>&1 ||
4476  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4477echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4478   { (exit 1); exit 1; }; }
4479
4480echo "$as_me:$LINENO: checking build system type" >&5
4481echo $ECHO_N "checking build system type... $ECHO_C" >&6
4482if test "${ac_cv_build+set}" = set; then
4483  echo $ECHO_N "(cached) $ECHO_C" >&6
4484else
4485  ac_cv_build_alias=$build_alias
4486test -z "$ac_cv_build_alias" &&
4487  ac_cv_build_alias=`$ac_config_guess`
4488test -z "$ac_cv_build_alias" &&
4489  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4490echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4491   { (exit 1); exit 1; }; }
4492ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4493  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4494echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4495   { (exit 1); exit 1; }; }
4496
4497fi
4498echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4499echo "${ECHO_T}$ac_cv_build" >&6
4500build=$ac_cv_build
4501build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4502build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4503build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4504
4505
4506echo "$as_me:$LINENO: checking host system type" >&5
4507echo $ECHO_N "checking host system type... $ECHO_C" >&6
4508if test "${ac_cv_host+set}" = set; then
4509  echo $ECHO_N "(cached) $ECHO_C" >&6
4510else
4511  ac_cv_host_alias=$host_alias
4512test -z "$ac_cv_host_alias" &&
4513  ac_cv_host_alias=$ac_cv_build_alias
4514ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4515  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4516echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4517   { (exit 1); exit 1; }; }
4518
4519fi
4520echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4521echo "${ECHO_T}$ac_cv_host" >&6
4522host=$ac_cv_host
4523host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4524host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4525host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4526
4527
4528
4529
4530
4531if test x$APP_MAN_SUFFIX = x    ; then
4532    case $host_os in
4533	linux*)	APP_MAN_SUFFIX=1x ;;
4534	*)	APP_MAN_SUFFIX=1  ;;
4535    esac
4536fi
4537if test x$APP_MAN_DIR = x    ; then
4538    case $host_os in
4539	linux*)	APP_MAN_DIR='$(mandir)/man1' ;;
4540	*)	APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
4541    esac
4542fi
4543
4544if test x$LIB_MAN_SUFFIX = x    ; then
4545    case $host_os in
4546	linux*)	LIB_MAN_SUFFIX=3x ;;
4547	*)	LIB_MAN_SUFFIX=3  ;;
4548    esac
4549fi
4550if test x$LIB_MAN_DIR = x    ; then
4551    case $host_os in
4552	linux*)	LIB_MAN_DIR='$(mandir)/man3' ;;
4553	*)	LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
4554    esac
4555fi
4556
4557if test x$FILE_MAN_SUFFIX = x    ; then
4558    case $host_os in
4559	linux*)		FILE_MAN_SUFFIX=5x ;;
4560	solaris*)	FILE_MAN_SUFFIX=4  ;;
4561	*)		FILE_MAN_SUFFIX=5  ;;
4562    esac
4563fi
4564if test x$FILE_MAN_DIR = x    ; then
4565    case $host_os in
4566	linux*)	FILE_MAN_DIR='$(mandir)/man5' ;;
4567	*)	FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
4568    esac
4569fi
4570
4571# In Imake's linux.cf, the misc man suffix & dir was only changed for
4572# LinuxDebian, not other Linuxes, so we leave it unchanged here
4573if test x$MISC_MAN_SUFFIX = x    ; then
4574    case $host_os in
4575#	linux*)		MISC_MAN_SUFFIX=7x ;;
4576	solaris*)	MISC_MAN_SUFFIX=5  ;;
4577	*)		MISC_MAN_SUFFIX=7  ;;
4578    esac
4579fi
4580if test x$MISC_MAN_DIR = x    ; then
4581    case $host_os in
4582#	linux*)	MISC_MAN_DIR='$(mandir)/man7' ;;
4583	*)	MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
4584    esac
4585fi
4586
4587# In Imake's linux.cf, the driver man suffix & dir was only changed for
4588# LinuxDebian, not other Linuxes, so we leave it unchanged here
4589if test x$DRIVER_MAN_SUFFIX = x    ; then
4590    case $host_os in
4591#	linux*)		DRIVER_MAN_SUFFIX=4x ;;
4592	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4593	*)		DRIVER_MAN_SUFFIX=4  ;;
4594    esac
4595fi
4596if test x$DRIVER_MAN_DIR = x    ; then
4597    case $host_os in
4598#	linux*)	DRIVER_MAN_DIR='$(mandir)/man4' ;;
4599	*)	DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
4600    esac
4601fi
4602
4603if test x$ADMIN_MAN_SUFFIX = x    ; then
4604    case $host_os in
4605	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4606	*)		ADMIN_MAN_SUFFIX=8  ;;
4607    esac
4608fi
4609if test x$ADMIN_MAN_DIR = x    ; then
4610    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4611fi
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629# Check whether --with-release-version or --without-release-version was given.
4630if test "${with_release_version+set}" = set; then
4631  withval="$with_release_version"
4632  RELEASE_VERSION="$withval"
4633else
4634  RELEASE_VERSION=""
4635fi;
4636	if test "x$RELEASE_VERSION" != "x"; then
4637		PACKAGE="$PACKAGE-$RELEASE_VERSION"
4638		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4639		{ echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4640echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4641	fi
4642
4643
4644          ac_config_files="$ac_config_files Makefile"
4645cat >confcache <<\_ACEOF
4646# This file is a shell script that caches the results of configure
4647# tests run on this system so they can be shared between configure
4648# scripts and configure runs, see configure's option --config-cache.
4649# It is not useful on other systems.  If it contains results you don't
4650# want to keep, you may remove or edit it.
4651#
4652# config.status only pays attention to the cache file if you give it
4653# the --recheck option to rerun configure.
4654#
4655# `ac_cv_env_foo' variables (set or unset) will be overridden when
4656# loading this file, other *unset* `ac_cv_foo' will be assigned the
4657# following values.
4658
4659_ACEOF
4660
4661# The following way of writing the cache mishandles newlines in values,
4662# but we know of no workaround that is simple, portable, and efficient.
4663# So, don't put newlines in cache variables' values.
4664# Ultrix sh set writes to stderr and can't be redirected directly,
4665# and sets the high bit in the cache file unless we assign to the vars.
4666{
4667  (set) 2>&1 |
4668    case `(ac_space=' '; set | grep ac_space) 2>&1` in
4669    *ac_space=\ *)
4670      # `set' does not quote correctly, so add quotes (double-quote
4671      # substitution turns \\\\ into \\, and sed turns \\ into \).
4672      sed -n \
4673	"s/'/'\\\\''/g;
4674	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4675      ;;
4676    *)
4677      # `set' quotes correctly as required by POSIX, so do not add quotes.
4678      sed -n \
4679	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4680      ;;
4681    esac;
4682} |
4683  sed '
4684     t clear
4685     : clear
4686     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4687     t end
4688     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4689     : end' >>confcache
4690if diff $cache_file confcache >/dev/null 2>&1; then :; else
4691  if test -w $cache_file; then
4692    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4693    cat confcache >$cache_file
4694  else
4695    echo "not updating unwritable cache $cache_file"
4696  fi
4697fi
4698rm -f confcache
4699
4700test "x$prefix" = xNONE && prefix=$ac_default_prefix
4701# Let make expand exec_prefix.
4702test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4703
4704# VPATH may cause trouble with some makes, so we remove $(srcdir),
4705# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4706# trailing colons and then remove the whole line if VPATH becomes empty
4707# (actually we leave an empty line to preserve line numbers).
4708if test "x$srcdir" = x.; then
4709  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
4710s/:*\$(srcdir):*/:/;
4711s/:*\${srcdir}:*/:/;
4712s/:*@srcdir@:*/:/;
4713s/^\([^=]*=[	 ]*\):*/\1/;
4714s/:*$//;
4715s/^[^=]*=[	 ]*$//;
4716}'
4717fi
4718
4719DEFS=-DHAVE_CONFIG_H
4720
4721ac_libobjs=
4722ac_ltlibobjs=
4723for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4724  # 1. Remove the extension, and $U if already installed.
4725  ac_i=`echo "$ac_i" |
4726	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4727  # 2. Add them.
4728  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4729  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4730done
4731LIBOBJS=$ac_libobjs
4732
4733LTLIBOBJS=$ac_ltlibobjs
4734
4735
4736if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4737  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4738Usually this means the macro was only invoked conditionally." >&5
4739echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4740Usually this means the macro was only invoked conditionally." >&2;}
4741   { (exit 1); exit 1; }; }
4742fi
4743if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4744  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4745Usually this means the macro was only invoked conditionally." >&5
4746echo "$as_me: error: conditional \"AMDEP\" was never defined.
4747Usually this means the macro was only invoked conditionally." >&2;}
4748   { (exit 1); exit 1; }; }
4749fi
4750if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4751  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4752Usually this means the macro was only invoked conditionally." >&5
4753echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4754Usually this means the macro was only invoked conditionally." >&2;}
4755   { (exit 1); exit 1; }; }
4756fi
4757if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4758  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4759Usually this means the macro was only invoked conditionally." >&5
4760echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4761Usually this means the macro was only invoked conditionally." >&2;}
4762   { (exit 1); exit 1; }; }
4763fi
4764if test -z "${XAW_USE_XPRINT_TRUE}" && test -z "${XAW_USE_XPRINT_FALSE}"; then
4765  { { echo "$as_me:$LINENO: error: conditional \"XAW_USE_XPRINT\" was never defined.
4766Usually this means the macro was only invoked conditionally." >&5
4767echo "$as_me: error: conditional \"XAW_USE_XPRINT\" was never defined.
4768Usually this means the macro was only invoked conditionally." >&2;}
4769   { (exit 1); exit 1; }; }
4770fi
4771
4772: ${CONFIG_STATUS=./config.status}
4773ac_clean_files_save=$ac_clean_files
4774ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4775{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4776echo "$as_me: creating $CONFIG_STATUS" >&6;}
4777cat >$CONFIG_STATUS <<_ACEOF
4778#! $SHELL
4779# Generated by $as_me.
4780# Run this file to recreate the current configuration.
4781# Compiler output produced by configure, useful for debugging
4782# configure, is in config.log if it exists.
4783
4784debug=false
4785ac_cs_recheck=false
4786ac_cs_silent=false
4787SHELL=\${CONFIG_SHELL-$SHELL}
4788_ACEOF
4789
4790cat >>$CONFIG_STATUS <<\_ACEOF
4791## --------------------- ##
4792## M4sh Initialization.  ##
4793## --------------------- ##
4794
4795# Be Bourne compatible
4796if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4797  emulate sh
4798  NULLCMD=:
4799  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4800  # is contrary to our usage.  Disable this feature.
4801  alias -g '${1+"$@"}'='"$@"'
4802elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4803  set -o posix
4804fi
4805DUALCASE=1; export DUALCASE # for MKS sh
4806
4807# Support unset when possible.
4808if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4809  as_unset=unset
4810else
4811  as_unset=false
4812fi
4813
4814
4815# Work around bugs in pre-3.0 UWIN ksh.
4816$as_unset ENV MAIL MAILPATH
4817PS1='$ '
4818PS2='> '
4819PS4='+ '
4820
4821# NLS nuisances.
4822for as_var in \
4823  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4824  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4825  LC_TELEPHONE LC_TIME
4826do
4827  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4828    eval $as_var=C; export $as_var
4829  else
4830    $as_unset $as_var
4831  fi
4832done
4833
4834# Required to use basename.
4835if expr a : '\(a\)' >/dev/null 2>&1; then
4836  as_expr=expr
4837else
4838  as_expr=false
4839fi
4840
4841if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4842  as_basename=basename
4843else
4844  as_basename=false
4845fi
4846
4847
4848# Name of the executable.
4849as_me=`$as_basename "$0" ||
4850$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4851	 X"$0" : 'X\(//\)$' \| \
4852	 X"$0" : 'X\(/\)$' \| \
4853	 .     : '\(.\)' 2>/dev/null ||
4854echo X/"$0" |
4855    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4856  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
4857  	  /^X\/\(\/\).*/{ s//\1/; q; }
4858  	  s/.*/./; q'`
4859
4860
4861# PATH needs CR, and LINENO needs CR and PATH.
4862# Avoid depending upon Character Ranges.
4863as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4864as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4865as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4866as_cr_digits='0123456789'
4867as_cr_alnum=$as_cr_Letters$as_cr_digits
4868
4869# The user is always right.
4870if test "${PATH_SEPARATOR+set}" != set; then
4871  echo "#! /bin/sh" >conf$$.sh
4872  echo  "exit 0"   >>conf$$.sh
4873  chmod +x conf$$.sh
4874  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4875    PATH_SEPARATOR=';'
4876  else
4877    PATH_SEPARATOR=:
4878  fi
4879  rm -f conf$$.sh
4880fi
4881
4882
4883  as_lineno_1=$LINENO
4884  as_lineno_2=$LINENO
4885  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4886  test "x$as_lineno_1" != "x$as_lineno_2" &&
4887  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4888  # Find who we are.  Look in the path if we contain no path at all
4889  # relative or not.
4890  case $0 in
4891    *[\\/]* ) as_myself=$0 ;;
4892    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893for as_dir in $PATH
4894do
4895  IFS=$as_save_IFS
4896  test -z "$as_dir" && as_dir=.
4897  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4898done
4899
4900       ;;
4901  esac
4902  # We did not find ourselves, most probably we were run as `sh COMMAND'
4903  # in which case we are not to be found in the path.
4904  if test "x$as_myself" = x; then
4905    as_myself=$0
4906  fi
4907  if test ! -f "$as_myself"; then
4908    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4909echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4910   { (exit 1); exit 1; }; }
4911  fi
4912  case $CONFIG_SHELL in
4913  '')
4914    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4916do
4917  IFS=$as_save_IFS
4918  test -z "$as_dir" && as_dir=.
4919  for as_base in sh bash ksh sh5; do
4920	 case $as_dir in
4921	 /*)
4922	   if ("$as_dir/$as_base" -c '
4923  as_lineno_1=$LINENO
4924  as_lineno_2=$LINENO
4925  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4926  test "x$as_lineno_1" != "x$as_lineno_2" &&
4927  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4928	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4929	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4930	     CONFIG_SHELL=$as_dir/$as_base
4931	     export CONFIG_SHELL
4932	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4933	   fi;;
4934	 esac
4935       done
4936done
4937;;
4938  esac
4939
4940  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4941  # uniformly replaced by the line number.  The first 'sed' inserts a
4942  # line-number line before each line; the second 'sed' does the real
4943  # work.  The second script uses 'N' to pair each line-number line
4944  # with the numbered line, and appends trailing '-' during
4945  # substitution so that $LINENO is not a special case at line end.
4946  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4947  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4948  sed '=' <$as_myself |
4949    sed '
4950      N
4951      s,$,-,
4952      : loop
4953      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4954      t loop
4955      s,-$,,
4956      s,^['$as_cr_digits']*\n,,
4957    ' >$as_me.lineno &&
4958  chmod +x $as_me.lineno ||
4959    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4960echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4961   { (exit 1); exit 1; }; }
4962
4963  # Don't try to exec as it changes $[0], causing all sort of problems
4964  # (the dirname of $[0] is not the place where we might find the
4965  # original and so on.  Autoconf is especially sensible to this).
4966  . ./$as_me.lineno
4967  # Exit status is that of the last command.
4968  exit
4969}
4970
4971
4972case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4973  *c*,-n*) ECHO_N= ECHO_C='
4974' ECHO_T='	' ;;
4975  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4976  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4977esac
4978
4979if expr a : '\(a\)' >/dev/null 2>&1; then
4980  as_expr=expr
4981else
4982  as_expr=false
4983fi
4984
4985rm -f conf$$ conf$$.exe conf$$.file
4986echo >conf$$.file
4987if ln -s conf$$.file conf$$ 2>/dev/null; then
4988  # We could just check for DJGPP; but this test a) works b) is more generic
4989  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4990  if test -f conf$$.exe; then
4991    # Don't use ln at all; we don't have any links
4992    as_ln_s='cp -p'
4993  else
4994    as_ln_s='ln -s'
4995  fi
4996elif ln conf$$.file conf$$ 2>/dev/null; then
4997  as_ln_s=ln
4998else
4999  as_ln_s='cp -p'
5000fi
5001rm -f conf$$ conf$$.exe conf$$.file
5002
5003if mkdir -p . 2>/dev/null; then
5004  as_mkdir_p=:
5005else
5006  test -d ./-p && rmdir ./-p
5007  as_mkdir_p=false
5008fi
5009
5010as_executable_p="test -f"
5011
5012# Sed expression to map a string onto a valid CPP name.
5013as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5014
5015# Sed expression to map a string onto a valid variable name.
5016as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5017
5018
5019# IFS
5020# We need space, tab and new line, in precisely that order.
5021as_nl='
5022'
5023IFS=" 	$as_nl"
5024
5025# CDPATH.
5026$as_unset CDPATH
5027
5028exec 6>&1
5029
5030# Open the log real soon, to keep \$[0] and so on meaningful, and to
5031# report actual input values of CONFIG_FILES etc. instead of their
5032# values after options handling.  Logging --version etc. is OK.
5033exec 5>>config.log
5034{
5035  echo
5036  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5037## Running $as_me. ##
5038_ASBOX
5039} >&5
5040cat >&5 <<_CSEOF
5041
5042This file was extended by xgc $as_me 1.0.1, which was
5043generated by GNU Autoconf 2.59.  Invocation command line was
5044
5045  CONFIG_FILES    = $CONFIG_FILES
5046  CONFIG_HEADERS  = $CONFIG_HEADERS
5047  CONFIG_LINKS    = $CONFIG_LINKS
5048  CONFIG_COMMANDS = $CONFIG_COMMANDS
5049  $ $0 $@
5050
5051_CSEOF
5052echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5053echo >&5
5054_ACEOF
5055
5056# Files that config.status was made for.
5057if test -n "$ac_config_files"; then
5058  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5059fi
5060
5061if test -n "$ac_config_headers"; then
5062  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5063fi
5064
5065if test -n "$ac_config_links"; then
5066  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5067fi
5068
5069if test -n "$ac_config_commands"; then
5070  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5071fi
5072
5073cat >>$CONFIG_STATUS <<\_ACEOF
5074
5075ac_cs_usage="\
5076\`$as_me' instantiates files from templates according to the
5077current configuration.
5078
5079Usage: $0 [OPTIONS] [FILE]...
5080
5081  -h, --help       print this help, then exit
5082  -V, --version    print version number, then exit
5083  -q, --quiet      do not print progress messages
5084  -d, --debug      don't remove temporary files
5085      --recheck    update $as_me by reconfiguring in the same conditions
5086  --file=FILE[:TEMPLATE]
5087		   instantiate the configuration file FILE
5088  --header=FILE[:TEMPLATE]
5089		   instantiate the configuration header FILE
5090
5091Configuration files:
5092$config_files
5093
5094Configuration headers:
5095$config_headers
5096
5097Configuration commands:
5098$config_commands
5099
5100Report bugs to <bug-autoconf@gnu.org>."
5101_ACEOF
5102
5103cat >>$CONFIG_STATUS <<_ACEOF
5104ac_cs_version="\\
5105xgc config.status 1.0.1
5106configured by $0, generated by GNU Autoconf 2.59,
5107  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5108
5109Copyright (C) 2003 Free Software Foundation, Inc.
5110This config.status script is free software; the Free Software Foundation
5111gives unlimited permission to copy, distribute and modify it."
5112srcdir=$srcdir
5113INSTALL="$INSTALL"
5114_ACEOF
5115
5116cat >>$CONFIG_STATUS <<\_ACEOF
5117# If no file are specified by the user, then we need to provide default
5118# value.  By we need to know if files were specified by the user.
5119ac_need_defaults=:
5120while test $# != 0
5121do
5122  case $1 in
5123  --*=*)
5124    ac_option=`expr "x$1" : 'x\([^=]*\)='`
5125    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5126    ac_shift=:
5127    ;;
5128  -*)
5129    ac_option=$1
5130    ac_optarg=$2
5131    ac_shift=shift
5132    ;;
5133  *) # This is not an option, so the user has probably given explicit
5134     # arguments.
5135     ac_option=$1
5136     ac_need_defaults=false;;
5137  esac
5138
5139  case $ac_option in
5140  # Handling of the options.
5141_ACEOF
5142cat >>$CONFIG_STATUS <<\_ACEOF
5143  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5144    ac_cs_recheck=: ;;
5145  --version | --vers* | -V )
5146    echo "$ac_cs_version"; exit 0 ;;
5147  --he | --h)
5148    # Conflict between --help and --header
5149    { { echo "$as_me:$LINENO: error: ambiguous option: $1
5150Try \`$0 --help' for more information." >&5
5151echo "$as_me: error: ambiguous option: $1
5152Try \`$0 --help' for more information." >&2;}
5153   { (exit 1); exit 1; }; };;
5154  --help | --hel | -h )
5155    echo "$ac_cs_usage"; exit 0 ;;
5156  --debug | --d* | -d )
5157    debug=: ;;
5158  --file | --fil | --fi | --f )
5159    $ac_shift
5160    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5161    ac_need_defaults=false;;
5162  --header | --heade | --head | --hea )
5163    $ac_shift
5164    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5165    ac_need_defaults=false;;
5166  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5167  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5168    ac_cs_silent=: ;;
5169
5170  # This is an error.
5171  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5172Try \`$0 --help' for more information." >&5
5173echo "$as_me: error: unrecognized option: $1
5174Try \`$0 --help' for more information." >&2;}
5175   { (exit 1); exit 1; }; } ;;
5176
5177  *) ac_config_targets="$ac_config_targets $1" ;;
5178
5179  esac
5180  shift
5181done
5182
5183ac_configure_extra_args=
5184
5185if $ac_cs_silent; then
5186  exec 6>/dev/null
5187  ac_configure_extra_args="$ac_configure_extra_args --silent"
5188fi
5189
5190_ACEOF
5191cat >>$CONFIG_STATUS <<_ACEOF
5192if \$ac_cs_recheck; then
5193  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5194  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5195fi
5196
5197_ACEOF
5198
5199cat >>$CONFIG_STATUS <<_ACEOF
5200#
5201# INIT-COMMANDS section.
5202#
5203
5204AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5205
5206_ACEOF
5207
5208
5209
5210cat >>$CONFIG_STATUS <<\_ACEOF
5211for ac_config_target in $ac_config_targets
5212do
5213  case "$ac_config_target" in
5214  # Handling of arguments.
5215  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5216  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5217  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5218  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5219echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5220   { (exit 1); exit 1; }; };;
5221  esac
5222done
5223
5224# If the user did not use the arguments to specify the items to instantiate,
5225# then the envvar interface is used.  Set only those that are not.
5226# We use the long form for the default assignment because of an extremely
5227# bizarre bug on SunOS 4.1.3.
5228if $ac_need_defaults; then
5229  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5230  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5231  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5232fi
5233
5234# Have a temporary directory for convenience.  Make it in the build tree
5235# simply because there is no reason to put it here, and in addition,
5236# creating and moving files from /tmp can sometimes cause problems.
5237# Create a temporary directory, and hook for its removal unless debugging.
5238$debug ||
5239{
5240  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5241  trap '{ (exit 1); exit 1; }' 1 2 13 15
5242}
5243
5244# Create a (secure) tmp directory for tmp files.
5245
5246{
5247  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5248  test -n "$tmp" && test -d "$tmp"
5249}  ||
5250{
5251  tmp=./confstat$$-$RANDOM
5252  (umask 077 && mkdir $tmp)
5253} ||
5254{
5255   echo "$me: cannot create a temporary directory in ." >&2
5256   { (exit 1); exit 1; }
5257}
5258
5259_ACEOF
5260
5261cat >>$CONFIG_STATUS <<_ACEOF
5262
5263#
5264# CONFIG_FILES section.
5265#
5266
5267# No need to generate the scripts if there are no CONFIG_FILES.
5268# This happens for instance when ./config.status config.h
5269if test -n "\$CONFIG_FILES"; then
5270  # Protect against being on the right side of a sed subst in config.status.
5271  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5272   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5273s,@SHELL@,$SHELL,;t t
5274s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5275s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5276s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5277s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5278s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5279s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5280s,@exec_prefix@,$exec_prefix,;t t
5281s,@prefix@,$prefix,;t t
5282s,@program_transform_name@,$program_transform_name,;t t
5283s,@bindir@,$bindir,;t t
5284s,@sbindir@,$sbindir,;t t
5285s,@libexecdir@,$libexecdir,;t t
5286s,@datadir@,$datadir,;t t
5287s,@sysconfdir@,$sysconfdir,;t t
5288s,@sharedstatedir@,$sharedstatedir,;t t
5289s,@localstatedir@,$localstatedir,;t t
5290s,@libdir@,$libdir,;t t
5291s,@includedir@,$includedir,;t t
5292s,@oldincludedir@,$oldincludedir,;t t
5293s,@infodir@,$infodir,;t t
5294s,@mandir@,$mandir,;t t
5295s,@build_alias@,$build_alias,;t t
5296s,@host_alias@,$host_alias,;t t
5297s,@target_alias@,$target_alias,;t t
5298s,@DEFS@,$DEFS,;t t
5299s,@ECHO_C@,$ECHO_C,;t t
5300s,@ECHO_N@,$ECHO_N,;t t
5301s,@ECHO_T@,$ECHO_T,;t t
5302s,@LIBS@,$LIBS,;t t
5303s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5304s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5305s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5306s,@CYGPATH_W@,$CYGPATH_W,;t t
5307s,@PACKAGE@,$PACKAGE,;t t
5308s,@VERSION@,$VERSION,;t t
5309s,@ACLOCAL@,$ACLOCAL,;t t
5310s,@AUTOCONF@,$AUTOCONF,;t t
5311s,@AUTOMAKE@,$AUTOMAKE,;t t
5312s,@AUTOHEADER@,$AUTOHEADER,;t t
5313s,@MAKEINFO@,$MAKEINFO,;t t
5314s,@AMTAR@,$AMTAR,;t t
5315s,@install_sh@,$install_sh,;t t
5316s,@STRIP@,$STRIP,;t t
5317s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5318s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5319s,@AWK@,$AWK,;t t
5320s,@SET_MAKE@,$SET_MAKE,;t t
5321s,@am__leading_dot@,$am__leading_dot,;t t
5322s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5323s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5324s,@MAINT@,$MAINT,;t t
5325s,@LEX@,$LEX,;t t
5326s,@CC@,$CC,;t t
5327s,@CFLAGS@,$CFLAGS,;t t
5328s,@LDFLAGS@,$LDFLAGS,;t t
5329s,@CPPFLAGS@,$CPPFLAGS,;t t
5330s,@ac_ct_CC@,$ac_ct_CC,;t t
5331s,@EXEEXT@,$EXEEXT,;t t
5332s,@OBJEXT@,$OBJEXT,;t t
5333s,@DEPDIR@,$DEPDIR,;t t
5334s,@am__include@,$am__include,;t t
5335s,@am__quote@,$am__quote,;t t
5336s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5337s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5338s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5339s,@CCDEPMODE@,$CCDEPMODE,;t t
5340s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5341s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5342s,@LEXLIB@,$LEXLIB,;t t
5343s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
5344s,@YACC@,$YACC,;t t
5345s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5346s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
5347s,@TMP_XAW_CFLAGS@,$TMP_XAW_CFLAGS,;t t
5348s,@TMP_XAW_LIBS@,$TMP_XAW_LIBS,;t t
5349s,@XAW_USE_XPRINT_TRUE@,$XAW_USE_XPRINT_TRUE,;t t
5350s,@XAW_USE_XPRINT_FALSE@,$XAW_USE_XPRINT_FALSE,;t t
5351s,@XGC_CFLAGS@,$XGC_CFLAGS,;t t
5352s,@XGC_LIBS@,$XGC_LIBS,;t t
5353s,@APPDEFS_CFLAGS@,$APPDEFS_CFLAGS,;t t
5354s,@APPDEFS_LIBS@,$APPDEFS_LIBS,;t t
5355s,@appdefaultdir@,$appdefaultdir,;t t
5356s,@build@,$build,;t t
5357s,@build_cpu@,$build_cpu,;t t
5358s,@build_vendor@,$build_vendor,;t t
5359s,@build_os@,$build_os,;t t
5360s,@host@,$host,;t t
5361s,@host_cpu@,$host_cpu,;t t
5362s,@host_vendor@,$host_vendor,;t t
5363s,@host_os@,$host_os,;t t
5364s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
5365s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
5366s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
5367s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
5368s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
5369s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
5370s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
5371s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
5372s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
5373s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
5374s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
5375s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
5376s,@LIBOBJS@,$LIBOBJS,;t t
5377s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5378CEOF
5379
5380_ACEOF
5381
5382  cat >>$CONFIG_STATUS <<\_ACEOF
5383  # Split the substitutions into bite-sized pieces for seds with
5384  # small command number limits, like on Digital OSF/1 and HP-UX.
5385  ac_max_sed_lines=48
5386  ac_sed_frag=1 # Number of current file.
5387  ac_beg=1 # First line for current file.
5388  ac_end=$ac_max_sed_lines # Line after last line for current file.
5389  ac_more_lines=:
5390  ac_sed_cmds=
5391  while $ac_more_lines; do
5392    if test $ac_beg -gt 1; then
5393      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5394    else
5395      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5396    fi
5397    if test ! -s $tmp/subs.frag; then
5398      ac_more_lines=false
5399    else
5400      # The purpose of the label and of the branching condition is to
5401      # speed up the sed processing (if there are no `@' at all, there
5402      # is no need to browse any of the substitutions).
5403      # These are the two extra sed commands mentioned above.
5404      (echo ':t
5405  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5406      if test -z "$ac_sed_cmds"; then
5407	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5408      else
5409	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5410      fi
5411      ac_sed_frag=`expr $ac_sed_frag + 1`
5412      ac_beg=$ac_end
5413      ac_end=`expr $ac_end + $ac_max_sed_lines`
5414    fi
5415  done
5416  if test -z "$ac_sed_cmds"; then
5417    ac_sed_cmds=cat
5418  fi
5419fi # test -n "$CONFIG_FILES"
5420
5421_ACEOF
5422cat >>$CONFIG_STATUS <<\_ACEOF
5423for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5424  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5425  case $ac_file in
5426  - | *:- | *:-:* ) # input from stdin
5427	cat >$tmp/stdin
5428	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5429	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5430  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5431	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5432  * )   ac_file_in=$ac_file.in ;;
5433  esac
5434
5435  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5436  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5437$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5438	 X"$ac_file" : 'X\(//\)[^/]' \| \
5439	 X"$ac_file" : 'X\(//\)$' \| \
5440	 X"$ac_file" : 'X\(/\)' \| \
5441	 .     : '\(.\)' 2>/dev/null ||
5442echo X"$ac_file" |
5443    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5444  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5445  	  /^X\(\/\/\)$/{ s//\1/; q; }
5446  	  /^X\(\/\).*/{ s//\1/; q; }
5447  	  s/.*/./; q'`
5448  { if $as_mkdir_p; then
5449    mkdir -p "$ac_dir"
5450  else
5451    as_dir="$ac_dir"
5452    as_dirs=
5453    while test ! -d "$as_dir"; do
5454      as_dirs="$as_dir $as_dirs"
5455      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5456$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5457	 X"$as_dir" : 'X\(//\)[^/]' \| \
5458	 X"$as_dir" : 'X\(//\)$' \| \
5459	 X"$as_dir" : 'X\(/\)' \| \
5460	 .     : '\(.\)' 2>/dev/null ||
5461echo X"$as_dir" |
5462    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5463  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5464  	  /^X\(\/\/\)$/{ s//\1/; q; }
5465  	  /^X\(\/\).*/{ s//\1/; q; }
5466  	  s/.*/./; q'`
5467    done
5468    test ! -n "$as_dirs" || mkdir $as_dirs
5469  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5470echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5471   { (exit 1); exit 1; }; }; }
5472
5473  ac_builddir=.
5474
5475if test "$ac_dir" != .; then
5476  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5477  # A "../" for each directory in $ac_dir_suffix.
5478  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5479else
5480  ac_dir_suffix= ac_top_builddir=
5481fi
5482
5483case $srcdir in
5484  .)  # No --srcdir option.  We are building in place.
5485    ac_srcdir=.
5486    if test -z "$ac_top_builddir"; then
5487       ac_top_srcdir=.
5488    else
5489       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5490    fi ;;
5491  [\\/]* | ?:[\\/]* )  # Absolute path.
5492    ac_srcdir=$srcdir$ac_dir_suffix;
5493    ac_top_srcdir=$srcdir ;;
5494  *) # Relative path.
5495    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5496    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5497esac
5498
5499# Do not use `cd foo && pwd` to compute absolute paths, because
5500# the directories may not exist.
5501case `pwd` in
5502.) ac_abs_builddir="$ac_dir";;
5503*)
5504  case "$ac_dir" in
5505  .) ac_abs_builddir=`pwd`;;
5506  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5507  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5508  esac;;
5509esac
5510case $ac_abs_builddir in
5511.) ac_abs_top_builddir=${ac_top_builddir}.;;
5512*)
5513  case ${ac_top_builddir}. in
5514  .) ac_abs_top_builddir=$ac_abs_builddir;;
5515  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5516  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5517  esac;;
5518esac
5519case $ac_abs_builddir in
5520.) ac_abs_srcdir=$ac_srcdir;;
5521*)
5522  case $ac_srcdir in
5523  .) ac_abs_srcdir=$ac_abs_builddir;;
5524  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5525  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5526  esac;;
5527esac
5528case $ac_abs_builddir in
5529.) ac_abs_top_srcdir=$ac_top_srcdir;;
5530*)
5531  case $ac_top_srcdir in
5532  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5533  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5534  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5535  esac;;
5536esac
5537
5538
5539  case $INSTALL in
5540  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5541  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5542  esac
5543
5544  if test x"$ac_file" != x-; then
5545    { echo "$as_me:$LINENO: creating $ac_file" >&5
5546echo "$as_me: creating $ac_file" >&6;}
5547    rm -f "$ac_file"
5548  fi
5549  # Let's still pretend it is `configure' which instantiates (i.e., don't
5550  # use $as_me), people would be surprised to read:
5551  #    /* config.h.  Generated by config.status.  */
5552  if test x"$ac_file" = x-; then
5553    configure_input=
5554  else
5555    configure_input="$ac_file.  "
5556  fi
5557  configure_input=$configure_input"Generated from `echo $ac_file_in |
5558				     sed 's,.*/,,'` by configure."
5559
5560  # First look for the input files in the build tree, otherwise in the
5561  # src tree.
5562  ac_file_inputs=`IFS=:
5563    for f in $ac_file_in; do
5564      case $f in
5565      -) echo $tmp/stdin ;;
5566      [\\/$]*)
5567	 # Absolute (can't be DOS-style, as IFS=:)
5568	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5569echo "$as_me: error: cannot find input file: $f" >&2;}
5570   { (exit 1); exit 1; }; }
5571	 echo "$f";;
5572      *) # Relative
5573	 if test -f "$f"; then
5574	   # Build tree
5575	   echo "$f"
5576	 elif test -f "$srcdir/$f"; then
5577	   # Source tree
5578	   echo "$srcdir/$f"
5579	 else
5580	   # /dev/null tree
5581	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5582echo "$as_me: error: cannot find input file: $f" >&2;}
5583   { (exit 1); exit 1; }; }
5584	 fi;;
5585      esac
5586    done` || { (exit 1); exit 1; }
5587_ACEOF
5588cat >>$CONFIG_STATUS <<_ACEOF
5589  sed "$ac_vpsub
5590$extrasub
5591_ACEOF
5592cat >>$CONFIG_STATUS <<\_ACEOF
5593:t
5594/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5595s,@configure_input@,$configure_input,;t t
5596s,@srcdir@,$ac_srcdir,;t t
5597s,@abs_srcdir@,$ac_abs_srcdir,;t t
5598s,@top_srcdir@,$ac_top_srcdir,;t t
5599s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5600s,@builddir@,$ac_builddir,;t t
5601s,@abs_builddir@,$ac_abs_builddir,;t t
5602s,@top_builddir@,$ac_top_builddir,;t t
5603s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5604s,@INSTALL@,$ac_INSTALL,;t t
5605" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5606  rm -f $tmp/stdin
5607  if test x"$ac_file" != x-; then
5608    mv $tmp/out $ac_file
5609  else
5610    cat $tmp/out
5611    rm -f $tmp/out
5612  fi
5613
5614done
5615_ACEOF
5616cat >>$CONFIG_STATUS <<\_ACEOF
5617
5618#
5619# CONFIG_HEADER section.
5620#
5621
5622# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5623# NAME is the cpp macro being defined and VALUE is the value it is being given.
5624#
5625# ac_d sets the value in "#define NAME VALUE" lines.
5626ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
5627ac_dB='[	 ].*$,\1#\2'
5628ac_dC=' '
5629ac_dD=',;t'
5630# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5631ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
5632ac_uB='$,\1#\2define\3'
5633ac_uC=' '
5634ac_uD=',;t'
5635
5636for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5637  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5638  case $ac_file in
5639  - | *:- | *:-:* ) # input from stdin
5640	cat >$tmp/stdin
5641	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5642	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5643  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5644	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5645  * )   ac_file_in=$ac_file.in ;;
5646  esac
5647
5648  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5649echo "$as_me: creating $ac_file" >&6;}
5650
5651  # First look for the input files in the build tree, otherwise in the
5652  # src tree.
5653  ac_file_inputs=`IFS=:
5654    for f in $ac_file_in; do
5655      case $f in
5656      -) echo $tmp/stdin ;;
5657      [\\/$]*)
5658	 # Absolute (can't be DOS-style, as IFS=:)
5659	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5660echo "$as_me: error: cannot find input file: $f" >&2;}
5661   { (exit 1); exit 1; }; }
5662	 # Do quote $f, to prevent DOS paths from being IFS'd.
5663	 echo "$f";;
5664      *) # Relative
5665	 if test -f "$f"; then
5666	   # Build tree
5667	   echo "$f"
5668	 elif test -f "$srcdir/$f"; then
5669	   # Source tree
5670	   echo "$srcdir/$f"
5671	 else
5672	   # /dev/null tree
5673	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5674echo "$as_me: error: cannot find input file: $f" >&2;}
5675   { (exit 1); exit 1; }; }
5676	 fi;;
5677      esac
5678    done` || { (exit 1); exit 1; }
5679  # Remove the trailing spaces.
5680  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
5681
5682_ACEOF
5683
5684# Transform confdefs.h into two sed scripts, `conftest.defines' and
5685# `conftest.undefs', that substitutes the proper values into
5686# config.h.in to produce config.h.  The first handles `#define'
5687# templates, and the second `#undef' templates.
5688# And first: Protect against being on the right side of a sed subst in
5689# config.status.  Protect against being in an unquoted here document
5690# in config.status.
5691rm -f conftest.defines conftest.undefs
5692# Using a here document instead of a string reduces the quoting nightmare.
5693# Putting comments in sed scripts is not portable.
5694#
5695# `end' is used to avoid that the second main sed command (meant for
5696# 0-ary CPP macros) applies to n-ary macro definitions.
5697# See the Autoconf documentation for `clear'.
5698cat >confdef2sed.sed <<\_ACEOF
5699s/[\\&,]/\\&/g
5700s,[\\$`],\\&,g
5701t clear
5702: clear
5703s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5704t end
5705s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5706: end
5707_ACEOF
5708# If some macros were called several times there might be several times
5709# the same #defines, which is useless.  Nevertheless, we may not want to
5710# sort them, since we want the *last* AC-DEFINE to be honored.
5711uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5712sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5713rm -f confdef2sed.sed
5714
5715# This sed command replaces #undef with comments.  This is necessary, for
5716# example, in the case of _POSIX_SOURCE, which is predefined and required
5717# on some systems where configure will not decide to define it.
5718cat >>conftest.undefs <<\_ACEOF
5719s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5720_ACEOF
5721
5722# Break up conftest.defines because some shells have a limit on the size
5723# of here documents, and old seds have small limits too (100 cmds).
5724echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5725echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5726echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5727echo '  :' >>$CONFIG_STATUS
5728rm -f conftest.tail
5729while grep . conftest.defines >/dev/null
5730do
5731  # Write a limited-size here document to $tmp/defines.sed.
5732  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5733  # Speed up: don't consider the non `#define' lines.
5734  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
5735  # Work around the forget-to-reset-the-flag bug.
5736  echo 't clr' >>$CONFIG_STATUS
5737  echo ': clr' >>$CONFIG_STATUS
5738  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5739  echo 'CEOF
5740  sed -f $tmp/defines.sed $tmp/in >$tmp/out
5741  rm -f $tmp/in
5742  mv $tmp/out $tmp/in
5743' >>$CONFIG_STATUS
5744  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5745  rm -f conftest.defines
5746  mv conftest.tail conftest.defines
5747done
5748rm -f conftest.defines
5749echo '  fi # grep' >>$CONFIG_STATUS
5750echo >>$CONFIG_STATUS
5751
5752# Break up conftest.undefs because some shells have a limit on the size
5753# of here documents, and old seds have small limits too (100 cmds).
5754echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
5755rm -f conftest.tail
5756while grep . conftest.undefs >/dev/null
5757do
5758  # Write a limited-size here document to $tmp/undefs.sed.
5759  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5760  # Speed up: don't consider the non `#undef'
5761  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
5762  # Work around the forget-to-reset-the-flag bug.
5763  echo 't clr' >>$CONFIG_STATUS
5764  echo ': clr' >>$CONFIG_STATUS
5765  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5766  echo 'CEOF
5767  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5768  rm -f $tmp/in
5769  mv $tmp/out $tmp/in
5770' >>$CONFIG_STATUS
5771  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5772  rm -f conftest.undefs
5773  mv conftest.tail conftest.undefs
5774done
5775rm -f conftest.undefs
5776
5777cat >>$CONFIG_STATUS <<\_ACEOF
5778  # Let's still pretend it is `configure' which instantiates (i.e., don't
5779  # use $as_me), people would be surprised to read:
5780  #    /* config.h.  Generated by config.status.  */
5781  if test x"$ac_file" = x-; then
5782    echo "/* Generated by configure.  */" >$tmp/config.h
5783  else
5784    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
5785  fi
5786  cat $tmp/in >>$tmp/config.h
5787  rm -f $tmp/in
5788  if test x"$ac_file" != x-; then
5789    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5790      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5791echo "$as_me: $ac_file is unchanged" >&6;}
5792    else
5793      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5794$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5795	 X"$ac_file" : 'X\(//\)[^/]' \| \
5796	 X"$ac_file" : 'X\(//\)$' \| \
5797	 X"$ac_file" : 'X\(/\)' \| \
5798	 .     : '\(.\)' 2>/dev/null ||
5799echo X"$ac_file" |
5800    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5801  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5802  	  /^X\(\/\/\)$/{ s//\1/; q; }
5803  	  /^X\(\/\).*/{ s//\1/; q; }
5804  	  s/.*/./; q'`
5805      { if $as_mkdir_p; then
5806    mkdir -p "$ac_dir"
5807  else
5808    as_dir="$ac_dir"
5809    as_dirs=
5810    while test ! -d "$as_dir"; do
5811      as_dirs="$as_dir $as_dirs"
5812      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5813$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5814	 X"$as_dir" : 'X\(//\)[^/]' \| \
5815	 X"$as_dir" : 'X\(//\)$' \| \
5816	 X"$as_dir" : 'X\(/\)' \| \
5817	 .     : '\(.\)' 2>/dev/null ||
5818echo X"$as_dir" |
5819    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5820  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5821  	  /^X\(\/\/\)$/{ s//\1/; q; }
5822  	  /^X\(\/\).*/{ s//\1/; q; }
5823  	  s/.*/./; q'`
5824    done
5825    test ! -n "$as_dirs" || mkdir $as_dirs
5826  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5827echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5828   { (exit 1); exit 1; }; }; }
5829
5830      rm -f $ac_file
5831      mv $tmp/config.h $ac_file
5832    fi
5833  else
5834    cat $tmp/config.h
5835    rm -f $tmp/config.h
5836  fi
5837# Compute $ac_file's index in $config_headers.
5838_am_stamp_count=1
5839for _am_header in $config_headers :; do
5840  case $_am_header in
5841    $ac_file | $ac_file:* )
5842      break ;;
5843    * )
5844      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5845  esac
5846done
5847echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5848$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5849	 X$ac_file : 'X\(//\)[^/]' \| \
5850	 X$ac_file : 'X\(//\)$' \| \
5851	 X$ac_file : 'X\(/\)' \| \
5852	 .     : '\(.\)' 2>/dev/null ||
5853echo X$ac_file |
5854    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5855  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5856  	  /^X\(\/\/\)$/{ s//\1/; q; }
5857  	  /^X\(\/\).*/{ s//\1/; q; }
5858  	  s/.*/./; q'`/stamp-h$_am_stamp_count
5859done
5860_ACEOF
5861cat >>$CONFIG_STATUS <<\_ACEOF
5862
5863#
5864# CONFIG_COMMANDS section.
5865#
5866for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5867  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5868  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5869  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5870$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5871	 X"$ac_dest" : 'X\(//\)[^/]' \| \
5872	 X"$ac_dest" : 'X\(//\)$' \| \
5873	 X"$ac_dest" : 'X\(/\)' \| \
5874	 .     : '\(.\)' 2>/dev/null ||
5875echo X"$ac_dest" |
5876    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5877  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5878  	  /^X\(\/\/\)$/{ s//\1/; q; }
5879  	  /^X\(\/\).*/{ s//\1/; q; }
5880  	  s/.*/./; q'`
5881  { if $as_mkdir_p; then
5882    mkdir -p "$ac_dir"
5883  else
5884    as_dir="$ac_dir"
5885    as_dirs=
5886    while test ! -d "$as_dir"; do
5887      as_dirs="$as_dir $as_dirs"
5888      as_dir=`(dirname "$as_dir") 2>/dev/null ||
5889$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5890	 X"$as_dir" : 'X\(//\)[^/]' \| \
5891	 X"$as_dir" : 'X\(//\)$' \| \
5892	 X"$as_dir" : 'X\(/\)' \| \
5893	 .     : '\(.\)' 2>/dev/null ||
5894echo X"$as_dir" |
5895    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5896  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5897  	  /^X\(\/\/\)$/{ s//\1/; q; }
5898  	  /^X\(\/\).*/{ s//\1/; q; }
5899  	  s/.*/./; q'`
5900    done
5901    test ! -n "$as_dirs" || mkdir $as_dirs
5902  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5903echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5904   { (exit 1); exit 1; }; }; }
5905
5906  ac_builddir=.
5907
5908if test "$ac_dir" != .; then
5909  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5910  # A "../" for each directory in $ac_dir_suffix.
5911  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5912else
5913  ac_dir_suffix= ac_top_builddir=
5914fi
5915
5916case $srcdir in
5917  .)  # No --srcdir option.  We are building in place.
5918    ac_srcdir=.
5919    if test -z "$ac_top_builddir"; then
5920       ac_top_srcdir=.
5921    else
5922       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5923    fi ;;
5924  [\\/]* | ?:[\\/]* )  # Absolute path.
5925    ac_srcdir=$srcdir$ac_dir_suffix;
5926    ac_top_srcdir=$srcdir ;;
5927  *) # Relative path.
5928    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5929    ac_top_srcdir=$ac_top_builddir$srcdir ;;
5930esac
5931
5932# Do not use `cd foo && pwd` to compute absolute paths, because
5933# the directories may not exist.
5934case `pwd` in
5935.) ac_abs_builddir="$ac_dir";;
5936*)
5937  case "$ac_dir" in
5938  .) ac_abs_builddir=`pwd`;;
5939  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5940  *) ac_abs_builddir=`pwd`/"$ac_dir";;
5941  esac;;
5942esac
5943case $ac_abs_builddir in
5944.) ac_abs_top_builddir=${ac_top_builddir}.;;
5945*)
5946  case ${ac_top_builddir}. in
5947  .) ac_abs_top_builddir=$ac_abs_builddir;;
5948  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5949  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5950  esac;;
5951esac
5952case $ac_abs_builddir in
5953.) ac_abs_srcdir=$ac_srcdir;;
5954*)
5955  case $ac_srcdir in
5956  .) ac_abs_srcdir=$ac_abs_builddir;;
5957  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5958  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5959  esac;;
5960esac
5961case $ac_abs_builddir in
5962.) ac_abs_top_srcdir=$ac_top_srcdir;;
5963*)
5964  case $ac_top_srcdir in
5965  .) ac_abs_top_srcdir=$ac_abs_builddir;;
5966  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5967  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5968  esac;;
5969esac
5970
5971
5972  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5973echo "$as_me: executing $ac_dest commands" >&6;}
5974  case $ac_dest in
5975    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5976  # Strip MF so we end up with the name of the file.
5977  mf=`echo "$mf" | sed -e 's/:.*$//'`
5978  # Check whether this is an Automake generated Makefile or not.
5979  # We used to match only the files named `Makefile.in', but
5980  # some people rename them; so instead we look at the file content.
5981  # Grep'ing the first line is not enough: some people post-process
5982  # each Makefile.in and add a new line on top of each file to say so.
5983  # So let's grep whole file.
5984  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5985    dirpart=`(dirname "$mf") 2>/dev/null ||
5986$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5987	 X"$mf" : 'X\(//\)[^/]' \| \
5988	 X"$mf" : 'X\(//\)$' \| \
5989	 X"$mf" : 'X\(/\)' \| \
5990	 .     : '\(.\)' 2>/dev/null ||
5991echo X"$mf" |
5992    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5993  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5994  	  /^X\(\/\/\)$/{ s//\1/; q; }
5995  	  /^X\(\/\).*/{ s//\1/; q; }
5996  	  s/.*/./; q'`
5997  else
5998    continue
5999  fi
6000  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6001  # Extract the definition of DEP_FILES from the Makefile without
6002  # running `make'.
6003  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6004  test -z "$DEPDIR" && continue
6005  # When using ansi2knr, U may be empty or an underscore; expand it
6006  U=`sed -n -e '/^U = / s///p' < "$mf"`
6007  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6008  # We invoke sed twice because it is the simplest approach to
6009  # changing $(DEPDIR) to its actual value in the expansion.
6010  for file in `sed -n -e '
6011    /^DEP_FILES = .*\\\\$/ {
6012      s/^DEP_FILES = //
6013      :loop
6014	s/\\\\$//
6015	p
6016	n
6017	/\\\\$/ b loop
6018      p
6019    }
6020    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6021       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6022    # Make sure the directory exists.
6023    test -f "$dirpart/$file" && continue
6024    fdir=`(dirname "$file") 2>/dev/null ||
6025$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6026	 X"$file" : 'X\(//\)[^/]' \| \
6027	 X"$file" : 'X\(//\)$' \| \
6028	 X"$file" : 'X\(/\)' \| \
6029	 .     : '\(.\)' 2>/dev/null ||
6030echo X"$file" |
6031    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6032  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6033  	  /^X\(\/\/\)$/{ s//\1/; q; }
6034  	  /^X\(\/\).*/{ s//\1/; q; }
6035  	  s/.*/./; q'`
6036    { if $as_mkdir_p; then
6037    mkdir -p $dirpart/$fdir
6038  else
6039    as_dir=$dirpart/$fdir
6040    as_dirs=
6041    while test ! -d "$as_dir"; do
6042      as_dirs="$as_dir $as_dirs"
6043      as_dir=`(dirname "$as_dir") 2>/dev/null ||
6044$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6045	 X"$as_dir" : 'X\(//\)[^/]' \| \
6046	 X"$as_dir" : 'X\(//\)$' \| \
6047	 X"$as_dir" : 'X\(/\)' \| \
6048	 .     : '\(.\)' 2>/dev/null ||
6049echo X"$as_dir" |
6050    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6051  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6052  	  /^X\(\/\/\)$/{ s//\1/; q; }
6053  	  /^X\(\/\).*/{ s//\1/; q; }
6054  	  s/.*/./; q'`
6055    done
6056    test ! -n "$as_dirs" || mkdir $as_dirs
6057  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6058echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6059   { (exit 1); exit 1; }; }; }
6060
6061    # echo "creating $dirpart/$file"
6062    echo '# dummy' > "$dirpart/$file"
6063  done
6064done
6065 ;;
6066  esac
6067done
6068_ACEOF
6069
6070cat >>$CONFIG_STATUS <<\_ACEOF
6071
6072{ (exit 0); exit 0; }
6073_ACEOF
6074chmod +x $CONFIG_STATUS
6075ac_clean_files=$ac_clean_files_save
6076
6077
6078# configure is writing to config.log, and then calls config.status.
6079# config.status does its own redirection, appending to config.log.
6080# Unfortunately, on DOS this fails, as config.log is still kept open
6081# by configure, so config.status won't be able to write to it; its
6082# output is simply discarded.  So we exec the FD to /dev/null,
6083# effectively closing config.log, so it can be properly (re)opened and
6084# appended to by config.status.  When coming back to configure, we
6085# need to make the FD available again.
6086if test "$no_create" != yes; then
6087  ac_cs_success=:
6088  ac_config_status_args=
6089  test "$silent" = yes &&
6090    ac_config_status_args="$ac_config_status_args --quiet"
6091  exec 5>/dev/null
6092  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6093  exec 5>>config.log
6094  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6095  # would make configure fail if this is the last instruction.
6096  $ac_cs_success || { (exit 1); exit 1; }
6097fi
6098
6099