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