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