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