configure revision 63165362
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63 for makedepend 1.0.2.
4#
5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42as_nl='
43'
44export as_nl
45# Printing a long string crashes Solaris 7 /usr/bin/printf.
46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85  as_unset=unset
86else
87  as_unset=false
88fi
89
90
91# IFS
92# We need space, tab and new line, in precisely that order.  Quoting is
93# there to prevent editors from complaining about space-tab.
94# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95# splitting by setting IFS to empty value.)
96IFS=" ""	$as_nl"
97
98# Find who we are.  Look in the path if we contain no directory separator.
99case $0 in
100  *[\\/]* ) as_myself=$0 ;;
101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102for as_dir in $PATH
103do
104  IFS=$as_save_IFS
105  test -z "$as_dir" && as_dir=.
106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107done
108IFS=$as_save_IFS
109
110     ;;
111esac
112# We did not find ourselves, most probably we were run as `sh COMMAND'
113# in which case we are not to be found in the path.
114if test "x$as_myself" = x; then
115  as_myself=$0
116fi
117if test ! -f "$as_myself"; then
118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119  { (exit 1); exit 1; }
120fi
121
122# Work around bugs in pre-3.0 UWIN ksh.
123for as_var in ENV MAIL MAILPATH
124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139  as_expr=expr
140else
141  as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145  as_basename=basename
146else
147  as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154	 X"$0" : 'X\(//\)$' \| \
155	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157    sed '/^.*\/\([^/][^/]*\)\/*$/{
158	    s//\1/
159	    q
160	  }
161	  /^X\/\(\/\/\)$/{
162	    s//\1/
163	    q
164	  }
165	  /^X\/\(\/\).*/{
166	    s//\1/
167	    q
168	  }
169	  s/.*/./; q'`
170
171# CDPATH.
172$as_unset CDPATH
173
174
175if test "x$CONFIG_SHELL" = x; then
176  if (eval ":") 2>/dev/null; then
177  as_have_required=yes
178else
179  as_have_required=no
180fi
181
182  if test $as_have_required = yes &&	 (eval ":
183(as_func_return () {
184  (exit \$1)
185}
186as_func_success () {
187  as_func_return 0
188}
189as_func_failure () {
190  as_func_return 1
191}
192as_func_ret_success () {
193  return 0
194}
195as_func_ret_failure () {
196  return 1
197}
198
199exitcode=0
200if as_func_success; then
201  :
202else
203  exitcode=1
204  echo as_func_success failed.
205fi
206
207if as_func_failure; then
208  exitcode=1
209  echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213  :
214else
215  exitcode=1
216  echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220  exitcode=1
221  echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225  :
226else
227  exitcode=1
228  echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234  as_lineno_1=\$LINENO
235  as_lineno_2=\$LINENO
236  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239  :
240else
241  as_candidate_shells=
242    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244do
245  IFS=$as_save_IFS
246  test -z "$as_dir" && as_dir=.
247  case $as_dir in
248	 /*)
249	   for as_base in sh bash ksh sh5; do
250	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251	   done;;
252       esac
253done
254IFS=$as_save_IFS
255
256
257      for as_shell in $as_candidate_shells $SHELL; do
258	 # Try only shells that exist, to save several forks.
259	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260		{ ("$as_shell") 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262  emulate sh
263  NULLCMD=:
264  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265  # is contrary to our usage.  Disable this feature.
266  alias -g '${1+"$@"}'='"$@"'
267  setopt NO_GLOB_SUBST
268else
269  case `(set -o) 2>/dev/null` in
270  *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279  CONFIG_SHELL=$as_shell
280	       as_have_required=yes
281	       if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283  emulate sh
284  NULLCMD=:
285  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286  # is contrary to our usage.  Disable this feature.
287  alias -g '${1+"$@"}'='"$@"'
288  setopt NO_GLOB_SUBST
289else
290  case `(set -o) 2>/dev/null` in
291  *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299  (exit $1)
300}
301as_func_success () {
302  as_func_return 0
303}
304as_func_failure () {
305  as_func_return 1
306}
307as_func_ret_success () {
308  return 0
309}
310as_func_ret_failure () {
311  return 1
312}
313
314exitcode=0
315if as_func_success; then
316  :
317else
318  exitcode=1
319  echo as_func_success failed.
320fi
321
322if as_func_failure; then
323  exitcode=1
324  echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328  :
329else
330  exitcode=1
331  echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335  exitcode=1
336  echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340  :
341else
342  exitcode=1
343  echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349  as_lineno_1=$LINENO
350  as_lineno_2=$LINENO
351  test "x$as_lineno_1" != "x$as_lineno_2" &&
352  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356  break
357fi
358
359fi
360
361      done
362
363      if test "x$CONFIG_SHELL" != x; then
364  for as_var in BASH_ENV ENV
365	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366	done
367	export CONFIG_SHELL
368	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369fi
370
371
372    if test $as_have_required = no; then
373  echo This script requires a shell more modern than all the
374      echo shells that I found on your system.  Please install a
375      echo modern shell, or manually run the script under such a
376      echo shell if you do have one.
377      { (exit 1); exit 1; }
378fi
379
380
381fi
382
383fi
384
385
386
387(eval "as_func_return () {
388  (exit \$1)
389}
390as_func_success () {
391  as_func_return 0
392}
393as_func_failure () {
394  as_func_return 1
395}
396as_func_ret_success () {
397  return 0
398}
399as_func_ret_failure () {
400  return 1
401}
402
403exitcode=0
404if as_func_success; then
405  :
406else
407  exitcode=1
408  echo as_func_success failed.
409fi
410
411if as_func_failure; then
412  exitcode=1
413  echo as_func_failure succeeded.
414fi
415
416if as_func_ret_success; then
417  :
418else
419  exitcode=1
420  echo as_func_ret_success failed.
421fi
422
423if as_func_ret_failure; then
424  exitcode=1
425  echo as_func_ret_failure succeeded.
426fi
427
428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429  :
430else
431  exitcode=1
432  echo positional parameters were not saved.
433fi
434
435test \$exitcode = 0") || {
436  echo No shell found that supports shell functions.
437  echo Please tell bug-autoconf@gnu.org about your system,
438  echo including any error possibly output before this message.
439  echo This can help us improve future autoconf versions.
440  echo Configuration will now proceed without shell functions.
441}
442
443
444
445  as_lineno_1=$LINENO
446  as_lineno_2=$LINENO
447  test "x$as_lineno_1" != "x$as_lineno_2" &&
448  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
450  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451  # uniformly replaced by the line number.  The first 'sed' inserts a
452  # line-number line after each line using $LINENO; the second 'sed'
453  # does the real work.  The second script uses 'N' to pair each
454  # line-number line with the line containing $LINENO, and appends
455  # trailing '-' during substitution so that $LINENO is not a special
456  # case at line end.
457  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459  # E. McMahon (1931-1989) for sed's syntax.  :-)
460  sed -n '
461    p
462    /[$]LINENO/=
463  ' <$as_myself |
464    sed '
465      s/[$]LINENO.*/&-/
466      t lineno
467      b
468      :lineno
469      N
470      :loop
471      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472      t loop
473      s/-\n.*//
474    ' >$as_me.lineno &&
475  chmod +x "$as_me.lineno" ||
476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477   { (exit 1); exit 1; }; }
478
479  # Don't try to exec as it changes $[0], causing all sort of problems
480  # (the dirname of $[0] is not the place where we might find the
481  # original and so on.  Autoconf is especially sensitive to this).
482  . "./$as_me.lineno"
483  # Exit status is that of the last command.
484  exit
485}
486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489  as_dirname=dirname
490else
491  as_dirname=false
492fi
493
494ECHO_C= ECHO_N= ECHO_T=
495case `echo -n x` in
496-n*)
497  case `echo 'x\c'` in
498  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
499  *)   ECHO_C='\c';;
500  esac;;
501*)
502  ECHO_N='-n';;
503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506  as_expr=expr
507else
508  as_expr=false
509fi
510
511rm -f conf$$ conf$$.exe conf$$.file
512if test -d conf$$.dir; then
513  rm -f conf$$.dir/conf$$.file
514else
515  rm -f conf$$.dir
516  mkdir conf$$.dir 2>/dev/null
517fi
518if (echo >conf$$.file) 2>/dev/null; then
519  if ln -s conf$$.file conf$$ 2>/dev/null; then
520    as_ln_s='ln -s'
521    # ... but there are two gotchas:
522    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524    # In both cases, we have to default to `cp -p'.
525    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526      as_ln_s='cp -p'
527  elif ln conf$$.file conf$$ 2>/dev/null; then
528    as_ln_s=ln
529  else
530    as_ln_s='cp -p'
531  fi
532else
533  as_ln_s='cp -p'
534fi
535rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536rmdir conf$$.dir 2>/dev/null
537
538if mkdir -p . 2>/dev/null; then
539  as_mkdir_p=:
540else
541  test -d ./-p && rmdir ./-p
542  as_mkdir_p=false
543fi
544
545if test -x / >/dev/null 2>&1; then
546  as_test_x='test -x'
547else
548  if ls -dL / >/dev/null 2>&1; then
549    as_ls_L_option=L
550  else
551    as_ls_L_option=
552  fi
553  as_test_x='
554    eval sh -c '\''
555      if test -d "$1"; then
556	test -d "$1/.";
557      else
558	case $1 in
559	-*)set "./$1";;
560	esac;
561	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562	???[sx]*):;;*)false;;esac;fi
563    '\'' sh
564  '
565fi
566as_executable_p=$as_test_x
567
568# Sed expression to map a string onto a valid CPP name.
569as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
571# Sed expression to map a string onto a valid variable name.
572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
574
575
576exec 7<&0 </dev/null 6>&1
577
578# Name of the host.
579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580# so uname gets run too.
581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
583#
584# Initializations.
585#
586ac_default_prefix=/usr/local
587ac_clean_files=
588ac_config_libobj_dir=.
589LIBOBJS=
590cross_compiling=no
591subdirs=
592MFLAGS=
593MAKEFLAGS=
594SHELL=${CONFIG_SHELL-/bin/sh}
595
596# Identity of this package.
597PACKAGE_NAME='makedepend'
598PACKAGE_TARNAME='makedepend'
599PACKAGE_VERSION='1.0.2'
600PACKAGE_STRING='makedepend 1.0.2'
601PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
602
603# Factoring default headers for most tests.
604ac_includes_default="\
605#include <stdio.h>
606#ifdef HAVE_SYS_TYPES_H
607# include <sys/types.h>
608#endif
609#ifdef HAVE_SYS_STAT_H
610# include <sys/stat.h>
611#endif
612#ifdef STDC_HEADERS
613# include <stdlib.h>
614# include <stddef.h>
615#else
616# ifdef HAVE_STDLIB_H
617#  include <stdlib.h>
618# endif
619#endif
620#ifdef HAVE_STRING_H
621# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622#  include <memory.h>
623# endif
624# include <string.h>
625#endif
626#ifdef HAVE_STRINGS_H
627# include <strings.h>
628#endif
629#ifdef HAVE_INTTYPES_H
630# include <inttypes.h>
631#endif
632#ifdef HAVE_STDINT_H
633# include <stdint.h>
634#endif
635#ifdef HAVE_UNISTD_H
636# include <unistd.h>
637#endif"
638
639ac_subst_vars='am__EXEEXT_FALSE
640am__EXEEXT_TRUE
641LTLIBOBJS
642LIBOBJS
643X_LIBS
644X_CFLAGS
645PKG_CONFIG
646LINT_FALSE
647LINT_TRUE
648LINT_FLAGS
649LINT
650ADMIN_MAN_DIR
651DRIVER_MAN_DIR
652MISC_MAN_DIR
653FILE_MAN_DIR
654LIB_MAN_DIR
655APP_MAN_DIR
656ADMIN_MAN_SUFFIX
657DRIVER_MAN_SUFFIX
658MISC_MAN_SUFFIX
659FILE_MAN_SUFFIX
660LIB_MAN_SUFFIX
661APP_MAN_SUFFIX
662host_os
663host_vendor
664host_cpu
665host
666build_os
667build_vendor
668build_cpu
669build
670distcleancheck_listfiles
671CHANGELOG_CMD
672AM_BACKSLASH
673AM_DEFAULT_VERBOSITY
674CWARNFLAGS
675EGREP
676GREP
677CPP
678am__fastdepCC_FALSE
679am__fastdepCC_TRUE
680CCDEPMODE
681AMDEPBACKSLASH
682AMDEP_FALSE
683AMDEP_TRUE
684am__quote
685am__include
686DEPDIR
687OBJEXT
688EXEEXT
689ac_ct_CC
690CPPFLAGS
691LDFLAGS
692CFLAGS
693CC
694am__untar
695am__tar
696AMTAR
697am__leading_dot
698SET_MAKE
699AWK
700mkdir_p
701MKDIR_P
702INSTALL_STRIP_PROGRAM
703STRIP
704install_sh
705MAKEINFO
706AUTOHEADER
707AUTOMAKE
708AUTOCONF
709ACLOCAL
710VERSION
711PACKAGE
712CYGPATH_W
713am__isrc
714INSTALL_DATA
715INSTALL_SCRIPT
716INSTALL_PROGRAM
717target_alias
718host_alias
719build_alias
720LIBS
721ECHO_T
722ECHO_N
723ECHO_C
724DEFS
725mandir
726localedir
727libdir
728psdir
729pdfdir
730dvidir
731htmldir
732infodir
733docdir
734oldincludedir
735includedir
736localstatedir
737sharedstatedir
738sysconfdir
739datadir
740datarootdir
741libexecdir
742sbindir
743bindir
744program_transform_name
745prefix
746exec_prefix
747PACKAGE_BUGREPORT
748PACKAGE_STRING
749PACKAGE_VERSION
750PACKAGE_TARNAME
751PACKAGE_NAME
752PATH_SEPARATOR
753SHELL'
754ac_subst_files=''
755ac_user_opts='
756enable_option_checking
757enable_dependency_tracking
758enable_silent_rules
759enable_strict_compilation
760with_release_version
761with_lint
762enable_largefile
763'
764      ac_precious_vars='build_alias
765host_alias
766target_alias
767CC
768CFLAGS
769LDFLAGS
770LIBS
771CPPFLAGS
772CPP
773PKG_CONFIG
774X_CFLAGS
775X_LIBS'
776
777
778# Initialize some variables set by options.
779ac_init_help=
780ac_init_version=false
781ac_unrecognized_opts=
782ac_unrecognized_sep=
783# The variables have the same names as the options, with
784# dashes changed to underlines.
785cache_file=/dev/null
786exec_prefix=NONE
787no_create=
788no_recursion=
789prefix=NONE
790program_prefix=NONE
791program_suffix=NONE
792program_transform_name=s,x,x,
793silent=
794site=
795srcdir=
796verbose=
797x_includes=NONE
798x_libraries=NONE
799
800# Installation directory options.
801# These are left unexpanded so users can "make install exec_prefix=/foo"
802# and all the variables that are supposed to be based on exec_prefix
803# by default will actually change.
804# Use braces instead of parens because sh, perl, etc. also accept them.
805# (The list follows the same order as the GNU Coding Standards.)
806bindir='${exec_prefix}/bin'
807sbindir='${exec_prefix}/sbin'
808libexecdir='${exec_prefix}/libexec'
809datarootdir='${prefix}/share'
810datadir='${datarootdir}'
811sysconfdir='${prefix}/etc'
812sharedstatedir='${prefix}/com'
813localstatedir='${prefix}/var'
814includedir='${prefix}/include'
815oldincludedir='/usr/include'
816docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817infodir='${datarootdir}/info'
818htmldir='${docdir}'
819dvidir='${docdir}'
820pdfdir='${docdir}'
821psdir='${docdir}'
822libdir='${exec_prefix}/lib'
823localedir='${datarootdir}/locale'
824mandir='${datarootdir}/man'
825
826ac_prev=
827ac_dashdash=
828for ac_option
829do
830  # If the previous option needs an argument, assign it.
831  if test -n "$ac_prev"; then
832    eval $ac_prev=\$ac_option
833    ac_prev=
834    continue
835  fi
836
837  case $ac_option in
838  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839  *)	ac_optarg=yes ;;
840  esac
841
842  # Accept the important Cygnus configure options, so we can diagnose typos.
843
844  case $ac_dashdash$ac_option in
845  --)
846    ac_dashdash=yes ;;
847
848  -bindir | --bindir | --bindi | --bind | --bin | --bi)
849    ac_prev=bindir ;;
850  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851    bindir=$ac_optarg ;;
852
853  -build | --build | --buil | --bui | --bu)
854    ac_prev=build_alias ;;
855  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856    build_alias=$ac_optarg ;;
857
858  -cache-file | --cache-file | --cache-fil | --cache-fi \
859  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860    ac_prev=cache_file ;;
861  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863    cache_file=$ac_optarg ;;
864
865  --config-cache | -C)
866    cache_file=config.cache ;;
867
868  -datadir | --datadir | --datadi | --datad)
869    ac_prev=datadir ;;
870  -datadir=* | --datadir=* | --datadi=* | --datad=*)
871    datadir=$ac_optarg ;;
872
873  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874  | --dataroo | --dataro | --datar)
875    ac_prev=datarootdir ;;
876  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878    datarootdir=$ac_optarg ;;
879
880  -disable-* | --disable-*)
881    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882    # Reject names that are not valid shell variable names.
883    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
885   { (exit 1); exit 1; }; }
886    ac_useropt_orig=$ac_useropt
887    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888    case $ac_user_opts in
889      *"
890"enable_$ac_useropt"
891"*) ;;
892      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
893	 ac_unrecognized_sep=', ';;
894    esac
895    eval enable_$ac_useropt=no ;;
896
897  -docdir | --docdir | --docdi | --doc | --do)
898    ac_prev=docdir ;;
899  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
900    docdir=$ac_optarg ;;
901
902  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
903    ac_prev=dvidir ;;
904  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
905    dvidir=$ac_optarg ;;
906
907  -enable-* | --enable-*)
908    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
909    # Reject names that are not valid shell variable names.
910    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
911      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
912   { (exit 1); exit 1; }; }
913    ac_useropt_orig=$ac_useropt
914    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915    case $ac_user_opts in
916      *"
917"enable_$ac_useropt"
918"*) ;;
919      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920	 ac_unrecognized_sep=', ';;
921    esac
922    eval enable_$ac_useropt=\$ac_optarg ;;
923
924  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926  | --exec | --exe | --ex)
927    ac_prev=exec_prefix ;;
928  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930  | --exec=* | --exe=* | --ex=*)
931    exec_prefix=$ac_optarg ;;
932
933  -gas | --gas | --ga | --g)
934    # Obsolete; use --with-gas.
935    with_gas=yes ;;
936
937  -help | --help | --hel | --he | -h)
938    ac_init_help=long ;;
939  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940    ac_init_help=recursive ;;
941  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942    ac_init_help=short ;;
943
944  -host | --host | --hos | --ho)
945    ac_prev=host_alias ;;
946  -host=* | --host=* | --hos=* | --ho=*)
947    host_alias=$ac_optarg ;;
948
949  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950    ac_prev=htmldir ;;
951  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952  | --ht=*)
953    htmldir=$ac_optarg ;;
954
955  -includedir | --includedir | --includedi | --included | --include \
956  | --includ | --inclu | --incl | --inc)
957    ac_prev=includedir ;;
958  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959  | --includ=* | --inclu=* | --incl=* | --inc=*)
960    includedir=$ac_optarg ;;
961
962  -infodir | --infodir | --infodi | --infod | --info | --inf)
963    ac_prev=infodir ;;
964  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965    infodir=$ac_optarg ;;
966
967  -libdir | --libdir | --libdi | --libd)
968    ac_prev=libdir ;;
969  -libdir=* | --libdir=* | --libdi=* | --libd=*)
970    libdir=$ac_optarg ;;
971
972  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973  | --libexe | --libex | --libe)
974    ac_prev=libexecdir ;;
975  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976  | --libexe=* | --libex=* | --libe=*)
977    libexecdir=$ac_optarg ;;
978
979  -localedir | --localedir | --localedi | --localed | --locale)
980    ac_prev=localedir ;;
981  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982    localedir=$ac_optarg ;;
983
984  -localstatedir | --localstatedir | --localstatedi | --localstated \
985  | --localstate | --localstat | --localsta | --localst | --locals)
986    ac_prev=localstatedir ;;
987  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989    localstatedir=$ac_optarg ;;
990
991  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992    ac_prev=mandir ;;
993  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994    mandir=$ac_optarg ;;
995
996  -nfp | --nfp | --nf)
997    # Obsolete; use --without-fp.
998    with_fp=no ;;
999
1000  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001  | --no-cr | --no-c | -n)
1002    no_create=yes ;;
1003
1004  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006    no_recursion=yes ;;
1007
1008  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010  | --oldin | --oldi | --old | --ol | --o)
1011    ac_prev=oldincludedir ;;
1012  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015    oldincludedir=$ac_optarg ;;
1016
1017  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018    ac_prev=prefix ;;
1019  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020    prefix=$ac_optarg ;;
1021
1022  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023  | --program-pre | --program-pr | --program-p)
1024    ac_prev=program_prefix ;;
1025  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027    program_prefix=$ac_optarg ;;
1028
1029  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030  | --program-suf | --program-su | --program-s)
1031    ac_prev=program_suffix ;;
1032  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034    program_suffix=$ac_optarg ;;
1035
1036  -program-transform-name | --program-transform-name \
1037  | --program-transform-nam | --program-transform-na \
1038  | --program-transform-n | --program-transform- \
1039  | --program-transform | --program-transfor \
1040  | --program-transfo | --program-transf \
1041  | --program-trans | --program-tran \
1042  | --progr-tra | --program-tr | --program-t)
1043    ac_prev=program_transform_name ;;
1044  -program-transform-name=* | --program-transform-name=* \
1045  | --program-transform-nam=* | --program-transform-na=* \
1046  | --program-transform-n=* | --program-transform-=* \
1047  | --program-transform=* | --program-transfor=* \
1048  | --program-transfo=* | --program-transf=* \
1049  | --program-trans=* | --program-tran=* \
1050  | --progr-tra=* | --program-tr=* | --program-t=*)
1051    program_transform_name=$ac_optarg ;;
1052
1053  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054    ac_prev=pdfdir ;;
1055  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056    pdfdir=$ac_optarg ;;
1057
1058  -psdir | --psdir | --psdi | --psd | --ps)
1059    ac_prev=psdir ;;
1060  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061    psdir=$ac_optarg ;;
1062
1063  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064  | -silent | --silent | --silen | --sile | --sil)
1065    silent=yes ;;
1066
1067  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068    ac_prev=sbindir ;;
1069  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070  | --sbi=* | --sb=*)
1071    sbindir=$ac_optarg ;;
1072
1073  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075  | --sharedst | --shareds | --shared | --share | --shar \
1076  | --sha | --sh)
1077    ac_prev=sharedstatedir ;;
1078  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081  | --sha=* | --sh=*)
1082    sharedstatedir=$ac_optarg ;;
1083
1084  -site | --site | --sit)
1085    ac_prev=site ;;
1086  -site=* | --site=* | --sit=*)
1087    site=$ac_optarg ;;
1088
1089  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090    ac_prev=srcdir ;;
1091  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092    srcdir=$ac_optarg ;;
1093
1094  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095  | --syscon | --sysco | --sysc | --sys | --sy)
1096    ac_prev=sysconfdir ;;
1097  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099    sysconfdir=$ac_optarg ;;
1100
1101  -target | --target | --targe | --targ | --tar | --ta | --t)
1102    ac_prev=target_alias ;;
1103  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104    target_alias=$ac_optarg ;;
1105
1106  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107    verbose=yes ;;
1108
1109  -version | --version | --versio | --versi | --vers | -V)
1110    ac_init_version=: ;;
1111
1112  -with-* | --with-*)
1113    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114    # Reject names that are not valid shell variable names.
1115    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1117   { (exit 1); exit 1; }; }
1118    ac_useropt_orig=$ac_useropt
1119    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120    case $ac_user_opts in
1121      *"
1122"with_$ac_useropt"
1123"*) ;;
1124      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1125	 ac_unrecognized_sep=', ';;
1126    esac
1127    eval with_$ac_useropt=\$ac_optarg ;;
1128
1129  -without-* | --without-*)
1130    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1131    # Reject names that are not valid shell variable names.
1132    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1134   { (exit 1); exit 1; }; }
1135    ac_useropt_orig=$ac_useropt
1136    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137    case $ac_user_opts in
1138      *"
1139"with_$ac_useropt"
1140"*) ;;
1141      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1142	 ac_unrecognized_sep=', ';;
1143    esac
1144    eval with_$ac_useropt=no ;;
1145
1146  --x)
1147    # Obsolete; use --with-x.
1148    with_x=yes ;;
1149
1150  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1151  | --x-incl | --x-inc | --x-in | --x-i)
1152    ac_prev=x_includes ;;
1153  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1154  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1155    x_includes=$ac_optarg ;;
1156
1157  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1158  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1159    ac_prev=x_libraries ;;
1160  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1161  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1162    x_libraries=$ac_optarg ;;
1163
1164  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1165Try \`$0 --help' for more information." >&2
1166   { (exit 1); exit 1; }; }
1167    ;;
1168
1169  *=*)
1170    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1171    # Reject names that are not valid shell variable names.
1172    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1173      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1174   { (exit 1); exit 1; }; }
1175    eval $ac_envvar=\$ac_optarg
1176    export $ac_envvar ;;
1177
1178  *)
1179    # FIXME: should be removed in autoconf 3.0.
1180    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1181    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1183    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1184    ;;
1185
1186  esac
1187done
1188
1189if test -n "$ac_prev"; then
1190  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1191  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1192   { (exit 1); exit 1; }; }
1193fi
1194
1195if test -n "$ac_unrecognized_opts"; then
1196  case $enable_option_checking in
1197    no) ;;
1198    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1199   { (exit 1); exit 1; }; } ;;
1200    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1201  esac
1202fi
1203
1204# Check all directory arguments for consistency.
1205for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1206		datadir sysconfdir sharedstatedir localstatedir includedir \
1207		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1208		libdir localedir mandir
1209do
1210  eval ac_val=\$$ac_var
1211  # Remove trailing slashes.
1212  case $ac_val in
1213    */ )
1214      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1215      eval $ac_var=\$ac_val;;
1216  esac
1217  # Be sure to have absolute directory names.
1218  case $ac_val in
1219    [\\/$]* | ?:[\\/]* )  continue;;
1220    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1221  esac
1222  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1223   { (exit 1); exit 1; }; }
1224done
1225
1226# There might be people who depend on the old broken behavior: `$host'
1227# used to hold the argument of --host etc.
1228# FIXME: To remove some day.
1229build=$build_alias
1230host=$host_alias
1231target=$target_alias
1232
1233# FIXME: To remove some day.
1234if test "x$host_alias" != x; then
1235  if test "x$build_alias" = x; then
1236    cross_compiling=maybe
1237    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1238    If a cross compiler is detected then cross compile mode will be used." >&2
1239  elif test "x$build_alias" != "x$host_alias"; then
1240    cross_compiling=yes
1241  fi
1242fi
1243
1244ac_tool_prefix=
1245test -n "$host_alias" && ac_tool_prefix=$host_alias-
1246
1247test "$silent" = yes && exec 6>/dev/null
1248
1249
1250ac_pwd=`pwd` && test -n "$ac_pwd" &&
1251ac_ls_di=`ls -di .` &&
1252ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1253  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1254   { (exit 1); exit 1; }; }
1255test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1256  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1257   { (exit 1); exit 1; }; }
1258
1259
1260# Find the source files, if location was not specified.
1261if test -z "$srcdir"; then
1262  ac_srcdir_defaulted=yes
1263  # Try the directory containing this script, then the parent directory.
1264  ac_confdir=`$as_dirname -- "$as_myself" ||
1265$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266	 X"$as_myself" : 'X\(//\)[^/]' \| \
1267	 X"$as_myself" : 'X\(//\)$' \| \
1268	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269$as_echo X"$as_myself" |
1270    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271	    s//\1/
1272	    q
1273	  }
1274	  /^X\(\/\/\)[^/].*/{
1275	    s//\1/
1276	    q
1277	  }
1278	  /^X\(\/\/\)$/{
1279	    s//\1/
1280	    q
1281	  }
1282	  /^X\(\/\).*/{
1283	    s//\1/
1284	    q
1285	  }
1286	  s/.*/./; q'`
1287  srcdir=$ac_confdir
1288  if test ! -r "$srcdir/$ac_unique_file"; then
1289    srcdir=..
1290  fi
1291else
1292  ac_srcdir_defaulted=no
1293fi
1294if test ! -r "$srcdir/$ac_unique_file"; then
1295  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1296  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1297   { (exit 1); exit 1; }; }
1298fi
1299ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1300ac_abs_confdir=`(
1301	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1302   { (exit 1); exit 1; }; }
1303	pwd)`
1304# When building in place, set srcdir=.
1305if test "$ac_abs_confdir" = "$ac_pwd"; then
1306  srcdir=.
1307fi
1308# Remove unnecessary trailing slashes from srcdir.
1309# Double slashes in file names in object file debugging info
1310# mess up M-x gdb in Emacs.
1311case $srcdir in
1312*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1313esac
1314for ac_var in $ac_precious_vars; do
1315  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1316  eval ac_env_${ac_var}_value=\$${ac_var}
1317  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1318  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1319done
1320
1321#
1322# Report the --help message.
1323#
1324if test "$ac_init_help" = "long"; then
1325  # Omit some internal or obsolete options to make the list less imposing.
1326  # This message is too long to be a string in the A/UX 3.1 sh.
1327  cat <<_ACEOF
1328\`configure' configures makedepend 1.0.2 to adapt to many kinds of systems.
1329
1330Usage: $0 [OPTION]... [VAR=VALUE]...
1331
1332To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333VAR=VALUE.  See below for descriptions of some of the useful variables.
1334
1335Defaults for the options are specified in brackets.
1336
1337Configuration:
1338  -h, --help              display this help and exit
1339      --help=short        display options specific to this package
1340      --help=recursive    display the short help of all the included packages
1341  -V, --version           display version information and exit
1342  -q, --quiet, --silent   do not print \`checking...' messages
1343      --cache-file=FILE   cache test results in FILE [disabled]
1344  -C, --config-cache      alias for \`--cache-file=config.cache'
1345  -n, --no-create         do not create output files
1346      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1347
1348Installation directories:
1349  --prefix=PREFIX         install architecture-independent files in PREFIX
1350                          [$ac_default_prefix]
1351  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1352                          [PREFIX]
1353
1354By default, \`make install' will install all the files in
1355\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1356an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357for instance \`--prefix=\$HOME'.
1358
1359For better control, use the options below.
1360
1361Fine tuning of the installation directories:
1362  --bindir=DIR            user executables [EPREFIX/bin]
1363  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1364  --libexecdir=DIR        program executables [EPREFIX/libexec]
1365  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1366  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1367  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1368  --libdir=DIR            object code libraries [EPREFIX/lib]
1369  --includedir=DIR        C header files [PREFIX/include]
1370  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1371  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1372  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1373  --infodir=DIR           info documentation [DATAROOTDIR/info]
1374  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1375  --mandir=DIR            man documentation [DATAROOTDIR/man]
1376  --docdir=DIR            documentation root [DATAROOTDIR/doc/makedepend]
1377  --htmldir=DIR           html documentation [DOCDIR]
1378  --dvidir=DIR            dvi documentation [DOCDIR]
1379  --pdfdir=DIR            pdf documentation [DOCDIR]
1380  --psdir=DIR             ps documentation [DOCDIR]
1381_ACEOF
1382
1383  cat <<\_ACEOF
1384
1385Program names:
1386  --program-prefix=PREFIX            prepend PREFIX to installed program names
1387  --program-suffix=SUFFIX            append SUFFIX to installed program names
1388  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1389
1390System types:
1391  --build=BUILD     configure for building on BUILD [guessed]
1392  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1393_ACEOF
1394fi
1395
1396if test -n "$ac_init_help"; then
1397  case $ac_init_help in
1398     short | recursive ) echo "Configuration of makedepend 1.0.2:";;
1399   esac
1400  cat <<\_ACEOF
1401
1402Optional Features:
1403  --disable-option-checking  ignore unrecognized --enable/--with options
1404  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1405  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1406  --disable-dependency-tracking  speeds up one-time build
1407  --enable-dependency-tracking   do not reject slow dependency extractors
1408  --enable-silent-rules          less verbose build output (undo: `make V=1')
1409  --disable-silent-rules         verbose build output (undo: `make V=0')
1410  --enable-strict-compilation
1411                          Enable all warnings from compiler and make them
1412                          errors (default: disabled)
1413  --disable-largefile     omit support for large files
1414
1415Optional Packages:
1416  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1417  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1418  --with-release-version=STRING
1419                          Use release version string in package name
1420  --with-lint             Use a lint-style source code checker (default:
1421                          disabled)
1422
1423Some influential environment variables:
1424  CC          C compiler command
1425  CFLAGS      C compiler flags
1426  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1427              nonstandard directory <lib dir>
1428  LIBS        libraries to pass to the linker, e.g. -l<library>
1429  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1430              you have headers in a nonstandard directory <include dir>
1431  CPP         C preprocessor
1432  PKG_CONFIG  path to pkg-config utility
1433  X_CFLAGS    C compiler flags for X, overriding pkg-config
1434  X_LIBS      linker flags for X, overriding pkg-config
1435
1436Use these variables to override the choices made by `configure' or to help
1437it to find libraries and programs with nonstandard names/locations.
1438
1439Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1440_ACEOF
1441ac_status=$?
1442fi
1443
1444if test "$ac_init_help" = "recursive"; then
1445  # If there are subdirs, report their specific --help.
1446  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1447    test -d "$ac_dir" ||
1448      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1449      continue
1450    ac_builddir=.
1451
1452case "$ac_dir" in
1453.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454*)
1455  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1456  # A ".." for each directory in $ac_dir_suffix.
1457  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1458  case $ac_top_builddir_sub in
1459  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1461  esac ;;
1462esac
1463ac_abs_top_builddir=$ac_pwd
1464ac_abs_builddir=$ac_pwd$ac_dir_suffix
1465# for backward compatibility:
1466ac_top_builddir=$ac_top_build_prefix
1467
1468case $srcdir in
1469  .)  # We are building in place.
1470    ac_srcdir=.
1471    ac_top_srcdir=$ac_top_builddir_sub
1472    ac_abs_top_srcdir=$ac_pwd ;;
1473  [\\/]* | ?:[\\/]* )  # Absolute name.
1474    ac_srcdir=$srcdir$ac_dir_suffix;
1475    ac_top_srcdir=$srcdir
1476    ac_abs_top_srcdir=$srcdir ;;
1477  *) # Relative name.
1478    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1479    ac_top_srcdir=$ac_top_build_prefix$srcdir
1480    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1481esac
1482ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1483
1484    cd "$ac_dir" || { ac_status=$?; continue; }
1485    # Check for guested configure.
1486    if test -f "$ac_srcdir/configure.gnu"; then
1487      echo &&
1488      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1489    elif test -f "$ac_srcdir/configure"; then
1490      echo &&
1491      $SHELL "$ac_srcdir/configure" --help=recursive
1492    else
1493      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1494    fi || ac_status=$?
1495    cd "$ac_pwd" || { ac_status=$?; break; }
1496  done
1497fi
1498
1499test -n "$ac_init_help" && exit $ac_status
1500if $ac_init_version; then
1501  cat <<\_ACEOF
1502makedepend configure 1.0.2
1503generated by GNU Autoconf 2.63
1504
1505Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
15062002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1507This configure script is free software; the Free Software Foundation
1508gives unlimited permission to copy, distribute and modify it.
1509_ACEOF
1510  exit
1511fi
1512cat >config.log <<_ACEOF
1513This file contains any messages produced by compilers while
1514running configure, to aid debugging if configure makes a mistake.
1515
1516It was created by makedepend $as_me 1.0.2, which was
1517generated by GNU Autoconf 2.63.  Invocation command line was
1518
1519  $ $0 $@
1520
1521_ACEOF
1522exec 5>>config.log
1523{
1524cat <<_ASUNAME
1525## --------- ##
1526## Platform. ##
1527## --------- ##
1528
1529hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1530uname -m = `(uname -m) 2>/dev/null || echo unknown`
1531uname -r = `(uname -r) 2>/dev/null || echo unknown`
1532uname -s = `(uname -s) 2>/dev/null || echo unknown`
1533uname -v = `(uname -v) 2>/dev/null || echo unknown`
1534
1535/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1536/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1537
1538/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1539/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1540/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1541/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1542/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1543/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1544/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1545
1546_ASUNAME
1547
1548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549for as_dir in $PATH
1550do
1551  IFS=$as_save_IFS
1552  test -z "$as_dir" && as_dir=.
1553  $as_echo "PATH: $as_dir"
1554done
1555IFS=$as_save_IFS
1556
1557} >&5
1558
1559cat >&5 <<_ACEOF
1560
1561
1562## ----------- ##
1563## Core tests. ##
1564## ----------- ##
1565
1566_ACEOF
1567
1568
1569# Keep a trace of the command line.
1570# Strip out --no-create and --no-recursion so they do not pile up.
1571# Strip out --silent because we don't want to record it for future runs.
1572# Also quote any args containing shell meta-characters.
1573# Make two passes to allow for proper duplicate-argument suppression.
1574ac_configure_args=
1575ac_configure_args0=
1576ac_configure_args1=
1577ac_must_keep_next=false
1578for ac_pass in 1 2
1579do
1580  for ac_arg
1581  do
1582    case $ac_arg in
1583    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1584    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1585    | -silent | --silent | --silen | --sile | --sil)
1586      continue ;;
1587    *\'*)
1588      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1589    esac
1590    case $ac_pass in
1591    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1592    2)
1593      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1594      if test $ac_must_keep_next = true; then
1595	ac_must_keep_next=false # Got value, back to normal.
1596      else
1597	case $ac_arg in
1598	  *=* | --config-cache | -C | -disable-* | --disable-* \
1599	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1600	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1601	  | -with-* | --with-* | -without-* | --without-* | --x)
1602	    case "$ac_configure_args0 " in
1603	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1604	    esac
1605	    ;;
1606	  -* ) ac_must_keep_next=true ;;
1607	esac
1608      fi
1609      ac_configure_args="$ac_configure_args '$ac_arg'"
1610      ;;
1611    esac
1612  done
1613done
1614$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1615$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1616
1617# When interrupted or exit'd, cleanup temporary files, and complete
1618# config.log.  We remove comments because anyway the quotes in there
1619# would cause problems or look ugly.
1620# WARNING: Use '\'' to represent an apostrophe within the trap.
1621# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1622trap 'exit_status=$?
1623  # Save into config.log some information that might help in debugging.
1624  {
1625    echo
1626
1627    cat <<\_ASBOX
1628## ---------------- ##
1629## Cache variables. ##
1630## ---------------- ##
1631_ASBOX
1632    echo
1633    # The following way of writing the cache mishandles newlines in values,
1634(
1635  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1636    eval ac_val=\$$ac_var
1637    case $ac_val in #(
1638    *${as_nl}*)
1639      case $ac_var in #(
1640      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1641$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1642      esac
1643      case $ac_var in #(
1644      _ | IFS | as_nl) ;; #(
1645      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1646      *) $as_unset $ac_var ;;
1647      esac ;;
1648    esac
1649  done
1650  (set) 2>&1 |
1651    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1652    *${as_nl}ac_space=\ *)
1653      sed -n \
1654	"s/'\''/'\''\\\\'\'''\''/g;
1655	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1656      ;; #(
1657    *)
1658      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1659      ;;
1660    esac |
1661    sort
1662)
1663    echo
1664
1665    cat <<\_ASBOX
1666## ----------------- ##
1667## Output variables. ##
1668## ----------------- ##
1669_ASBOX
1670    echo
1671    for ac_var in $ac_subst_vars
1672    do
1673      eval ac_val=\$$ac_var
1674      case $ac_val in
1675      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1676      esac
1677      $as_echo "$ac_var='\''$ac_val'\''"
1678    done | sort
1679    echo
1680
1681    if test -n "$ac_subst_files"; then
1682      cat <<\_ASBOX
1683## ------------------- ##
1684## File substitutions. ##
1685## ------------------- ##
1686_ASBOX
1687      echo
1688      for ac_var in $ac_subst_files
1689      do
1690	eval ac_val=\$$ac_var
1691	case $ac_val in
1692	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1693	esac
1694	$as_echo "$ac_var='\''$ac_val'\''"
1695      done | sort
1696      echo
1697    fi
1698
1699    if test -s confdefs.h; then
1700      cat <<\_ASBOX
1701## ----------- ##
1702## confdefs.h. ##
1703## ----------- ##
1704_ASBOX
1705      echo
1706      cat confdefs.h
1707      echo
1708    fi
1709    test "$ac_signal" != 0 &&
1710      $as_echo "$as_me: caught signal $ac_signal"
1711    $as_echo "$as_me: exit $exit_status"
1712  } >&5
1713  rm -f core *.core core.conftest.* &&
1714    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1715    exit $exit_status
1716' 0
1717for ac_signal in 1 2 13 15; do
1718  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1719done
1720ac_signal=0
1721
1722# confdefs.h avoids OS command line length limits that DEFS can exceed.
1723rm -f -r conftest* confdefs.h
1724
1725# Predefined preprocessor variables.
1726
1727cat >>confdefs.h <<_ACEOF
1728#define PACKAGE_NAME "$PACKAGE_NAME"
1729_ACEOF
1730
1731
1732cat >>confdefs.h <<_ACEOF
1733#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1734_ACEOF
1735
1736
1737cat >>confdefs.h <<_ACEOF
1738#define PACKAGE_VERSION "$PACKAGE_VERSION"
1739_ACEOF
1740
1741
1742cat >>confdefs.h <<_ACEOF
1743#define PACKAGE_STRING "$PACKAGE_STRING"
1744_ACEOF
1745
1746
1747cat >>confdefs.h <<_ACEOF
1748#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1749_ACEOF
1750
1751
1752# Let the site file select an alternate cache file if it wants to.
1753# Prefer an explicitly selected file to automatically selected ones.
1754ac_site_file1=NONE
1755ac_site_file2=NONE
1756if test -n "$CONFIG_SITE"; then
1757  ac_site_file1=$CONFIG_SITE
1758elif test "x$prefix" != xNONE; then
1759  ac_site_file1=$prefix/share/config.site
1760  ac_site_file2=$prefix/etc/config.site
1761else
1762  ac_site_file1=$ac_default_prefix/share/config.site
1763  ac_site_file2=$ac_default_prefix/etc/config.site
1764fi
1765for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1766do
1767  test "x$ac_site_file" = xNONE && continue
1768  if test -r "$ac_site_file"; then
1769    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1770$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1771    sed 's/^/| /' "$ac_site_file" >&5
1772    . "$ac_site_file"
1773  fi
1774done
1775
1776if test -r "$cache_file"; then
1777  # Some versions of bash will fail to source /dev/null (special
1778  # files actually), so we avoid doing that.
1779  if test -f "$cache_file"; then
1780    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1781$as_echo "$as_me: loading cache $cache_file" >&6;}
1782    case $cache_file in
1783      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1784      *)                      . "./$cache_file";;
1785    esac
1786  fi
1787else
1788  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1789$as_echo "$as_me: creating cache $cache_file" >&6;}
1790  >$cache_file
1791fi
1792
1793# Check that the precious variables saved in the cache have kept the same
1794# value.
1795ac_cache_corrupted=false
1796for ac_var in $ac_precious_vars; do
1797  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1798  eval ac_new_set=\$ac_env_${ac_var}_set
1799  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1800  eval ac_new_val=\$ac_env_${ac_var}_value
1801  case $ac_old_set,$ac_new_set in
1802    set,)
1803      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1804$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1805      ac_cache_corrupted=: ;;
1806    ,set)
1807      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1808$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1809      ac_cache_corrupted=: ;;
1810    ,);;
1811    *)
1812      if test "x$ac_old_val" != "x$ac_new_val"; then
1813	# differences in whitespace do not lead to failure.
1814	ac_old_val_w=`echo x $ac_old_val`
1815	ac_new_val_w=`echo x $ac_new_val`
1816	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1817	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1818$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1819	  ac_cache_corrupted=:
1820	else
1821	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1822$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1823	  eval $ac_var=\$ac_old_val
1824	fi
1825	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1826$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1827	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1828$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1829      fi;;
1830  esac
1831  # Pass precious variables to config.status.
1832  if test "$ac_new_set" = set; then
1833    case $ac_new_val in
1834    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1835    *) ac_arg=$ac_var=$ac_new_val ;;
1836    esac
1837    case " $ac_configure_args " in
1838      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1839      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1840    esac
1841  fi
1842done
1843if $ac_cache_corrupted; then
1844  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1845$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1846  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1847$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1848  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1849$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1850   { (exit 1); exit 1; }; }
1851fi
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877ac_ext=c
1878ac_cpp='$CPP $CPPFLAGS'
1879ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1880ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1881ac_compiler_gnu=$ac_cv_c_compiler_gnu
1882
1883
1884am__api_version='1.11'
1885
1886ac_aux_dir=
1887for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1888  if test -f "$ac_dir/install-sh"; then
1889    ac_aux_dir=$ac_dir
1890    ac_install_sh="$ac_aux_dir/install-sh -c"
1891    break
1892  elif test -f "$ac_dir/install.sh"; then
1893    ac_aux_dir=$ac_dir
1894    ac_install_sh="$ac_aux_dir/install.sh -c"
1895    break
1896  elif test -f "$ac_dir/shtool"; then
1897    ac_aux_dir=$ac_dir
1898    ac_install_sh="$ac_aux_dir/shtool install -c"
1899    break
1900  fi
1901done
1902if test -z "$ac_aux_dir"; then
1903  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1904$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1905   { (exit 1); exit 1; }; }
1906fi
1907
1908# These three variables are undocumented and unsupported,
1909# and are intended to be withdrawn in a future Autoconf release.
1910# They can cause serious problems if a builder's source tree is in a directory
1911# whose full name contains unusual characters.
1912ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1913ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1914ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1915
1916
1917# Find a good install program.  We prefer a C program (faster),
1918# so one script is as good as another.  But avoid the broken or
1919# incompatible versions:
1920# SysV /etc/install, /usr/sbin/install
1921# SunOS /usr/etc/install
1922# IRIX /sbin/install
1923# AIX /bin/install
1924# AmigaOS /C/install, which installs bootblocks on floppy discs
1925# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1926# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1927# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1928# OS/2's system install, which has a completely different semantic
1929# ./install, which can be erroneously created by make from ./install.sh.
1930# Reject install programs that cannot install multiple files.
1931{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1932$as_echo_n "checking for a BSD-compatible install... " >&6; }
1933if test -z "$INSTALL"; then
1934if test "${ac_cv_path_install+set}" = set; then
1935  $as_echo_n "(cached) " >&6
1936else
1937  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938for as_dir in $PATH
1939do
1940  IFS=$as_save_IFS
1941  test -z "$as_dir" && as_dir=.
1942  # Account for people who put trailing slashes in PATH elements.
1943case $as_dir/ in
1944  ./ | .// | /cC/* | \
1945  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1946  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1947  /usr/ucb/* ) ;;
1948  *)
1949    # OSF1 and SCO ODT 3.0 have their own names for install.
1950    # Don't use installbsd from OSF since it installs stuff as root
1951    # by default.
1952    for ac_prog in ginstall scoinst install; do
1953      for ac_exec_ext in '' $ac_executable_extensions; do
1954	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1955	  if test $ac_prog = install &&
1956	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1957	    # AIX install.  It has an incompatible calling convention.
1958	    :
1959	  elif test $ac_prog = install &&
1960	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1961	    # program-specific install script used by HP pwplus--don't use.
1962	    :
1963	  else
1964	    rm -rf conftest.one conftest.two conftest.dir
1965	    echo one > conftest.one
1966	    echo two > conftest.two
1967	    mkdir conftest.dir
1968	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1969	      test -s conftest.one && test -s conftest.two &&
1970	      test -s conftest.dir/conftest.one &&
1971	      test -s conftest.dir/conftest.two
1972	    then
1973	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1974	      break 3
1975	    fi
1976	  fi
1977	fi
1978      done
1979    done
1980    ;;
1981esac
1982
1983done
1984IFS=$as_save_IFS
1985
1986rm -rf conftest.one conftest.two conftest.dir
1987
1988fi
1989  if test "${ac_cv_path_install+set}" = set; then
1990    INSTALL=$ac_cv_path_install
1991  else
1992    # As a last resort, use the slow shell script.  Don't cache a
1993    # value for INSTALL within a source directory, because that will
1994    # break other packages using the cache if that directory is
1995    # removed, or if the value is a relative name.
1996    INSTALL=$ac_install_sh
1997  fi
1998fi
1999{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2000$as_echo "$INSTALL" >&6; }
2001
2002# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2003# It thinks the first close brace ends the variable substitution.
2004test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2005
2006test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2007
2008test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2009
2010{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2011$as_echo_n "checking whether build environment is sane... " >&6; }
2012# Just in case
2013sleep 1
2014echo timestamp > conftest.file
2015# Reject unsafe characters in $srcdir or the absolute working directory
2016# name.  Accept space and tab only in the latter.
2017am_lf='
2018'
2019case `pwd` in
2020  *[\\\"\#\$\&\'\`$am_lf]*)
2021    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2022$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2023   { (exit 1); exit 1; }; };;
2024esac
2025case $srcdir in
2026  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2027    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2028$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2029   { (exit 1); exit 1; }; };;
2030esac
2031
2032# Do `set' in a subshell so we don't clobber the current shell's
2033# arguments.  Must try -L first in case configure is actually a
2034# symlink; some systems play weird games with the mod time of symlinks
2035# (eg FreeBSD returns the mod time of the symlink's containing
2036# directory).
2037if (
2038   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2039   if test "$*" = "X"; then
2040      # -L didn't work.
2041      set X `ls -t "$srcdir/configure" conftest.file`
2042   fi
2043   rm -f conftest.file
2044   if test "$*" != "X $srcdir/configure conftest.file" \
2045      && test "$*" != "X conftest.file $srcdir/configure"; then
2046
2047      # If neither matched, then we have a broken ls.  This can happen
2048      # if, for instance, CONFIG_SHELL is bash and it inherits a
2049      # broken ls alias from the environment.  This has actually
2050      # happened.  Such a system could not be considered "sane".
2051      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2052alias in your environment" >&5
2053$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2054alias in your environment" >&2;}
2055   { (exit 1); exit 1; }; }
2056   fi
2057
2058   test "$2" = conftest.file
2059   )
2060then
2061   # Ok.
2062   :
2063else
2064   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2065Check your system clock" >&5
2066$as_echo "$as_me: error: newly created file is older than distributed files!
2067Check your system clock" >&2;}
2068   { (exit 1); exit 1; }; }
2069fi
2070{ $as_echo "$as_me:$LINENO: result: yes" >&5
2071$as_echo "yes" >&6; }
2072test "$program_prefix" != NONE &&
2073  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2074# Use a double $ so make ignores it.
2075test "$program_suffix" != NONE &&
2076  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2077# Double any \ or $.
2078# By default was `s,x,x', remove it if useless.
2079ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2080program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2081
2082# expand $ac_aux_dir to an absolute path
2083am_aux_dir=`cd $ac_aux_dir && pwd`
2084
2085if test x"${MISSING+set}" != xset; then
2086  case $am_aux_dir in
2087  *\ * | *\	*)
2088    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2089  *)
2090    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2091  esac
2092fi
2093# Use eval to expand $SHELL
2094if eval "$MISSING --run true"; then
2095  am_missing_run="$MISSING --run "
2096else
2097  am_missing_run=
2098  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2099$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2100fi
2101
2102if test x"${install_sh}" != xset; then
2103  case $am_aux_dir in
2104  *\ * | *\	*)
2105    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2106  *)
2107    install_sh="\${SHELL} $am_aux_dir/install-sh"
2108  esac
2109fi
2110
2111# Installed binaries are usually stripped using `strip' when the user
2112# run `make install-strip'.  However `strip' might not be the right
2113# tool to use in cross-compilation environments, therefore Automake
2114# will honor the `STRIP' environment variable to overrule this program.
2115if test "$cross_compiling" != no; then
2116  if test -n "$ac_tool_prefix"; then
2117  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2118set dummy ${ac_tool_prefix}strip; ac_word=$2
2119{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2120$as_echo_n "checking for $ac_word... " >&6; }
2121if test "${ac_cv_prog_STRIP+set}" = set; then
2122  $as_echo_n "(cached) " >&6
2123else
2124  if test -n "$STRIP"; then
2125  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2126else
2127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128for as_dir in $PATH
2129do
2130  IFS=$as_save_IFS
2131  test -z "$as_dir" && as_dir=.
2132  for ac_exec_ext in '' $ac_executable_extensions; do
2133  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2134    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2135    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2136    break 2
2137  fi
2138done
2139done
2140IFS=$as_save_IFS
2141
2142fi
2143fi
2144STRIP=$ac_cv_prog_STRIP
2145if test -n "$STRIP"; then
2146  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2147$as_echo "$STRIP" >&6; }
2148else
2149  { $as_echo "$as_me:$LINENO: result: no" >&5
2150$as_echo "no" >&6; }
2151fi
2152
2153
2154fi
2155if test -z "$ac_cv_prog_STRIP"; then
2156  ac_ct_STRIP=$STRIP
2157  # Extract the first word of "strip", so it can be a program name with args.
2158set dummy strip; ac_word=$2
2159{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2160$as_echo_n "checking for $ac_word... " >&6; }
2161if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2162  $as_echo_n "(cached) " >&6
2163else
2164  if test -n "$ac_ct_STRIP"; then
2165  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2166else
2167as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168for as_dir in $PATH
2169do
2170  IFS=$as_save_IFS
2171  test -z "$as_dir" && as_dir=.
2172  for ac_exec_ext in '' $ac_executable_extensions; do
2173  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2174    ac_cv_prog_ac_ct_STRIP="strip"
2175    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2176    break 2
2177  fi
2178done
2179done
2180IFS=$as_save_IFS
2181
2182fi
2183fi
2184ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2185if test -n "$ac_ct_STRIP"; then
2186  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2187$as_echo "$ac_ct_STRIP" >&6; }
2188else
2189  { $as_echo "$as_me:$LINENO: result: no" >&5
2190$as_echo "no" >&6; }
2191fi
2192
2193  if test "x$ac_ct_STRIP" = x; then
2194    STRIP=":"
2195  else
2196    case $cross_compiling:$ac_tool_warned in
2197yes:)
2198{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2199$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2200ac_tool_warned=yes ;;
2201esac
2202    STRIP=$ac_ct_STRIP
2203  fi
2204else
2205  STRIP="$ac_cv_prog_STRIP"
2206fi
2207
2208fi
2209INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2210
2211{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2212$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2213if test -z "$MKDIR_P"; then
2214  if test "${ac_cv_path_mkdir+set}" = set; then
2215  $as_echo_n "(cached) " >&6
2216else
2217  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2219do
2220  IFS=$as_save_IFS
2221  test -z "$as_dir" && as_dir=.
2222  for ac_prog in mkdir gmkdir; do
2223	 for ac_exec_ext in '' $ac_executable_extensions; do
2224	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2225	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2226	     'mkdir (GNU coreutils) '* | \
2227	     'mkdir (coreutils) '* | \
2228	     'mkdir (fileutils) '4.1*)
2229	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2230	       break 3;;
2231	   esac
2232	 done
2233       done
2234done
2235IFS=$as_save_IFS
2236
2237fi
2238
2239  if test "${ac_cv_path_mkdir+set}" = set; then
2240    MKDIR_P="$ac_cv_path_mkdir -p"
2241  else
2242    # As a last resort, use the slow shell script.  Don't cache a
2243    # value for MKDIR_P within a source directory, because that will
2244    # break other packages using the cache if that directory is
2245    # removed, or if the value is a relative name.
2246    test -d ./--version && rmdir ./--version
2247    MKDIR_P="$ac_install_sh -d"
2248  fi
2249fi
2250{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2251$as_echo "$MKDIR_P" >&6; }
2252
2253mkdir_p="$MKDIR_P"
2254case $mkdir_p in
2255  [\\/$]* | ?:[\\/]*) ;;
2256  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2257esac
2258
2259for ac_prog in gawk mawk nawk awk
2260do
2261  # Extract the first word of "$ac_prog", so it can be a program name with args.
2262set dummy $ac_prog; ac_word=$2
2263{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2264$as_echo_n "checking for $ac_word... " >&6; }
2265if test "${ac_cv_prog_AWK+set}" = set; then
2266  $as_echo_n "(cached) " >&6
2267else
2268  if test -n "$AWK"; then
2269  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2270else
2271as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272for as_dir in $PATH
2273do
2274  IFS=$as_save_IFS
2275  test -z "$as_dir" && as_dir=.
2276  for ac_exec_ext in '' $ac_executable_extensions; do
2277  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278    ac_cv_prog_AWK="$ac_prog"
2279    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2280    break 2
2281  fi
2282done
2283done
2284IFS=$as_save_IFS
2285
2286fi
2287fi
2288AWK=$ac_cv_prog_AWK
2289if test -n "$AWK"; then
2290  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2291$as_echo "$AWK" >&6; }
2292else
2293  { $as_echo "$as_me:$LINENO: result: no" >&5
2294$as_echo "no" >&6; }
2295fi
2296
2297
2298  test -n "$AWK" && break
2299done
2300
2301{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2302$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2303set x ${MAKE-make}
2304ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2305if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2306  $as_echo_n "(cached) " >&6
2307else
2308  cat >conftest.make <<\_ACEOF
2309SHELL = /bin/sh
2310all:
2311	@echo '@@@%%%=$(MAKE)=@@@%%%'
2312_ACEOF
2313# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2314case `${MAKE-make} -f conftest.make 2>/dev/null` in
2315  *@@@%%%=?*=@@@%%%*)
2316    eval ac_cv_prog_make_${ac_make}_set=yes;;
2317  *)
2318    eval ac_cv_prog_make_${ac_make}_set=no;;
2319esac
2320rm -f conftest.make
2321fi
2322if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2323  { $as_echo "$as_me:$LINENO: result: yes" >&5
2324$as_echo "yes" >&6; }
2325  SET_MAKE=
2326else
2327  { $as_echo "$as_me:$LINENO: result: no" >&5
2328$as_echo "no" >&6; }
2329  SET_MAKE="MAKE=${MAKE-make}"
2330fi
2331
2332rm -rf .tst 2>/dev/null
2333mkdir .tst 2>/dev/null
2334if test -d .tst; then
2335  am__leading_dot=.
2336else
2337  am__leading_dot=_
2338fi
2339rmdir .tst 2>/dev/null
2340
2341if test "`cd $srcdir && pwd`" != "`pwd`"; then
2342  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2343  # is not polluted with repeated "-I."
2344  am__isrc=' -I$(srcdir)'
2345  # test to see if srcdir already configured
2346  if test -f $srcdir/config.status; then
2347    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2348$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2349   { (exit 1); exit 1; }; }
2350  fi
2351fi
2352
2353# test whether we have cygpath
2354if test -z "$CYGPATH_W"; then
2355  if (cygpath --version) >/dev/null 2>/dev/null; then
2356    CYGPATH_W='cygpath -w'
2357  else
2358    CYGPATH_W=echo
2359  fi
2360fi
2361
2362
2363# Define the identity of the package.
2364 PACKAGE='makedepend'
2365 VERSION='1.0.2'
2366
2367
2368cat >>confdefs.h <<_ACEOF
2369#define PACKAGE "$PACKAGE"
2370_ACEOF
2371
2372
2373cat >>confdefs.h <<_ACEOF
2374#define VERSION "$VERSION"
2375_ACEOF
2376
2377# Some tools Automake needs.
2378
2379ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2380
2381
2382AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2383
2384
2385AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2386
2387
2388AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2389
2390
2391MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2392
2393# We need awk for the "check" target.  The system "awk" is bad on
2394# some platforms.
2395# Always define AMTAR for backward compatibility.
2396
2397AMTAR=${AMTAR-"${am_missing_run}tar"}
2398
2399am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2400
2401
2402
2403
2404
2405ac_config_headers="$ac_config_headers makedepend-config.h"
2406
2407
2408# Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS, XORG_WITH_LINT
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421ac_ext=c
2422ac_cpp='$CPP $CPPFLAGS'
2423ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2424ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2425ac_compiler_gnu=$ac_cv_c_compiler_gnu
2426if test -n "$ac_tool_prefix"; then
2427  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2428set dummy ${ac_tool_prefix}gcc; ac_word=$2
2429{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2430$as_echo_n "checking for $ac_word... " >&6; }
2431if test "${ac_cv_prog_CC+set}" = set; then
2432  $as_echo_n "(cached) " >&6
2433else
2434  if test -n "$CC"; then
2435  ac_cv_prog_CC="$CC" # Let the user override the test.
2436else
2437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2438for as_dir in $PATH
2439do
2440  IFS=$as_save_IFS
2441  test -z "$as_dir" && as_dir=.
2442  for ac_exec_ext in '' $ac_executable_extensions; do
2443  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2444    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2445    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446    break 2
2447  fi
2448done
2449done
2450IFS=$as_save_IFS
2451
2452fi
2453fi
2454CC=$ac_cv_prog_CC
2455if test -n "$CC"; then
2456  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2457$as_echo "$CC" >&6; }
2458else
2459  { $as_echo "$as_me:$LINENO: result: no" >&5
2460$as_echo "no" >&6; }
2461fi
2462
2463
2464fi
2465if test -z "$ac_cv_prog_CC"; then
2466  ac_ct_CC=$CC
2467  # Extract the first word of "gcc", so it can be a program name with args.
2468set dummy gcc; ac_word=$2
2469{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2470$as_echo_n "checking for $ac_word... " >&6; }
2471if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2472  $as_echo_n "(cached) " >&6
2473else
2474  if test -n "$ac_ct_CC"; then
2475  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2476else
2477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478for as_dir in $PATH
2479do
2480  IFS=$as_save_IFS
2481  test -z "$as_dir" && as_dir=.
2482  for ac_exec_ext in '' $ac_executable_extensions; do
2483  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2484    ac_cv_prog_ac_ct_CC="gcc"
2485    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486    break 2
2487  fi
2488done
2489done
2490IFS=$as_save_IFS
2491
2492fi
2493fi
2494ac_ct_CC=$ac_cv_prog_ac_ct_CC
2495if test -n "$ac_ct_CC"; then
2496  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2497$as_echo "$ac_ct_CC" >&6; }
2498else
2499  { $as_echo "$as_me:$LINENO: result: no" >&5
2500$as_echo "no" >&6; }
2501fi
2502
2503  if test "x$ac_ct_CC" = x; then
2504    CC=""
2505  else
2506    case $cross_compiling:$ac_tool_warned in
2507yes:)
2508{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2509$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2510ac_tool_warned=yes ;;
2511esac
2512    CC=$ac_ct_CC
2513  fi
2514else
2515  CC="$ac_cv_prog_CC"
2516fi
2517
2518if test -z "$CC"; then
2519          if test -n "$ac_tool_prefix"; then
2520    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2521set dummy ${ac_tool_prefix}cc; ac_word=$2
2522{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2523$as_echo_n "checking for $ac_word... " >&6; }
2524if test "${ac_cv_prog_CC+set}" = set; then
2525  $as_echo_n "(cached) " >&6
2526else
2527  if test -n "$CC"; then
2528  ac_cv_prog_CC="$CC" # Let the user override the test.
2529else
2530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531for as_dir in $PATH
2532do
2533  IFS=$as_save_IFS
2534  test -z "$as_dir" && as_dir=.
2535  for ac_exec_ext in '' $ac_executable_extensions; do
2536  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2537    ac_cv_prog_CC="${ac_tool_prefix}cc"
2538    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2539    break 2
2540  fi
2541done
2542done
2543IFS=$as_save_IFS
2544
2545fi
2546fi
2547CC=$ac_cv_prog_CC
2548if test -n "$CC"; then
2549  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2550$as_echo "$CC" >&6; }
2551else
2552  { $as_echo "$as_me:$LINENO: result: no" >&5
2553$as_echo "no" >&6; }
2554fi
2555
2556
2557  fi
2558fi
2559if test -z "$CC"; then
2560  # Extract the first word of "cc", so it can be a program name with args.
2561set dummy cc; ac_word=$2
2562{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2563$as_echo_n "checking for $ac_word... " >&6; }
2564if test "${ac_cv_prog_CC+set}" = set; then
2565  $as_echo_n "(cached) " >&6
2566else
2567  if test -n "$CC"; then
2568  ac_cv_prog_CC="$CC" # Let the user override the test.
2569else
2570  ac_prog_rejected=no
2571as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2572for as_dir in $PATH
2573do
2574  IFS=$as_save_IFS
2575  test -z "$as_dir" && as_dir=.
2576  for ac_exec_ext in '' $ac_executable_extensions; do
2577  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2579       ac_prog_rejected=yes
2580       continue
2581     fi
2582    ac_cv_prog_CC="cc"
2583    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2584    break 2
2585  fi
2586done
2587done
2588IFS=$as_save_IFS
2589
2590if test $ac_prog_rejected = yes; then
2591  # We found a bogon in the path, so make sure we never use it.
2592  set dummy $ac_cv_prog_CC
2593  shift
2594  if test $# != 0; then
2595    # We chose a different compiler from the bogus one.
2596    # However, it has the same basename, so the bogon will be chosen
2597    # first if we set CC to just the basename; use the full file name.
2598    shift
2599    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2600  fi
2601fi
2602fi
2603fi
2604CC=$ac_cv_prog_CC
2605if test -n "$CC"; then
2606  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2607$as_echo "$CC" >&6; }
2608else
2609  { $as_echo "$as_me:$LINENO: result: no" >&5
2610$as_echo "no" >&6; }
2611fi
2612
2613
2614fi
2615if test -z "$CC"; then
2616  if test -n "$ac_tool_prefix"; then
2617  for ac_prog in cl.exe
2618  do
2619    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2620set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2621{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2622$as_echo_n "checking for $ac_word... " >&6; }
2623if test "${ac_cv_prog_CC+set}" = set; then
2624  $as_echo_n "(cached) " >&6
2625else
2626  if test -n "$CC"; then
2627  ac_cv_prog_CC="$CC" # Let the user override the test.
2628else
2629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630for as_dir in $PATH
2631do
2632  IFS=$as_save_IFS
2633  test -z "$as_dir" && as_dir=.
2634  for ac_exec_ext in '' $ac_executable_extensions; do
2635  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2636    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2637    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2638    break 2
2639  fi
2640done
2641done
2642IFS=$as_save_IFS
2643
2644fi
2645fi
2646CC=$ac_cv_prog_CC
2647if test -n "$CC"; then
2648  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2649$as_echo "$CC" >&6; }
2650else
2651  { $as_echo "$as_me:$LINENO: result: no" >&5
2652$as_echo "no" >&6; }
2653fi
2654
2655
2656    test -n "$CC" && break
2657  done
2658fi
2659if test -z "$CC"; then
2660  ac_ct_CC=$CC
2661  for ac_prog in cl.exe
2662do
2663  # Extract the first word of "$ac_prog", so it can be a program name with args.
2664set dummy $ac_prog; ac_word=$2
2665{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2666$as_echo_n "checking for $ac_word... " >&6; }
2667if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2668  $as_echo_n "(cached) " >&6
2669else
2670  if test -n "$ac_ct_CC"; then
2671  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2672else
2673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674for as_dir in $PATH
2675do
2676  IFS=$as_save_IFS
2677  test -z "$as_dir" && as_dir=.
2678  for ac_exec_ext in '' $ac_executable_extensions; do
2679  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680    ac_cv_prog_ac_ct_CC="$ac_prog"
2681    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2682    break 2
2683  fi
2684done
2685done
2686IFS=$as_save_IFS
2687
2688fi
2689fi
2690ac_ct_CC=$ac_cv_prog_ac_ct_CC
2691if test -n "$ac_ct_CC"; then
2692  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2693$as_echo "$ac_ct_CC" >&6; }
2694else
2695  { $as_echo "$as_me:$LINENO: result: no" >&5
2696$as_echo "no" >&6; }
2697fi
2698
2699
2700  test -n "$ac_ct_CC" && break
2701done
2702
2703  if test "x$ac_ct_CC" = x; then
2704    CC=""
2705  else
2706    case $cross_compiling:$ac_tool_warned in
2707yes:)
2708{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2709$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2710ac_tool_warned=yes ;;
2711esac
2712    CC=$ac_ct_CC
2713  fi
2714fi
2715
2716fi
2717
2718
2719test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2720$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2721{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2722See \`config.log' for more details." >&5
2723$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2724See \`config.log' for more details." >&2;}
2725   { (exit 1); exit 1; }; }; }
2726
2727# Provide some information about the compiler.
2728$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2729set X $ac_compile
2730ac_compiler=$2
2731{ (ac_try="$ac_compiler --version >&5"
2732case "(($ac_try" in
2733  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734  *) ac_try_echo=$ac_try;;
2735esac
2736eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2737$as_echo "$ac_try_echo") >&5
2738  (eval "$ac_compiler --version >&5") 2>&5
2739  ac_status=$?
2740  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741  (exit $ac_status); }
2742{ (ac_try="$ac_compiler -v >&5"
2743case "(($ac_try" in
2744  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745  *) ac_try_echo=$ac_try;;
2746esac
2747eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2748$as_echo "$ac_try_echo") >&5
2749  (eval "$ac_compiler -v >&5") 2>&5
2750  ac_status=$?
2751  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752  (exit $ac_status); }
2753{ (ac_try="$ac_compiler -V >&5"
2754case "(($ac_try" in
2755  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756  *) ac_try_echo=$ac_try;;
2757esac
2758eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2759$as_echo "$ac_try_echo") >&5
2760  (eval "$ac_compiler -V >&5") 2>&5
2761  ac_status=$?
2762  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763  (exit $ac_status); }
2764
2765cat >conftest.$ac_ext <<_ACEOF
2766/* confdefs.h.  */
2767_ACEOF
2768cat confdefs.h >>conftest.$ac_ext
2769cat >>conftest.$ac_ext <<_ACEOF
2770/* end confdefs.h.  */
2771
2772int
2773main ()
2774{
2775
2776  ;
2777  return 0;
2778}
2779_ACEOF
2780ac_clean_files_save=$ac_clean_files
2781ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2782# Try to create an executable without -o first, disregard a.out.
2783# It will help us diagnose broken compilers, and finding out an intuition
2784# of exeext.
2785{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2786$as_echo_n "checking for C compiler default output file name... " >&6; }
2787ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2788
2789# The possible output files:
2790ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2791
2792ac_rmfiles=
2793for ac_file in $ac_files
2794do
2795  case $ac_file in
2796    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2797    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2798  esac
2799done
2800rm -f $ac_rmfiles
2801
2802if { (ac_try="$ac_link_default"
2803case "(($ac_try" in
2804  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2805  *) ac_try_echo=$ac_try;;
2806esac
2807eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2808$as_echo "$ac_try_echo") >&5
2809  (eval "$ac_link_default") 2>&5
2810  ac_status=$?
2811  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812  (exit $ac_status); }; then
2813  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2814# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2815# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2816# so that the user can short-circuit this test for compilers unknown to
2817# Autoconf.
2818for ac_file in $ac_files ''
2819do
2820  test -f "$ac_file" || continue
2821  case $ac_file in
2822    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2823	;;
2824    [ab].out )
2825	# We found the default executable, but exeext='' is most
2826	# certainly right.
2827	break;;
2828    *.* )
2829        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2830	then :; else
2831	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2832	fi
2833	# We set ac_cv_exeext here because the later test for it is not
2834	# safe: cross compilers may not add the suffix if given an `-o'
2835	# argument, so we may need to know it at that point already.
2836	# Even if this section looks crufty: it has the advantage of
2837	# actually working.
2838	break;;
2839    * )
2840	break;;
2841  esac
2842done
2843test "$ac_cv_exeext" = no && ac_cv_exeext=
2844
2845else
2846  ac_file=''
2847fi
2848
2849{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2850$as_echo "$ac_file" >&6; }
2851if test -z "$ac_file"; then
2852  $as_echo "$as_me: failed program was:" >&5
2853sed 's/^/| /' conftest.$ac_ext >&5
2854
2855{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2856$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2857{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2858See \`config.log' for more details." >&5
2859$as_echo "$as_me: error: C compiler cannot create executables
2860See \`config.log' for more details." >&2;}
2861   { (exit 77); exit 77; }; }; }
2862fi
2863
2864ac_exeext=$ac_cv_exeext
2865
2866# Check that the compiler produces executables we can run.  If not, either
2867# the compiler is broken, or we cross compile.
2868{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2869$as_echo_n "checking whether the C compiler works... " >&6; }
2870# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2871# If not cross compiling, check that we can run a simple program.
2872if test "$cross_compiling" != yes; then
2873  if { ac_try='./$ac_file'
2874  { (case "(($ac_try" in
2875  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876  *) ac_try_echo=$ac_try;;
2877esac
2878eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2879$as_echo "$ac_try_echo") >&5
2880  (eval "$ac_try") 2>&5
2881  ac_status=$?
2882  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883  (exit $ac_status); }; }; then
2884    cross_compiling=no
2885  else
2886    if test "$cross_compiling" = maybe; then
2887	cross_compiling=yes
2888    else
2889	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2890$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2892If you meant to cross compile, use \`--host'.
2893See \`config.log' for more details." >&5
2894$as_echo "$as_me: error: cannot run C compiled programs.
2895If you meant to cross compile, use \`--host'.
2896See \`config.log' for more details." >&2;}
2897   { (exit 1); exit 1; }; }; }
2898    fi
2899  fi
2900fi
2901{ $as_echo "$as_me:$LINENO: result: yes" >&5
2902$as_echo "yes" >&6; }
2903
2904rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2905ac_clean_files=$ac_clean_files_save
2906# Check that the compiler produces executables we can run.  If not, either
2907# the compiler is broken, or we cross compile.
2908{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2909$as_echo_n "checking whether we are cross compiling... " >&6; }
2910{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2911$as_echo "$cross_compiling" >&6; }
2912
2913{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2914$as_echo_n "checking for suffix of executables... " >&6; }
2915if { (ac_try="$ac_link"
2916case "(($ac_try" in
2917  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918  *) ac_try_echo=$ac_try;;
2919esac
2920eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2921$as_echo "$ac_try_echo") >&5
2922  (eval "$ac_link") 2>&5
2923  ac_status=$?
2924  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925  (exit $ac_status); }; then
2926  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2927# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2928# work properly (i.e., refer to `conftest.exe'), while it won't with
2929# `rm'.
2930for ac_file in conftest.exe conftest conftest.*; do
2931  test -f "$ac_file" || continue
2932  case $ac_file in
2933    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2934    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2935	  break;;
2936    * ) break;;
2937  esac
2938done
2939else
2940  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2941$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2942{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2943See \`config.log' for more details." >&5
2944$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2945See \`config.log' for more details." >&2;}
2946   { (exit 1); exit 1; }; }; }
2947fi
2948
2949rm -f conftest$ac_cv_exeext
2950{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2951$as_echo "$ac_cv_exeext" >&6; }
2952
2953rm -f conftest.$ac_ext
2954EXEEXT=$ac_cv_exeext
2955ac_exeext=$EXEEXT
2956{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2957$as_echo_n "checking for suffix of object files... " >&6; }
2958if test "${ac_cv_objext+set}" = set; then
2959  $as_echo_n "(cached) " >&6
2960else
2961  cat >conftest.$ac_ext <<_ACEOF
2962/* confdefs.h.  */
2963_ACEOF
2964cat confdefs.h >>conftest.$ac_ext
2965cat >>conftest.$ac_ext <<_ACEOF
2966/* end confdefs.h.  */
2967
2968int
2969main ()
2970{
2971
2972  ;
2973  return 0;
2974}
2975_ACEOF
2976rm -f conftest.o conftest.obj
2977if { (ac_try="$ac_compile"
2978case "(($ac_try" in
2979  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980  *) ac_try_echo=$ac_try;;
2981esac
2982eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2983$as_echo "$ac_try_echo") >&5
2984  (eval "$ac_compile") 2>&5
2985  ac_status=$?
2986  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987  (exit $ac_status); }; then
2988  for ac_file in conftest.o conftest.obj conftest.*; do
2989  test -f "$ac_file" || continue;
2990  case $ac_file in
2991    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2992    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2993       break;;
2994  esac
2995done
2996else
2997  $as_echo "$as_me: failed program was:" >&5
2998sed 's/^/| /' conftest.$ac_ext >&5
2999
3000{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3002{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3003See \`config.log' for more details." >&5
3004$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3005See \`config.log' for more details." >&2;}
3006   { (exit 1); exit 1; }; }; }
3007fi
3008
3009rm -f conftest.$ac_cv_objext conftest.$ac_ext
3010fi
3011{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3012$as_echo "$ac_cv_objext" >&6; }
3013OBJEXT=$ac_cv_objext
3014ac_objext=$OBJEXT
3015{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3016$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3017if test "${ac_cv_c_compiler_gnu+set}" = set; then
3018  $as_echo_n "(cached) " >&6
3019else
3020  cat >conftest.$ac_ext <<_ACEOF
3021/* confdefs.h.  */
3022_ACEOF
3023cat confdefs.h >>conftest.$ac_ext
3024cat >>conftest.$ac_ext <<_ACEOF
3025/* end confdefs.h.  */
3026
3027int
3028main ()
3029{
3030#ifndef __GNUC__
3031       choke me
3032#endif
3033
3034  ;
3035  return 0;
3036}
3037_ACEOF
3038rm -f conftest.$ac_objext
3039if { (ac_try="$ac_compile"
3040case "(($ac_try" in
3041  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042  *) ac_try_echo=$ac_try;;
3043esac
3044eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3045$as_echo "$ac_try_echo") >&5
3046  (eval "$ac_compile") 2>conftest.er1
3047  ac_status=$?
3048  grep -v '^ *+' conftest.er1 >conftest.err
3049  rm -f conftest.er1
3050  cat conftest.err >&5
3051  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052  (exit $ac_status); } && {
3053	 test -z "$ac_c_werror_flag" ||
3054	 test ! -s conftest.err
3055       } && test -s conftest.$ac_objext; then
3056  ac_compiler_gnu=yes
3057else
3058  $as_echo "$as_me: failed program was:" >&5
3059sed 's/^/| /' conftest.$ac_ext >&5
3060
3061	ac_compiler_gnu=no
3062fi
3063
3064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065ac_cv_c_compiler_gnu=$ac_compiler_gnu
3066
3067fi
3068{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3069$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3070if test $ac_compiler_gnu = yes; then
3071  GCC=yes
3072else
3073  GCC=
3074fi
3075ac_test_CFLAGS=${CFLAGS+set}
3076ac_save_CFLAGS=$CFLAGS
3077{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3078$as_echo_n "checking whether $CC accepts -g... " >&6; }
3079if test "${ac_cv_prog_cc_g+set}" = set; then
3080  $as_echo_n "(cached) " >&6
3081else
3082  ac_save_c_werror_flag=$ac_c_werror_flag
3083   ac_c_werror_flag=yes
3084   ac_cv_prog_cc_g=no
3085   CFLAGS="-g"
3086   cat >conftest.$ac_ext <<_ACEOF
3087/* confdefs.h.  */
3088_ACEOF
3089cat confdefs.h >>conftest.$ac_ext
3090cat >>conftest.$ac_ext <<_ACEOF
3091/* end confdefs.h.  */
3092
3093int
3094main ()
3095{
3096
3097  ;
3098  return 0;
3099}
3100_ACEOF
3101rm -f conftest.$ac_objext
3102if { (ac_try="$ac_compile"
3103case "(($ac_try" in
3104  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105  *) ac_try_echo=$ac_try;;
3106esac
3107eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3108$as_echo "$ac_try_echo") >&5
3109  (eval "$ac_compile") 2>conftest.er1
3110  ac_status=$?
3111  grep -v '^ *+' conftest.er1 >conftest.err
3112  rm -f conftest.er1
3113  cat conftest.err >&5
3114  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115  (exit $ac_status); } && {
3116	 test -z "$ac_c_werror_flag" ||
3117	 test ! -s conftest.err
3118       } && test -s conftest.$ac_objext; then
3119  ac_cv_prog_cc_g=yes
3120else
3121  $as_echo "$as_me: failed program was:" >&5
3122sed 's/^/| /' conftest.$ac_ext >&5
3123
3124	CFLAGS=""
3125      cat >conftest.$ac_ext <<_ACEOF
3126/* confdefs.h.  */
3127_ACEOF
3128cat confdefs.h >>conftest.$ac_ext
3129cat >>conftest.$ac_ext <<_ACEOF
3130/* end confdefs.h.  */
3131
3132int
3133main ()
3134{
3135
3136  ;
3137  return 0;
3138}
3139_ACEOF
3140rm -f conftest.$ac_objext
3141if { (ac_try="$ac_compile"
3142case "(($ac_try" in
3143  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144  *) ac_try_echo=$ac_try;;
3145esac
3146eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3147$as_echo "$ac_try_echo") >&5
3148  (eval "$ac_compile") 2>conftest.er1
3149  ac_status=$?
3150  grep -v '^ *+' conftest.er1 >conftest.err
3151  rm -f conftest.er1
3152  cat conftest.err >&5
3153  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154  (exit $ac_status); } && {
3155	 test -z "$ac_c_werror_flag" ||
3156	 test ! -s conftest.err
3157       } && test -s conftest.$ac_objext; then
3158  :
3159else
3160  $as_echo "$as_me: failed program was:" >&5
3161sed 's/^/| /' conftest.$ac_ext >&5
3162
3163	ac_c_werror_flag=$ac_save_c_werror_flag
3164	 CFLAGS="-g"
3165	 cat >conftest.$ac_ext <<_ACEOF
3166/* confdefs.h.  */
3167_ACEOF
3168cat confdefs.h >>conftest.$ac_ext
3169cat >>conftest.$ac_ext <<_ACEOF
3170/* end confdefs.h.  */
3171
3172int
3173main ()
3174{
3175
3176  ;
3177  return 0;
3178}
3179_ACEOF
3180rm -f conftest.$ac_objext
3181if { (ac_try="$ac_compile"
3182case "(($ac_try" in
3183  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184  *) ac_try_echo=$ac_try;;
3185esac
3186eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3187$as_echo "$ac_try_echo") >&5
3188  (eval "$ac_compile") 2>conftest.er1
3189  ac_status=$?
3190  grep -v '^ *+' conftest.er1 >conftest.err
3191  rm -f conftest.er1
3192  cat conftest.err >&5
3193  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194  (exit $ac_status); } && {
3195	 test -z "$ac_c_werror_flag" ||
3196	 test ! -s conftest.err
3197       } && test -s conftest.$ac_objext; then
3198  ac_cv_prog_cc_g=yes
3199else
3200  $as_echo "$as_me: failed program was:" >&5
3201sed 's/^/| /' conftest.$ac_ext >&5
3202
3203
3204fi
3205
3206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207fi
3208
3209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210fi
3211
3212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213   ac_c_werror_flag=$ac_save_c_werror_flag
3214fi
3215{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3216$as_echo "$ac_cv_prog_cc_g" >&6; }
3217if test "$ac_test_CFLAGS" = set; then
3218  CFLAGS=$ac_save_CFLAGS
3219elif test $ac_cv_prog_cc_g = yes; then
3220  if test "$GCC" = yes; then
3221    CFLAGS="-g -O2"
3222  else
3223    CFLAGS="-g"
3224  fi
3225else
3226  if test "$GCC" = yes; then
3227    CFLAGS="-O2"
3228  else
3229    CFLAGS=
3230  fi
3231fi
3232{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3233$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3234if test "${ac_cv_prog_cc_c89+set}" = set; then
3235  $as_echo_n "(cached) " >&6
3236else
3237  ac_cv_prog_cc_c89=no
3238ac_save_CC=$CC
3239cat >conftest.$ac_ext <<_ACEOF
3240/* confdefs.h.  */
3241_ACEOF
3242cat confdefs.h >>conftest.$ac_ext
3243cat >>conftest.$ac_ext <<_ACEOF
3244/* end confdefs.h.  */
3245#include <stdarg.h>
3246#include <stdio.h>
3247#include <sys/types.h>
3248#include <sys/stat.h>
3249/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3250struct buf { int x; };
3251FILE * (*rcsopen) (struct buf *, struct stat *, int);
3252static char *e (p, i)
3253     char **p;
3254     int i;
3255{
3256  return p[i];
3257}
3258static char *f (char * (*g) (char **, int), char **p, ...)
3259{
3260  char *s;
3261  va_list v;
3262  va_start (v,p);
3263  s = g (p, va_arg (v,int));
3264  va_end (v);
3265  return s;
3266}
3267
3268/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3269   function prototypes and stuff, but not '\xHH' hex character constants.
3270   These don't provoke an error unfortunately, instead are silently treated
3271   as 'x'.  The following induces an error, until -std is added to get
3272   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3273   array size at least.  It's necessary to write '\x00'==0 to get something
3274   that's true only with -std.  */
3275int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3276
3277/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3278   inside strings and character constants.  */
3279#define FOO(x) 'x'
3280int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3281
3282int test (int i, double x);
3283struct s1 {int (*f) (int a);};
3284struct s2 {int (*f) (double a);};
3285int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3286int argc;
3287char **argv;
3288int
3289main ()
3290{
3291return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3292  ;
3293  return 0;
3294}
3295_ACEOF
3296for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3297	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3298do
3299  CC="$ac_save_CC $ac_arg"
3300  rm -f conftest.$ac_objext
3301if { (ac_try="$ac_compile"
3302case "(($ac_try" in
3303  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3304  *) ac_try_echo=$ac_try;;
3305esac
3306eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3307$as_echo "$ac_try_echo") >&5
3308  (eval "$ac_compile") 2>conftest.er1
3309  ac_status=$?
3310  grep -v '^ *+' conftest.er1 >conftest.err
3311  rm -f conftest.er1
3312  cat conftest.err >&5
3313  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314  (exit $ac_status); } && {
3315	 test -z "$ac_c_werror_flag" ||
3316	 test ! -s conftest.err
3317       } && test -s conftest.$ac_objext; then
3318  ac_cv_prog_cc_c89=$ac_arg
3319else
3320  $as_echo "$as_me: failed program was:" >&5
3321sed 's/^/| /' conftest.$ac_ext >&5
3322
3323
3324fi
3325
3326rm -f core conftest.err conftest.$ac_objext
3327  test "x$ac_cv_prog_cc_c89" != "xno" && break
3328done
3329rm -f conftest.$ac_ext
3330CC=$ac_save_CC
3331
3332fi
3333# AC_CACHE_VAL
3334case "x$ac_cv_prog_cc_c89" in
3335  x)
3336    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3337$as_echo "none needed" >&6; } ;;
3338  xno)
3339    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3340$as_echo "unsupported" >&6; } ;;
3341  *)
3342    CC="$CC $ac_cv_prog_cc_c89"
3343    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3344$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3345esac
3346
3347
3348ac_ext=c
3349ac_cpp='$CPP $CPPFLAGS'
3350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3352ac_compiler_gnu=$ac_cv_c_compiler_gnu
3353DEPDIR="${am__leading_dot}deps"
3354
3355ac_config_commands="$ac_config_commands depfiles"
3356
3357
3358am_make=${MAKE-make}
3359cat > confinc << 'END'
3360am__doit:
3361	@echo this is the am__doit target
3362.PHONY: am__doit
3363END
3364# If we don't find an include directive, just comment out the code.
3365{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3366$as_echo_n "checking for style of include used by $am_make... " >&6; }
3367am__include="#"
3368am__quote=
3369_am_result=none
3370# First try GNU make style include.
3371echo "include confinc" > confmf
3372# Ignore all kinds of additional output from `make'.
3373case `$am_make -s -f confmf 2> /dev/null` in #(
3374*the\ am__doit\ target*)
3375  am__include=include
3376  am__quote=
3377  _am_result=GNU
3378  ;;
3379esac
3380# Now try BSD make style include.
3381if test "$am__include" = "#"; then
3382   echo '.include "confinc"' > confmf
3383   case `$am_make -s -f confmf 2> /dev/null` in #(
3384   *the\ am__doit\ target*)
3385     am__include=.include
3386     am__quote="\""
3387     _am_result=BSD
3388     ;;
3389   esac
3390fi
3391
3392
3393{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3394$as_echo "$_am_result" >&6; }
3395rm -f confinc confmf
3396
3397# Check whether --enable-dependency-tracking was given.
3398if test "${enable_dependency_tracking+set}" = set; then
3399  enableval=$enable_dependency_tracking;
3400fi
3401
3402if test "x$enable_dependency_tracking" != xno; then
3403  am_depcomp="$ac_aux_dir/depcomp"
3404  AMDEPBACKSLASH='\'
3405fi
3406 if test "x$enable_dependency_tracking" != xno; then
3407  AMDEP_TRUE=
3408  AMDEP_FALSE='#'
3409else
3410  AMDEP_TRUE='#'
3411  AMDEP_FALSE=
3412fi
3413
3414
3415
3416depcc="$CC"   am_compiler_list=
3417
3418{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3419$as_echo_n "checking dependency style of $depcc... " >&6; }
3420if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3421  $as_echo_n "(cached) " >&6
3422else
3423  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3424  # We make a subdir and do the tests there.  Otherwise we can end up
3425  # making bogus files that we don't know about and never remove.  For
3426  # instance it was reported that on HP-UX the gcc test will end up
3427  # making a dummy file named `D' -- because `-MD' means `put the output
3428  # in D'.
3429  mkdir conftest.dir
3430  # Copy depcomp to subdir because otherwise we won't find it if we're
3431  # using a relative directory.
3432  cp "$am_depcomp" conftest.dir
3433  cd conftest.dir
3434  # We will build objects and dependencies in a subdirectory because
3435  # it helps to detect inapplicable dependency modes.  For instance
3436  # both Tru64's cc and ICC support -MD to output dependencies as a
3437  # side effect of compilation, but ICC will put the dependencies in
3438  # the current directory while Tru64 will put them in the object
3439  # directory.
3440  mkdir sub
3441
3442  am_cv_CC_dependencies_compiler_type=none
3443  if test "$am_compiler_list" = ""; then
3444     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3445  fi
3446  am__universal=false
3447  case " $depcc " in #(
3448     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3449     esac
3450
3451  for depmode in $am_compiler_list; do
3452    # Setup a source with many dependencies, because some compilers
3453    # like to wrap large dependency lists on column 80 (with \), and
3454    # we should not choose a depcomp mode which is confused by this.
3455    #
3456    # We need to recreate these files for each test, as the compiler may
3457    # overwrite some of them when testing with obscure command lines.
3458    # This happens at least with the AIX C compiler.
3459    : > sub/conftest.c
3460    for i in 1 2 3 4 5 6; do
3461      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3462      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3463      # Solaris 8's {/usr,}/bin/sh.
3464      touch sub/conftst$i.h
3465    done
3466    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3467
3468    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3469    # mode.  It turns out that the SunPro C++ compiler does not properly
3470    # handle `-M -o', and we need to detect this.  Also, some Intel
3471    # versions had trouble with output in subdirs
3472    am__obj=sub/conftest.${OBJEXT-o}
3473    am__minus_obj="-o $am__obj"
3474    case $depmode in
3475    gcc)
3476      # This depmode causes a compiler race in universal mode.
3477      test "$am__universal" = false || continue
3478      ;;
3479    nosideeffect)
3480      # after this tag, mechanisms are not by side-effect, so they'll
3481      # only be used when explicitly requested
3482      if test "x$enable_dependency_tracking" = xyes; then
3483	continue
3484      else
3485	break
3486      fi
3487      ;;
3488    msvisualcpp | msvcmsys)
3489      # This compiler won't grok `-c -o', but also, the minuso test has
3490      # not run yet.  These depmodes are late enough in the game, and
3491      # so weak that their functioning should not be impacted.
3492      am__obj=conftest.${OBJEXT-o}
3493      am__minus_obj=
3494      ;;
3495    none) break ;;
3496    esac
3497    if depmode=$depmode \
3498       source=sub/conftest.c object=$am__obj \
3499       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3500       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3501         >/dev/null 2>conftest.err &&
3502       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3503       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3504       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3505       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3506      # icc doesn't choke on unknown options, it will just issue warnings
3507      # or remarks (even with -Werror).  So we grep stderr for any message
3508      # that says an option was ignored or not supported.
3509      # When given -MP, icc 7.0 and 7.1 complain thusly:
3510      #   icc: Command line warning: ignoring option '-M'; no argument required
3511      # The diagnosis changed in icc 8.0:
3512      #   icc: Command line remark: option '-MP' not supported
3513      if (grep 'ignoring option' conftest.err ||
3514          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3515        am_cv_CC_dependencies_compiler_type=$depmode
3516        break
3517      fi
3518    fi
3519  done
3520
3521  cd ..
3522  rm -rf conftest.dir
3523else
3524  am_cv_CC_dependencies_compiler_type=none
3525fi
3526
3527fi
3528{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3529$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3530CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3531
3532 if
3533  test "x$enable_dependency_tracking" != xno \
3534  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3535  am__fastdepCC_TRUE=
3536  am__fastdepCC_FALSE='#'
3537else
3538  am__fastdepCC_TRUE='#'
3539  am__fastdepCC_FALSE=
3540fi
3541
3542
3543
3544ac_ext=c
3545ac_cpp='$CPP $CPPFLAGS'
3546ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3550$as_echo_n "checking how to run the C preprocessor... " >&6; }
3551# On Suns, sometimes $CPP names a directory.
3552if test -n "$CPP" && test -d "$CPP"; then
3553  CPP=
3554fi
3555if test -z "$CPP"; then
3556  if test "${ac_cv_prog_CPP+set}" = set; then
3557  $as_echo_n "(cached) " >&6
3558else
3559      # Double quotes because CPP needs to be expanded
3560    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3561    do
3562      ac_preproc_ok=false
3563for ac_c_preproc_warn_flag in '' yes
3564do
3565  # Use a header file that comes with gcc, so configuring glibc
3566  # with a fresh cross-compiler works.
3567  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3568  # <limits.h> exists even on freestanding compilers.
3569  # On the NeXT, cc -E runs the code through the compiler's parser,
3570  # not just through cpp. "Syntax error" is here to catch this case.
3571  cat >conftest.$ac_ext <<_ACEOF
3572/* confdefs.h.  */
3573_ACEOF
3574cat confdefs.h >>conftest.$ac_ext
3575cat >>conftest.$ac_ext <<_ACEOF
3576/* end confdefs.h.  */
3577#ifdef __STDC__
3578# include <limits.h>
3579#else
3580# include <assert.h>
3581#endif
3582		     Syntax error
3583_ACEOF
3584if { (ac_try="$ac_cpp conftest.$ac_ext"
3585case "(($ac_try" in
3586  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587  *) ac_try_echo=$ac_try;;
3588esac
3589eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3590$as_echo "$ac_try_echo") >&5
3591  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3592  ac_status=$?
3593  grep -v '^ *+' conftest.er1 >conftest.err
3594  rm -f conftest.er1
3595  cat conftest.err >&5
3596  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597  (exit $ac_status); } >/dev/null && {
3598	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3599	 test ! -s conftest.err
3600       }; then
3601  :
3602else
3603  $as_echo "$as_me: failed program was:" >&5
3604sed 's/^/| /' conftest.$ac_ext >&5
3605
3606  # Broken: fails on valid input.
3607continue
3608fi
3609
3610rm -f conftest.err conftest.$ac_ext
3611
3612  # OK, works on sane cases.  Now check whether nonexistent headers
3613  # can be detected and how.
3614  cat >conftest.$ac_ext <<_ACEOF
3615/* confdefs.h.  */
3616_ACEOF
3617cat confdefs.h >>conftest.$ac_ext
3618cat >>conftest.$ac_ext <<_ACEOF
3619/* end confdefs.h.  */
3620#include <ac_nonexistent.h>
3621_ACEOF
3622if { (ac_try="$ac_cpp conftest.$ac_ext"
3623case "(($ac_try" in
3624  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625  *) ac_try_echo=$ac_try;;
3626esac
3627eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3628$as_echo "$ac_try_echo") >&5
3629  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3630  ac_status=$?
3631  grep -v '^ *+' conftest.er1 >conftest.err
3632  rm -f conftest.er1
3633  cat conftest.err >&5
3634  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635  (exit $ac_status); } >/dev/null && {
3636	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3637	 test ! -s conftest.err
3638       }; then
3639  # Broken: success on invalid input.
3640continue
3641else
3642  $as_echo "$as_me: failed program was:" >&5
3643sed 's/^/| /' conftest.$ac_ext >&5
3644
3645  # Passes both tests.
3646ac_preproc_ok=:
3647break
3648fi
3649
3650rm -f conftest.err conftest.$ac_ext
3651
3652done
3653# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3654rm -f conftest.err conftest.$ac_ext
3655if $ac_preproc_ok; then
3656  break
3657fi
3658
3659    done
3660    ac_cv_prog_CPP=$CPP
3661
3662fi
3663  CPP=$ac_cv_prog_CPP
3664else
3665  ac_cv_prog_CPP=$CPP
3666fi
3667{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3668$as_echo "$CPP" >&6; }
3669ac_preproc_ok=false
3670for ac_c_preproc_warn_flag in '' yes
3671do
3672  # Use a header file that comes with gcc, so configuring glibc
3673  # with a fresh cross-compiler works.
3674  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3675  # <limits.h> exists even on freestanding compilers.
3676  # On the NeXT, cc -E runs the code through the compiler's parser,
3677  # not just through cpp. "Syntax error" is here to catch this case.
3678  cat >conftest.$ac_ext <<_ACEOF
3679/* confdefs.h.  */
3680_ACEOF
3681cat confdefs.h >>conftest.$ac_ext
3682cat >>conftest.$ac_ext <<_ACEOF
3683/* end confdefs.h.  */
3684#ifdef __STDC__
3685# include <limits.h>
3686#else
3687# include <assert.h>
3688#endif
3689		     Syntax error
3690_ACEOF
3691if { (ac_try="$ac_cpp conftest.$ac_ext"
3692case "(($ac_try" in
3693  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694  *) ac_try_echo=$ac_try;;
3695esac
3696eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3697$as_echo "$ac_try_echo") >&5
3698  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3699  ac_status=$?
3700  grep -v '^ *+' conftest.er1 >conftest.err
3701  rm -f conftest.er1
3702  cat conftest.err >&5
3703  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704  (exit $ac_status); } >/dev/null && {
3705	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3706	 test ! -s conftest.err
3707       }; then
3708  :
3709else
3710  $as_echo "$as_me: failed program was:" >&5
3711sed 's/^/| /' conftest.$ac_ext >&5
3712
3713  # Broken: fails on valid input.
3714continue
3715fi
3716
3717rm -f conftest.err conftest.$ac_ext
3718
3719  # OK, works on sane cases.  Now check whether nonexistent headers
3720  # can be detected and how.
3721  cat >conftest.$ac_ext <<_ACEOF
3722/* confdefs.h.  */
3723_ACEOF
3724cat confdefs.h >>conftest.$ac_ext
3725cat >>conftest.$ac_ext <<_ACEOF
3726/* end confdefs.h.  */
3727#include <ac_nonexistent.h>
3728_ACEOF
3729if { (ac_try="$ac_cpp conftest.$ac_ext"
3730case "(($ac_try" in
3731  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732  *) ac_try_echo=$ac_try;;
3733esac
3734eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3735$as_echo "$ac_try_echo") >&5
3736  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3737  ac_status=$?
3738  grep -v '^ *+' conftest.er1 >conftest.err
3739  rm -f conftest.er1
3740  cat conftest.err >&5
3741  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742  (exit $ac_status); } >/dev/null && {
3743	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3744	 test ! -s conftest.err
3745       }; then
3746  # Broken: success on invalid input.
3747continue
3748else
3749  $as_echo "$as_me: failed program was:" >&5
3750sed 's/^/| /' conftest.$ac_ext >&5
3751
3752  # Passes both tests.
3753ac_preproc_ok=:
3754break
3755fi
3756
3757rm -f conftest.err conftest.$ac_ext
3758
3759done
3760# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3761rm -f conftest.err conftest.$ac_ext
3762if $ac_preproc_ok; then
3763  :
3764else
3765  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3766$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3767{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3768See \`config.log' for more details." >&5
3769$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3770See \`config.log' for more details." >&2;}
3771   { (exit 1); exit 1; }; }; }
3772fi
3773
3774ac_ext=c
3775ac_cpp='$CPP $CPPFLAGS'
3776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3778ac_compiler_gnu=$ac_cv_c_compiler_gnu
3779
3780
3781{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3782$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3783if test "${ac_cv_path_GREP+set}" = set; then
3784  $as_echo_n "(cached) " >&6
3785else
3786  if test -z "$GREP"; then
3787  ac_path_GREP_found=false
3788  # Loop through the user's path and test for each of PROGNAME-LIST
3789  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3791do
3792  IFS=$as_save_IFS
3793  test -z "$as_dir" && as_dir=.
3794  for ac_prog in grep ggrep; do
3795    for ac_exec_ext in '' $ac_executable_extensions; do
3796      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3797      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3798# Check for GNU ac_path_GREP and select it if it is found.
3799  # Check for GNU $ac_path_GREP
3800case `"$ac_path_GREP" --version 2>&1` in
3801*GNU*)
3802  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3803*)
3804  ac_count=0
3805  $as_echo_n 0123456789 >"conftest.in"
3806  while :
3807  do
3808    cat "conftest.in" "conftest.in" >"conftest.tmp"
3809    mv "conftest.tmp" "conftest.in"
3810    cp "conftest.in" "conftest.nl"
3811    $as_echo 'GREP' >> "conftest.nl"
3812    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3813    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3814    ac_count=`expr $ac_count + 1`
3815    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3816      # Best one so far, save it but keep looking for a better one
3817      ac_cv_path_GREP="$ac_path_GREP"
3818      ac_path_GREP_max=$ac_count
3819    fi
3820    # 10*(2^10) chars as input seems more than enough
3821    test $ac_count -gt 10 && break
3822  done
3823  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3824esac
3825
3826      $ac_path_GREP_found && break 3
3827    done
3828  done
3829done
3830IFS=$as_save_IFS
3831  if test -z "$ac_cv_path_GREP"; then
3832    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3833$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3834   { (exit 1); exit 1; }; }
3835  fi
3836else
3837  ac_cv_path_GREP=$GREP
3838fi
3839
3840fi
3841{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3842$as_echo "$ac_cv_path_GREP" >&6; }
3843 GREP="$ac_cv_path_GREP"
3844
3845
3846{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3847$as_echo_n "checking for egrep... " >&6; }
3848if test "${ac_cv_path_EGREP+set}" = set; then
3849  $as_echo_n "(cached) " >&6
3850else
3851  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3852   then ac_cv_path_EGREP="$GREP -E"
3853   else
3854     if test -z "$EGREP"; then
3855  ac_path_EGREP_found=false
3856  # Loop through the user's path and test for each of PROGNAME-LIST
3857  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3858for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3859do
3860  IFS=$as_save_IFS
3861  test -z "$as_dir" && as_dir=.
3862  for ac_prog in egrep; do
3863    for ac_exec_ext in '' $ac_executable_extensions; do
3864      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3865      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3866# Check for GNU ac_path_EGREP and select it if it is found.
3867  # Check for GNU $ac_path_EGREP
3868case `"$ac_path_EGREP" --version 2>&1` in
3869*GNU*)
3870  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3871*)
3872  ac_count=0
3873  $as_echo_n 0123456789 >"conftest.in"
3874  while :
3875  do
3876    cat "conftest.in" "conftest.in" >"conftest.tmp"
3877    mv "conftest.tmp" "conftest.in"
3878    cp "conftest.in" "conftest.nl"
3879    $as_echo 'EGREP' >> "conftest.nl"
3880    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3881    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3882    ac_count=`expr $ac_count + 1`
3883    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3884      # Best one so far, save it but keep looking for a better one
3885      ac_cv_path_EGREP="$ac_path_EGREP"
3886      ac_path_EGREP_max=$ac_count
3887    fi
3888    # 10*(2^10) chars as input seems more than enough
3889    test $ac_count -gt 10 && break
3890  done
3891  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3892esac
3893
3894      $ac_path_EGREP_found && break 3
3895    done
3896  done
3897done
3898IFS=$as_save_IFS
3899  if test -z "$ac_cv_path_EGREP"; then
3900    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3901$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3902   { (exit 1); exit 1; }; }
3903  fi
3904else
3905  ac_cv_path_EGREP=$EGREP
3906fi
3907
3908   fi
3909fi
3910{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3911$as_echo "$ac_cv_path_EGREP" >&6; }
3912 EGREP="$ac_cv_path_EGREP"
3913
3914
3915{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3916$as_echo_n "checking for ANSI C header files... " >&6; }
3917if test "${ac_cv_header_stdc+set}" = set; then
3918  $as_echo_n "(cached) " >&6
3919else
3920  cat >conftest.$ac_ext <<_ACEOF
3921/* confdefs.h.  */
3922_ACEOF
3923cat confdefs.h >>conftest.$ac_ext
3924cat >>conftest.$ac_ext <<_ACEOF
3925/* end confdefs.h.  */
3926#include <stdlib.h>
3927#include <stdarg.h>
3928#include <string.h>
3929#include <float.h>
3930
3931int
3932main ()
3933{
3934
3935  ;
3936  return 0;
3937}
3938_ACEOF
3939rm -f conftest.$ac_objext
3940if { (ac_try="$ac_compile"
3941case "(($ac_try" in
3942  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943  *) ac_try_echo=$ac_try;;
3944esac
3945eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3946$as_echo "$ac_try_echo") >&5
3947  (eval "$ac_compile") 2>conftest.er1
3948  ac_status=$?
3949  grep -v '^ *+' conftest.er1 >conftest.err
3950  rm -f conftest.er1
3951  cat conftest.err >&5
3952  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953  (exit $ac_status); } && {
3954	 test -z "$ac_c_werror_flag" ||
3955	 test ! -s conftest.err
3956       } && test -s conftest.$ac_objext; then
3957  ac_cv_header_stdc=yes
3958else
3959  $as_echo "$as_me: failed program was:" >&5
3960sed 's/^/| /' conftest.$ac_ext >&5
3961
3962	ac_cv_header_stdc=no
3963fi
3964
3965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966
3967if test $ac_cv_header_stdc = yes; then
3968  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3969  cat >conftest.$ac_ext <<_ACEOF
3970/* confdefs.h.  */
3971_ACEOF
3972cat confdefs.h >>conftest.$ac_ext
3973cat >>conftest.$ac_ext <<_ACEOF
3974/* end confdefs.h.  */
3975#include <string.h>
3976
3977_ACEOF
3978if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3979  $EGREP "memchr" >/dev/null 2>&1; then
3980  :
3981else
3982  ac_cv_header_stdc=no
3983fi
3984rm -f conftest*
3985
3986fi
3987
3988if test $ac_cv_header_stdc = yes; then
3989  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3990  cat >conftest.$ac_ext <<_ACEOF
3991/* confdefs.h.  */
3992_ACEOF
3993cat confdefs.h >>conftest.$ac_ext
3994cat >>conftest.$ac_ext <<_ACEOF
3995/* end confdefs.h.  */
3996#include <stdlib.h>
3997
3998_ACEOF
3999if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4000  $EGREP "free" >/dev/null 2>&1; then
4001  :
4002else
4003  ac_cv_header_stdc=no
4004fi
4005rm -f conftest*
4006
4007fi
4008
4009if test $ac_cv_header_stdc = yes; then
4010  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4011  if test "$cross_compiling" = yes; then
4012  :
4013else
4014  cat >conftest.$ac_ext <<_ACEOF
4015/* confdefs.h.  */
4016_ACEOF
4017cat confdefs.h >>conftest.$ac_ext
4018cat >>conftest.$ac_ext <<_ACEOF
4019/* end confdefs.h.  */
4020#include <ctype.h>
4021#include <stdlib.h>
4022#if ((' ' & 0x0FF) == 0x020)
4023# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4024# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4025#else
4026# define ISLOWER(c) \
4027		   (('a' <= (c) && (c) <= 'i') \
4028		     || ('j' <= (c) && (c) <= 'r') \
4029		     || ('s' <= (c) && (c) <= 'z'))
4030# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4031#endif
4032
4033#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4034int
4035main ()
4036{
4037  int i;
4038  for (i = 0; i < 256; i++)
4039    if (XOR (islower (i), ISLOWER (i))
4040	|| toupper (i) != TOUPPER (i))
4041      return 2;
4042  return 0;
4043}
4044_ACEOF
4045rm -f conftest$ac_exeext
4046if { (ac_try="$ac_link"
4047case "(($ac_try" in
4048  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049  *) ac_try_echo=$ac_try;;
4050esac
4051eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4052$as_echo "$ac_try_echo") >&5
4053  (eval "$ac_link") 2>&5
4054  ac_status=$?
4055  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4057  { (case "(($ac_try" in
4058  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059  *) ac_try_echo=$ac_try;;
4060esac
4061eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4062$as_echo "$ac_try_echo") >&5
4063  (eval "$ac_try") 2>&5
4064  ac_status=$?
4065  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066  (exit $ac_status); }; }; then
4067  :
4068else
4069  $as_echo "$as_me: program exited with status $ac_status" >&5
4070$as_echo "$as_me: failed program was:" >&5
4071sed 's/^/| /' conftest.$ac_ext >&5
4072
4073( exit $ac_status )
4074ac_cv_header_stdc=no
4075fi
4076rm -rf conftest.dSYM
4077rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4078fi
4079
4080
4081fi
4082fi
4083{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4084$as_echo "$ac_cv_header_stdc" >&6; }
4085if test $ac_cv_header_stdc = yes; then
4086
4087cat >>confdefs.h <<\_ACEOF
4088#define STDC_HEADERS 1
4089_ACEOF
4090
4091fi
4092
4093# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4104		  inttypes.h stdint.h unistd.h
4105do
4106as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4107{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4108$as_echo_n "checking for $ac_header... " >&6; }
4109if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4110  $as_echo_n "(cached) " >&6
4111else
4112  cat >conftest.$ac_ext <<_ACEOF
4113/* confdefs.h.  */
4114_ACEOF
4115cat confdefs.h >>conftest.$ac_ext
4116cat >>conftest.$ac_ext <<_ACEOF
4117/* end confdefs.h.  */
4118$ac_includes_default
4119
4120#include <$ac_header>
4121_ACEOF
4122rm -f conftest.$ac_objext
4123if { (ac_try="$ac_compile"
4124case "(($ac_try" in
4125  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4126  *) ac_try_echo=$ac_try;;
4127esac
4128eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4129$as_echo "$ac_try_echo") >&5
4130  (eval "$ac_compile") 2>conftest.er1
4131  ac_status=$?
4132  grep -v '^ *+' conftest.er1 >conftest.err
4133  rm -f conftest.er1
4134  cat conftest.err >&5
4135  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136  (exit $ac_status); } && {
4137	 test -z "$ac_c_werror_flag" ||
4138	 test ! -s conftest.err
4139       } && test -s conftest.$ac_objext; then
4140  eval "$as_ac_Header=yes"
4141else
4142  $as_echo "$as_me: failed program was:" >&5
4143sed 's/^/| /' conftest.$ac_ext >&5
4144
4145	eval "$as_ac_Header=no"
4146fi
4147
4148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149fi
4150ac_res=`eval 'as_val=${'$as_ac_Header'}
4151		 $as_echo "$as_val"'`
4152	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4153$as_echo "$ac_res" >&6; }
4154as_val=`eval 'as_val=${'$as_ac_Header'}
4155		 $as_echo "$as_val"'`
4156   if test "x$as_val" = x""yes; then
4157  cat >>confdefs.h <<_ACEOF
4158#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4159_ACEOF
4160
4161fi
4162
4163done
4164
4165
4166   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
4167$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4168if test "${ac_cv_prog_cc_c99+set}" = set; then
4169  $as_echo_n "(cached) " >&6
4170else
4171  ac_cv_prog_cc_c99=no
4172ac_save_CC=$CC
4173cat >conftest.$ac_ext <<_ACEOF
4174/* confdefs.h.  */
4175_ACEOF
4176cat confdefs.h >>conftest.$ac_ext
4177cat >>conftest.$ac_ext <<_ACEOF
4178/* end confdefs.h.  */
4179#include <stdarg.h>
4180#include <stdbool.h>
4181#include <stdlib.h>
4182#include <wchar.h>
4183#include <stdio.h>
4184
4185// Check varargs macros.  These examples are taken from C99 6.10.3.5.
4186#define debug(...) fprintf (stderr, __VA_ARGS__)
4187#define showlist(...) puts (#__VA_ARGS__)
4188#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4189static void
4190test_varargs_macros (void)
4191{
4192  int x = 1234;
4193  int y = 5678;
4194  debug ("Flag");
4195  debug ("X = %d\n", x);
4196  showlist (The first, second, and third items.);
4197  report (x>y, "x is %d but y is %d", x, y);
4198}
4199
4200// Check long long types.
4201#define BIG64 18446744073709551615ull
4202#define BIG32 4294967295ul
4203#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4204#if !BIG_OK
4205  your preprocessor is broken;
4206#endif
4207#if BIG_OK
4208#else
4209  your preprocessor is broken;
4210#endif
4211static long long int bignum = -9223372036854775807LL;
4212static unsigned long long int ubignum = BIG64;
4213
4214struct incomplete_array
4215{
4216  int datasize;
4217  double data[];
4218};
4219
4220struct named_init {
4221  int number;
4222  const wchar_t *name;
4223  double average;
4224};
4225
4226typedef const char *ccp;
4227
4228static inline int
4229test_restrict (ccp restrict text)
4230{
4231  // See if C++-style comments work.
4232  // Iterate through items via the restricted pointer.
4233  // Also check for declarations in for loops.
4234  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4235    continue;
4236  return 0;
4237}
4238
4239// Check varargs and va_copy.
4240static void
4241test_varargs (const char *format, ...)
4242{
4243  va_list args;
4244  va_start (args, format);
4245  va_list args_copy;
4246  va_copy (args_copy, args);
4247
4248  const char *str;
4249  int number;
4250  float fnumber;
4251
4252  while (*format)
4253    {
4254      switch (*format++)
4255	{
4256	case 's': // string
4257	  str = va_arg (args_copy, const char *);
4258	  break;
4259	case 'd': // int
4260	  number = va_arg (args_copy, int);
4261	  break;
4262	case 'f': // float
4263	  fnumber = va_arg (args_copy, double);
4264	  break;
4265	default:
4266	  break;
4267	}
4268    }
4269  va_end (args_copy);
4270  va_end (args);
4271}
4272
4273int
4274main ()
4275{
4276
4277  // Check bool.
4278  _Bool success = false;
4279
4280  // Check restrict.
4281  if (test_restrict ("String literal") == 0)
4282    success = true;
4283  char *restrict newvar = "Another string";
4284
4285  // Check varargs.
4286  test_varargs ("s, d' f .", "string", 65, 34.234);
4287  test_varargs_macros ();
4288
4289  // Check flexible array members.
4290  struct incomplete_array *ia =
4291    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4292  ia->datasize = 10;
4293  for (int i = 0; i < ia->datasize; ++i)
4294    ia->data[i] = i * 1.234;
4295
4296  // Check named initializers.
4297  struct named_init ni = {
4298    .number = 34,
4299    .name = L"Test wide string",
4300    .average = 543.34343,
4301  };
4302
4303  ni.number = 58;
4304
4305  int dynamic_array[ni.number];
4306  dynamic_array[ni.number - 1] = 543;
4307
4308  // work around unused variable warnings
4309  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4310	  || dynamic_array[ni.number - 1] != 543);
4311
4312  ;
4313  return 0;
4314}
4315_ACEOF
4316for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4317do
4318  CC="$ac_save_CC $ac_arg"
4319  rm -f conftest.$ac_objext
4320if { (ac_try="$ac_compile"
4321case "(($ac_try" in
4322  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4323  *) ac_try_echo=$ac_try;;
4324esac
4325eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4326$as_echo "$ac_try_echo") >&5
4327  (eval "$ac_compile") 2>conftest.er1
4328  ac_status=$?
4329  grep -v '^ *+' conftest.er1 >conftest.err
4330  rm -f conftest.er1
4331  cat conftest.err >&5
4332  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333  (exit $ac_status); } && {
4334	 test -z "$ac_c_werror_flag" ||
4335	 test ! -s conftest.err
4336       } && test -s conftest.$ac_objext; then
4337  ac_cv_prog_cc_c99=$ac_arg
4338else
4339  $as_echo "$as_me: failed program was:" >&5
4340sed 's/^/| /' conftest.$ac_ext >&5
4341
4342
4343fi
4344
4345rm -f core conftest.err conftest.$ac_objext
4346  test "x$ac_cv_prog_cc_c99" != "xno" && break
4347done
4348rm -f conftest.$ac_ext
4349CC=$ac_save_CC
4350
4351fi
4352# AC_CACHE_VAL
4353case "x$ac_cv_prog_cc_c99" in
4354  x)
4355    { $as_echo "$as_me:$LINENO: result: none needed" >&5
4356$as_echo "none needed" >&6; } ;;
4357  xno)
4358    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4359$as_echo "unsupported" >&6; } ;;
4360  *)
4361    CC="$CC $ac_cv_prog_cc_c99"
4362    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
4363$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4364esac
4365
4366
4367
4368# Make sure we can run config.sub.
4369$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4370  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4371$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4372   { (exit 1); exit 1; }; }
4373
4374{ $as_echo "$as_me:$LINENO: checking build system type" >&5
4375$as_echo_n "checking build system type... " >&6; }
4376if test "${ac_cv_build+set}" = set; then
4377  $as_echo_n "(cached) " >&6
4378else
4379  ac_build_alias=$build_alias
4380test "x$ac_build_alias" = x &&
4381  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4382test "x$ac_build_alias" = x &&
4383  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4384$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4385   { (exit 1); exit 1; }; }
4386ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4387  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4388$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4389   { (exit 1); exit 1; }; }
4390
4391fi
4392{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4393$as_echo "$ac_cv_build" >&6; }
4394case $ac_cv_build in
4395*-*-*) ;;
4396*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4397$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4398   { (exit 1); exit 1; }; };;
4399esac
4400build=$ac_cv_build
4401ac_save_IFS=$IFS; IFS='-'
4402set x $ac_cv_build
4403shift
4404build_cpu=$1
4405build_vendor=$2
4406shift; shift
4407# Remember, the first character of IFS is used to create $*,
4408# except with old shells:
4409build_os=$*
4410IFS=$ac_save_IFS
4411case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4412
4413
4414{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4415$as_echo_n "checking host system type... " >&6; }
4416if test "${ac_cv_host+set}" = set; then
4417  $as_echo_n "(cached) " >&6
4418else
4419  if test "x$host_alias" = x; then
4420  ac_cv_host=$ac_cv_build
4421else
4422  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4423    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4424$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4425   { (exit 1); exit 1; }; }
4426fi
4427
4428fi
4429{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4430$as_echo "$ac_cv_host" >&6; }
4431case $ac_cv_host in
4432*-*-*) ;;
4433*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4434$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4435   { (exit 1); exit 1; }; };;
4436esac
4437host=$ac_cv_host
4438ac_save_IFS=$IFS; IFS='-'
4439set x $ac_cv_host
4440shift
4441host_cpu=$1
4442host_vendor=$2
4443shift; shift
4444# Remember, the first character of IFS is used to create $*,
4445# except with old shells:
4446host_os=$*
4447IFS=$ac_save_IFS
4448case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4449
4450
4451
4452
4453
4454if  test "x$GCC" = xyes ; then
4455    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
4456-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
4457-Wbad-function-cast"
4458    case `$CC -dumpversion` in
4459    3.4.* | 4.*)
4460	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
4461	;;
4462    esac
4463else
4464    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4465$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4466if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4467  $as_echo_n "(cached) " >&6
4468else
4469  cat >conftest.$ac_ext <<_ACEOF
4470/* confdefs.h.  */
4471_ACEOF
4472cat confdefs.h >>conftest.$ac_ext
4473cat >>conftest.$ac_ext <<_ACEOF
4474/* end confdefs.h.  */
4475$ac_includes_default
4476int
4477main ()
4478{
4479#ifndef __SUNPRO_C
4480  (void) __SUNPRO_C;
4481#endif
4482
4483  ;
4484  return 0;
4485}
4486_ACEOF
4487rm -f conftest.$ac_objext
4488if { (ac_try="$ac_compile"
4489case "(($ac_try" in
4490  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4491  *) ac_try_echo=$ac_try;;
4492esac
4493eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4494$as_echo "$ac_try_echo") >&5
4495  (eval "$ac_compile") 2>conftest.er1
4496  ac_status=$?
4497  grep -v '^ *+' conftest.er1 >conftest.err
4498  rm -f conftest.er1
4499  cat conftest.err >&5
4500  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501  (exit $ac_status); } && {
4502	 test -z "$ac_c_werror_flag" ||
4503	 test ! -s conftest.err
4504       } && test -s conftest.$ac_objext; then
4505  ac_cv_have_decl___SUNPRO_C=yes
4506else
4507  $as_echo "$as_me: failed program was:" >&5
4508sed 's/^/| /' conftest.$ac_ext >&5
4509
4510	ac_cv_have_decl___SUNPRO_C=no
4511fi
4512
4513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4514fi
4515{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4516$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4517if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4518  SUNCC="yes"
4519else
4520  SUNCC="no"
4521fi
4522
4523    if test "x$SUNCC" = "xyes"; then
4524	CWARNFLAGS="-v"
4525    fi
4526fi
4527
4528# Check whether --enable-silent-rules was given.
4529if test "${enable_silent_rules+set}" = set; then
4530  enableval=$enable_silent_rules;
4531fi
4532
4533case $enable_silent_rules in
4534yes) AM_DEFAULT_VERBOSITY=0;;
4535no)  AM_DEFAULT_VERBOSITY=1;;
4536*)   AM_DEFAULT_VERBOSITY=0;;
4537esac
4538AM_BACKSLASH='\'
4539
4540
4541
4542
4543
4544
4545
4546# Check whether --enable-strict-compilation was given.
4547if test "${enable_strict_compilation+set}" = set; then
4548  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
4549else
4550  STRICT_COMPILE=no
4551fi
4552
4553if test "x$STRICT_COMPILE" = "xyes"; then
4554	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4555$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4556if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4557  $as_echo_n "(cached) " >&6
4558else
4559  cat >conftest.$ac_ext <<_ACEOF
4560/* confdefs.h.  */
4561_ACEOF
4562cat confdefs.h >>conftest.$ac_ext
4563cat >>conftest.$ac_ext <<_ACEOF
4564/* end confdefs.h.  */
4565$ac_includes_default
4566int
4567main ()
4568{
4569#ifndef __SUNPRO_C
4570  (void) __SUNPRO_C;
4571#endif
4572
4573  ;
4574  return 0;
4575}
4576_ACEOF
4577rm -f conftest.$ac_objext
4578if { (ac_try="$ac_compile"
4579case "(($ac_try" in
4580  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581  *) ac_try_echo=$ac_try;;
4582esac
4583eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4584$as_echo "$ac_try_echo") >&5
4585  (eval "$ac_compile") 2>conftest.er1
4586  ac_status=$?
4587  grep -v '^ *+' conftest.er1 >conftest.err
4588  rm -f conftest.er1
4589  cat conftest.err >&5
4590  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591  (exit $ac_status); } && {
4592	 test -z "$ac_c_werror_flag" ||
4593	 test ! -s conftest.err
4594       } && test -s conftest.$ac_objext; then
4595  ac_cv_have_decl___SUNPRO_C=yes
4596else
4597  $as_echo "$as_me: failed program was:" >&5
4598sed 's/^/| /' conftest.$ac_ext >&5
4599
4600	ac_cv_have_decl___SUNPRO_C=no
4601fi
4602
4603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4604fi
4605{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4606$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4607if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
4608  SUNCC="yes"
4609else
4610  SUNCC="no"
4611fi
4612
4613	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
4614$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
4615if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
4616  $as_echo_n "(cached) " >&6
4617else
4618  cat >conftest.$ac_ext <<_ACEOF
4619/* confdefs.h.  */
4620_ACEOF
4621cat confdefs.h >>conftest.$ac_ext
4622cat >>conftest.$ac_ext <<_ACEOF
4623/* end confdefs.h.  */
4624$ac_includes_default
4625int
4626main ()
4627{
4628#ifndef __INTEL_COMPILER
4629  (void) __INTEL_COMPILER;
4630#endif
4631
4632  ;
4633  return 0;
4634}
4635_ACEOF
4636rm -f conftest.$ac_objext
4637if { (ac_try="$ac_compile"
4638case "(($ac_try" in
4639  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4640  *) ac_try_echo=$ac_try;;
4641esac
4642eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4643$as_echo "$ac_try_echo") >&5
4644  (eval "$ac_compile") 2>conftest.er1
4645  ac_status=$?
4646  grep -v '^ *+' conftest.er1 >conftest.err
4647  rm -f conftest.er1
4648  cat conftest.err >&5
4649  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650  (exit $ac_status); } && {
4651	 test -z "$ac_c_werror_flag" ||
4652	 test ! -s conftest.err
4653       } && test -s conftest.$ac_objext; then
4654  ac_cv_have_decl___INTEL_COMPILER=yes
4655else
4656  $as_echo "$as_me: failed program was:" >&5
4657sed 's/^/| /' conftest.$ac_ext >&5
4658
4659	ac_cv_have_decl___INTEL_COMPILER=no
4660fi
4661
4662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663fi
4664{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
4665$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
4666if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
4667  INTELCC="yes"
4668else
4669  INTELCC="no"
4670fi
4671
4672	if test "x$GCC" = xyes ; then
4673		STRICT_CFLAGS="-pedantic -Werror"
4674	elif test "x$SUNCC" = "xyes"; then
4675		STRICT_CFLAGS="-errwarn"
4676    elif test "x$INTELCC" = "xyes"; then
4677		STRICT_CFLAGS="-Werror"
4678	fi
4679fi
4680CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
4681
4682
4683
4684
4685# Check whether --with-release-version was given.
4686if test "${with_release_version+set}" = set; then
4687  withval=$with_release_version; RELEASE_VERSION="$withval"
4688else
4689  RELEASE_VERSION=""
4690fi
4691
4692	if test "x$RELEASE_VERSION" != "x"; then
4693		PACKAGE="$PACKAGE-$RELEASE_VERSION"
4694		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
4695		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
4696$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
4697	fi
4698
4699cat >>confdefs.h <<_ACEOF
4700#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
4701_ACEOF
4702
4703	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
4704	if test "x$PVM" = "x"; then
4705		PVM="0"
4706	fi
4707
4708cat >>confdefs.h <<_ACEOF
4709#define PACKAGE_VERSION_MINOR $PVM
4710_ACEOF
4711
4712	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
4713	if test "x$PVP" = "x"; then
4714		PVP="0"
4715	fi
4716
4717cat >>confdefs.h <<_ACEOF
4718#define PACKAGE_VERSION_PATCHLEVEL $PVP
4719_ACEOF
4720
4721
4722
4723CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
4724mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
4725echo 'git directory not found: installing possibly empty changelog.' >&2)"
4726
4727distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
4728
4729
4730
4731
4732
4733if test x$APP_MAN_SUFFIX = x    ; then
4734    APP_MAN_SUFFIX=1
4735fi
4736if test x$APP_MAN_DIR = x    ; then
4737    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
4738fi
4739
4740if test x$LIB_MAN_SUFFIX = x    ; then
4741    LIB_MAN_SUFFIX=3
4742fi
4743if test x$LIB_MAN_DIR = x    ; then
4744    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
4745fi
4746
4747if test x$FILE_MAN_SUFFIX = x    ; then
4748    case $host_os in
4749	solaris*)	FILE_MAN_SUFFIX=4  ;;
4750	*)		FILE_MAN_SUFFIX=5  ;;
4751    esac
4752fi
4753if test x$FILE_MAN_DIR = x    ; then
4754    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
4755fi
4756
4757if test x$MISC_MAN_SUFFIX = x    ; then
4758    case $host_os in
4759	solaris*)	MISC_MAN_SUFFIX=5  ;;
4760	*)		MISC_MAN_SUFFIX=7  ;;
4761    esac
4762fi
4763if test x$MISC_MAN_DIR = x    ; then
4764    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
4765fi
4766
4767if test x$DRIVER_MAN_SUFFIX = x    ; then
4768    case $host_os in
4769	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
4770	*)		DRIVER_MAN_SUFFIX=4  ;;
4771    esac
4772fi
4773if test x$DRIVER_MAN_DIR = x    ; then
4774    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
4775fi
4776
4777if test x$ADMIN_MAN_SUFFIX = x    ; then
4778    case $host_os in
4779	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
4780	*)		ADMIN_MAN_SUFFIX=8  ;;
4781    esac
4782fi
4783if test x$ADMIN_MAN_DIR = x    ; then
4784    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
4785fi
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804# Allow checking code with lint, sparse, etc.
4805
4806# Check whether --with-lint was given.
4807if test "${with_lint+set}" = set; then
4808  withval=$with_lint; use_lint=$withval
4809else
4810  use_lint=no
4811fi
4812
4813if test "x$use_lint" = "xyes" ; then
4814	LINT="lint"
4815else
4816	LINT="$use_lint"
4817fi
4818if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
4819    case $LINT in
4820	lint|*/lint)
4821	    case $host_os in
4822		solaris*)
4823			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
4824			;;
4825	    esac
4826	    ;;
4827    esac
4828fi
4829
4830
4831
4832 if test x$LINT != xno; then
4833  LINT_TRUE=
4834  LINT_FALSE='#'
4835else
4836  LINT_TRUE='#'
4837  LINT_FALSE=
4838fi
4839
4840
4841
4842
4843{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4844$as_echo_n "checking return type of signal handlers... " >&6; }
4845if test "${ac_cv_type_signal+set}" = set; then
4846  $as_echo_n "(cached) " >&6
4847else
4848  cat >conftest.$ac_ext <<_ACEOF
4849/* confdefs.h.  */
4850_ACEOF
4851cat confdefs.h >>conftest.$ac_ext
4852cat >>conftest.$ac_ext <<_ACEOF
4853/* end confdefs.h.  */
4854#include <sys/types.h>
4855#include <signal.h>
4856
4857int
4858main ()
4859{
4860return *(signal (0, 0)) (0) == 1;
4861  ;
4862  return 0;
4863}
4864_ACEOF
4865rm -f conftest.$ac_objext
4866if { (ac_try="$ac_compile"
4867case "(($ac_try" in
4868  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869  *) ac_try_echo=$ac_try;;
4870esac
4871eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4872$as_echo "$ac_try_echo") >&5
4873  (eval "$ac_compile") 2>conftest.er1
4874  ac_status=$?
4875  grep -v '^ *+' conftest.er1 >conftest.err
4876  rm -f conftest.er1
4877  cat conftest.err >&5
4878  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879  (exit $ac_status); } && {
4880	 test -z "$ac_c_werror_flag" ||
4881	 test ! -s conftest.err
4882       } && test -s conftest.$ac_objext; then
4883  ac_cv_type_signal=int
4884else
4885  $as_echo "$as_me: failed program was:" >&5
4886sed 's/^/| /' conftest.$ac_ext >&5
4887
4888	ac_cv_type_signal=void
4889fi
4890
4891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892fi
4893{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4894$as_echo "$ac_cv_type_signal" >&6; }
4895
4896cat >>confdefs.h <<_ACEOF
4897#define RETSIGTYPE $ac_cv_type_signal
4898_ACEOF
4899
4900
4901
4902
4903
4904for ac_func in rename fchmod
4905do
4906as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4907{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4908$as_echo_n "checking for $ac_func... " >&6; }
4909if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4910  $as_echo_n "(cached) " >&6
4911else
4912  cat >conftest.$ac_ext <<_ACEOF
4913/* confdefs.h.  */
4914_ACEOF
4915cat confdefs.h >>conftest.$ac_ext
4916cat >>conftest.$ac_ext <<_ACEOF
4917/* end confdefs.h.  */
4918/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4919   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4920#define $ac_func innocuous_$ac_func
4921
4922/* System header to define __stub macros and hopefully few prototypes,
4923    which can conflict with char $ac_func (); below.
4924    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4925    <limits.h> exists even on freestanding compilers.  */
4926
4927#ifdef __STDC__
4928# include <limits.h>
4929#else
4930# include <assert.h>
4931#endif
4932
4933#undef $ac_func
4934
4935/* Override any GCC internal prototype to avoid an error.
4936   Use char because int might match the return type of a GCC
4937   builtin and then its argument prototype would still apply.  */
4938#ifdef __cplusplus
4939extern "C"
4940#endif
4941char $ac_func ();
4942/* The GNU C library defines this for functions which it implements
4943    to always fail with ENOSYS.  Some functions are actually named
4944    something starting with __ and the normal name is an alias.  */
4945#if defined __stub_$ac_func || defined __stub___$ac_func
4946choke me
4947#endif
4948
4949int
4950main ()
4951{
4952return $ac_func ();
4953  ;
4954  return 0;
4955}
4956_ACEOF
4957rm -f conftest.$ac_objext conftest$ac_exeext
4958if { (ac_try="$ac_link"
4959case "(($ac_try" in
4960  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4961  *) ac_try_echo=$ac_try;;
4962esac
4963eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4964$as_echo "$ac_try_echo") >&5
4965  (eval "$ac_link") 2>conftest.er1
4966  ac_status=$?
4967  grep -v '^ *+' conftest.er1 >conftest.err
4968  rm -f conftest.er1
4969  cat conftest.err >&5
4970  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971  (exit $ac_status); } && {
4972	 test -z "$ac_c_werror_flag" ||
4973	 test ! -s conftest.err
4974       } && test -s conftest$ac_exeext && {
4975	 test "$cross_compiling" = yes ||
4976	 $as_test_x conftest$ac_exeext
4977       }; then
4978  eval "$as_ac_var=yes"
4979else
4980  $as_echo "$as_me: failed program was:" >&5
4981sed 's/^/| /' conftest.$ac_ext >&5
4982
4983	eval "$as_ac_var=no"
4984fi
4985
4986rm -rf conftest.dSYM
4987rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4988      conftest$ac_exeext conftest.$ac_ext
4989fi
4990ac_res=`eval 'as_val=${'$as_ac_var'}
4991		 $as_echo "$as_val"'`
4992	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4993$as_echo "$ac_res" >&6; }
4994as_val=`eval 'as_val=${'$as_ac_var'}
4995		 $as_echo "$as_val"'`
4996   if test "x$as_val" = x""yes; then
4997  cat >>confdefs.h <<_ACEOF
4998#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4999_ACEOF
5000
5001fi
5002done
5003
5004
5005# Check whether --enable-largefile was given.
5006if test "${enable_largefile+set}" = set; then
5007  enableval=$enable_largefile;
5008fi
5009
5010if test "$enable_largefile" != no; then
5011
5012  { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
5013$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5014if test "${ac_cv_sys_largefile_CC+set}" = set; then
5015  $as_echo_n "(cached) " >&6
5016else
5017  ac_cv_sys_largefile_CC=no
5018     if test "$GCC" != yes; then
5019       ac_save_CC=$CC
5020       while :; do
5021	 # IRIX 6.2 and later do not support large files by default,
5022	 # so use the C compiler's -n32 option if that helps.
5023	 cat >conftest.$ac_ext <<_ACEOF
5024/* confdefs.h.  */
5025_ACEOF
5026cat confdefs.h >>conftest.$ac_ext
5027cat >>conftest.$ac_ext <<_ACEOF
5028/* end confdefs.h.  */
5029#include <sys/types.h>
5030 /* Check that off_t can represent 2**63 - 1 correctly.
5031    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5032    since some C++ compilers masquerading as C compilers
5033    incorrectly reject 9223372036854775807.  */
5034#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5035  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5036		       && LARGE_OFF_T % 2147483647 == 1)
5037		      ? 1 : -1];
5038int
5039main ()
5040{
5041
5042  ;
5043  return 0;
5044}
5045_ACEOF
5046	 rm -f conftest.$ac_objext
5047if { (ac_try="$ac_compile"
5048case "(($ac_try" in
5049  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5050  *) ac_try_echo=$ac_try;;
5051esac
5052eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5053$as_echo "$ac_try_echo") >&5
5054  (eval "$ac_compile") 2>conftest.er1
5055  ac_status=$?
5056  grep -v '^ *+' conftest.er1 >conftest.err
5057  rm -f conftest.er1
5058  cat conftest.err >&5
5059  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060  (exit $ac_status); } && {
5061	 test -z "$ac_c_werror_flag" ||
5062	 test ! -s conftest.err
5063       } && test -s conftest.$ac_objext; then
5064  break
5065else
5066  $as_echo "$as_me: failed program was:" >&5
5067sed 's/^/| /' conftest.$ac_ext >&5
5068
5069
5070fi
5071
5072rm -f core conftest.err conftest.$ac_objext
5073	 CC="$CC -n32"
5074	 rm -f conftest.$ac_objext
5075if { (ac_try="$ac_compile"
5076case "(($ac_try" in
5077  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5078  *) ac_try_echo=$ac_try;;
5079esac
5080eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5081$as_echo "$ac_try_echo") >&5
5082  (eval "$ac_compile") 2>conftest.er1
5083  ac_status=$?
5084  grep -v '^ *+' conftest.er1 >conftest.err
5085  rm -f conftest.er1
5086  cat conftest.err >&5
5087  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088  (exit $ac_status); } && {
5089	 test -z "$ac_c_werror_flag" ||
5090	 test ! -s conftest.err
5091       } && test -s conftest.$ac_objext; then
5092  ac_cv_sys_largefile_CC=' -n32'; break
5093else
5094  $as_echo "$as_me: failed program was:" >&5
5095sed 's/^/| /' conftest.$ac_ext >&5
5096
5097
5098fi
5099
5100rm -f core conftest.err conftest.$ac_objext
5101	 break
5102       done
5103       CC=$ac_save_CC
5104       rm -f conftest.$ac_ext
5105    fi
5106fi
5107{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
5108$as_echo "$ac_cv_sys_largefile_CC" >&6; }
5109  if test "$ac_cv_sys_largefile_CC" != no; then
5110    CC=$CC$ac_cv_sys_largefile_CC
5111  fi
5112
5113  { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5114$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5115if test "${ac_cv_sys_file_offset_bits+set}" = set; then
5116  $as_echo_n "(cached) " >&6
5117else
5118  while :; do
5119  cat >conftest.$ac_ext <<_ACEOF
5120/* confdefs.h.  */
5121_ACEOF
5122cat confdefs.h >>conftest.$ac_ext
5123cat >>conftest.$ac_ext <<_ACEOF
5124/* end confdefs.h.  */
5125#include <sys/types.h>
5126 /* Check that off_t can represent 2**63 - 1 correctly.
5127    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5128    since some C++ compilers masquerading as C compilers
5129    incorrectly reject 9223372036854775807.  */
5130#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5131  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5132		       && LARGE_OFF_T % 2147483647 == 1)
5133		      ? 1 : -1];
5134int
5135main ()
5136{
5137
5138  ;
5139  return 0;
5140}
5141_ACEOF
5142rm -f conftest.$ac_objext
5143if { (ac_try="$ac_compile"
5144case "(($ac_try" in
5145  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5146  *) ac_try_echo=$ac_try;;
5147esac
5148eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5149$as_echo "$ac_try_echo") >&5
5150  (eval "$ac_compile") 2>conftest.er1
5151  ac_status=$?
5152  grep -v '^ *+' conftest.er1 >conftest.err
5153  rm -f conftest.er1
5154  cat conftest.err >&5
5155  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156  (exit $ac_status); } && {
5157	 test -z "$ac_c_werror_flag" ||
5158	 test ! -s conftest.err
5159       } && test -s conftest.$ac_objext; then
5160  ac_cv_sys_file_offset_bits=no; break
5161else
5162  $as_echo "$as_me: failed program was:" >&5
5163sed 's/^/| /' conftest.$ac_ext >&5
5164
5165
5166fi
5167
5168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5169  cat >conftest.$ac_ext <<_ACEOF
5170/* confdefs.h.  */
5171_ACEOF
5172cat confdefs.h >>conftest.$ac_ext
5173cat >>conftest.$ac_ext <<_ACEOF
5174/* end confdefs.h.  */
5175#define _FILE_OFFSET_BITS 64
5176#include <sys/types.h>
5177 /* Check that off_t can represent 2**63 - 1 correctly.
5178    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5179    since some C++ compilers masquerading as C compilers
5180    incorrectly reject 9223372036854775807.  */
5181#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5182  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5183		       && LARGE_OFF_T % 2147483647 == 1)
5184		      ? 1 : -1];
5185int
5186main ()
5187{
5188
5189  ;
5190  return 0;
5191}
5192_ACEOF
5193rm -f conftest.$ac_objext
5194if { (ac_try="$ac_compile"
5195case "(($ac_try" in
5196  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5197  *) ac_try_echo=$ac_try;;
5198esac
5199eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5200$as_echo "$ac_try_echo") >&5
5201  (eval "$ac_compile") 2>conftest.er1
5202  ac_status=$?
5203  grep -v '^ *+' conftest.er1 >conftest.err
5204  rm -f conftest.er1
5205  cat conftest.err >&5
5206  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207  (exit $ac_status); } && {
5208	 test -z "$ac_c_werror_flag" ||
5209	 test ! -s conftest.err
5210       } && test -s conftest.$ac_objext; then
5211  ac_cv_sys_file_offset_bits=64; break
5212else
5213  $as_echo "$as_me: failed program was:" >&5
5214sed 's/^/| /' conftest.$ac_ext >&5
5215
5216
5217fi
5218
5219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5220  ac_cv_sys_file_offset_bits=unknown
5221  break
5222done
5223fi
5224{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5225$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5226case $ac_cv_sys_file_offset_bits in #(
5227  no | unknown) ;;
5228  *)
5229cat >>confdefs.h <<_ACEOF
5230#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5231_ACEOF
5232;;
5233esac
5234rm -rf conftest*
5235  if test $ac_cv_sys_file_offset_bits = unknown; then
5236    { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5237$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5238if test "${ac_cv_sys_large_files+set}" = set; then
5239  $as_echo_n "(cached) " >&6
5240else
5241  while :; do
5242  cat >conftest.$ac_ext <<_ACEOF
5243/* confdefs.h.  */
5244_ACEOF
5245cat confdefs.h >>conftest.$ac_ext
5246cat >>conftest.$ac_ext <<_ACEOF
5247/* end confdefs.h.  */
5248#include <sys/types.h>
5249 /* Check that off_t can represent 2**63 - 1 correctly.
5250    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5251    since some C++ compilers masquerading as C compilers
5252    incorrectly reject 9223372036854775807.  */
5253#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5254  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5255		       && LARGE_OFF_T % 2147483647 == 1)
5256		      ? 1 : -1];
5257int
5258main ()
5259{
5260
5261  ;
5262  return 0;
5263}
5264_ACEOF
5265rm -f conftest.$ac_objext
5266if { (ac_try="$ac_compile"
5267case "(($ac_try" in
5268  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5269  *) ac_try_echo=$ac_try;;
5270esac
5271eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5272$as_echo "$ac_try_echo") >&5
5273  (eval "$ac_compile") 2>conftest.er1
5274  ac_status=$?
5275  grep -v '^ *+' conftest.er1 >conftest.err
5276  rm -f conftest.er1
5277  cat conftest.err >&5
5278  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279  (exit $ac_status); } && {
5280	 test -z "$ac_c_werror_flag" ||
5281	 test ! -s conftest.err
5282       } && test -s conftest.$ac_objext; then
5283  ac_cv_sys_large_files=no; break
5284else
5285  $as_echo "$as_me: failed program was:" >&5
5286sed 's/^/| /' conftest.$ac_ext >&5
5287
5288
5289fi
5290
5291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5292  cat >conftest.$ac_ext <<_ACEOF
5293/* confdefs.h.  */
5294_ACEOF
5295cat confdefs.h >>conftest.$ac_ext
5296cat >>conftest.$ac_ext <<_ACEOF
5297/* end confdefs.h.  */
5298#define _LARGE_FILES 1
5299#include <sys/types.h>
5300 /* Check that off_t can represent 2**63 - 1 correctly.
5301    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5302    since some C++ compilers masquerading as C compilers
5303    incorrectly reject 9223372036854775807.  */
5304#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5305  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5306		       && LARGE_OFF_T % 2147483647 == 1)
5307		      ? 1 : -1];
5308int
5309main ()
5310{
5311
5312  ;
5313  return 0;
5314}
5315_ACEOF
5316rm -f conftest.$ac_objext
5317if { (ac_try="$ac_compile"
5318case "(($ac_try" in
5319  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5320  *) ac_try_echo=$ac_try;;
5321esac
5322eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5323$as_echo "$ac_try_echo") >&5
5324  (eval "$ac_compile") 2>conftest.er1
5325  ac_status=$?
5326  grep -v '^ *+' conftest.er1 >conftest.err
5327  rm -f conftest.er1
5328  cat conftest.err >&5
5329  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330  (exit $ac_status); } && {
5331	 test -z "$ac_c_werror_flag" ||
5332	 test ! -s conftest.err
5333       } && test -s conftest.$ac_objext; then
5334  ac_cv_sys_large_files=1; break
5335else
5336  $as_echo "$as_me: failed program was:" >&5
5337sed 's/^/| /' conftest.$ac_ext >&5
5338
5339
5340fi
5341
5342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5343  ac_cv_sys_large_files=unknown
5344  break
5345done
5346fi
5347{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5348$as_echo "$ac_cv_sys_large_files" >&6; }
5349case $ac_cv_sys_large_files in #(
5350  no | unknown) ;;
5351  *)
5352cat >>confdefs.h <<_ACEOF
5353#define _LARGE_FILES $ac_cv_sys_large_files
5354_ACEOF
5355;;
5356esac
5357rm -rf conftest*
5358  fi
5359fi
5360
5361
5362
5363
5364if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5365	if test -n "$ac_tool_prefix"; then
5366  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5367set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5368{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5369$as_echo_n "checking for $ac_word... " >&6; }
5370if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5371  $as_echo_n "(cached) " >&6
5372else
5373  case $PKG_CONFIG in
5374  [\\/]* | ?:[\\/]*)
5375  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5376  ;;
5377  *)
5378  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379for as_dir in $PATH
5380do
5381  IFS=$as_save_IFS
5382  test -z "$as_dir" && as_dir=.
5383  for ac_exec_ext in '' $ac_executable_extensions; do
5384  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5385    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5386    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5387    break 2
5388  fi
5389done
5390done
5391IFS=$as_save_IFS
5392
5393  ;;
5394esac
5395fi
5396PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5397if test -n "$PKG_CONFIG"; then
5398  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5399$as_echo "$PKG_CONFIG" >&6; }
5400else
5401  { $as_echo "$as_me:$LINENO: result: no" >&5
5402$as_echo "no" >&6; }
5403fi
5404
5405
5406fi
5407if test -z "$ac_cv_path_PKG_CONFIG"; then
5408  ac_pt_PKG_CONFIG=$PKG_CONFIG
5409  # Extract the first word of "pkg-config", so it can be a program name with args.
5410set dummy pkg-config; ac_word=$2
5411{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5412$as_echo_n "checking for $ac_word... " >&6; }
5413if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5414  $as_echo_n "(cached) " >&6
5415else
5416  case $ac_pt_PKG_CONFIG in
5417  [\\/]* | ?:[\\/]*)
5418  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5419  ;;
5420  *)
5421  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5422for as_dir in $PATH
5423do
5424  IFS=$as_save_IFS
5425  test -z "$as_dir" && as_dir=.
5426  for ac_exec_ext in '' $ac_executable_extensions; do
5427  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5428    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5429    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5430    break 2
5431  fi
5432done
5433done
5434IFS=$as_save_IFS
5435
5436  ;;
5437esac
5438fi
5439ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5440if test -n "$ac_pt_PKG_CONFIG"; then
5441  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5442$as_echo "$ac_pt_PKG_CONFIG" >&6; }
5443else
5444  { $as_echo "$as_me:$LINENO: result: no" >&5
5445$as_echo "no" >&6; }
5446fi
5447
5448  if test "x$ac_pt_PKG_CONFIG" = x; then
5449    PKG_CONFIG=""
5450  else
5451    case $cross_compiling:$ac_tool_warned in
5452yes:)
5453{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5454$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5455ac_tool_warned=yes ;;
5456esac
5457    PKG_CONFIG=$ac_pt_PKG_CONFIG
5458  fi
5459else
5460  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5461fi
5462
5463fi
5464if test -n "$PKG_CONFIG"; then
5465	_pkg_min_version=0.9.0
5466	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5467$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5468	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5469		{ $as_echo "$as_me:$LINENO: result: yes" >&5
5470$as_echo "yes" >&6; }
5471	else
5472		{ $as_echo "$as_me:$LINENO: result: no" >&5
5473$as_echo "no" >&6; }
5474		PKG_CONFIG=""
5475	fi
5476
5477fi
5478
5479pkg_failed=no
5480{ $as_echo "$as_me:$LINENO: checking for X" >&5
5481$as_echo_n "checking for X... " >&6; }
5482
5483if test -n "$X_CFLAGS"; then
5484    pkg_cv_X_CFLAGS="$X_CFLAGS"
5485 elif test -n "$PKG_CONFIG"; then
5486    if test -n "$PKG_CONFIG" && \
5487    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
5488  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
5489  ac_status=$?
5490  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491  (exit $ac_status); }; then
5492  pkg_cv_X_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
5493else
5494  pkg_failed=yes
5495fi
5496 else
5497    pkg_failed=untried
5498fi
5499if test -n "$X_LIBS"; then
5500    pkg_cv_X_LIBS="$X_LIBS"
5501 elif test -n "$PKG_CONFIG"; then
5502    if test -n "$PKG_CONFIG" && \
5503    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
5504  ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
5505  ac_status=$?
5506  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507  (exit $ac_status); }; then
5508  pkg_cv_X_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
5509else
5510  pkg_failed=yes
5511fi
5512 else
5513    pkg_failed=untried
5514fi
5515
5516
5517
5518if test $pkg_failed = yes; then
5519
5520if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5521        _pkg_short_errors_supported=yes
5522else
5523        _pkg_short_errors_supported=no
5524fi
5525        if test $_pkg_short_errors_supported = yes; then
5526	        X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
5527        else
5528	        X_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
5529        fi
5530	# Put the nasty error message in config.log where it belongs
5531	echo "$X_PKG_ERRORS" >&5
5532
5533	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto) were not met:
5534
5535$X_PKG_ERRORS
5536
5537Consider adjusting the PKG_CONFIG_PATH environment variable if you
5538installed software in a non-standard prefix.
5539
5540Alternatively, you may set the environment variables X_CFLAGS
5541and X_LIBS to avoid the need to call pkg-config.
5542See the pkg-config man page for more details.
5543" >&5
5544$as_echo "$as_me: error: Package requirements (xproto) were not met:
5545
5546$X_PKG_ERRORS
5547
5548Consider adjusting the PKG_CONFIG_PATH environment variable if you
5549installed software in a non-standard prefix.
5550
5551Alternatively, you may set the environment variables X_CFLAGS
5552and X_LIBS to avoid the need to call pkg-config.
5553See the pkg-config man page for more details.
5554" >&2;}
5555   { (exit 1); exit 1; }; }
5556elif test $pkg_failed = untried; then
5557	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5558$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5559{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
5560is in your PATH or set the PKG_CONFIG environment variable to the full
5561path to pkg-config.
5562
5563Alternatively, you may set the environment variables X_CFLAGS
5564and X_LIBS to avoid the need to call pkg-config.
5565See the pkg-config man page for more details.
5566
5567To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5568See \`config.log' for more details." >&5
5569$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
5570is in your PATH or set the PKG_CONFIG environment variable to the full
5571path to pkg-config.
5572
5573Alternatively, you may set the environment variables X_CFLAGS
5574and X_LIBS to avoid the need to call pkg-config.
5575See the pkg-config man page for more details.
5576
5577To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5578See \`config.log' for more details." >&2;}
5579   { (exit 1); exit 1; }; }; }
5580else
5581	X_CFLAGS=$pkg_cv_X_CFLAGS
5582	X_LIBS=$pkg_cv_X_LIBS
5583        { $as_echo "$as_me:$LINENO: result: yes" >&5
5584$as_echo "yes" >&6; }
5585	:
5586fi
5587
5588
5589ac_config_files="$ac_config_files Makefile"
5590
5591cat >confcache <<\_ACEOF
5592# This file is a shell script that caches the results of configure
5593# tests run on this system so they can be shared between configure
5594# scripts and configure runs, see configure's option --config-cache.
5595# It is not useful on other systems.  If it contains results you don't
5596# want to keep, you may remove or edit it.
5597#
5598# config.status only pays attention to the cache file if you give it
5599# the --recheck option to rerun configure.
5600#
5601# `ac_cv_env_foo' variables (set or unset) will be overridden when
5602# loading this file, other *unset* `ac_cv_foo' will be assigned the
5603# following values.
5604
5605_ACEOF
5606
5607# The following way of writing the cache mishandles newlines in values,
5608# but we know of no workaround that is simple, portable, and efficient.
5609# So, we kill variables containing newlines.
5610# Ultrix sh set writes to stderr and can't be redirected directly,
5611# and sets the high bit in the cache file unless we assign to the vars.
5612(
5613  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5614    eval ac_val=\$$ac_var
5615    case $ac_val in #(
5616    *${as_nl}*)
5617      case $ac_var in #(
5618      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5619$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5620      esac
5621      case $ac_var in #(
5622      _ | IFS | as_nl) ;; #(
5623      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5624      *) $as_unset $ac_var ;;
5625      esac ;;
5626    esac
5627  done
5628
5629  (set) 2>&1 |
5630    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5631    *${as_nl}ac_space=\ *)
5632      # `set' does not quote correctly, so add quotes (double-quote
5633      # substitution turns \\\\ into \\, and sed turns \\ into \).
5634      sed -n \
5635	"s/'/'\\\\''/g;
5636	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5637      ;; #(
5638    *)
5639      # `set' quotes correctly as required by POSIX, so do not add quotes.
5640      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5641      ;;
5642    esac |
5643    sort
5644) |
5645  sed '
5646     /^ac_cv_env_/b end
5647     t clear
5648     :clear
5649     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5650     t end
5651     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5652     :end' >>confcache
5653if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5654  if test -w "$cache_file"; then
5655    test "x$cache_file" != "x/dev/null" &&
5656      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5657$as_echo "$as_me: updating cache $cache_file" >&6;}
5658    cat confcache >$cache_file
5659  else
5660    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5661$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5662  fi
5663fi
5664rm -f confcache
5665
5666test "x$prefix" = xNONE && prefix=$ac_default_prefix
5667# Let make expand exec_prefix.
5668test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5669
5670DEFS=-DHAVE_CONFIG_H
5671
5672ac_libobjs=
5673ac_ltlibobjs=
5674for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5675  # 1. Remove the extension, and $U if already installed.
5676  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5677  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5678  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5679  #    will be set to the directory where LIBOBJS objects are built.
5680  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5681  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5682done
5683LIBOBJS=$ac_libobjs
5684
5685LTLIBOBJS=$ac_ltlibobjs
5686
5687
5688 if test -n "$EXEEXT"; then
5689  am__EXEEXT_TRUE=
5690  am__EXEEXT_FALSE='#'
5691else
5692  am__EXEEXT_TRUE='#'
5693  am__EXEEXT_FALSE=
5694fi
5695
5696if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5697  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5698Usually this means the macro was only invoked conditionally." >&5
5699$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5700Usually this means the macro was only invoked conditionally." >&2;}
5701   { (exit 1); exit 1; }; }
5702fi
5703if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5704  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5705Usually this means the macro was only invoked conditionally." >&5
5706$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5707Usually this means the macro was only invoked conditionally." >&2;}
5708   { (exit 1); exit 1; }; }
5709fi
5710if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
5711  { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
5712Usually this means the macro was only invoked conditionally." >&5
5713$as_echo "$as_me: error: conditional \"LINT\" was never defined.
5714Usually this means the macro was only invoked conditionally." >&2;}
5715   { (exit 1); exit 1; }; }
5716fi
5717
5718: ${CONFIG_STATUS=./config.status}
5719ac_write_fail=0
5720ac_clean_files_save=$ac_clean_files
5721ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5722{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5723$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5724cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5725#! $SHELL
5726# Generated by $as_me.
5727# Run this file to recreate the current configuration.
5728# Compiler output produced by configure, useful for debugging
5729# configure, is in config.log if it exists.
5730
5731debug=false
5732ac_cs_recheck=false
5733ac_cs_silent=false
5734SHELL=\${CONFIG_SHELL-$SHELL}
5735_ACEOF
5736
5737cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5738## --------------------- ##
5739## M4sh Initialization.  ##
5740## --------------------- ##
5741
5742# Be more Bourne compatible
5743DUALCASE=1; export DUALCASE # for MKS sh
5744if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5745  emulate sh
5746  NULLCMD=:
5747  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5748  # is contrary to our usage.  Disable this feature.
5749  alias -g '${1+"$@"}'='"$@"'
5750  setopt NO_GLOB_SUBST
5751else
5752  case `(set -o) 2>/dev/null` in
5753  *posix*) set -o posix ;;
5754esac
5755
5756fi
5757
5758
5759
5760
5761# PATH needs CR
5762# Avoid depending upon Character Ranges.
5763as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5764as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5765as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5766as_cr_digits='0123456789'
5767as_cr_alnum=$as_cr_Letters$as_cr_digits
5768
5769as_nl='
5770'
5771export as_nl
5772# Printing a long string crashes Solaris 7 /usr/bin/printf.
5773as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5774as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5775as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5776if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5777  as_echo='printf %s\n'
5778  as_echo_n='printf %s'
5779else
5780  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5781    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5782    as_echo_n='/usr/ucb/echo -n'
5783  else
5784    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5785    as_echo_n_body='eval
5786      arg=$1;
5787      case $arg in
5788      *"$as_nl"*)
5789	expr "X$arg" : "X\\(.*\\)$as_nl";
5790	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5791      esac;
5792      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5793    '
5794    export as_echo_n_body
5795    as_echo_n='sh -c $as_echo_n_body as_echo'
5796  fi
5797  export as_echo_body
5798  as_echo='sh -c $as_echo_body as_echo'
5799fi
5800
5801# The user is always right.
5802if test "${PATH_SEPARATOR+set}" != set; then
5803  PATH_SEPARATOR=:
5804  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5805    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5806      PATH_SEPARATOR=';'
5807  }
5808fi
5809
5810# Support unset when possible.
5811if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5812  as_unset=unset
5813else
5814  as_unset=false
5815fi
5816
5817
5818# IFS
5819# We need space, tab and new line, in precisely that order.  Quoting is
5820# there to prevent editors from complaining about space-tab.
5821# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5822# splitting by setting IFS to empty value.)
5823IFS=" ""	$as_nl"
5824
5825# Find who we are.  Look in the path if we contain no directory separator.
5826case $0 in
5827  *[\\/]* ) as_myself=$0 ;;
5828  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829for as_dir in $PATH
5830do
5831  IFS=$as_save_IFS
5832  test -z "$as_dir" && as_dir=.
5833  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5834done
5835IFS=$as_save_IFS
5836
5837     ;;
5838esac
5839# We did not find ourselves, most probably we were run as `sh COMMAND'
5840# in which case we are not to be found in the path.
5841if test "x$as_myself" = x; then
5842  as_myself=$0
5843fi
5844if test ! -f "$as_myself"; then
5845  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5846  { (exit 1); exit 1; }
5847fi
5848
5849# Work around bugs in pre-3.0 UWIN ksh.
5850for as_var in ENV MAIL MAILPATH
5851do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5852done
5853PS1='$ '
5854PS2='> '
5855PS4='+ '
5856
5857# NLS nuisances.
5858LC_ALL=C
5859export LC_ALL
5860LANGUAGE=C
5861export LANGUAGE
5862
5863# Required to use basename.
5864if expr a : '\(a\)' >/dev/null 2>&1 &&
5865   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5866  as_expr=expr
5867else
5868  as_expr=false
5869fi
5870
5871if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5872  as_basename=basename
5873else
5874  as_basename=false
5875fi
5876
5877
5878# Name of the executable.
5879as_me=`$as_basename -- "$0" ||
5880$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5881	 X"$0" : 'X\(//\)$' \| \
5882	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5883$as_echo X/"$0" |
5884    sed '/^.*\/\([^/][^/]*\)\/*$/{
5885	    s//\1/
5886	    q
5887	  }
5888	  /^X\/\(\/\/\)$/{
5889	    s//\1/
5890	    q
5891	  }
5892	  /^X\/\(\/\).*/{
5893	    s//\1/
5894	    q
5895	  }
5896	  s/.*/./; q'`
5897
5898# CDPATH.
5899$as_unset CDPATH
5900
5901
5902
5903  as_lineno_1=$LINENO
5904  as_lineno_2=$LINENO
5905  test "x$as_lineno_1" != "x$as_lineno_2" &&
5906  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5907
5908  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5909  # uniformly replaced by the line number.  The first 'sed' inserts a
5910  # line-number line after each line using $LINENO; the second 'sed'
5911  # does the real work.  The second script uses 'N' to pair each
5912  # line-number line with the line containing $LINENO, and appends
5913  # trailing '-' during substitution so that $LINENO is not a special
5914  # case at line end.
5915  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5916  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5917  # E. McMahon (1931-1989) for sed's syntax.  :-)
5918  sed -n '
5919    p
5920    /[$]LINENO/=
5921  ' <$as_myself |
5922    sed '
5923      s/[$]LINENO.*/&-/
5924      t lineno
5925      b
5926      :lineno
5927      N
5928      :loop
5929      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5930      t loop
5931      s/-\n.*//
5932    ' >$as_me.lineno &&
5933  chmod +x "$as_me.lineno" ||
5934    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5935   { (exit 1); exit 1; }; }
5936
5937  # Don't try to exec as it changes $[0], causing all sort of problems
5938  # (the dirname of $[0] is not the place where we might find the
5939  # original and so on.  Autoconf is especially sensitive to this).
5940  . "./$as_me.lineno"
5941  # Exit status is that of the last command.
5942  exit
5943}
5944
5945
5946if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5947  as_dirname=dirname
5948else
5949  as_dirname=false
5950fi
5951
5952ECHO_C= ECHO_N= ECHO_T=
5953case `echo -n x` in
5954-n*)
5955  case `echo 'x\c'` in
5956  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5957  *)   ECHO_C='\c';;
5958  esac;;
5959*)
5960  ECHO_N='-n';;
5961esac
5962if expr a : '\(a\)' >/dev/null 2>&1 &&
5963   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5964  as_expr=expr
5965else
5966  as_expr=false
5967fi
5968
5969rm -f conf$$ conf$$.exe conf$$.file
5970if test -d conf$$.dir; then
5971  rm -f conf$$.dir/conf$$.file
5972else
5973  rm -f conf$$.dir
5974  mkdir conf$$.dir 2>/dev/null
5975fi
5976if (echo >conf$$.file) 2>/dev/null; then
5977  if ln -s conf$$.file conf$$ 2>/dev/null; then
5978    as_ln_s='ln -s'
5979    # ... but there are two gotchas:
5980    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5981    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5982    # In both cases, we have to default to `cp -p'.
5983    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5984      as_ln_s='cp -p'
5985  elif ln conf$$.file conf$$ 2>/dev/null; then
5986    as_ln_s=ln
5987  else
5988    as_ln_s='cp -p'
5989  fi
5990else
5991  as_ln_s='cp -p'
5992fi
5993rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5994rmdir conf$$.dir 2>/dev/null
5995
5996if mkdir -p . 2>/dev/null; then
5997  as_mkdir_p=:
5998else
5999  test -d ./-p && rmdir ./-p
6000  as_mkdir_p=false
6001fi
6002
6003if test -x / >/dev/null 2>&1; then
6004  as_test_x='test -x'
6005else
6006  if ls -dL / >/dev/null 2>&1; then
6007    as_ls_L_option=L
6008  else
6009    as_ls_L_option=
6010  fi
6011  as_test_x='
6012    eval sh -c '\''
6013      if test -d "$1"; then
6014	test -d "$1/.";
6015      else
6016	case $1 in
6017	-*)set "./$1";;
6018	esac;
6019	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6020	???[sx]*):;;*)false;;esac;fi
6021    '\'' sh
6022  '
6023fi
6024as_executable_p=$as_test_x
6025
6026# Sed expression to map a string onto a valid CPP name.
6027as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6028
6029# Sed expression to map a string onto a valid variable name.
6030as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6031
6032
6033exec 6>&1
6034
6035# Save the log message, to keep $[0] and so on meaningful, and to
6036# report actual input values of CONFIG_FILES etc. instead of their
6037# values after options handling.
6038ac_log="
6039This file was extended by makedepend $as_me 1.0.2, which was
6040generated by GNU Autoconf 2.63.  Invocation command line was
6041
6042  CONFIG_FILES    = $CONFIG_FILES
6043  CONFIG_HEADERS  = $CONFIG_HEADERS
6044  CONFIG_LINKS    = $CONFIG_LINKS
6045  CONFIG_COMMANDS = $CONFIG_COMMANDS
6046  $ $0 $@
6047
6048on `(hostname || uname -n) 2>/dev/null | sed 1q`
6049"
6050
6051_ACEOF
6052
6053case $ac_config_files in *"
6054"*) set x $ac_config_files; shift; ac_config_files=$*;;
6055esac
6056
6057case $ac_config_headers in *"
6058"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6059esac
6060
6061
6062cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6063# Files that config.status was made for.
6064config_files="$ac_config_files"
6065config_headers="$ac_config_headers"
6066config_commands="$ac_config_commands"
6067
6068_ACEOF
6069
6070cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6071ac_cs_usage="\
6072\`$as_me' instantiates files from templates according to the
6073current configuration.
6074
6075Usage: $0 [OPTION]... [FILE]...
6076
6077  -h, --help       print this help, then exit
6078  -V, --version    print version number and configuration settings, then exit
6079  -q, --quiet, --silent
6080                   do not print progress messages
6081  -d, --debug      don't remove temporary files
6082      --recheck    update $as_me by reconfiguring in the same conditions
6083      --file=FILE[:TEMPLATE]
6084                   instantiate the configuration file FILE
6085      --header=FILE[:TEMPLATE]
6086                   instantiate the configuration header FILE
6087
6088Configuration files:
6089$config_files
6090
6091Configuration headers:
6092$config_headers
6093
6094Configuration commands:
6095$config_commands
6096
6097Report bugs to <bug-autoconf@gnu.org>."
6098
6099_ACEOF
6100cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6101ac_cs_version="\\
6102makedepend config.status 1.0.2
6103configured by $0, generated by GNU Autoconf 2.63,
6104  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6105
6106Copyright (C) 2008 Free Software Foundation, Inc.
6107This config.status script is free software; the Free Software Foundation
6108gives unlimited permission to copy, distribute and modify it."
6109
6110ac_pwd='$ac_pwd'
6111srcdir='$srcdir'
6112INSTALL='$INSTALL'
6113MKDIR_P='$MKDIR_P'
6114AWK='$AWK'
6115test -n "\$AWK" || AWK=awk
6116_ACEOF
6117
6118cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6119# The default lists apply if the user does not specify any file.
6120ac_need_defaults=:
6121while test $# != 0
6122do
6123  case $1 in
6124  --*=*)
6125    ac_option=`expr "X$1" : 'X\([^=]*\)='`
6126    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6127    ac_shift=:
6128    ;;
6129  *)
6130    ac_option=$1
6131    ac_optarg=$2
6132    ac_shift=shift
6133    ;;
6134  esac
6135
6136  case $ac_option in
6137  # Handling of the options.
6138  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6139    ac_cs_recheck=: ;;
6140  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6141    $as_echo "$ac_cs_version"; exit ;;
6142  --debug | --debu | --deb | --de | --d | -d )
6143    debug=: ;;
6144  --file | --fil | --fi | --f )
6145    $ac_shift
6146    case $ac_optarg in
6147    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6148    esac
6149    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6150    ac_need_defaults=false;;
6151  --header | --heade | --head | --hea )
6152    $ac_shift
6153    case $ac_optarg in
6154    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6155    esac
6156    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6157    ac_need_defaults=false;;
6158  --he | --h)
6159    # Conflict between --help and --header
6160    { $as_echo "$as_me: error: ambiguous option: $1
6161Try \`$0 --help' for more information." >&2
6162   { (exit 1); exit 1; }; };;
6163  --help | --hel | -h )
6164    $as_echo "$ac_cs_usage"; exit ;;
6165  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6166  | -silent | --silent | --silen | --sile | --sil | --si | --s)
6167    ac_cs_silent=: ;;
6168
6169  # This is an error.
6170  -*) { $as_echo "$as_me: error: unrecognized option: $1
6171Try \`$0 --help' for more information." >&2
6172   { (exit 1); exit 1; }; } ;;
6173
6174  *) ac_config_targets="$ac_config_targets $1"
6175     ac_need_defaults=false ;;
6176
6177  esac
6178  shift
6179done
6180
6181ac_configure_extra_args=
6182
6183if $ac_cs_silent; then
6184  exec 6>/dev/null
6185  ac_configure_extra_args="$ac_configure_extra_args --silent"
6186fi
6187
6188_ACEOF
6189cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6190if \$ac_cs_recheck; then
6191  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6192  shift
6193  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6194  CONFIG_SHELL='$SHELL'
6195  export CONFIG_SHELL
6196  exec "\$@"
6197fi
6198
6199_ACEOF
6200cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6201exec 5>>config.log
6202{
6203  echo
6204  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6205## Running $as_me. ##
6206_ASBOX
6207  $as_echo "$ac_log"
6208} >&5
6209
6210_ACEOF
6211cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6212#
6213# INIT-COMMANDS
6214#
6215AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6216
6217_ACEOF
6218
6219cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6220
6221# Handling of arguments.
6222for ac_config_target in $ac_config_targets
6223do
6224  case $ac_config_target in
6225    "makedepend-config.h") CONFIG_HEADERS="$CONFIG_HEADERS makedepend-config.h" ;;
6226    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6227    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6228
6229  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6230$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6231   { (exit 1); exit 1; }; };;
6232  esac
6233done
6234
6235
6236# If the user did not use the arguments to specify the items to instantiate,
6237# then the envvar interface is used.  Set only those that are not.
6238# We use the long form for the default assignment because of an extremely
6239# bizarre bug on SunOS 4.1.3.
6240if $ac_need_defaults; then
6241  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6242  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6243  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6244fi
6245
6246# Have a temporary directory for convenience.  Make it in the build tree
6247# simply because there is no reason against having it here, and in addition,
6248# creating and moving files from /tmp can sometimes cause problems.
6249# Hook for its removal unless debugging.
6250# Note that there is a small window in which the directory will not be cleaned:
6251# after its creation but before its name has been assigned to `$tmp'.
6252$debug ||
6253{
6254  tmp=
6255  trap 'exit_status=$?
6256  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6257' 0
6258  trap '{ (exit 1); exit 1; }' 1 2 13 15
6259}
6260# Create a (secure) tmp directory for tmp files.
6261
6262{
6263  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6264  test -n "$tmp" && test -d "$tmp"
6265}  ||
6266{
6267  tmp=./conf$$-$RANDOM
6268  (umask 077 && mkdir "$tmp")
6269} ||
6270{
6271   $as_echo "$as_me: cannot create a temporary directory in ." >&2
6272   { (exit 1); exit 1; }
6273}
6274
6275# Set up the scripts for CONFIG_FILES section.
6276# No need to generate them if there are no CONFIG_FILES.
6277# This happens for instance with `./config.status config.h'.
6278if test -n "$CONFIG_FILES"; then
6279
6280
6281ac_cr='
6282'
6283ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6284if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6285  ac_cs_awk_cr='\\r'
6286else
6287  ac_cs_awk_cr=$ac_cr
6288fi
6289
6290echo 'BEGIN {' >"$tmp/subs1.awk" &&
6291_ACEOF
6292
6293
6294{
6295  echo "cat >conf$$subs.awk <<_ACEOF" &&
6296  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6297  echo "_ACEOF"
6298} >conf$$subs.sh ||
6299  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6300$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6301   { (exit 1); exit 1; }; }
6302ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6303ac_delim='%!_!# '
6304for ac_last_try in false false false false false :; do
6305  . ./conf$$subs.sh ||
6306    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6307$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6308   { (exit 1); exit 1; }; }
6309
6310  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6311  if test $ac_delim_n = $ac_delim_num; then
6312    break
6313  elif $ac_last_try; then
6314    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6315$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6316   { (exit 1); exit 1; }; }
6317  else
6318    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6319  fi
6320done
6321rm -f conf$$subs.sh
6322
6323cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6324cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6325_ACEOF
6326sed -n '
6327h
6328s/^/S["/; s/!.*/"]=/
6329p
6330g
6331s/^[^!]*!//
6332:repl
6333t repl
6334s/'"$ac_delim"'$//
6335t delim
6336:nl
6337h
6338s/\(.\{148\}\).*/\1/
6339t more1
6340s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6341p
6342n
6343b repl
6344:more1
6345s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6346p
6347g
6348s/.\{148\}//
6349t nl
6350:delim
6351h
6352s/\(.\{148\}\).*/\1/
6353t more2
6354s/["\\]/\\&/g; s/^/"/; s/$/"/
6355p
6356b
6357:more2
6358s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6359p
6360g
6361s/.\{148\}//
6362t delim
6363' <conf$$subs.awk | sed '
6364/^[^""]/{
6365  N
6366  s/\n//
6367}
6368' >>$CONFIG_STATUS || ac_write_fail=1
6369rm -f conf$$subs.awk
6370cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6371_ACAWK
6372cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6373  for (key in S) S_is_set[key] = 1
6374  FS = ""
6375
6376}
6377{
6378  line = $ 0
6379  nfields = split(line, field, "@")
6380  substed = 0
6381  len = length(field[1])
6382  for (i = 2; i < nfields; i++) {
6383    key = field[i]
6384    keylen = length(key)
6385    if (S_is_set[key]) {
6386      value = S[key]
6387      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6388      len += length(value) + length(field[++i])
6389      substed = 1
6390    } else
6391      len += 1 + keylen
6392  }
6393
6394  print line
6395}
6396
6397_ACAWK
6398_ACEOF
6399cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6400if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6401  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6402else
6403  cat
6404fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6405  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6406$as_echo "$as_me: error: could not setup config files machinery" >&2;}
6407   { (exit 1); exit 1; }; }
6408_ACEOF
6409
6410# VPATH may cause trouble with some makes, so we remove $(srcdir),
6411# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6412# trailing colons and then remove the whole line if VPATH becomes empty
6413# (actually we leave an empty line to preserve line numbers).
6414if test "x$srcdir" = x.; then
6415  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
6416s/:*\$(srcdir):*/:/
6417s/:*\${srcdir}:*/:/
6418s/:*@srcdir@:*/:/
6419s/^\([^=]*=[	 ]*\):*/\1/
6420s/:*$//
6421s/^[^=]*=[	 ]*$//
6422}'
6423fi
6424
6425cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6426fi # test -n "$CONFIG_FILES"
6427
6428# Set up the scripts for CONFIG_HEADERS section.
6429# No need to generate them if there are no CONFIG_HEADERS.
6430# This happens for instance with `./config.status Makefile'.
6431if test -n "$CONFIG_HEADERS"; then
6432cat >"$tmp/defines.awk" <<\_ACAWK ||
6433BEGIN {
6434_ACEOF
6435
6436# Transform confdefs.h into an awk script `defines.awk', embedded as
6437# here-document in config.status, that substitutes the proper values into
6438# config.h.in to produce config.h.
6439
6440# Create a delimiter string that does not exist in confdefs.h, to ease
6441# handling of long lines.
6442ac_delim='%!_!# '
6443for ac_last_try in false false :; do
6444  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6445  if test -z "$ac_t"; then
6446    break
6447  elif $ac_last_try; then
6448    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6449$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6450   { (exit 1); exit 1; }; }
6451  else
6452    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6453  fi
6454done
6455
6456# For the awk script, D is an array of macro values keyed by name,
6457# likewise P contains macro parameters if any.  Preserve backslash
6458# newline sequences.
6459
6460ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6461sed -n '
6462s/.\{148\}/&'"$ac_delim"'/g
6463t rset
6464:rset
6465s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
6466t def
6467d
6468:def
6469s/\\$//
6470t bsnl
6471s/["\\]/\\&/g
6472s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6473D["\1"]=" \3"/p
6474s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
6475d
6476:bsnl
6477s/["\\]/\\&/g
6478s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
6479D["\1"]=" \3\\\\\\n"\\/p
6480t cont
6481s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6482t cont
6483d
6484:cont
6485n
6486s/.\{148\}/&'"$ac_delim"'/g
6487t clear
6488:clear
6489s/\\$//
6490t bsnlc
6491s/["\\]/\\&/g; s/^/"/; s/$/"/p
6492d
6493:bsnlc
6494s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6495b cont
6496' <confdefs.h | sed '
6497s/'"$ac_delim"'/"\\\
6498"/g' >>$CONFIG_STATUS || ac_write_fail=1
6499
6500cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6501  for (key in D) D_is_set[key] = 1
6502  FS = ""
6503}
6504/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6505  line = \$ 0
6506  split(line, arg, " ")
6507  if (arg[1] == "#") {
6508    defundef = arg[2]
6509    mac1 = arg[3]
6510  } else {
6511    defundef = substr(arg[1], 2)
6512    mac1 = arg[2]
6513  }
6514  split(mac1, mac2, "(") #)
6515  macro = mac2[1]
6516  prefix = substr(line, 1, index(line, defundef) - 1)
6517  if (D_is_set[macro]) {
6518    # Preserve the white space surrounding the "#".
6519    print prefix "define", macro P[macro] D[macro]
6520    next
6521  } else {
6522    # Replace #undef with comments.  This is necessary, for example,
6523    # in the case of _POSIX_SOURCE, which is predefined and required
6524    # on some systems where configure will not decide to define it.
6525    if (defundef == "undef") {
6526      print "/*", prefix defundef, macro, "*/"
6527      next
6528    }
6529  }
6530}
6531{ print }
6532_ACAWK
6533_ACEOF
6534cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6535  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6536$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6537   { (exit 1); exit 1; }; }
6538fi # test -n "$CONFIG_HEADERS"
6539
6540
6541eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6542shift
6543for ac_tag
6544do
6545  case $ac_tag in
6546  :[FHLC]) ac_mode=$ac_tag; continue;;
6547  esac
6548  case $ac_mode$ac_tag in
6549  :[FHL]*:*);;
6550  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6551$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6552   { (exit 1); exit 1; }; };;
6553  :[FH]-) ac_tag=-:-;;
6554  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6555  esac
6556  ac_save_IFS=$IFS
6557  IFS=:
6558  set x $ac_tag
6559  IFS=$ac_save_IFS
6560  shift
6561  ac_file=$1
6562  shift
6563
6564  case $ac_mode in
6565  :L) ac_source=$1;;
6566  :[FH])
6567    ac_file_inputs=
6568    for ac_f
6569    do
6570      case $ac_f in
6571      -) ac_f="$tmp/stdin";;
6572      *) # Look for the file first in the build tree, then in the source tree
6573	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
6574	 # because $ac_f cannot contain `:'.
6575	 test -f "$ac_f" ||
6576	   case $ac_f in
6577	   [\\/$]*) false;;
6578	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6579	   esac ||
6580	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6581$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6582   { (exit 1); exit 1; }; };;
6583      esac
6584      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6585      ac_file_inputs="$ac_file_inputs '$ac_f'"
6586    done
6587
6588    # Let's still pretend it is `configure' which instantiates (i.e., don't
6589    # use $as_me), people would be surprised to read:
6590    #    /* config.h.  Generated by config.status.  */
6591    configure_input='Generated from '`
6592	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6593	`' by configure.'
6594    if test x"$ac_file" != x-; then
6595      configure_input="$ac_file.  $configure_input"
6596      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6597$as_echo "$as_me: creating $ac_file" >&6;}
6598    fi
6599    # Neutralize special characters interpreted by sed in replacement strings.
6600    case $configure_input in #(
6601    *\&* | *\|* | *\\* )
6602       ac_sed_conf_input=`$as_echo "$configure_input" |
6603       sed 's/[\\\\&|]/\\\\&/g'`;; #(
6604    *) ac_sed_conf_input=$configure_input;;
6605    esac
6606
6607    case $ac_tag in
6608    *:-:* | *:-) cat >"$tmp/stdin" \
6609      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6610$as_echo "$as_me: error: could not create $ac_file" >&2;}
6611   { (exit 1); exit 1; }; } ;;
6612    esac
6613    ;;
6614  esac
6615
6616  ac_dir=`$as_dirname -- "$ac_file" ||
6617$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6618	 X"$ac_file" : 'X\(//\)[^/]' \| \
6619	 X"$ac_file" : 'X\(//\)$' \| \
6620	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6621$as_echo X"$ac_file" |
6622    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6623	    s//\1/
6624	    q
6625	  }
6626	  /^X\(\/\/\)[^/].*/{
6627	    s//\1/
6628	    q
6629	  }
6630	  /^X\(\/\/\)$/{
6631	    s//\1/
6632	    q
6633	  }
6634	  /^X\(\/\).*/{
6635	    s//\1/
6636	    q
6637	  }
6638	  s/.*/./; q'`
6639  { as_dir="$ac_dir"
6640  case $as_dir in #(
6641  -*) as_dir=./$as_dir;;
6642  esac
6643  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6644    as_dirs=
6645    while :; do
6646      case $as_dir in #(
6647      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6648      *) as_qdir=$as_dir;;
6649      esac
6650      as_dirs="'$as_qdir' $as_dirs"
6651      as_dir=`$as_dirname -- "$as_dir" ||
6652$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6653	 X"$as_dir" : 'X\(//\)[^/]' \| \
6654	 X"$as_dir" : 'X\(//\)$' \| \
6655	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6656$as_echo X"$as_dir" |
6657    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6658	    s//\1/
6659	    q
6660	  }
6661	  /^X\(\/\/\)[^/].*/{
6662	    s//\1/
6663	    q
6664	  }
6665	  /^X\(\/\/\)$/{
6666	    s//\1/
6667	    q
6668	  }
6669	  /^X\(\/\).*/{
6670	    s//\1/
6671	    q
6672	  }
6673	  s/.*/./; q'`
6674      test -d "$as_dir" && break
6675    done
6676    test -z "$as_dirs" || eval "mkdir $as_dirs"
6677  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6678$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6679   { (exit 1); exit 1; }; }; }
6680  ac_builddir=.
6681
6682case "$ac_dir" in
6683.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6684*)
6685  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6686  # A ".." for each directory in $ac_dir_suffix.
6687  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6688  case $ac_top_builddir_sub in
6689  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6690  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6691  esac ;;
6692esac
6693ac_abs_top_builddir=$ac_pwd
6694ac_abs_builddir=$ac_pwd$ac_dir_suffix
6695# for backward compatibility:
6696ac_top_builddir=$ac_top_build_prefix
6697
6698case $srcdir in
6699  .)  # We are building in place.
6700    ac_srcdir=.
6701    ac_top_srcdir=$ac_top_builddir_sub
6702    ac_abs_top_srcdir=$ac_pwd ;;
6703  [\\/]* | ?:[\\/]* )  # Absolute name.
6704    ac_srcdir=$srcdir$ac_dir_suffix;
6705    ac_top_srcdir=$srcdir
6706    ac_abs_top_srcdir=$srcdir ;;
6707  *) # Relative name.
6708    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6709    ac_top_srcdir=$ac_top_build_prefix$srcdir
6710    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6711esac
6712ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6713
6714
6715  case $ac_mode in
6716  :F)
6717  #
6718  # CONFIG_FILE
6719  #
6720
6721  case $INSTALL in
6722  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6723  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6724  esac
6725  ac_MKDIR_P=$MKDIR_P
6726  case $MKDIR_P in
6727  [\\/$]* | ?:[\\/]* ) ;;
6728  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6729  esac
6730_ACEOF
6731
6732cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6733# If the template does not know about datarootdir, expand it.
6734# FIXME: This hack should be removed a few years after 2.60.
6735ac_datarootdir_hack=; ac_datarootdir_seen=
6736
6737ac_sed_dataroot='
6738/datarootdir/ {
6739  p
6740  q
6741}
6742/@datadir@/p
6743/@docdir@/p
6744/@infodir@/p
6745/@localedir@/p
6746/@mandir@/p
6747'
6748case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6749*datarootdir*) ac_datarootdir_seen=yes;;
6750*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6751  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6752$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6753_ACEOF
6754cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6755  ac_datarootdir_hack='
6756  s&@datadir@&$datadir&g
6757  s&@docdir@&$docdir&g
6758  s&@infodir@&$infodir&g
6759  s&@localedir@&$localedir&g
6760  s&@mandir@&$mandir&g
6761    s&\\\${datarootdir}&$datarootdir&g' ;;
6762esac
6763_ACEOF
6764
6765# Neutralize VPATH when `$srcdir' = `.'.
6766# Shell code in configure.ac might set extrasub.
6767# FIXME: do we really want to maintain this feature?
6768cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6769ac_sed_extra="$ac_vpsub
6770$extrasub
6771_ACEOF
6772cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6773:t
6774/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6775s|@configure_input@|$ac_sed_conf_input|;t t
6776s&@top_builddir@&$ac_top_builddir_sub&;t t
6777s&@top_build_prefix@&$ac_top_build_prefix&;t t
6778s&@srcdir@&$ac_srcdir&;t t
6779s&@abs_srcdir@&$ac_abs_srcdir&;t t
6780s&@top_srcdir@&$ac_top_srcdir&;t t
6781s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6782s&@builddir@&$ac_builddir&;t t
6783s&@abs_builddir@&$ac_abs_builddir&;t t
6784s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6785s&@INSTALL@&$ac_INSTALL&;t t
6786s&@MKDIR_P@&$ac_MKDIR_P&;t t
6787$ac_datarootdir_hack
6788"
6789eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6790  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6791$as_echo "$as_me: error: could not create $ac_file" >&2;}
6792   { (exit 1); exit 1; }; }
6793
6794test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6795  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6796  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6797  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6798which seems to be undefined.  Please make sure it is defined." >&5
6799$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6800which seems to be undefined.  Please make sure it is defined." >&2;}
6801
6802  rm -f "$tmp/stdin"
6803  case $ac_file in
6804  -) cat "$tmp/out" && rm -f "$tmp/out";;
6805  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6806  esac \
6807  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6808$as_echo "$as_me: error: could not create $ac_file" >&2;}
6809   { (exit 1); exit 1; }; }
6810 ;;
6811  :H)
6812  #
6813  # CONFIG_HEADER
6814  #
6815  if test x"$ac_file" != x-; then
6816    {
6817      $as_echo "/* $configure_input  */" \
6818      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6819    } >"$tmp/config.h" \
6820      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6821$as_echo "$as_me: error: could not create $ac_file" >&2;}
6822   { (exit 1); exit 1; }; }
6823    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6824      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6825$as_echo "$as_me: $ac_file is unchanged" >&6;}
6826    else
6827      rm -f "$ac_file"
6828      mv "$tmp/config.h" "$ac_file" \
6829	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6830$as_echo "$as_me: error: could not create $ac_file" >&2;}
6831   { (exit 1); exit 1; }; }
6832    fi
6833  else
6834    $as_echo "/* $configure_input  */" \
6835      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6836      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6837$as_echo "$as_me: error: could not create -" >&2;}
6838   { (exit 1); exit 1; }; }
6839  fi
6840# Compute "$ac_file"'s index in $config_headers.
6841_am_arg="$ac_file"
6842_am_stamp_count=1
6843for _am_header in $config_headers :; do
6844  case $_am_header in
6845    $_am_arg | $_am_arg:* )
6846      break ;;
6847    * )
6848      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6849  esac
6850done
6851echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6852$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6853	 X"$_am_arg" : 'X\(//\)[^/]' \| \
6854	 X"$_am_arg" : 'X\(//\)$' \| \
6855	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6856$as_echo X"$_am_arg" |
6857    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6858	    s//\1/
6859	    q
6860	  }
6861	  /^X\(\/\/\)[^/].*/{
6862	    s//\1/
6863	    q
6864	  }
6865	  /^X\(\/\/\)$/{
6866	    s//\1/
6867	    q
6868	  }
6869	  /^X\(\/\).*/{
6870	    s//\1/
6871	    q
6872	  }
6873	  s/.*/./; q'`/stamp-h$_am_stamp_count
6874 ;;
6875
6876  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6877$as_echo "$as_me: executing $ac_file commands" >&6;}
6878 ;;
6879  esac
6880
6881
6882  case $ac_file$ac_mode in
6883    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6884  # Autoconf 2.62 quotes --file arguments for eval, but not when files
6885  # are listed without --file.  Let's play safe and only enable the eval
6886  # if we detect the quoting.
6887  case $CONFIG_FILES in
6888  *\'*) eval set x "$CONFIG_FILES" ;;
6889  *)   set x $CONFIG_FILES ;;
6890  esac
6891  shift
6892  for mf
6893  do
6894    # Strip MF so we end up with the name of the file.
6895    mf=`echo "$mf" | sed -e 's/:.*$//'`
6896    # Check whether this is an Automake generated Makefile or not.
6897    # We used to match only the files named `Makefile.in', but
6898    # some people rename them; so instead we look at the file content.
6899    # Grep'ing the first line is not enough: some people post-process
6900    # each Makefile.in and add a new line on top of each file to say so.
6901    # Grep'ing the whole file is not good either: AIX grep has a line
6902    # limit of 2048, but all sed's we know have understand at least 4000.
6903    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6904      dirpart=`$as_dirname -- "$mf" ||
6905$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6906	 X"$mf" : 'X\(//\)[^/]' \| \
6907	 X"$mf" : 'X\(//\)$' \| \
6908	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6909$as_echo X"$mf" |
6910    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6911	    s//\1/
6912	    q
6913	  }
6914	  /^X\(\/\/\)[^/].*/{
6915	    s//\1/
6916	    q
6917	  }
6918	  /^X\(\/\/\)$/{
6919	    s//\1/
6920	    q
6921	  }
6922	  /^X\(\/\).*/{
6923	    s//\1/
6924	    q
6925	  }
6926	  s/.*/./; q'`
6927    else
6928      continue
6929    fi
6930    # Extract the definition of DEPDIR, am__include, and am__quote
6931    # from the Makefile without running `make'.
6932    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6933    test -z "$DEPDIR" && continue
6934    am__include=`sed -n 's/^am__include = //p' < "$mf"`
6935    test -z "am__include" && continue
6936    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6937    # When using ansi2knr, U may be empty or an underscore; expand it
6938    U=`sed -n 's/^U = //p' < "$mf"`
6939    # Find all dependency output files, they are included files with
6940    # $(DEPDIR) in their names.  We invoke sed twice because it is the
6941    # simplest approach to changing $(DEPDIR) to its actual value in the
6942    # expansion.
6943    for file in `sed -n "
6944      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6945	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6946      # Make sure the directory exists.
6947      test -f "$dirpart/$file" && continue
6948      fdir=`$as_dirname -- "$file" ||
6949$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6950	 X"$file" : 'X\(//\)[^/]' \| \
6951	 X"$file" : 'X\(//\)$' \| \
6952	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6953$as_echo X"$file" |
6954    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6955	    s//\1/
6956	    q
6957	  }
6958	  /^X\(\/\/\)[^/].*/{
6959	    s//\1/
6960	    q
6961	  }
6962	  /^X\(\/\/\)$/{
6963	    s//\1/
6964	    q
6965	  }
6966	  /^X\(\/\).*/{
6967	    s//\1/
6968	    q
6969	  }
6970	  s/.*/./; q'`
6971      { as_dir=$dirpart/$fdir
6972  case $as_dir in #(
6973  -*) as_dir=./$as_dir;;
6974  esac
6975  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6976    as_dirs=
6977    while :; do
6978      case $as_dir in #(
6979      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6980      *) as_qdir=$as_dir;;
6981      esac
6982      as_dirs="'$as_qdir' $as_dirs"
6983      as_dir=`$as_dirname -- "$as_dir" ||
6984$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6985	 X"$as_dir" : 'X\(//\)[^/]' \| \
6986	 X"$as_dir" : 'X\(//\)$' \| \
6987	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6988$as_echo X"$as_dir" |
6989    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6990	    s//\1/
6991	    q
6992	  }
6993	  /^X\(\/\/\)[^/].*/{
6994	    s//\1/
6995	    q
6996	  }
6997	  /^X\(\/\/\)$/{
6998	    s//\1/
6999	    q
7000	  }
7001	  /^X\(\/\).*/{
7002	    s//\1/
7003	    q
7004	  }
7005	  s/.*/./; q'`
7006      test -d "$as_dir" && break
7007    done
7008    test -z "$as_dirs" || eval "mkdir $as_dirs"
7009  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7010$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7011   { (exit 1); exit 1; }; }; }
7012      # echo "creating $dirpart/$file"
7013      echo '# dummy' > "$dirpart/$file"
7014    done
7015  done
7016}
7017 ;;
7018
7019  esac
7020done # for ac_tag
7021
7022
7023{ (exit 0); exit 0; }
7024_ACEOF
7025chmod +x $CONFIG_STATUS
7026ac_clean_files=$ac_clean_files_save
7027
7028test $ac_write_fail = 0 ||
7029  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7030$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7031   { (exit 1); exit 1; }; }
7032
7033
7034# configure is writing to config.log, and then calls config.status.
7035# config.status does its own redirection, appending to config.log.
7036# Unfortunately, on DOS this fails, as config.log is still kept open
7037# by configure, so config.status won't be able to write to it; its
7038# output is simply discarded.  So we exec the FD to /dev/null,
7039# effectively closing config.log, so it can be properly (re)opened and
7040# appended to by config.status.  When coming back to configure, we
7041# need to make the FD available again.
7042if test "$no_create" != yes; then
7043  ac_cs_success=:
7044  ac_config_status_args=
7045  test "$silent" = yes &&
7046    ac_config_status_args="$ac_config_status_args --quiet"
7047  exec 5>/dev/null
7048  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7049  exec 5>>config.log
7050  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7051  # would make configure fail if this is the last instruction.
7052  $ac_cs_success || { (exit 1); exit 1; }
7053fi
7054if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7055  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7056$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7057fi
7058
7059