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