1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1"
200  if (eval "$as_required") 2>/dev/null; then :
201  as_have_required=yes
202else
203  as_have_required=no
204fi
205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do
212  IFS=$as_save_IFS
213  test -z "$as_dir" && as_dir=.
214  as_found=:
215  case $as_dir in #(
216	 /*)
217	   for as_base in sh bash ksh sh5; do
218	     # Try only shells that exist, to save several forks.
219	     as_shell=$as_dir/$as_base
220	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222  CONFIG_SHELL=$as_shell as_have_required=yes
223		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  break 2
225fi
226fi
227	   done;;
228       esac
229  as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233  CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238      if test "x$CONFIG_SHELL" != x; then :
239  export CONFIG_SHELL
240             # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248  *v*x* | *x*v* ) as_opts=-vx ;;
249  *v* ) as_opts=-v ;;
250  *x* ) as_opts=-x ;;
251  * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260    if test x$as_have_required = xno; then :
261  $as_echo "$0: This script requires a shell more modern than all"
262  $as_echo "$0: the shells that I found on your system."
263  if test x${ZSH_VERSION+set} = xset ; then
264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266  else
267    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
271  fi
272  exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290  { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_fn_set_status ()
298{
299  return $1
300} # as_fn_set_status
301
302# as_fn_exit STATUS
303# -----------------
304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307  set +e
308  as_fn_set_status $1
309  exit $1
310} # as_fn_exit
311
312# as_fn_mkdir_p
313# -------------
314# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318  case $as_dir in #(
319  -*) as_dir=./$as_dir;;
320  esac
321  test -d "$as_dir" || eval $as_mkdir_p || {
322    as_dirs=
323    while :; do
324      case $as_dir in #(
325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326      *) as_qdir=$as_dir;;
327      esac
328      as_dirs="'$as_qdir' $as_dirs"
329      as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331	 X"$as_dir" : 'X\(//\)[^/]' \| \
332	 X"$as_dir" : 'X\(//\)$' \| \
333	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336	    s//\1/
337	    q
338	  }
339	  /^X\(\/\/\)[^/].*/{
340	    s//\1/
341	    q
342	  }
343	  /^X\(\/\/\)$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\).*/{
348	    s//\1/
349	    q
350	  }
351	  s/.*/./; q'`
352      test -d "$as_dir" && break
353    done
354    test -z "$as_dirs" || eval "mkdir $as_dirs"
355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365  test -f "$1" && test -x "$1"
366} # as_fn_executable_p
367# as_fn_append VAR VALUE
368# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive
372# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374  eval 'as_fn_append ()
375  {
376    eval $1+=\$2
377  }'
378else
379  as_fn_append ()
380  {
381    eval $1=\$$1\$2
382  }
383fi # as_fn_append
384
385# as_fn_arith ARG...
386# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391  eval 'as_fn_arith ()
392  {
393    as_val=$(( $* ))
394  }'
395else
396  as_fn_arith ()
397  {
398    as_val=`expr "$@" || test $? -eq 1`
399  }
400fi # as_fn_arith
401
402
403# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407# script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410  as_status=$1; test $as_status -eq 0 && as_status=1
411  if test "$4"; then
412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414  fi
415  $as_echo "$as_me: error: $2" >&2
416  as_fn_exit $as_status
417} # as_fn_error
418
419if expr a : '\(a\)' >/dev/null 2>&1 &&
420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
421  as_expr=expr
422else
423  as_expr=false
424fi
425
426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427  as_basename=basename
428else
429  as_basename=false
430fi
431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433  as_dirname=dirname
434else
435  as_dirname=false
436fi
437
438as_me=`$as_basename -- "$0" ||
439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440	 X"$0" : 'X\(//\)$' \| \
441	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442$as_echo X/"$0" |
443    sed '/^.*\/\([^/][^/]*\)\/*$/{
444	    s//\1/
445	    q
446	  }
447	  /^X\/\(\/\/\)$/{
448	    s//\1/
449	    q
450	  }
451	  /^X\/\(\/\).*/{
452	    s//\1/
453	    q
454	  }
455	  s/.*/./; q'`
456
457# Avoid depending upon Character Ranges.
458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
470  sed -n '
471    p
472    /[$]LINENO/=
473  ' <$as_myself |
474    sed '
475      s/[$]LINENO.*/&-/
476      t lineno
477      b
478      :lineno
479      N
480      :loop
481      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482      t loop
483      s/-\n.*//
484    ' >$as_me.lineno &&
485  chmod +x "$as_me.lineno" ||
486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489  # already done that, so ensure we don't try to do so again and fall
490  # in an infinite loop.  This has already happened in practice.
491  _as_can_reexec=no; export _as_can_reexec
492  # Don't try to exec as it changes $[0], causing all sort of problems
493  # (the dirname of $[0] is not the place where we might find the
494  # original and so on.  Autoconf is especially sensitive to this).
495  . "./$as_me.lineno"
496  # Exit status is that of the last command.
497  exit
498}
499
500ECHO_C= ECHO_N= ECHO_T=
501case `echo -n x` in #(((((
502-n*)
503  case `echo 'xy\c'` in
504  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
505  xy)  ECHO_C='\c';;
506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507       ECHO_T='	';;
508  esac;;
509*)
510  ECHO_N='-n';;
511esac
512
513rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then
515  rm -f conf$$.dir/conf$$.file
516else
517  rm -f conf$$.dir
518  mkdir conf$$.dir 2>/dev/null
519fi
520if (echo >conf$$.file) 2>/dev/null; then
521  if ln -s conf$$.file conf$$ 2>/dev/null; then
522    as_ln_s='ln -s'
523    # ... but there are two gotchas:
524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526    # In both cases, we have to default to `cp -pR'.
527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528      as_ln_s='cp -pR'
529  elif ln conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s=ln
531  else
532    as_ln_s='cp -pR'
533  fi
534else
535  as_ln_s='cp -pR'
536fi
537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538rmdir conf$$.dir 2>/dev/null
539
540if mkdir -p . 2>/dev/null; then
541  as_mkdir_p='mkdir -p "$as_dir"'
542else
543  test -d ./-p && rmdir ./-p
544  as_mkdir_p=false
545fi
546
547as_test_x='test -x'
548as_executable_p=as_fn_executable_p
549
550# Sed expression to map a string onto a valid CPP name.
551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553# Sed expression to map a string onto a valid variable name.
554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 6>&1
559
560# Name of the host.
561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562# so uname gets run too.
563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565#
566# Initializations.
567#
568ac_default_prefix=/usr/local
569ac_clean_files=
570ac_config_libobj_dir=.
571LIBOBJS=
572cross_compiling=no
573subdirs=
574MFLAGS=
575MAKEFLAGS=
576
577# Identity of this package.
578PACKAGE_NAME=
579PACKAGE_TARNAME=
580PACKAGE_VERSION=
581PACKAGE_STRING=
582PACKAGE_BUGREPORT=
583PACKAGE_URL=
584
585ac_unique_file="./mod_snmp.c"
586# Factoring default headers for most tests.
587ac_includes_default="\
588#include <stdio.h>
589#ifdef HAVE_SYS_TYPES_H
590# include <sys/types.h>
591#endif
592#ifdef HAVE_SYS_STAT_H
593# include <sys/stat.h>
594#endif
595#ifdef STDC_HEADERS
596# include <stdlib.h>
597# include <stddef.h>
598#else
599# ifdef HAVE_STDLIB_H
600#  include <stdlib.h>
601# endif
602#endif
603#ifdef HAVE_STRING_H
604# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605#  include <memory.h>
606# endif
607# include <string.h>
608#endif
609#ifdef HAVE_STRINGS_H
610# include <strings.h>
611#endif
612#ifdef HAVE_INTTYPES_H
613# include <inttypes.h>
614#endif
615#ifdef HAVE_STDINT_H
616# include <stdint.h>
617#endif
618#ifdef HAVE_UNISTD_H
619# include <unistd.h>
620#endif"
621
622ac_subst_vars='LTLIBOBJS
623LIBOBJS
624INCLUDES
625EGREP
626GREP
627CPP
628OBJEXT
629EXEEXT
630ac_ct_CC
631CPPFLAGS
632LDFLAGS
633CFLAGS
634CC
635target_os
636target_vendor
637target_cpu
638target
639host_os
640host_vendor
641host_cpu
642host
643build_os
644build_vendor
645build_cpu
646build
647target_alias
648host_alias
649build_alias
650LIBS
651ECHO_T
652ECHO_N
653ECHO_C
654DEFS
655mandir
656localedir
657libdir
658psdir
659pdfdir
660dvidir
661htmldir
662infodir
663docdir
664oldincludedir
665includedir
666localstatedir
667sharedstatedir
668sysconfdir
669datadir
670datarootdir
671libexecdir
672sbindir
673bindir
674program_transform_name
675prefix
676exec_prefix
677PACKAGE_URL
678PACKAGE_BUGREPORT
679PACKAGE_STRING
680PACKAGE_VERSION
681PACKAGE_TARNAME
682PACKAGE_NAME
683PATH_SEPARATOR
684SHELL'
685ac_subst_files=''
686ac_user_opts='
687enable_option_checking
688with_includes
689with_libraries
690'
691      ac_precious_vars='build_alias
692host_alias
693target_alias
694CC
695CFLAGS
696LDFLAGS
697LIBS
698CPPFLAGS
699CPP'
700
701
702# Initialize some variables set by options.
703ac_init_help=
704ac_init_version=false
705ac_unrecognized_opts=
706ac_unrecognized_sep=
707# The variables have the same names as the options, with
708# dashes changed to underlines.
709cache_file=/dev/null
710exec_prefix=NONE
711no_create=
712no_recursion=
713prefix=NONE
714program_prefix=NONE
715program_suffix=NONE
716program_transform_name=s,x,x,
717silent=
718site=
719srcdir=
720verbose=
721x_includes=NONE
722x_libraries=NONE
723
724# Installation directory options.
725# These are left unexpanded so users can "make install exec_prefix=/foo"
726# and all the variables that are supposed to be based on exec_prefix
727# by default will actually change.
728# Use braces instead of parens because sh, perl, etc. also accept them.
729# (The list follows the same order as the GNU Coding Standards.)
730bindir='${exec_prefix}/bin'
731sbindir='${exec_prefix}/sbin'
732libexecdir='${exec_prefix}/libexec'
733datarootdir='${prefix}/share'
734datadir='${datarootdir}'
735sysconfdir='${prefix}/etc'
736sharedstatedir='${prefix}/com'
737localstatedir='${prefix}/var'
738includedir='${prefix}/include'
739oldincludedir='/usr/include'
740docdir='${datarootdir}/doc/${PACKAGE}'
741infodir='${datarootdir}/info'
742htmldir='${docdir}'
743dvidir='${docdir}'
744pdfdir='${docdir}'
745psdir='${docdir}'
746libdir='${exec_prefix}/lib'
747localedir='${datarootdir}/locale'
748mandir='${datarootdir}/man'
749
750ac_prev=
751ac_dashdash=
752for ac_option
753do
754  # If the previous option needs an argument, assign it.
755  if test -n "$ac_prev"; then
756    eval $ac_prev=\$ac_option
757    ac_prev=
758    continue
759  fi
760
761  case $ac_option in
762  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
763  *=)   ac_optarg= ;;
764  *)    ac_optarg=yes ;;
765  esac
766
767  # Accept the important Cygnus configure options, so we can diagnose typos.
768
769  case $ac_dashdash$ac_option in
770  --)
771    ac_dashdash=yes ;;
772
773  -bindir | --bindir | --bindi | --bind | --bin | --bi)
774    ac_prev=bindir ;;
775  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
776    bindir=$ac_optarg ;;
777
778  -build | --build | --buil | --bui | --bu)
779    ac_prev=build_alias ;;
780  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
781    build_alias=$ac_optarg ;;
782
783  -cache-file | --cache-file | --cache-fil | --cache-fi \
784  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
785    ac_prev=cache_file ;;
786  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
787  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
788    cache_file=$ac_optarg ;;
789
790  --config-cache | -C)
791    cache_file=config.cache ;;
792
793  -datadir | --datadir | --datadi | --datad)
794    ac_prev=datadir ;;
795  -datadir=* | --datadir=* | --datadi=* | --datad=*)
796    datadir=$ac_optarg ;;
797
798  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
799  | --dataroo | --dataro | --datar)
800    ac_prev=datarootdir ;;
801  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
802  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
803    datarootdir=$ac_optarg ;;
804
805  -disable-* | --disable-*)
806    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
807    # Reject names that are not valid shell variable names.
808    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
809      as_fn_error $? "invalid feature name: $ac_useropt"
810    ac_useropt_orig=$ac_useropt
811    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
812    case $ac_user_opts in
813      *"
814"enable_$ac_useropt"
815"*) ;;
816      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
817	 ac_unrecognized_sep=', ';;
818    esac
819    eval enable_$ac_useropt=no ;;
820
821  -docdir | --docdir | --docdi | --doc | --do)
822    ac_prev=docdir ;;
823  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
824    docdir=$ac_optarg ;;
825
826  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827    ac_prev=dvidir ;;
828  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
829    dvidir=$ac_optarg ;;
830
831  -enable-* | --enable-*)
832    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833    # Reject names that are not valid shell variable names.
834    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
835      as_fn_error $? "invalid feature name: $ac_useropt"
836    ac_useropt_orig=$ac_useropt
837    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
838    case $ac_user_opts in
839      *"
840"enable_$ac_useropt"
841"*) ;;
842      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
843	 ac_unrecognized_sep=', ';;
844    esac
845    eval enable_$ac_useropt=\$ac_optarg ;;
846
847  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
848  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
849  | --exec | --exe | --ex)
850    ac_prev=exec_prefix ;;
851  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
852  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
853  | --exec=* | --exe=* | --ex=*)
854    exec_prefix=$ac_optarg ;;
855
856  -gas | --gas | --ga | --g)
857    # Obsolete; use --with-gas.
858    with_gas=yes ;;
859
860  -help | --help | --hel | --he | -h)
861    ac_init_help=long ;;
862  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
863    ac_init_help=recursive ;;
864  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
865    ac_init_help=short ;;
866
867  -host | --host | --hos | --ho)
868    ac_prev=host_alias ;;
869  -host=* | --host=* | --hos=* | --ho=*)
870    host_alias=$ac_optarg ;;
871
872  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
873    ac_prev=htmldir ;;
874  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
875  | --ht=*)
876    htmldir=$ac_optarg ;;
877
878  -includedir | --includedir | --includedi | --included | --include \
879  | --includ | --inclu | --incl | --inc)
880    ac_prev=includedir ;;
881  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
882  | --includ=* | --inclu=* | --incl=* | --inc=*)
883    includedir=$ac_optarg ;;
884
885  -infodir | --infodir | --infodi | --infod | --info | --inf)
886    ac_prev=infodir ;;
887  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
888    infodir=$ac_optarg ;;
889
890  -libdir | --libdir | --libdi | --libd)
891    ac_prev=libdir ;;
892  -libdir=* | --libdir=* | --libdi=* | --libd=*)
893    libdir=$ac_optarg ;;
894
895  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
896  | --libexe | --libex | --libe)
897    ac_prev=libexecdir ;;
898  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
899  | --libexe=* | --libex=* | --libe=*)
900    libexecdir=$ac_optarg ;;
901
902  -localedir | --localedir | --localedi | --localed | --locale)
903    ac_prev=localedir ;;
904  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
905    localedir=$ac_optarg ;;
906
907  -localstatedir | --localstatedir | --localstatedi | --localstated \
908  | --localstate | --localstat | --localsta | --localst | --locals)
909    ac_prev=localstatedir ;;
910  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
911  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
912    localstatedir=$ac_optarg ;;
913
914  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
915    ac_prev=mandir ;;
916  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
917    mandir=$ac_optarg ;;
918
919  -nfp | --nfp | --nf)
920    # Obsolete; use --without-fp.
921    with_fp=no ;;
922
923  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
924  | --no-cr | --no-c | -n)
925    no_create=yes ;;
926
927  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
928  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
929    no_recursion=yes ;;
930
931  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
932  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
933  | --oldin | --oldi | --old | --ol | --o)
934    ac_prev=oldincludedir ;;
935  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
936  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
937  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
938    oldincludedir=$ac_optarg ;;
939
940  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
941    ac_prev=prefix ;;
942  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
943    prefix=$ac_optarg ;;
944
945  -program-prefix | --program-prefix | --program-prefi | --program-pref \
946  | --program-pre | --program-pr | --program-p)
947    ac_prev=program_prefix ;;
948  -program-prefix=* | --program-prefix=* | --program-prefi=* \
949  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
950    program_prefix=$ac_optarg ;;
951
952  -program-suffix | --program-suffix | --program-suffi | --program-suff \
953  | --program-suf | --program-su | --program-s)
954    ac_prev=program_suffix ;;
955  -program-suffix=* | --program-suffix=* | --program-suffi=* \
956  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
957    program_suffix=$ac_optarg ;;
958
959  -program-transform-name | --program-transform-name \
960  | --program-transform-nam | --program-transform-na \
961  | --program-transform-n | --program-transform- \
962  | --program-transform | --program-transfor \
963  | --program-transfo | --program-transf \
964  | --program-trans | --program-tran \
965  | --progr-tra | --program-tr | --program-t)
966    ac_prev=program_transform_name ;;
967  -program-transform-name=* | --program-transform-name=* \
968  | --program-transform-nam=* | --program-transform-na=* \
969  | --program-transform-n=* | --program-transform-=* \
970  | --program-transform=* | --program-transfor=* \
971  | --program-transfo=* | --program-transf=* \
972  | --program-trans=* | --program-tran=* \
973  | --progr-tra=* | --program-tr=* | --program-t=*)
974    program_transform_name=$ac_optarg ;;
975
976  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
977    ac_prev=pdfdir ;;
978  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
979    pdfdir=$ac_optarg ;;
980
981  -psdir | --psdir | --psdi | --psd | --ps)
982    ac_prev=psdir ;;
983  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
984    psdir=$ac_optarg ;;
985
986  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
987  | -silent | --silent | --silen | --sile | --sil)
988    silent=yes ;;
989
990  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
991    ac_prev=sbindir ;;
992  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
993  | --sbi=* | --sb=*)
994    sbindir=$ac_optarg ;;
995
996  -sharedstatedir | --sharedstatedir | --sharedstatedi \
997  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
998  | --sharedst | --shareds | --shared | --share | --shar \
999  | --sha | --sh)
1000    ac_prev=sharedstatedir ;;
1001  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1002  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1003  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1004  | --sha=* | --sh=*)
1005    sharedstatedir=$ac_optarg ;;
1006
1007  -site | --site | --sit)
1008    ac_prev=site ;;
1009  -site=* | --site=* | --sit=*)
1010    site=$ac_optarg ;;
1011
1012  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1013    ac_prev=srcdir ;;
1014  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1015    srcdir=$ac_optarg ;;
1016
1017  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1018  | --syscon | --sysco | --sysc | --sys | --sy)
1019    ac_prev=sysconfdir ;;
1020  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1021  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1022    sysconfdir=$ac_optarg ;;
1023
1024  -target | --target | --targe | --targ | --tar | --ta | --t)
1025    ac_prev=target_alias ;;
1026  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1027    target_alias=$ac_optarg ;;
1028
1029  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1030    verbose=yes ;;
1031
1032  -version | --version | --versio | --versi | --vers | -V)
1033    ac_init_version=: ;;
1034
1035  -with-* | --with-*)
1036    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037    # Reject names that are not valid shell variable names.
1038    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039      as_fn_error $? "invalid package name: $ac_useropt"
1040    ac_useropt_orig=$ac_useropt
1041    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042    case $ac_user_opts in
1043      *"
1044"with_$ac_useropt"
1045"*) ;;
1046      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1047	 ac_unrecognized_sep=', ';;
1048    esac
1049    eval with_$ac_useropt=\$ac_optarg ;;
1050
1051  -without-* | --without-*)
1052    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053    # Reject names that are not valid shell variable names.
1054    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055      as_fn_error $? "invalid package name: $ac_useropt"
1056    ac_useropt_orig=$ac_useropt
1057    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058    case $ac_user_opts in
1059      *"
1060"with_$ac_useropt"
1061"*) ;;
1062      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1063	 ac_unrecognized_sep=', ';;
1064    esac
1065    eval with_$ac_useropt=no ;;
1066
1067  --x)
1068    # Obsolete; use --with-x.
1069    with_x=yes ;;
1070
1071  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1072  | --x-incl | --x-inc | --x-in | --x-i)
1073    ac_prev=x_includes ;;
1074  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1075  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1076    x_includes=$ac_optarg ;;
1077
1078  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1079  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1080    ac_prev=x_libraries ;;
1081  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1082  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1083    x_libraries=$ac_optarg ;;
1084
1085  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1086Try \`$0 --help' for more information"
1087    ;;
1088
1089  *=*)
1090    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1091    # Reject names that are not valid shell variable names.
1092    case $ac_envvar in #(
1093      '' | [0-9]* | *[!_$as_cr_alnum]* )
1094      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1095    esac
1096    eval $ac_envvar=\$ac_optarg
1097    export $ac_envvar ;;
1098
1099  *)
1100    # FIXME: should be removed in autoconf 3.0.
1101    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1102    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1105    ;;
1106
1107  esac
1108done
1109
1110if test -n "$ac_prev"; then
1111  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1112  as_fn_error $? "missing argument to $ac_option"
1113fi
1114
1115if test -n "$ac_unrecognized_opts"; then
1116  case $enable_option_checking in
1117    no) ;;
1118    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1119    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1120  esac
1121fi
1122
1123# Check all directory arguments for consistency.
1124for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1125		datadir sysconfdir sharedstatedir localstatedir includedir \
1126		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1127		libdir localedir mandir
1128do
1129  eval ac_val=\$$ac_var
1130  # Remove trailing slashes.
1131  case $ac_val in
1132    */ )
1133      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1134      eval $ac_var=\$ac_val;;
1135  esac
1136  # Be sure to have absolute directory names.
1137  case $ac_val in
1138    [\\/$]* | ?:[\\/]* )  continue;;
1139    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1140  esac
1141  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1142done
1143
1144# There might be people who depend on the old broken behavior: `$host'
1145# used to hold the argument of --host etc.
1146# FIXME: To remove some day.
1147build=$build_alias
1148host=$host_alias
1149target=$target_alias
1150
1151# FIXME: To remove some day.
1152if test "x$host_alias" != x; then
1153  if test "x$build_alias" = x; then
1154    cross_compiling=maybe
1155  elif test "x$build_alias" != "x$host_alias"; then
1156    cross_compiling=yes
1157  fi
1158fi
1159
1160ac_tool_prefix=
1161test -n "$host_alias" && ac_tool_prefix=$host_alias-
1162
1163test "$silent" = yes && exec 6>/dev/null
1164
1165
1166ac_pwd=`pwd` && test -n "$ac_pwd" &&
1167ac_ls_di=`ls -di .` &&
1168ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1169  as_fn_error $? "working directory cannot be determined"
1170test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1171  as_fn_error $? "pwd does not report name of working directory"
1172
1173
1174# Find the source files, if location was not specified.
1175if test -z "$srcdir"; then
1176  ac_srcdir_defaulted=yes
1177  # Try the directory containing this script, then the parent directory.
1178  ac_confdir=`$as_dirname -- "$as_myself" ||
1179$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1180	 X"$as_myself" : 'X\(//\)[^/]' \| \
1181	 X"$as_myself" : 'X\(//\)$' \| \
1182	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1183$as_echo X"$as_myself" |
1184    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1185	    s//\1/
1186	    q
1187	  }
1188	  /^X\(\/\/\)[^/].*/{
1189	    s//\1/
1190	    q
1191	  }
1192	  /^X\(\/\/\)$/{
1193	    s//\1/
1194	    q
1195	  }
1196	  /^X\(\/\).*/{
1197	    s//\1/
1198	    q
1199	  }
1200	  s/.*/./; q'`
1201  srcdir=$ac_confdir
1202  if test ! -r "$srcdir/$ac_unique_file"; then
1203    srcdir=..
1204  fi
1205else
1206  ac_srcdir_defaulted=no
1207fi
1208if test ! -r "$srcdir/$ac_unique_file"; then
1209  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1210  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1211fi
1212ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1213ac_abs_confdir=`(
1214	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1215	pwd)`
1216# When building in place, set srcdir=.
1217if test "$ac_abs_confdir" = "$ac_pwd"; then
1218  srcdir=.
1219fi
1220# Remove unnecessary trailing slashes from srcdir.
1221# Double slashes in file names in object file debugging info
1222# mess up M-x gdb in Emacs.
1223case $srcdir in
1224*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1225esac
1226for ac_var in $ac_precious_vars; do
1227  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1228  eval ac_env_${ac_var}_value=\$${ac_var}
1229  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1230  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1231done
1232
1233#
1234# Report the --help message.
1235#
1236if test "$ac_init_help" = "long"; then
1237  # Omit some internal or obsolete options to make the list less imposing.
1238  # This message is too long to be a string in the A/UX 3.1 sh.
1239  cat <<_ACEOF
1240\`configure' configures this package to adapt to many kinds of systems.
1241
1242Usage: $0 [OPTION]... [VAR=VALUE]...
1243
1244To assign environment variables (e.g., CC, CFLAGS...), specify them as
1245VAR=VALUE.  See below for descriptions of some of the useful variables.
1246
1247Defaults for the options are specified in brackets.
1248
1249Configuration:
1250  -h, --help              display this help and exit
1251      --help=short        display options specific to this package
1252      --help=recursive    display the short help of all the included packages
1253  -V, --version           display version information and exit
1254  -q, --quiet, --silent   do not print \`checking ...' messages
1255      --cache-file=FILE   cache test results in FILE [disabled]
1256  -C, --config-cache      alias for \`--cache-file=config.cache'
1257  -n, --no-create         do not create output files
1258      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1259
1260Installation directories:
1261  --prefix=PREFIX         install architecture-independent files in PREFIX
1262                          [$ac_default_prefix]
1263  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1264                          [PREFIX]
1265
1266By default, \`make install' will install all the files in
1267\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1268an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1269for instance \`--prefix=\$HOME'.
1270
1271For better control, use the options below.
1272
1273Fine tuning of the installation directories:
1274  --bindir=DIR            user executables [EPREFIX/bin]
1275  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1276  --libexecdir=DIR        program executables [EPREFIX/libexec]
1277  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1278  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1279  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1280  --libdir=DIR            object code libraries [EPREFIX/lib]
1281  --includedir=DIR        C header files [PREFIX/include]
1282  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1283  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1284  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1285  --infodir=DIR           info documentation [DATAROOTDIR/info]
1286  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1287  --mandir=DIR            man documentation [DATAROOTDIR/man]
1288  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1289  --htmldir=DIR           html documentation [DOCDIR]
1290  --dvidir=DIR            dvi documentation [DOCDIR]
1291  --pdfdir=DIR            pdf documentation [DOCDIR]
1292  --psdir=DIR             ps documentation [DOCDIR]
1293_ACEOF
1294
1295  cat <<\_ACEOF
1296
1297System types:
1298  --build=BUILD     configure for building on BUILD [guessed]
1299  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1300  --target=TARGET   configure for building compilers for TARGET [HOST]
1301_ACEOF
1302fi
1303
1304if test -n "$ac_init_help"; then
1305
1306  cat <<\_ACEOF
1307
1308Optional Packages:
1309  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1310  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1311  --with-includes=LIST    add additional include paths to proftpd. LIST is a
1312                          colon-separated list of include paths to add e.g.
1313                          --with-includes=/some/mysql/include:/my/include
1314
1315  --with-libraries=LIST   add additional library paths to proftpd. LIST is a
1316                          colon-separated list of include paths to add e.g.
1317                          --with-libraries=/some/mysql/libdir:/my/libs
1318
1319
1320Some influential environment variables:
1321  CC          C compiler command
1322  CFLAGS      C compiler flags
1323  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1324              nonstandard directory <lib dir>
1325  LIBS        libraries to pass to the linker, e.g. -l<library>
1326  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1327              you have headers in a nonstandard directory <include dir>
1328  CPP         C preprocessor
1329
1330Use these variables to override the choices made by `configure' or to help
1331it to find libraries and programs with nonstandard names/locations.
1332
1333Report bugs to the package provider.
1334_ACEOF
1335ac_status=$?
1336fi
1337
1338if test "$ac_init_help" = "recursive"; then
1339  # If there are subdirs, report their specific --help.
1340  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1341    test -d "$ac_dir" ||
1342      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1343      continue
1344    ac_builddir=.
1345
1346case "$ac_dir" in
1347.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1348*)
1349  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1350  # A ".." for each directory in $ac_dir_suffix.
1351  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1352  case $ac_top_builddir_sub in
1353  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1354  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1355  esac ;;
1356esac
1357ac_abs_top_builddir=$ac_pwd
1358ac_abs_builddir=$ac_pwd$ac_dir_suffix
1359# for backward compatibility:
1360ac_top_builddir=$ac_top_build_prefix
1361
1362case $srcdir in
1363  .)  # We are building in place.
1364    ac_srcdir=.
1365    ac_top_srcdir=$ac_top_builddir_sub
1366    ac_abs_top_srcdir=$ac_pwd ;;
1367  [\\/]* | ?:[\\/]* )  # Absolute name.
1368    ac_srcdir=$srcdir$ac_dir_suffix;
1369    ac_top_srcdir=$srcdir
1370    ac_abs_top_srcdir=$srcdir ;;
1371  *) # Relative name.
1372    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1373    ac_top_srcdir=$ac_top_build_prefix$srcdir
1374    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1375esac
1376ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1377
1378    cd "$ac_dir" || { ac_status=$?; continue; }
1379    # Check for guested configure.
1380    if test -f "$ac_srcdir/configure.gnu"; then
1381      echo &&
1382      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1383    elif test -f "$ac_srcdir/configure"; then
1384      echo &&
1385      $SHELL "$ac_srcdir/configure" --help=recursive
1386    else
1387      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1388    fi || ac_status=$?
1389    cd "$ac_pwd" || { ac_status=$?; break; }
1390  done
1391fi
1392
1393test -n "$ac_init_help" && exit $ac_status
1394if $ac_init_version; then
1395  cat <<\_ACEOF
1396configure
1397generated by GNU Autoconf 2.69
1398
1399Copyright (C) 2012 Free Software Foundation, Inc.
1400This configure script is free software; the Free Software Foundation
1401gives unlimited permission to copy, distribute and modify it.
1402_ACEOF
1403  exit
1404fi
1405
1406## ------------------------ ##
1407## Autoconf initialization. ##
1408## ------------------------ ##
1409
1410# ac_fn_c_try_compile LINENO
1411# --------------------------
1412# Try to compile conftest.$ac_ext, and return whether this succeeded.
1413ac_fn_c_try_compile ()
1414{
1415  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1416  rm -f conftest.$ac_objext
1417  if { { ac_try="$ac_compile"
1418case "(($ac_try" in
1419  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1420  *) ac_try_echo=$ac_try;;
1421esac
1422eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1423$as_echo "$ac_try_echo"; } >&5
1424  (eval "$ac_compile") 2>conftest.err
1425  ac_status=$?
1426  if test -s conftest.err; then
1427    grep -v '^ *+' conftest.err >conftest.er1
1428    cat conftest.er1 >&5
1429    mv -f conftest.er1 conftest.err
1430  fi
1431  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1432  test $ac_status = 0; } && {
1433	 test -z "$ac_c_werror_flag" ||
1434	 test ! -s conftest.err
1435       } && test -s conftest.$ac_objext; then :
1436  ac_retval=0
1437else
1438  $as_echo "$as_me: failed program was:" >&5
1439sed 's/^/| /' conftest.$ac_ext >&5
1440
1441	ac_retval=1
1442fi
1443  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1444  as_fn_set_status $ac_retval
1445
1446} # ac_fn_c_try_compile
1447
1448# ac_fn_c_try_cpp LINENO
1449# ----------------------
1450# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1451ac_fn_c_try_cpp ()
1452{
1453  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1454  if { { ac_try="$ac_cpp conftest.$ac_ext"
1455case "(($ac_try" in
1456  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1457  *) ac_try_echo=$ac_try;;
1458esac
1459eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1460$as_echo "$ac_try_echo"; } >&5
1461  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1462  ac_status=$?
1463  if test -s conftest.err; then
1464    grep -v '^ *+' conftest.err >conftest.er1
1465    cat conftest.er1 >&5
1466    mv -f conftest.er1 conftest.err
1467  fi
1468  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1469  test $ac_status = 0; } > conftest.i && {
1470	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1471	 test ! -s conftest.err
1472       }; then :
1473  ac_retval=0
1474else
1475  $as_echo "$as_me: failed program was:" >&5
1476sed 's/^/| /' conftest.$ac_ext >&5
1477
1478    ac_retval=1
1479fi
1480  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1481  as_fn_set_status $ac_retval
1482
1483} # ac_fn_c_try_cpp
1484
1485# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1486# -------------------------------------------------------
1487# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1488# the include files in INCLUDES and setting the cache variable VAR
1489# accordingly.
1490ac_fn_c_check_header_mongrel ()
1491{
1492  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493  if eval \${$3+:} false; then :
1494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1495$as_echo_n "checking for $2... " >&6; }
1496if eval \${$3+:} false; then :
1497  $as_echo_n "(cached) " >&6
1498fi
1499eval ac_res=\$$3
1500	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1501$as_echo "$ac_res" >&6; }
1502else
1503  # Is the header compilable?
1504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1505$as_echo_n "checking $2 usability... " >&6; }
1506cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1507/* end confdefs.h.  */
1508$4
1509#include <$2>
1510_ACEOF
1511if ac_fn_c_try_compile "$LINENO"; then :
1512  ac_header_compiler=yes
1513else
1514  ac_header_compiler=no
1515fi
1516rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1518$as_echo "$ac_header_compiler" >&6; }
1519
1520# Is the header present?
1521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1522$as_echo_n "checking $2 presence... " >&6; }
1523cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1524/* end confdefs.h.  */
1525#include <$2>
1526_ACEOF
1527if ac_fn_c_try_cpp "$LINENO"; then :
1528  ac_header_preproc=yes
1529else
1530  ac_header_preproc=no
1531fi
1532rm -f conftest.err conftest.i conftest.$ac_ext
1533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1534$as_echo "$ac_header_preproc" >&6; }
1535
1536# So?  What about this header?
1537case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1538  yes:no: )
1539    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1540$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1541    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1542$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1543    ;;
1544  no:yes:* )
1545    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1546$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1547    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1548$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1549    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1550$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1551    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1552$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1553    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1554$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1555    ;;
1556esac
1557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1558$as_echo_n "checking for $2... " >&6; }
1559if eval \${$3+:} false; then :
1560  $as_echo_n "(cached) " >&6
1561else
1562  eval "$3=\$ac_header_compiler"
1563fi
1564eval ac_res=\$$3
1565	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1566$as_echo "$ac_res" >&6; }
1567fi
1568  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1569
1570} # ac_fn_c_check_header_mongrel
1571
1572# ac_fn_c_try_run LINENO
1573# ----------------------
1574# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1575# that executables *can* be run.
1576ac_fn_c_try_run ()
1577{
1578  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1579  if { { ac_try="$ac_link"
1580case "(($ac_try" in
1581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1582  *) ac_try_echo=$ac_try;;
1583esac
1584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585$as_echo "$ac_try_echo"; } >&5
1586  (eval "$ac_link") 2>&5
1587  ac_status=$?
1588  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1590  { { case "(($ac_try" in
1591  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592  *) ac_try_echo=$ac_try;;
1593esac
1594eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595$as_echo "$ac_try_echo"; } >&5
1596  (eval "$ac_try") 2>&5
1597  ac_status=$?
1598  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599  test $ac_status = 0; }; }; then :
1600  ac_retval=0
1601else
1602  $as_echo "$as_me: program exited with status $ac_status" >&5
1603       $as_echo "$as_me: failed program was:" >&5
1604sed 's/^/| /' conftest.$ac_ext >&5
1605
1606       ac_retval=$ac_status
1607fi
1608  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1609  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1610  as_fn_set_status $ac_retval
1611
1612} # ac_fn_c_try_run
1613
1614# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1615# -------------------------------------------------------
1616# Tests whether HEADER exists and can be compiled using the include files in
1617# INCLUDES, setting the cache variable VAR accordingly.
1618ac_fn_c_check_header_compile ()
1619{
1620  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1622$as_echo_n "checking for $2... " >&6; }
1623if eval \${$3+:} false; then :
1624  $as_echo_n "(cached) " >&6
1625else
1626  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627/* end confdefs.h.  */
1628$4
1629#include <$2>
1630_ACEOF
1631if ac_fn_c_try_compile "$LINENO"; then :
1632  eval "$3=yes"
1633else
1634  eval "$3=no"
1635fi
1636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1637fi
1638eval ac_res=\$$3
1639	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1640$as_echo "$ac_res" >&6; }
1641  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1642
1643} # ac_fn_c_check_header_compile
1644
1645# ac_fn_c_try_link LINENO
1646# -----------------------
1647# Try to link conftest.$ac_ext, and return whether this succeeded.
1648ac_fn_c_try_link ()
1649{
1650  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651  rm -f conftest.$ac_objext conftest$ac_exeext
1652  if { { ac_try="$ac_link"
1653case "(($ac_try" in
1654  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655  *) ac_try_echo=$ac_try;;
1656esac
1657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658$as_echo "$ac_try_echo"; } >&5
1659  (eval "$ac_link") 2>conftest.err
1660  ac_status=$?
1661  if test -s conftest.err; then
1662    grep -v '^ *+' conftest.err >conftest.er1
1663    cat conftest.er1 >&5
1664    mv -f conftest.er1 conftest.err
1665  fi
1666  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667  test $ac_status = 0; } && {
1668	 test -z "$ac_c_werror_flag" ||
1669	 test ! -s conftest.err
1670       } && test -s conftest$ac_exeext && {
1671	 test "$cross_compiling" = yes ||
1672	 test -x conftest$ac_exeext
1673       }; then :
1674  ac_retval=0
1675else
1676  $as_echo "$as_me: failed program was:" >&5
1677sed 's/^/| /' conftest.$ac_ext >&5
1678
1679	ac_retval=1
1680fi
1681  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1682  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1683  # interfere with the next link command; also delete a directory that is
1684  # left behind by Apple's compiler.  We do this before executing the actions.
1685  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1686  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687  as_fn_set_status $ac_retval
1688
1689} # ac_fn_c_try_link
1690
1691# ac_fn_c_check_func LINENO FUNC VAR
1692# ----------------------------------
1693# Tests whether FUNC exists, setting the cache variable VAR accordingly
1694ac_fn_c_check_func ()
1695{
1696  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698$as_echo_n "checking for $2... " >&6; }
1699if eval \${$3+:} false; then :
1700  $as_echo_n "(cached) " >&6
1701else
1702  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703/* end confdefs.h.  */
1704/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1705   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1706#define $2 innocuous_$2
1707
1708/* System header to define __stub macros and hopefully few prototypes,
1709    which can conflict with char $2 (); below.
1710    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1711    <limits.h> exists even on freestanding compilers.  */
1712
1713#ifdef __STDC__
1714# include <limits.h>
1715#else
1716# include <assert.h>
1717#endif
1718
1719#undef $2
1720
1721/* Override any GCC internal prototype to avoid an error.
1722   Use char because int might match the return type of a GCC
1723   builtin and then its argument prototype would still apply.  */
1724#ifdef __cplusplus
1725extern "C"
1726#endif
1727char $2 ();
1728/* The GNU C library defines this for functions which it implements
1729    to always fail with ENOSYS.  Some functions are actually named
1730    something starting with __ and the normal name is an alias.  */
1731#if defined __stub_$2 || defined __stub___$2
1732choke me
1733#endif
1734
1735int
1736main ()
1737{
1738return $2 ();
1739  ;
1740  return 0;
1741}
1742_ACEOF
1743if ac_fn_c_try_link "$LINENO"; then :
1744  eval "$3=yes"
1745else
1746  eval "$3=no"
1747fi
1748rm -f core conftest.err conftest.$ac_objext \
1749    conftest$ac_exeext conftest.$ac_ext
1750fi
1751eval ac_res=\$$3
1752	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1753$as_echo "$ac_res" >&6; }
1754  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755
1756} # ac_fn_c_check_func
1757cat >config.log <<_ACEOF
1758This file contains any messages produced by compilers while
1759running configure, to aid debugging if configure makes a mistake.
1760
1761It was created by $as_me, which was
1762generated by GNU Autoconf 2.69.  Invocation command line was
1763
1764  $ $0 $@
1765
1766_ACEOF
1767exec 5>>config.log
1768{
1769cat <<_ASUNAME
1770## --------- ##
1771## Platform. ##
1772## --------- ##
1773
1774hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1775uname -m = `(uname -m) 2>/dev/null || echo unknown`
1776uname -r = `(uname -r) 2>/dev/null || echo unknown`
1777uname -s = `(uname -s) 2>/dev/null || echo unknown`
1778uname -v = `(uname -v) 2>/dev/null || echo unknown`
1779
1780/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1781/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1782
1783/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1784/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1785/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1786/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1787/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1788/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1789/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1790
1791_ASUNAME
1792
1793as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794for as_dir in $PATH
1795do
1796  IFS=$as_save_IFS
1797  test -z "$as_dir" && as_dir=.
1798    $as_echo "PATH: $as_dir"
1799  done
1800IFS=$as_save_IFS
1801
1802} >&5
1803
1804cat >&5 <<_ACEOF
1805
1806
1807## ----------- ##
1808## Core tests. ##
1809## ----------- ##
1810
1811_ACEOF
1812
1813
1814# Keep a trace of the command line.
1815# Strip out --no-create and --no-recursion so they do not pile up.
1816# Strip out --silent because we don't want to record it for future runs.
1817# Also quote any args containing shell meta-characters.
1818# Make two passes to allow for proper duplicate-argument suppression.
1819ac_configure_args=
1820ac_configure_args0=
1821ac_configure_args1=
1822ac_must_keep_next=false
1823for ac_pass in 1 2
1824do
1825  for ac_arg
1826  do
1827    case $ac_arg in
1828    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1829    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1830    | -silent | --silent | --silen | --sile | --sil)
1831      continue ;;
1832    *\'*)
1833      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1834    esac
1835    case $ac_pass in
1836    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1837    2)
1838      as_fn_append ac_configure_args1 " '$ac_arg'"
1839      if test $ac_must_keep_next = true; then
1840	ac_must_keep_next=false # Got value, back to normal.
1841      else
1842	case $ac_arg in
1843	  *=* | --config-cache | -C | -disable-* | --disable-* \
1844	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1845	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1846	  | -with-* | --with-* | -without-* | --without-* | --x)
1847	    case "$ac_configure_args0 " in
1848	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1849	    esac
1850	    ;;
1851	  -* ) ac_must_keep_next=true ;;
1852	esac
1853      fi
1854      as_fn_append ac_configure_args " '$ac_arg'"
1855      ;;
1856    esac
1857  done
1858done
1859{ ac_configure_args0=; unset ac_configure_args0;}
1860{ ac_configure_args1=; unset ac_configure_args1;}
1861
1862# When interrupted or exit'd, cleanup temporary files, and complete
1863# config.log.  We remove comments because anyway the quotes in there
1864# would cause problems or look ugly.
1865# WARNING: Use '\'' to represent an apostrophe within the trap.
1866# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1867trap 'exit_status=$?
1868  # Save into config.log some information that might help in debugging.
1869  {
1870    echo
1871
1872    $as_echo "## ---------------- ##
1873## Cache variables. ##
1874## ---------------- ##"
1875    echo
1876    # The following way of writing the cache mishandles newlines in values,
1877(
1878  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1879    eval ac_val=\$$ac_var
1880    case $ac_val in #(
1881    *${as_nl}*)
1882      case $ac_var in #(
1883      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1884$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1885      esac
1886      case $ac_var in #(
1887      _ | IFS | as_nl) ;; #(
1888      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1889      *) { eval $ac_var=; unset $ac_var;} ;;
1890      esac ;;
1891    esac
1892  done
1893  (set) 2>&1 |
1894    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1895    *${as_nl}ac_space=\ *)
1896      sed -n \
1897	"s/'\''/'\''\\\\'\'''\''/g;
1898	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1899      ;; #(
1900    *)
1901      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1902      ;;
1903    esac |
1904    sort
1905)
1906    echo
1907
1908    $as_echo "## ----------------- ##
1909## Output variables. ##
1910## ----------------- ##"
1911    echo
1912    for ac_var in $ac_subst_vars
1913    do
1914      eval ac_val=\$$ac_var
1915      case $ac_val in
1916      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1917      esac
1918      $as_echo "$ac_var='\''$ac_val'\''"
1919    done | sort
1920    echo
1921
1922    if test -n "$ac_subst_files"; then
1923      $as_echo "## ------------------- ##
1924## File substitutions. ##
1925## ------------------- ##"
1926      echo
1927      for ac_var in $ac_subst_files
1928      do
1929	eval ac_val=\$$ac_var
1930	case $ac_val in
1931	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1932	esac
1933	$as_echo "$ac_var='\''$ac_val'\''"
1934      done | sort
1935      echo
1936    fi
1937
1938    if test -s confdefs.h; then
1939      $as_echo "## ----------- ##
1940## confdefs.h. ##
1941## ----------- ##"
1942      echo
1943      cat confdefs.h
1944      echo
1945    fi
1946    test "$ac_signal" != 0 &&
1947      $as_echo "$as_me: caught signal $ac_signal"
1948    $as_echo "$as_me: exit $exit_status"
1949  } >&5
1950  rm -f core *.core core.conftest.* &&
1951    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1952    exit $exit_status
1953' 0
1954for ac_signal in 1 2 13 15; do
1955  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1956done
1957ac_signal=0
1958
1959# confdefs.h avoids OS command line length limits that DEFS can exceed.
1960rm -f -r conftest* confdefs.h
1961
1962$as_echo "/* confdefs.h */" > confdefs.h
1963
1964# Predefined preprocessor variables.
1965
1966cat >>confdefs.h <<_ACEOF
1967#define PACKAGE_NAME "$PACKAGE_NAME"
1968_ACEOF
1969
1970cat >>confdefs.h <<_ACEOF
1971#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1972_ACEOF
1973
1974cat >>confdefs.h <<_ACEOF
1975#define PACKAGE_VERSION "$PACKAGE_VERSION"
1976_ACEOF
1977
1978cat >>confdefs.h <<_ACEOF
1979#define PACKAGE_STRING "$PACKAGE_STRING"
1980_ACEOF
1981
1982cat >>confdefs.h <<_ACEOF
1983#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1984_ACEOF
1985
1986cat >>confdefs.h <<_ACEOF
1987#define PACKAGE_URL "$PACKAGE_URL"
1988_ACEOF
1989
1990
1991# Let the site file select an alternate cache file if it wants to.
1992# Prefer an explicitly selected file to automatically selected ones.
1993ac_site_file1=NONE
1994ac_site_file2=NONE
1995if test -n "$CONFIG_SITE"; then
1996  # We do not want a PATH search for config.site.
1997  case $CONFIG_SITE in #((
1998    -*)  ac_site_file1=./$CONFIG_SITE;;
1999    */*) ac_site_file1=$CONFIG_SITE;;
2000    *)   ac_site_file1=./$CONFIG_SITE;;
2001  esac
2002elif test "x$prefix" != xNONE; then
2003  ac_site_file1=$prefix/share/config.site
2004  ac_site_file2=$prefix/etc/config.site
2005else
2006  ac_site_file1=$ac_default_prefix/share/config.site
2007  ac_site_file2=$ac_default_prefix/etc/config.site
2008fi
2009for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2010do
2011  test "x$ac_site_file" = xNONE && continue
2012  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2013    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2014$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2015    sed 's/^/| /' "$ac_site_file" >&5
2016    . "$ac_site_file" \
2017      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2018$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2019as_fn_error $? "failed to load site script $ac_site_file
2020See \`config.log' for more details" "$LINENO" 5; }
2021  fi
2022done
2023
2024if test -r "$cache_file"; then
2025  # Some versions of bash will fail to source /dev/null (special files
2026  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2027  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2028    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2029$as_echo "$as_me: loading cache $cache_file" >&6;}
2030    case $cache_file in
2031      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2032      *)                      . "./$cache_file";;
2033    esac
2034  fi
2035else
2036  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2037$as_echo "$as_me: creating cache $cache_file" >&6;}
2038  >$cache_file
2039fi
2040
2041# Check that the precious variables saved in the cache have kept the same
2042# value.
2043ac_cache_corrupted=false
2044for ac_var in $ac_precious_vars; do
2045  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2046  eval ac_new_set=\$ac_env_${ac_var}_set
2047  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2048  eval ac_new_val=\$ac_env_${ac_var}_value
2049  case $ac_old_set,$ac_new_set in
2050    set,)
2051      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2052$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2053      ac_cache_corrupted=: ;;
2054    ,set)
2055      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2056$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2057      ac_cache_corrupted=: ;;
2058    ,);;
2059    *)
2060      if test "x$ac_old_val" != "x$ac_new_val"; then
2061	# differences in whitespace do not lead to failure.
2062	ac_old_val_w=`echo x $ac_old_val`
2063	ac_new_val_w=`echo x $ac_new_val`
2064	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2065	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2066$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2067	  ac_cache_corrupted=:
2068	else
2069	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2070$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2071	  eval $ac_var=\$ac_old_val
2072	fi
2073	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2074$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2075	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2076$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2077      fi;;
2078  esac
2079  # Pass precious variables to config.status.
2080  if test "$ac_new_set" = set; then
2081    case $ac_new_val in
2082    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2083    *) ac_arg=$ac_var=$ac_new_val ;;
2084    esac
2085    case " $ac_configure_args " in
2086      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2087      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2088    esac
2089  fi
2090done
2091if $ac_cache_corrupted; then
2092  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2093$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2094  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2095$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2096  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2097fi
2098## -------------------- ##
2099## Main body of script. ##
2100## -------------------- ##
2101
2102ac_ext=c
2103ac_cpp='$CPP $CPPFLAGS'
2104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2106ac_compiler_gnu=$ac_cv_c_compiler_gnu
2107
2108
2109
2110ac_aux_dir=
2111for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2112  if test -f "$ac_dir/install-sh"; then
2113    ac_aux_dir=$ac_dir
2114    ac_install_sh="$ac_aux_dir/install-sh -c"
2115    break
2116  elif test -f "$ac_dir/install.sh"; then
2117    ac_aux_dir=$ac_dir
2118    ac_install_sh="$ac_aux_dir/install.sh -c"
2119    break
2120  elif test -f "$ac_dir/shtool"; then
2121    ac_aux_dir=$ac_dir
2122    ac_install_sh="$ac_aux_dir/shtool install -c"
2123    break
2124  fi
2125done
2126if test -z "$ac_aux_dir"; then
2127  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2128fi
2129
2130# These three variables are undocumented and unsupported,
2131# and are intended to be withdrawn in a future Autoconf release.
2132# They can cause serious problems if a builder's source tree is in a directory
2133# whose full name contains unusual characters.
2134ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2135ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2136ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2137
2138
2139# Make sure we can run config.sub.
2140$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2141  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2142
2143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2144$as_echo_n "checking build system type... " >&6; }
2145if ${ac_cv_build+:} false; then :
2146  $as_echo_n "(cached) " >&6
2147else
2148  ac_build_alias=$build_alias
2149test "x$ac_build_alias" = x &&
2150  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2151test "x$ac_build_alias" = x &&
2152  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2153ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2154  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2155
2156fi
2157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2158$as_echo "$ac_cv_build" >&6; }
2159case $ac_cv_build in
2160*-*-*) ;;
2161*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2162esac
2163build=$ac_cv_build
2164ac_save_IFS=$IFS; IFS='-'
2165set x $ac_cv_build
2166shift
2167build_cpu=$1
2168build_vendor=$2
2169shift; shift
2170# Remember, the first character of IFS is used to create $*,
2171# except with old shells:
2172build_os=$*
2173IFS=$ac_save_IFS
2174case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2175
2176
2177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2178$as_echo_n "checking host system type... " >&6; }
2179if ${ac_cv_host+:} false; then :
2180  $as_echo_n "(cached) " >&6
2181else
2182  if test "x$host_alias" = x; then
2183  ac_cv_host=$ac_cv_build
2184else
2185  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2186    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2187fi
2188
2189fi
2190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2191$as_echo "$ac_cv_host" >&6; }
2192case $ac_cv_host in
2193*-*-*) ;;
2194*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2195esac
2196host=$ac_cv_host
2197ac_save_IFS=$IFS; IFS='-'
2198set x $ac_cv_host
2199shift
2200host_cpu=$1
2201host_vendor=$2
2202shift; shift
2203# Remember, the first character of IFS is used to create $*,
2204# except with old shells:
2205host_os=$*
2206IFS=$ac_save_IFS
2207case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2208
2209
2210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2211$as_echo_n "checking target system type... " >&6; }
2212if ${ac_cv_target+:} false; then :
2213  $as_echo_n "(cached) " >&6
2214else
2215  if test "x$target_alias" = x; then
2216  ac_cv_target=$ac_cv_host
2217else
2218  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2219    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2220fi
2221
2222fi
2223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2224$as_echo "$ac_cv_target" >&6; }
2225case $ac_cv_target in
2226*-*-*) ;;
2227*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2228esac
2229target=$ac_cv_target
2230ac_save_IFS=$IFS; IFS='-'
2231set x $ac_cv_target
2232shift
2233target_cpu=$1
2234target_vendor=$2
2235shift; shift
2236# Remember, the first character of IFS is used to create $*,
2237# except with old shells:
2238target_os=$*
2239IFS=$ac_save_IFS
2240case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2241
2242
2243# The aliases save the names the user supplied, while $host etc.
2244# will get canonicalized.
2245test -n "$target_alias" &&
2246  test "$program_prefix$program_suffix$program_transform_name" = \
2247    NONENONEs,x,x, &&
2248  program_prefix=${target_alias}-
2249
2250
2251ostype=`echo $build_os | sed 's/\..*$//g' | sed 's/-.*//g' | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`
2252
2253ac_ext=c
2254ac_cpp='$CPP $CPPFLAGS'
2255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2257ac_compiler_gnu=$ac_cv_c_compiler_gnu
2258if test -n "$ac_tool_prefix"; then
2259  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2260set dummy ${ac_tool_prefix}gcc; ac_word=$2
2261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2262$as_echo_n "checking for $ac_word... " >&6; }
2263if ${ac_cv_prog_CC+:} false; then :
2264  $as_echo_n "(cached) " >&6
2265else
2266  if test -n "$CC"; then
2267  ac_cv_prog_CC="$CC" # Let the user override the test.
2268else
2269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270for as_dir in $PATH
2271do
2272  IFS=$as_save_IFS
2273  test -z "$as_dir" && as_dir=.
2274    for ac_exec_ext in '' $ac_executable_extensions; do
2275  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2276    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2277    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2278    break 2
2279  fi
2280done
2281  done
2282IFS=$as_save_IFS
2283
2284fi
2285fi
2286CC=$ac_cv_prog_CC
2287if test -n "$CC"; then
2288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2289$as_echo "$CC" >&6; }
2290else
2291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2292$as_echo "no" >&6; }
2293fi
2294
2295
2296fi
2297if test -z "$ac_cv_prog_CC"; then
2298  ac_ct_CC=$CC
2299  # Extract the first word of "gcc", so it can be a program name with args.
2300set dummy gcc; ac_word=$2
2301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2302$as_echo_n "checking for $ac_word... " >&6; }
2303if ${ac_cv_prog_ac_ct_CC+:} false; then :
2304  $as_echo_n "(cached) " >&6
2305else
2306  if test -n "$ac_ct_CC"; then
2307  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2308else
2309as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310for as_dir in $PATH
2311do
2312  IFS=$as_save_IFS
2313  test -z "$as_dir" && as_dir=.
2314    for ac_exec_ext in '' $ac_executable_extensions; do
2315  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2316    ac_cv_prog_ac_ct_CC="gcc"
2317    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2318    break 2
2319  fi
2320done
2321  done
2322IFS=$as_save_IFS
2323
2324fi
2325fi
2326ac_ct_CC=$ac_cv_prog_ac_ct_CC
2327if test -n "$ac_ct_CC"; then
2328  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2329$as_echo "$ac_ct_CC" >&6; }
2330else
2331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2332$as_echo "no" >&6; }
2333fi
2334
2335  if test "x$ac_ct_CC" = x; then
2336    CC=""
2337  else
2338    case $cross_compiling:$ac_tool_warned in
2339yes:)
2340{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2341$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2342ac_tool_warned=yes ;;
2343esac
2344    CC=$ac_ct_CC
2345  fi
2346else
2347  CC="$ac_cv_prog_CC"
2348fi
2349
2350if test -z "$CC"; then
2351          if test -n "$ac_tool_prefix"; then
2352    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2353set dummy ${ac_tool_prefix}cc; ac_word=$2
2354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2355$as_echo_n "checking for $ac_word... " >&6; }
2356if ${ac_cv_prog_CC+:} false; then :
2357  $as_echo_n "(cached) " >&6
2358else
2359  if test -n "$CC"; then
2360  ac_cv_prog_CC="$CC" # Let the user override the test.
2361else
2362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363for as_dir in $PATH
2364do
2365  IFS=$as_save_IFS
2366  test -z "$as_dir" && as_dir=.
2367    for ac_exec_ext in '' $ac_executable_extensions; do
2368  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2369    ac_cv_prog_CC="${ac_tool_prefix}cc"
2370    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2371    break 2
2372  fi
2373done
2374  done
2375IFS=$as_save_IFS
2376
2377fi
2378fi
2379CC=$ac_cv_prog_CC
2380if test -n "$CC"; then
2381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2382$as_echo "$CC" >&6; }
2383else
2384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2385$as_echo "no" >&6; }
2386fi
2387
2388
2389  fi
2390fi
2391if test -z "$CC"; then
2392  # Extract the first word of "cc", so it can be a program name with args.
2393set dummy cc; ac_word=$2
2394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2395$as_echo_n "checking for $ac_word... " >&6; }
2396if ${ac_cv_prog_CC+:} false; then :
2397  $as_echo_n "(cached) " >&6
2398else
2399  if test -n "$CC"; then
2400  ac_cv_prog_CC="$CC" # Let the user override the test.
2401else
2402  ac_prog_rejected=no
2403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404for as_dir in $PATH
2405do
2406  IFS=$as_save_IFS
2407  test -z "$as_dir" && as_dir=.
2408    for ac_exec_ext in '' $ac_executable_extensions; do
2409  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2410    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2411       ac_prog_rejected=yes
2412       continue
2413     fi
2414    ac_cv_prog_CC="cc"
2415    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2416    break 2
2417  fi
2418done
2419  done
2420IFS=$as_save_IFS
2421
2422if test $ac_prog_rejected = yes; then
2423  # We found a bogon in the path, so make sure we never use it.
2424  set dummy $ac_cv_prog_CC
2425  shift
2426  if test $# != 0; then
2427    # We chose a different compiler from the bogus one.
2428    # However, it has the same basename, so the bogon will be chosen
2429    # first if we set CC to just the basename; use the full file name.
2430    shift
2431    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2432  fi
2433fi
2434fi
2435fi
2436CC=$ac_cv_prog_CC
2437if test -n "$CC"; then
2438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2439$as_echo "$CC" >&6; }
2440else
2441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2442$as_echo "no" >&6; }
2443fi
2444
2445
2446fi
2447if test -z "$CC"; then
2448  if test -n "$ac_tool_prefix"; then
2449  for ac_prog in cl.exe
2450  do
2451    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2452set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2454$as_echo_n "checking for $ac_word... " >&6; }
2455if ${ac_cv_prog_CC+:} false; then :
2456  $as_echo_n "(cached) " >&6
2457else
2458  if test -n "$CC"; then
2459  ac_cv_prog_CC="$CC" # Let the user override the test.
2460else
2461as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462for as_dir in $PATH
2463do
2464  IFS=$as_save_IFS
2465  test -z "$as_dir" && as_dir=.
2466    for ac_exec_ext in '' $ac_executable_extensions; do
2467  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2468    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2469    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2470    break 2
2471  fi
2472done
2473  done
2474IFS=$as_save_IFS
2475
2476fi
2477fi
2478CC=$ac_cv_prog_CC
2479if test -n "$CC"; then
2480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2481$as_echo "$CC" >&6; }
2482else
2483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484$as_echo "no" >&6; }
2485fi
2486
2487
2488    test -n "$CC" && break
2489  done
2490fi
2491if test -z "$CC"; then
2492  ac_ct_CC=$CC
2493  for ac_prog in cl.exe
2494do
2495  # Extract the first word of "$ac_prog", so it can be a program name with args.
2496set dummy $ac_prog; ac_word=$2
2497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2498$as_echo_n "checking for $ac_word... " >&6; }
2499if ${ac_cv_prog_ac_ct_CC+:} false; then :
2500  $as_echo_n "(cached) " >&6
2501else
2502  if test -n "$ac_ct_CC"; then
2503  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2504else
2505as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506for as_dir in $PATH
2507do
2508  IFS=$as_save_IFS
2509  test -z "$as_dir" && as_dir=.
2510    for ac_exec_ext in '' $ac_executable_extensions; do
2511  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2512    ac_cv_prog_ac_ct_CC="$ac_prog"
2513    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2514    break 2
2515  fi
2516done
2517  done
2518IFS=$as_save_IFS
2519
2520fi
2521fi
2522ac_ct_CC=$ac_cv_prog_ac_ct_CC
2523if test -n "$ac_ct_CC"; then
2524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2525$as_echo "$ac_ct_CC" >&6; }
2526else
2527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2528$as_echo "no" >&6; }
2529fi
2530
2531
2532  test -n "$ac_ct_CC" && break
2533done
2534
2535  if test "x$ac_ct_CC" = x; then
2536    CC=""
2537  else
2538    case $cross_compiling:$ac_tool_warned in
2539yes:)
2540{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2541$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2542ac_tool_warned=yes ;;
2543esac
2544    CC=$ac_ct_CC
2545  fi
2546fi
2547
2548fi
2549
2550
2551test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2552$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2553as_fn_error $? "no acceptable C compiler found in \$PATH
2554See \`config.log' for more details" "$LINENO" 5; }
2555
2556# Provide some information about the compiler.
2557$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2558set X $ac_compile
2559ac_compiler=$2
2560for ac_option in --version -v -V -qversion; do
2561  { { ac_try="$ac_compiler $ac_option >&5"
2562case "(($ac_try" in
2563  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564  *) ac_try_echo=$ac_try;;
2565esac
2566eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567$as_echo "$ac_try_echo"; } >&5
2568  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2569  ac_status=$?
2570  if test -s conftest.err; then
2571    sed '10a\
2572... rest of stderr output deleted ...
2573         10q' conftest.err >conftest.er1
2574    cat conftest.er1 >&5
2575  fi
2576  rm -f conftest.er1 conftest.err
2577  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2578  test $ac_status = 0; }
2579done
2580
2581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2582/* end confdefs.h.  */
2583
2584int
2585main ()
2586{
2587
2588  ;
2589  return 0;
2590}
2591_ACEOF
2592ac_clean_files_save=$ac_clean_files
2593ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2594# Try to create an executable without -o first, disregard a.out.
2595# It will help us diagnose broken compilers, and finding out an intuition
2596# of exeext.
2597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2598$as_echo_n "checking whether the C compiler works... " >&6; }
2599ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2600
2601# The possible output files:
2602ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2603
2604ac_rmfiles=
2605for ac_file in $ac_files
2606do
2607  case $ac_file in
2608    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2609    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2610  esac
2611done
2612rm -f $ac_rmfiles
2613
2614if { { ac_try="$ac_link_default"
2615case "(($ac_try" in
2616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617  *) ac_try_echo=$ac_try;;
2618esac
2619eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620$as_echo "$ac_try_echo"; } >&5
2621  (eval "$ac_link_default") 2>&5
2622  ac_status=$?
2623  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2624  test $ac_status = 0; }; then :
2625  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2626# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2627# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2628# so that the user can short-circuit this test for compilers unknown to
2629# Autoconf.
2630for ac_file in $ac_files ''
2631do
2632  test -f "$ac_file" || continue
2633  case $ac_file in
2634    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2635	;;
2636    [ab].out )
2637	# We found the default executable, but exeext='' is most
2638	# certainly right.
2639	break;;
2640    *.* )
2641	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2642	then :; else
2643	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2644	fi
2645	# We set ac_cv_exeext here because the later test for it is not
2646	# safe: cross compilers may not add the suffix if given an `-o'
2647	# argument, so we may need to know it at that point already.
2648	# Even if this section looks crufty: it has the advantage of
2649	# actually working.
2650	break;;
2651    * )
2652	break;;
2653  esac
2654done
2655test "$ac_cv_exeext" = no && ac_cv_exeext=
2656
2657else
2658  ac_file=''
2659fi
2660if test -z "$ac_file"; then :
2661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2662$as_echo "no" >&6; }
2663$as_echo "$as_me: failed program was:" >&5
2664sed 's/^/| /' conftest.$ac_ext >&5
2665
2666{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2667$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2668as_fn_error 77 "C compiler cannot create executables
2669See \`config.log' for more details" "$LINENO" 5; }
2670else
2671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2672$as_echo "yes" >&6; }
2673fi
2674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2675$as_echo_n "checking for C compiler default output file name... " >&6; }
2676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2677$as_echo "$ac_file" >&6; }
2678ac_exeext=$ac_cv_exeext
2679
2680rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2681ac_clean_files=$ac_clean_files_save
2682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2683$as_echo_n "checking for suffix of executables... " >&6; }
2684if { { ac_try="$ac_link"
2685case "(($ac_try" in
2686  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687  *) ac_try_echo=$ac_try;;
2688esac
2689eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690$as_echo "$ac_try_echo"; } >&5
2691  (eval "$ac_link") 2>&5
2692  ac_status=$?
2693  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2694  test $ac_status = 0; }; then :
2695  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2696# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2697# work properly (i.e., refer to `conftest.exe'), while it won't with
2698# `rm'.
2699for ac_file in conftest.exe conftest conftest.*; do
2700  test -f "$ac_file" || continue
2701  case $ac_file in
2702    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2703    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2704	  break;;
2705    * ) break;;
2706  esac
2707done
2708else
2709  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2710$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2711as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2712See \`config.log' for more details" "$LINENO" 5; }
2713fi
2714rm -f conftest conftest$ac_cv_exeext
2715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2716$as_echo "$ac_cv_exeext" >&6; }
2717
2718rm -f conftest.$ac_ext
2719EXEEXT=$ac_cv_exeext
2720ac_exeext=$EXEEXT
2721cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722/* end confdefs.h.  */
2723#include <stdio.h>
2724int
2725main ()
2726{
2727FILE *f = fopen ("conftest.out", "w");
2728 return ferror (f) || fclose (f) != 0;
2729
2730  ;
2731  return 0;
2732}
2733_ACEOF
2734ac_clean_files="$ac_clean_files conftest.out"
2735# Check that the compiler produces executables we can run.  If not, either
2736# the compiler is broken, or we cross compile.
2737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2738$as_echo_n "checking whether we are cross compiling... " >&6; }
2739if test "$cross_compiling" != yes; then
2740  { { ac_try="$ac_link"
2741case "(($ac_try" in
2742  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743  *) ac_try_echo=$ac_try;;
2744esac
2745eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746$as_echo "$ac_try_echo"; } >&5
2747  (eval "$ac_link") 2>&5
2748  ac_status=$?
2749  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750  test $ac_status = 0; }
2751  if { ac_try='./conftest$ac_cv_exeext'
2752  { { case "(($ac_try" in
2753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754  *) ac_try_echo=$ac_try;;
2755esac
2756eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2757$as_echo "$ac_try_echo"; } >&5
2758  (eval "$ac_try") 2>&5
2759  ac_status=$?
2760  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761  test $ac_status = 0; }; }; then
2762    cross_compiling=no
2763  else
2764    if test "$cross_compiling" = maybe; then
2765	cross_compiling=yes
2766    else
2767	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2768$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2769as_fn_error $? "cannot run C compiled programs.
2770If you meant to cross compile, use \`--host'.
2771See \`config.log' for more details" "$LINENO" 5; }
2772    fi
2773  fi
2774fi
2775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2776$as_echo "$cross_compiling" >&6; }
2777
2778rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2779ac_clean_files=$ac_clean_files_save
2780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2781$as_echo_n "checking for suffix of object files... " >&6; }
2782if ${ac_cv_objext+:} false; then :
2783  $as_echo_n "(cached) " >&6
2784else
2785  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2786/* end confdefs.h.  */
2787
2788int
2789main ()
2790{
2791
2792  ;
2793  return 0;
2794}
2795_ACEOF
2796rm -f conftest.o conftest.obj
2797if { { ac_try="$ac_compile"
2798case "(($ac_try" in
2799  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800  *) ac_try_echo=$ac_try;;
2801esac
2802eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803$as_echo "$ac_try_echo"; } >&5
2804  (eval "$ac_compile") 2>&5
2805  ac_status=$?
2806  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2807  test $ac_status = 0; }; then :
2808  for ac_file in conftest.o conftest.obj conftest.*; do
2809  test -f "$ac_file" || continue;
2810  case $ac_file in
2811    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2812    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2813       break;;
2814  esac
2815done
2816else
2817  $as_echo "$as_me: failed program was:" >&5
2818sed 's/^/| /' conftest.$ac_ext >&5
2819
2820{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2821$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2822as_fn_error $? "cannot compute suffix of object files: cannot compile
2823See \`config.log' for more details" "$LINENO" 5; }
2824fi
2825rm -f conftest.$ac_cv_objext conftest.$ac_ext
2826fi
2827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2828$as_echo "$ac_cv_objext" >&6; }
2829OBJEXT=$ac_cv_objext
2830ac_objext=$OBJEXT
2831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2832$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2833if ${ac_cv_c_compiler_gnu+:} false; then :
2834  $as_echo_n "(cached) " >&6
2835else
2836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837/* end confdefs.h.  */
2838
2839int
2840main ()
2841{
2842#ifndef __GNUC__
2843       choke me
2844#endif
2845
2846  ;
2847  return 0;
2848}
2849_ACEOF
2850if ac_fn_c_try_compile "$LINENO"; then :
2851  ac_compiler_gnu=yes
2852else
2853  ac_compiler_gnu=no
2854fi
2855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856ac_cv_c_compiler_gnu=$ac_compiler_gnu
2857
2858fi
2859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2860$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2861if test $ac_compiler_gnu = yes; then
2862  GCC=yes
2863else
2864  GCC=
2865fi
2866ac_test_CFLAGS=${CFLAGS+set}
2867ac_save_CFLAGS=$CFLAGS
2868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2869$as_echo_n "checking whether $CC accepts -g... " >&6; }
2870if ${ac_cv_prog_cc_g+:} false; then :
2871  $as_echo_n "(cached) " >&6
2872else
2873  ac_save_c_werror_flag=$ac_c_werror_flag
2874   ac_c_werror_flag=yes
2875   ac_cv_prog_cc_g=no
2876   CFLAGS="-g"
2877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878/* end confdefs.h.  */
2879
2880int
2881main ()
2882{
2883
2884  ;
2885  return 0;
2886}
2887_ACEOF
2888if ac_fn_c_try_compile "$LINENO"; then :
2889  ac_cv_prog_cc_g=yes
2890else
2891  CFLAGS=""
2892      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893/* end confdefs.h.  */
2894
2895int
2896main ()
2897{
2898
2899  ;
2900  return 0;
2901}
2902_ACEOF
2903if ac_fn_c_try_compile "$LINENO"; then :
2904
2905else
2906  ac_c_werror_flag=$ac_save_c_werror_flag
2907	 CFLAGS="-g"
2908	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2909/* end confdefs.h.  */
2910
2911int
2912main ()
2913{
2914
2915  ;
2916  return 0;
2917}
2918_ACEOF
2919if ac_fn_c_try_compile "$LINENO"; then :
2920  ac_cv_prog_cc_g=yes
2921fi
2922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2923fi
2924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925fi
2926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927   ac_c_werror_flag=$ac_save_c_werror_flag
2928fi
2929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2930$as_echo "$ac_cv_prog_cc_g" >&6; }
2931if test "$ac_test_CFLAGS" = set; then
2932  CFLAGS=$ac_save_CFLAGS
2933elif test $ac_cv_prog_cc_g = yes; then
2934  if test "$GCC" = yes; then
2935    CFLAGS="-g -O2"
2936  else
2937    CFLAGS="-g"
2938  fi
2939else
2940  if test "$GCC" = yes; then
2941    CFLAGS="-O2"
2942  else
2943    CFLAGS=
2944  fi
2945fi
2946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2947$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2948if ${ac_cv_prog_cc_c89+:} false; then :
2949  $as_echo_n "(cached) " >&6
2950else
2951  ac_cv_prog_cc_c89=no
2952ac_save_CC=$CC
2953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2954/* end confdefs.h.  */
2955#include <stdarg.h>
2956#include <stdio.h>
2957struct stat;
2958/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2959struct buf { int x; };
2960FILE * (*rcsopen) (struct buf *, struct stat *, int);
2961static char *e (p, i)
2962     char **p;
2963     int i;
2964{
2965  return p[i];
2966}
2967static char *f (char * (*g) (char **, int), char **p, ...)
2968{
2969  char *s;
2970  va_list v;
2971  va_start (v,p);
2972  s = g (p, va_arg (v,int));
2973  va_end (v);
2974  return s;
2975}
2976
2977/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2978   function prototypes and stuff, but not '\xHH' hex character constants.
2979   These don't provoke an error unfortunately, instead are silently treated
2980   as 'x'.  The following induces an error, until -std is added to get
2981   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2982   array size at least.  It's necessary to write '\x00'==0 to get something
2983   that's true only with -std.  */
2984int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2985
2986/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2987   inside strings and character constants.  */
2988#define FOO(x) 'x'
2989int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2990
2991int test (int i, double x);
2992struct s1 {int (*f) (int a);};
2993struct s2 {int (*f) (double a);};
2994int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2995int argc;
2996char **argv;
2997int
2998main ()
2999{
3000return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3001  ;
3002  return 0;
3003}
3004_ACEOF
3005for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3006	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3007do
3008  CC="$ac_save_CC $ac_arg"
3009  if ac_fn_c_try_compile "$LINENO"; then :
3010  ac_cv_prog_cc_c89=$ac_arg
3011fi
3012rm -f core conftest.err conftest.$ac_objext
3013  test "x$ac_cv_prog_cc_c89" != "xno" && break
3014done
3015rm -f conftest.$ac_ext
3016CC=$ac_save_CC
3017
3018fi
3019# AC_CACHE_VAL
3020case "x$ac_cv_prog_cc_c89" in
3021  x)
3022    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3023$as_echo "none needed" >&6; } ;;
3024  xno)
3025    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3026$as_echo "unsupported" >&6; } ;;
3027  *)
3028    CC="$CC $ac_cv_prog_cc_c89"
3029    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3030$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3031esac
3032if test "x$ac_cv_prog_cc_c89" != xno; then :
3033
3034fi
3035
3036ac_ext=c
3037ac_cpp='$CPP $CPPFLAGS'
3038ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3039ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3040ac_compiler_gnu=$ac_cv_c_compiler_gnu
3041
3042ac_ext=c
3043ac_cpp='$CPP $CPPFLAGS'
3044ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3045ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3046ac_compiler_gnu=$ac_cv_c_compiler_gnu
3047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3048$as_echo_n "checking how to run the C preprocessor... " >&6; }
3049# On Suns, sometimes $CPP names a directory.
3050if test -n "$CPP" && test -d "$CPP"; then
3051  CPP=
3052fi
3053if test -z "$CPP"; then
3054  if ${ac_cv_prog_CPP+:} false; then :
3055  $as_echo_n "(cached) " >&6
3056else
3057      # Double quotes because CPP needs to be expanded
3058    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3059    do
3060      ac_preproc_ok=false
3061for ac_c_preproc_warn_flag in '' yes
3062do
3063  # Use a header file that comes with gcc, so configuring glibc
3064  # with a fresh cross-compiler works.
3065  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3066  # <limits.h> exists even on freestanding compilers.
3067  # On the NeXT, cc -E runs the code through the compiler's parser,
3068  # not just through cpp. "Syntax error" is here to catch this case.
3069  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3070/* end confdefs.h.  */
3071#ifdef __STDC__
3072# include <limits.h>
3073#else
3074# include <assert.h>
3075#endif
3076		     Syntax error
3077_ACEOF
3078if ac_fn_c_try_cpp "$LINENO"; then :
3079
3080else
3081  # Broken: fails on valid input.
3082continue
3083fi
3084rm -f conftest.err conftest.i conftest.$ac_ext
3085
3086  # OK, works on sane cases.  Now check whether nonexistent headers
3087  # can be detected and how.
3088  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3089/* end confdefs.h.  */
3090#include <ac_nonexistent.h>
3091_ACEOF
3092if ac_fn_c_try_cpp "$LINENO"; then :
3093  # Broken: success on invalid input.
3094continue
3095else
3096  # Passes both tests.
3097ac_preproc_ok=:
3098break
3099fi
3100rm -f conftest.err conftest.i conftest.$ac_ext
3101
3102done
3103# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3104rm -f conftest.i conftest.err conftest.$ac_ext
3105if $ac_preproc_ok; then :
3106  break
3107fi
3108
3109    done
3110    ac_cv_prog_CPP=$CPP
3111
3112fi
3113  CPP=$ac_cv_prog_CPP
3114else
3115  ac_cv_prog_CPP=$CPP
3116fi
3117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3118$as_echo "$CPP" >&6; }
3119ac_preproc_ok=false
3120for ac_c_preproc_warn_flag in '' yes
3121do
3122  # Use a header file that comes with gcc, so configuring glibc
3123  # with a fresh cross-compiler works.
3124  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3125  # <limits.h> exists even on freestanding compilers.
3126  # On the NeXT, cc -E runs the code through the compiler's parser,
3127  # not just through cpp. "Syntax error" is here to catch this case.
3128  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3129/* end confdefs.h.  */
3130#ifdef __STDC__
3131# include <limits.h>
3132#else
3133# include <assert.h>
3134#endif
3135		     Syntax error
3136_ACEOF
3137if ac_fn_c_try_cpp "$LINENO"; then :
3138
3139else
3140  # Broken: fails on valid input.
3141continue
3142fi
3143rm -f conftest.err conftest.i conftest.$ac_ext
3144
3145  # OK, works on sane cases.  Now check whether nonexistent headers
3146  # can be detected and how.
3147  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148/* end confdefs.h.  */
3149#include <ac_nonexistent.h>
3150_ACEOF
3151if ac_fn_c_try_cpp "$LINENO"; then :
3152  # Broken: success on invalid input.
3153continue
3154else
3155  # Passes both tests.
3156ac_preproc_ok=:
3157break
3158fi
3159rm -f conftest.err conftest.i conftest.$ac_ext
3160
3161done
3162# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3163rm -f conftest.i conftest.err conftest.$ac_ext
3164if $ac_preproc_ok; then :
3165
3166else
3167  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3168$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3169as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3170See \`config.log' for more details" "$LINENO" 5; }
3171fi
3172
3173ac_ext=c
3174ac_cpp='$CPP $CPPFLAGS'
3175ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3176ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3177ac_compiler_gnu=$ac_cv_c_compiler_gnu
3178
3179
3180
3181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3182$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3183if ${ac_cv_path_GREP+:} false; then :
3184  $as_echo_n "(cached) " >&6
3185else
3186  if test -z "$GREP"; then
3187  ac_path_GREP_found=false
3188  # Loop through the user's path and test for each of PROGNAME-LIST
3189  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3191do
3192  IFS=$as_save_IFS
3193  test -z "$as_dir" && as_dir=.
3194    for ac_prog in grep ggrep; do
3195    for ac_exec_ext in '' $ac_executable_extensions; do
3196      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3197      as_fn_executable_p "$ac_path_GREP" || continue
3198# Check for GNU ac_path_GREP and select it if it is found.
3199  # Check for GNU $ac_path_GREP
3200case `"$ac_path_GREP" --version 2>&1` in
3201*GNU*)
3202  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3203*)
3204  ac_count=0
3205  $as_echo_n 0123456789 >"conftest.in"
3206  while :
3207  do
3208    cat "conftest.in" "conftest.in" >"conftest.tmp"
3209    mv "conftest.tmp" "conftest.in"
3210    cp "conftest.in" "conftest.nl"
3211    $as_echo 'GREP' >> "conftest.nl"
3212    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3213    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3214    as_fn_arith $ac_count + 1 && ac_count=$as_val
3215    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3216      # Best one so far, save it but keep looking for a better one
3217      ac_cv_path_GREP="$ac_path_GREP"
3218      ac_path_GREP_max=$ac_count
3219    fi
3220    # 10*(2^10) chars as input seems more than enough
3221    test $ac_count -gt 10 && break
3222  done
3223  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3224esac
3225
3226      $ac_path_GREP_found && break 3
3227    done
3228  done
3229  done
3230IFS=$as_save_IFS
3231  if test -z "$ac_cv_path_GREP"; then
3232    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3233  fi
3234else
3235  ac_cv_path_GREP=$GREP
3236fi
3237
3238fi
3239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3240$as_echo "$ac_cv_path_GREP" >&6; }
3241 GREP="$ac_cv_path_GREP"
3242
3243
3244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3245$as_echo_n "checking for egrep... " >&6; }
3246if ${ac_cv_path_EGREP+:} false; then :
3247  $as_echo_n "(cached) " >&6
3248else
3249  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3250   then ac_cv_path_EGREP="$GREP -E"
3251   else
3252     if test -z "$EGREP"; then
3253  ac_path_EGREP_found=false
3254  # Loop through the user's path and test for each of PROGNAME-LIST
3255  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3257do
3258  IFS=$as_save_IFS
3259  test -z "$as_dir" && as_dir=.
3260    for ac_prog in egrep; do
3261    for ac_exec_ext in '' $ac_executable_extensions; do
3262      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3263      as_fn_executable_p "$ac_path_EGREP" || continue
3264# Check for GNU ac_path_EGREP and select it if it is found.
3265  # Check for GNU $ac_path_EGREP
3266case `"$ac_path_EGREP" --version 2>&1` in
3267*GNU*)
3268  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3269*)
3270  ac_count=0
3271  $as_echo_n 0123456789 >"conftest.in"
3272  while :
3273  do
3274    cat "conftest.in" "conftest.in" >"conftest.tmp"
3275    mv "conftest.tmp" "conftest.in"
3276    cp "conftest.in" "conftest.nl"
3277    $as_echo 'EGREP' >> "conftest.nl"
3278    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3279    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3280    as_fn_arith $ac_count + 1 && ac_count=$as_val
3281    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3282      # Best one so far, save it but keep looking for a better one
3283      ac_cv_path_EGREP="$ac_path_EGREP"
3284      ac_path_EGREP_max=$ac_count
3285    fi
3286    # 10*(2^10) chars as input seems more than enough
3287    test $ac_count -gt 10 && break
3288  done
3289  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3290esac
3291
3292      $ac_path_EGREP_found && break 3
3293    done
3294  done
3295  done
3296IFS=$as_save_IFS
3297  if test -z "$ac_cv_path_EGREP"; then
3298    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3299  fi
3300else
3301  ac_cv_path_EGREP=$EGREP
3302fi
3303
3304   fi
3305fi
3306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3307$as_echo "$ac_cv_path_EGREP" >&6; }
3308 EGREP="$ac_cv_path_EGREP"
3309
3310
3311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3312$as_echo_n "checking for ANSI C header files... " >&6; }
3313if ${ac_cv_header_stdc+:} false; then :
3314  $as_echo_n "(cached) " >&6
3315else
3316  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317/* end confdefs.h.  */
3318#include <stdlib.h>
3319#include <stdarg.h>
3320#include <string.h>
3321#include <float.h>
3322
3323int
3324main ()
3325{
3326
3327  ;
3328  return 0;
3329}
3330_ACEOF
3331if ac_fn_c_try_compile "$LINENO"; then :
3332  ac_cv_header_stdc=yes
3333else
3334  ac_cv_header_stdc=no
3335fi
3336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3337
3338if test $ac_cv_header_stdc = yes; then
3339  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3340  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3341/* end confdefs.h.  */
3342#include <string.h>
3343
3344_ACEOF
3345if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3346  $EGREP "memchr" >/dev/null 2>&1; then :
3347
3348else
3349  ac_cv_header_stdc=no
3350fi
3351rm -f conftest*
3352
3353fi
3354
3355if test $ac_cv_header_stdc = yes; then
3356  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3357  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358/* end confdefs.h.  */
3359#include <stdlib.h>
3360
3361_ACEOF
3362if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3363  $EGREP "free" >/dev/null 2>&1; then :
3364
3365else
3366  ac_cv_header_stdc=no
3367fi
3368rm -f conftest*
3369
3370fi
3371
3372if test $ac_cv_header_stdc = yes; then
3373  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3374  if test "$cross_compiling" = yes; then :
3375  :
3376else
3377  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3378/* end confdefs.h.  */
3379#include <ctype.h>
3380#include <stdlib.h>
3381#if ((' ' & 0x0FF) == 0x020)
3382# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3383# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3384#else
3385# define ISLOWER(c) \
3386		   (('a' <= (c) && (c) <= 'i') \
3387		     || ('j' <= (c) && (c) <= 'r') \
3388		     || ('s' <= (c) && (c) <= 'z'))
3389# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3390#endif
3391
3392#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3393int
3394main ()
3395{
3396  int i;
3397  for (i = 0; i < 256; i++)
3398    if (XOR (islower (i), ISLOWER (i))
3399	|| toupper (i) != TOUPPER (i))
3400      return 2;
3401  return 0;
3402}
3403_ACEOF
3404if ac_fn_c_try_run "$LINENO"; then :
3405
3406else
3407  ac_cv_header_stdc=no
3408fi
3409rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3410  conftest.$ac_objext conftest.beam conftest.$ac_ext
3411fi
3412
3413fi
3414fi
3415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3416$as_echo "$ac_cv_header_stdc" >&6; }
3417if test $ac_cv_header_stdc = yes; then
3418
3419$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3420
3421fi
3422
3423# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3424for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3425		  inttypes.h stdint.h unistd.h
3426do :
3427  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3428ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3429"
3430if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3431  cat >>confdefs.h <<_ACEOF
3432#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3433_ACEOF
3434
3435fi
3436
3437done
3438
3439
3440
3441  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3442if test "x$ac_cv_header_minix_config_h" = xyes; then :
3443  MINIX=yes
3444else
3445  MINIX=
3446fi
3447
3448
3449  if test "$MINIX" = yes; then
3450
3451$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3452
3453
3454$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3455
3456
3457$as_echo "#define _MINIX 1" >>confdefs.h
3458
3459  fi
3460
3461
3462  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3463$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3464if ${ac_cv_safe_to_define___extensions__+:} false; then :
3465  $as_echo_n "(cached) " >&6
3466else
3467  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3468/* end confdefs.h.  */
3469
3470#         define __EXTENSIONS__ 1
3471          $ac_includes_default
3472int
3473main ()
3474{
3475
3476  ;
3477  return 0;
3478}
3479_ACEOF
3480if ac_fn_c_try_compile "$LINENO"; then :
3481  ac_cv_safe_to_define___extensions__=yes
3482else
3483  ac_cv_safe_to_define___extensions__=no
3484fi
3485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3486fi
3487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3488$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3489  test $ac_cv_safe_to_define___extensions__ = yes &&
3490    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3491
3492  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3493
3494  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3495
3496  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3497
3498  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3499
3500
3501
3502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3503$as_echo_n "checking for library containing strerror... " >&6; }
3504if ${ac_cv_search_strerror+:} false; then :
3505  $as_echo_n "(cached) " >&6
3506else
3507  ac_func_search_save_LIBS=$LIBS
3508cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509/* end confdefs.h.  */
3510
3511/* Override any GCC internal prototype to avoid an error.
3512   Use char because int might match the return type of a GCC
3513   builtin and then its argument prototype would still apply.  */
3514#ifdef __cplusplus
3515extern "C"
3516#endif
3517char strerror ();
3518int
3519main ()
3520{
3521return strerror ();
3522  ;
3523  return 0;
3524}
3525_ACEOF
3526for ac_lib in '' cposix; do
3527  if test -z "$ac_lib"; then
3528    ac_res="none required"
3529  else
3530    ac_res=-l$ac_lib
3531    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3532  fi
3533  if ac_fn_c_try_link "$LINENO"; then :
3534  ac_cv_search_strerror=$ac_res
3535fi
3536rm -f core conftest.err conftest.$ac_objext \
3537    conftest$ac_exeext
3538  if ${ac_cv_search_strerror+:} false; then :
3539  break
3540fi
3541done
3542if ${ac_cv_search_strerror+:} false; then :
3543
3544else
3545  ac_cv_search_strerror=no
3546fi
3547rm conftest.$ac_ext
3548LIBS=$ac_func_search_save_LIBS
3549fi
3550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3551$as_echo "$ac_cv_search_strerror" >&6; }
3552ac_res=$ac_cv_search_strerror
3553if test "$ac_res" != no; then :
3554  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3555
3556fi
3557
3558
3559
3560
3561# Check whether --with-includes was given.
3562if test "${with_includes+set}" = set; then :
3563  withval=$with_includes;  ac_addl_includes=`echo "$withval" | sed -e 's/:/ /g'` ;
3564    for ainclude in $ac_addl_includes; do
3565      if test x"$ac_build_addl_includes" = x ; then
3566        ac_build_addl_includes="-I$ainclude"
3567      else
3568        ac_build_addl_includes="-I$ainclude $ac_build_addl_includes"
3569      fi
3570    done
3571    CPPFLAGS="$CPPFLAGS $ac_build_addl_includes"
3572
3573fi
3574
3575
3576
3577# Check whether --with-libraries was given.
3578if test "${with_libraries+set}" = set; then :
3579  withval=$with_libraries;  ac_addl_libdirs=`echo "$withval" | sed -e 's/:/ /g'` ;
3580    for alibdir in $ac_addl_libdirs; do
3581      if test x"$ac_build_addl_libdirs" = x ; then
3582        ac_build_addl_libdirs="-L$alibdir"
3583      else
3584        ac_build_addl_libdirs="-L$alibdir $ac_build_addl_libdirs"
3585      fi
3586    done
3587    LDFLAGS="$LDFLAGS $ac_build_addl_libdirs"
3588
3589fi
3590
3591
3592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3593$as_echo_n "checking for ANSI C header files... " >&6; }
3594if ${ac_cv_header_stdc+:} false; then :
3595  $as_echo_n "(cached) " >&6
3596else
3597  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598/* end confdefs.h.  */
3599#include <stdlib.h>
3600#include <stdarg.h>
3601#include <string.h>
3602#include <float.h>
3603
3604int
3605main ()
3606{
3607
3608  ;
3609  return 0;
3610}
3611_ACEOF
3612if ac_fn_c_try_compile "$LINENO"; then :
3613  ac_cv_header_stdc=yes
3614else
3615  ac_cv_header_stdc=no
3616fi
3617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618
3619if test $ac_cv_header_stdc = yes; then
3620  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3621  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3622/* end confdefs.h.  */
3623#include <string.h>
3624
3625_ACEOF
3626if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3627  $EGREP "memchr" >/dev/null 2>&1; then :
3628
3629else
3630  ac_cv_header_stdc=no
3631fi
3632rm -f conftest*
3633
3634fi
3635
3636if test $ac_cv_header_stdc = yes; then
3637  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3638  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3639/* end confdefs.h.  */
3640#include <stdlib.h>
3641
3642_ACEOF
3643if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3644  $EGREP "free" >/dev/null 2>&1; then :
3645
3646else
3647  ac_cv_header_stdc=no
3648fi
3649rm -f conftest*
3650
3651fi
3652
3653if test $ac_cv_header_stdc = yes; then
3654  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3655  if test "$cross_compiling" = yes; then :
3656  :
3657else
3658  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659/* end confdefs.h.  */
3660#include <ctype.h>
3661#include <stdlib.h>
3662#if ((' ' & 0x0FF) == 0x020)
3663# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3664# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3665#else
3666# define ISLOWER(c) \
3667		   (('a' <= (c) && (c) <= 'i') \
3668		     || ('j' <= (c) && (c) <= 'r') \
3669		     || ('s' <= (c) && (c) <= 'z'))
3670# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3671#endif
3672
3673#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3674int
3675main ()
3676{
3677  int i;
3678  for (i = 0; i < 256; i++)
3679    if (XOR (islower (i), ISLOWER (i))
3680	|| toupper (i) != TOUPPER (i))
3681      return 2;
3682  return 0;
3683}
3684_ACEOF
3685if ac_fn_c_try_run "$LINENO"; then :
3686
3687else
3688  ac_cv_header_stdc=no
3689fi
3690rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3691  conftest.$ac_objext conftest.beam conftest.$ac_ext
3692fi
3693
3694fi
3695fi
3696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3697$as_echo "$ac_cv_header_stdc" >&6; }
3698if test $ac_cv_header_stdc = yes; then
3699
3700$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3701
3702fi
3703
3704for ac_header in stdlib.h unistd.h limits.h fcntl.h sys/sysctl.h sys/sysinfo.h
3705do :
3706  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3707ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3708if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3709  cat >>confdefs.h <<_ACEOF
3710#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3711_ACEOF
3712
3713fi
3714
3715done
3716
3717for ac_func in random sysctl sysinfo
3718do :
3719  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3720ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3721if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3722  cat >>confdefs.h <<_ACEOF
3723#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3724_ACEOF
3725
3726fi
3727done
3728
3729
3730INCLUDES="$ac_build_addl_includes"
3731
3732
3733
3734
3735ac_config_headers="$ac_config_headers mod_snmp.h"
3736
3737ac_config_files="$ac_config_files Makefile"
3738
3739cat >confcache <<\_ACEOF
3740# This file is a shell script that caches the results of configure
3741# tests run on this system so they can be shared between configure
3742# scripts and configure runs, see configure's option --config-cache.
3743# It is not useful on other systems.  If it contains results you don't
3744# want to keep, you may remove or edit it.
3745#
3746# config.status only pays attention to the cache file if you give it
3747# the --recheck option to rerun configure.
3748#
3749# `ac_cv_env_foo' variables (set or unset) will be overridden when
3750# loading this file, other *unset* `ac_cv_foo' will be assigned the
3751# following values.
3752
3753_ACEOF
3754
3755# The following way of writing the cache mishandles newlines in values,
3756# but we know of no workaround that is simple, portable, and efficient.
3757# So, we kill variables containing newlines.
3758# Ultrix sh set writes to stderr and can't be redirected directly,
3759# and sets the high bit in the cache file unless we assign to the vars.
3760(
3761  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3762    eval ac_val=\$$ac_var
3763    case $ac_val in #(
3764    *${as_nl}*)
3765      case $ac_var in #(
3766      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3767$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3768      esac
3769      case $ac_var in #(
3770      _ | IFS | as_nl) ;; #(
3771      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3772      *) { eval $ac_var=; unset $ac_var;} ;;
3773      esac ;;
3774    esac
3775  done
3776
3777  (set) 2>&1 |
3778    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3779    *${as_nl}ac_space=\ *)
3780      # `set' does not quote correctly, so add quotes: double-quote
3781      # substitution turns \\\\ into \\, and sed turns \\ into \.
3782      sed -n \
3783	"s/'/'\\\\''/g;
3784	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3785      ;; #(
3786    *)
3787      # `set' quotes correctly as required by POSIX, so do not add quotes.
3788      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3789      ;;
3790    esac |
3791    sort
3792) |
3793  sed '
3794     /^ac_cv_env_/b end
3795     t clear
3796     :clear
3797     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3798     t end
3799     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3800     :end' >>confcache
3801if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3802  if test -w "$cache_file"; then
3803    if test "x$cache_file" != "x/dev/null"; then
3804      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3805$as_echo "$as_me: updating cache $cache_file" >&6;}
3806      if test ! -f "$cache_file" || test -h "$cache_file"; then
3807	cat confcache >"$cache_file"
3808      else
3809        case $cache_file in #(
3810        */* | ?:*)
3811	  mv -f confcache "$cache_file"$$ &&
3812	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3813        *)
3814	  mv -f confcache "$cache_file" ;;
3815	esac
3816      fi
3817    fi
3818  else
3819    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3820$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3821  fi
3822fi
3823rm -f confcache
3824
3825test "x$prefix" = xNONE && prefix=$ac_default_prefix
3826# Let make expand exec_prefix.
3827test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3828
3829DEFS=-DHAVE_CONFIG_H
3830
3831ac_libobjs=
3832ac_ltlibobjs=
3833U=
3834for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3835  # 1. Remove the extension, and $U if already installed.
3836  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3837  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3838  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3839  #    will be set to the directory where LIBOBJS objects are built.
3840  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3841  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3842done
3843LIBOBJS=$ac_libobjs
3844
3845LTLIBOBJS=$ac_ltlibobjs
3846
3847
3848
3849: "${CONFIG_STATUS=./config.status}"
3850ac_write_fail=0
3851ac_clean_files_save=$ac_clean_files
3852ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3853{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3854$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3855as_write_fail=0
3856cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3857#! $SHELL
3858# Generated by $as_me.
3859# Run this file to recreate the current configuration.
3860# Compiler output produced by configure, useful for debugging
3861# configure, is in config.log if it exists.
3862
3863debug=false
3864ac_cs_recheck=false
3865ac_cs_silent=false
3866
3867SHELL=\${CONFIG_SHELL-$SHELL}
3868export SHELL
3869_ASEOF
3870cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3871## -------------------- ##
3872## M4sh Initialization. ##
3873## -------------------- ##
3874
3875# Be more Bourne compatible
3876DUALCASE=1; export DUALCASE # for MKS sh
3877if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3878  emulate sh
3879  NULLCMD=:
3880  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3881  # is contrary to our usage.  Disable this feature.
3882  alias -g '${1+"$@"}'='"$@"'
3883  setopt NO_GLOB_SUBST
3884else
3885  case `(set -o) 2>/dev/null` in #(
3886  *posix*) :
3887    set -o posix ;; #(
3888  *) :
3889     ;;
3890esac
3891fi
3892
3893
3894as_nl='
3895'
3896export as_nl
3897# Printing a long string crashes Solaris 7 /usr/bin/printf.
3898as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3899as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3900as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3901# Prefer a ksh shell builtin over an external printf program on Solaris,
3902# but without wasting forks for bash or zsh.
3903if test -z "$BASH_VERSION$ZSH_VERSION" \
3904    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3905  as_echo='print -r --'
3906  as_echo_n='print -rn --'
3907elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3908  as_echo='printf %s\n'
3909  as_echo_n='printf %s'
3910else
3911  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3912    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3913    as_echo_n='/usr/ucb/echo -n'
3914  else
3915    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3916    as_echo_n_body='eval
3917      arg=$1;
3918      case $arg in #(
3919      *"$as_nl"*)
3920	expr "X$arg" : "X\\(.*\\)$as_nl";
3921	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3922      esac;
3923      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3924    '
3925    export as_echo_n_body
3926    as_echo_n='sh -c $as_echo_n_body as_echo'
3927  fi
3928  export as_echo_body
3929  as_echo='sh -c $as_echo_body as_echo'
3930fi
3931
3932# The user is always right.
3933if test "${PATH_SEPARATOR+set}" != set; then
3934  PATH_SEPARATOR=:
3935  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3936    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3937      PATH_SEPARATOR=';'
3938  }
3939fi
3940
3941
3942# IFS
3943# We need space, tab and new line, in precisely that order.  Quoting is
3944# there to prevent editors from complaining about space-tab.
3945# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3946# splitting by setting IFS to empty value.)
3947IFS=" ""	$as_nl"
3948
3949# Find who we are.  Look in the path if we contain no directory separator.
3950as_myself=
3951case $0 in #((
3952  *[\\/]* ) as_myself=$0 ;;
3953  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954for as_dir in $PATH
3955do
3956  IFS=$as_save_IFS
3957  test -z "$as_dir" && as_dir=.
3958    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3959  done
3960IFS=$as_save_IFS
3961
3962     ;;
3963esac
3964# We did not find ourselves, most probably we were run as `sh COMMAND'
3965# in which case we are not to be found in the path.
3966if test "x$as_myself" = x; then
3967  as_myself=$0
3968fi
3969if test ! -f "$as_myself"; then
3970  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3971  exit 1
3972fi
3973
3974# Unset variables that we do not need and which cause bugs (e.g. in
3975# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3976# suppresses any "Segmentation fault" message there.  '((' could
3977# trigger a bug in pdksh 5.2.14.
3978for as_var in BASH_ENV ENV MAIL MAILPATH
3979do eval test x\${$as_var+set} = xset \
3980  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3981done
3982PS1='$ '
3983PS2='> '
3984PS4='+ '
3985
3986# NLS nuisances.
3987LC_ALL=C
3988export LC_ALL
3989LANGUAGE=C
3990export LANGUAGE
3991
3992# CDPATH.
3993(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3994
3995
3996# as_fn_error STATUS ERROR [LINENO LOG_FD]
3997# ----------------------------------------
3998# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3999# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4000# script with STATUS, using 1 if that was 0.
4001as_fn_error ()
4002{
4003  as_status=$1; test $as_status -eq 0 && as_status=1
4004  if test "$4"; then
4005    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4006    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4007  fi
4008  $as_echo "$as_me: error: $2" >&2
4009  as_fn_exit $as_status
4010} # as_fn_error
4011
4012
4013# as_fn_set_status STATUS
4014# -----------------------
4015# Set $? to STATUS, without forking.
4016as_fn_set_status ()
4017{
4018  return $1
4019} # as_fn_set_status
4020
4021# as_fn_exit STATUS
4022# -----------------
4023# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4024as_fn_exit ()
4025{
4026  set +e
4027  as_fn_set_status $1
4028  exit $1
4029} # as_fn_exit
4030
4031# as_fn_unset VAR
4032# ---------------
4033# Portably unset VAR.
4034as_fn_unset ()
4035{
4036  { eval $1=; unset $1;}
4037}
4038as_unset=as_fn_unset
4039# as_fn_append VAR VALUE
4040# ----------------------
4041# Append the text in VALUE to the end of the definition contained in VAR. Take
4042# advantage of any shell optimizations that allow amortized linear growth over
4043# repeated appends, instead of the typical quadratic growth present in naive
4044# implementations.
4045if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4046  eval 'as_fn_append ()
4047  {
4048    eval $1+=\$2
4049  }'
4050else
4051  as_fn_append ()
4052  {
4053    eval $1=\$$1\$2
4054  }
4055fi # as_fn_append
4056
4057# as_fn_arith ARG...
4058# ------------------
4059# Perform arithmetic evaluation on the ARGs, and store the result in the
4060# global $as_val. Take advantage of shells that can avoid forks. The arguments
4061# must be portable across $(()) and expr.
4062if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4063  eval 'as_fn_arith ()
4064  {
4065    as_val=$(( $* ))
4066  }'
4067else
4068  as_fn_arith ()
4069  {
4070    as_val=`expr "$@" || test $? -eq 1`
4071  }
4072fi # as_fn_arith
4073
4074
4075if expr a : '\(a\)' >/dev/null 2>&1 &&
4076   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4077  as_expr=expr
4078else
4079  as_expr=false
4080fi
4081
4082if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4083  as_basename=basename
4084else
4085  as_basename=false
4086fi
4087
4088if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4089  as_dirname=dirname
4090else
4091  as_dirname=false
4092fi
4093
4094as_me=`$as_basename -- "$0" ||
4095$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4096	 X"$0" : 'X\(//\)$' \| \
4097	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4098$as_echo X/"$0" |
4099    sed '/^.*\/\([^/][^/]*\)\/*$/{
4100	    s//\1/
4101	    q
4102	  }
4103	  /^X\/\(\/\/\)$/{
4104	    s//\1/
4105	    q
4106	  }
4107	  /^X\/\(\/\).*/{
4108	    s//\1/
4109	    q
4110	  }
4111	  s/.*/./; q'`
4112
4113# Avoid depending upon Character Ranges.
4114as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4115as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4116as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4117as_cr_digits='0123456789'
4118as_cr_alnum=$as_cr_Letters$as_cr_digits
4119
4120ECHO_C= ECHO_N= ECHO_T=
4121case `echo -n x` in #(((((
4122-n*)
4123  case `echo 'xy\c'` in
4124  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4125  xy)  ECHO_C='\c';;
4126  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4127       ECHO_T='	';;
4128  esac;;
4129*)
4130  ECHO_N='-n';;
4131esac
4132
4133rm -f conf$$ conf$$.exe conf$$.file
4134if test -d conf$$.dir; then
4135  rm -f conf$$.dir/conf$$.file
4136else
4137  rm -f conf$$.dir
4138  mkdir conf$$.dir 2>/dev/null
4139fi
4140if (echo >conf$$.file) 2>/dev/null; then
4141  if ln -s conf$$.file conf$$ 2>/dev/null; then
4142    as_ln_s='ln -s'
4143    # ... but there are two gotchas:
4144    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4145    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4146    # In both cases, we have to default to `cp -pR'.
4147    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4148      as_ln_s='cp -pR'
4149  elif ln conf$$.file conf$$ 2>/dev/null; then
4150    as_ln_s=ln
4151  else
4152    as_ln_s='cp -pR'
4153  fi
4154else
4155  as_ln_s='cp -pR'
4156fi
4157rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4158rmdir conf$$.dir 2>/dev/null
4159
4160
4161# as_fn_mkdir_p
4162# -------------
4163# Create "$as_dir" as a directory, including parents if necessary.
4164as_fn_mkdir_p ()
4165{
4166
4167  case $as_dir in #(
4168  -*) as_dir=./$as_dir;;
4169  esac
4170  test -d "$as_dir" || eval $as_mkdir_p || {
4171    as_dirs=
4172    while :; do
4173      case $as_dir in #(
4174      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4175      *) as_qdir=$as_dir;;
4176      esac
4177      as_dirs="'$as_qdir' $as_dirs"
4178      as_dir=`$as_dirname -- "$as_dir" ||
4179$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4180	 X"$as_dir" : 'X\(//\)[^/]' \| \
4181	 X"$as_dir" : 'X\(//\)$' \| \
4182	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4183$as_echo X"$as_dir" |
4184    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4185	    s//\1/
4186	    q
4187	  }
4188	  /^X\(\/\/\)[^/].*/{
4189	    s//\1/
4190	    q
4191	  }
4192	  /^X\(\/\/\)$/{
4193	    s//\1/
4194	    q
4195	  }
4196	  /^X\(\/\).*/{
4197	    s//\1/
4198	    q
4199	  }
4200	  s/.*/./; q'`
4201      test -d "$as_dir" && break
4202    done
4203    test -z "$as_dirs" || eval "mkdir $as_dirs"
4204  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4205
4206
4207} # as_fn_mkdir_p
4208if mkdir -p . 2>/dev/null; then
4209  as_mkdir_p='mkdir -p "$as_dir"'
4210else
4211  test -d ./-p && rmdir ./-p
4212  as_mkdir_p=false
4213fi
4214
4215
4216# as_fn_executable_p FILE
4217# -----------------------
4218# Test if FILE is an executable regular file.
4219as_fn_executable_p ()
4220{
4221  test -f "$1" && test -x "$1"
4222} # as_fn_executable_p
4223as_test_x='test -x'
4224as_executable_p=as_fn_executable_p
4225
4226# Sed expression to map a string onto a valid CPP name.
4227as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4228
4229# Sed expression to map a string onto a valid variable name.
4230as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4231
4232
4233exec 6>&1
4234## ----------------------------------- ##
4235## Main body of $CONFIG_STATUS script. ##
4236## ----------------------------------- ##
4237_ASEOF
4238test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4239
4240cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4241# Save the log message, to keep $0 and so on meaningful, and to
4242# report actual input values of CONFIG_FILES etc. instead of their
4243# values after options handling.
4244ac_log="
4245This file was extended by $as_me, which was
4246generated by GNU Autoconf 2.69.  Invocation command line was
4247
4248  CONFIG_FILES    = $CONFIG_FILES
4249  CONFIG_HEADERS  = $CONFIG_HEADERS
4250  CONFIG_LINKS    = $CONFIG_LINKS
4251  CONFIG_COMMANDS = $CONFIG_COMMANDS
4252  $ $0 $@
4253
4254on `(hostname || uname -n) 2>/dev/null | sed 1q`
4255"
4256
4257_ACEOF
4258
4259case $ac_config_files in *"
4260"*) set x $ac_config_files; shift; ac_config_files=$*;;
4261esac
4262
4263case $ac_config_headers in *"
4264"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4265esac
4266
4267
4268cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4269# Files that config.status was made for.
4270config_files="$ac_config_files"
4271config_headers="$ac_config_headers"
4272
4273_ACEOF
4274
4275cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4276ac_cs_usage="\
4277\`$as_me' instantiates files and other configuration actions
4278from templates according to the current configuration.  Unless the files
4279and actions are specified as TAGs, all are instantiated by default.
4280
4281Usage: $0 [OPTION]... [TAG]...
4282
4283  -h, --help       print this help, then exit
4284  -V, --version    print version number and configuration settings, then exit
4285      --config     print configuration, then exit
4286  -q, --quiet, --silent
4287                   do not print progress messages
4288  -d, --debug      don't remove temporary files
4289      --recheck    update $as_me by reconfiguring in the same conditions
4290      --file=FILE[:TEMPLATE]
4291                   instantiate the configuration file FILE
4292      --header=FILE[:TEMPLATE]
4293                   instantiate the configuration header FILE
4294
4295Configuration files:
4296$config_files
4297
4298Configuration headers:
4299$config_headers
4300
4301Report bugs to the package provider."
4302
4303_ACEOF
4304cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4305ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4306ac_cs_version="\\
4307config.status
4308configured by $0, generated by GNU Autoconf 2.69,
4309  with options \\"\$ac_cs_config\\"
4310
4311Copyright (C) 2012 Free Software Foundation, Inc.
4312This config.status script is free software; the Free Software Foundation
4313gives unlimited permission to copy, distribute and modify it."
4314
4315ac_pwd='$ac_pwd'
4316srcdir='$srcdir'
4317test -n "\$AWK" || AWK=awk
4318_ACEOF
4319
4320cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4321# The default lists apply if the user does not specify any file.
4322ac_need_defaults=:
4323while test $# != 0
4324do
4325  case $1 in
4326  --*=?*)
4327    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4328    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4329    ac_shift=:
4330    ;;
4331  --*=)
4332    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4333    ac_optarg=
4334    ac_shift=:
4335    ;;
4336  *)
4337    ac_option=$1
4338    ac_optarg=$2
4339    ac_shift=shift
4340    ;;
4341  esac
4342
4343  case $ac_option in
4344  # Handling of the options.
4345  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4346    ac_cs_recheck=: ;;
4347  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4348    $as_echo "$ac_cs_version"; exit ;;
4349  --config | --confi | --conf | --con | --co | --c )
4350    $as_echo "$ac_cs_config"; exit ;;
4351  --debug | --debu | --deb | --de | --d | -d )
4352    debug=: ;;
4353  --file | --fil | --fi | --f )
4354    $ac_shift
4355    case $ac_optarg in
4356    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4357    '') as_fn_error $? "missing file argument" ;;
4358    esac
4359    as_fn_append CONFIG_FILES " '$ac_optarg'"
4360    ac_need_defaults=false;;
4361  --header | --heade | --head | --hea )
4362    $ac_shift
4363    case $ac_optarg in
4364    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4365    esac
4366    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4367    ac_need_defaults=false;;
4368  --he | --h)
4369    # Conflict between --help and --header
4370    as_fn_error $? "ambiguous option: \`$1'
4371Try \`$0 --help' for more information.";;
4372  --help | --hel | -h )
4373    $as_echo "$ac_cs_usage"; exit ;;
4374  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4375  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4376    ac_cs_silent=: ;;
4377
4378  # This is an error.
4379  -*) as_fn_error $? "unrecognized option: \`$1'
4380Try \`$0 --help' for more information." ;;
4381
4382  *) as_fn_append ac_config_targets " $1"
4383     ac_need_defaults=false ;;
4384
4385  esac
4386  shift
4387done
4388
4389ac_configure_extra_args=
4390
4391if $ac_cs_silent; then
4392  exec 6>/dev/null
4393  ac_configure_extra_args="$ac_configure_extra_args --silent"
4394fi
4395
4396_ACEOF
4397cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4398if \$ac_cs_recheck; then
4399  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4400  shift
4401  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4402  CONFIG_SHELL='$SHELL'
4403  export CONFIG_SHELL
4404  exec "\$@"
4405fi
4406
4407_ACEOF
4408cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4409exec 5>>config.log
4410{
4411  echo
4412  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4413## Running $as_me. ##
4414_ASBOX
4415  $as_echo "$ac_log"
4416} >&5
4417
4418_ACEOF
4419cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4420_ACEOF
4421
4422cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4423
4424# Handling of arguments.
4425for ac_config_target in $ac_config_targets
4426do
4427  case $ac_config_target in
4428    "mod_snmp.h") CONFIG_HEADERS="$CONFIG_HEADERS mod_snmp.h" ;;
4429    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4430
4431  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4432  esac
4433done
4434
4435
4436# If the user did not use the arguments to specify the items to instantiate,
4437# then the envvar interface is used.  Set only those that are not.
4438# We use the long form for the default assignment because of an extremely
4439# bizarre bug on SunOS 4.1.3.
4440if $ac_need_defaults; then
4441  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4442  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4443fi
4444
4445# Have a temporary directory for convenience.  Make it in the build tree
4446# simply because there is no reason against having it here, and in addition,
4447# creating and moving files from /tmp can sometimes cause problems.
4448# Hook for its removal unless debugging.
4449# Note that there is a small window in which the directory will not be cleaned:
4450# after its creation but before its name has been assigned to `$tmp'.
4451$debug ||
4452{
4453  tmp= ac_tmp=
4454  trap 'exit_status=$?
4455  : "${ac_tmp:=$tmp}"
4456  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4457' 0
4458  trap 'as_fn_exit 1' 1 2 13 15
4459}
4460# Create a (secure) tmp directory for tmp files.
4461
4462{
4463  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4464  test -d "$tmp"
4465}  ||
4466{
4467  tmp=./conf$$-$RANDOM
4468  (umask 077 && mkdir "$tmp")
4469} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4470ac_tmp=$tmp
4471
4472# Set up the scripts for CONFIG_FILES section.
4473# No need to generate them if there are no CONFIG_FILES.
4474# This happens for instance with `./config.status config.h'.
4475if test -n "$CONFIG_FILES"; then
4476
4477
4478ac_cr=`echo X | tr X '\015'`
4479# On cygwin, bash can eat \r inside `` if the user requested igncr.
4480# But we know of no other shell where ac_cr would be empty at this
4481# point, so we can use a bashism as a fallback.
4482if test "x$ac_cr" = x; then
4483  eval ac_cr=\$\'\\r\'
4484fi
4485ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4486if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4487  ac_cs_awk_cr='\\r'
4488else
4489  ac_cs_awk_cr=$ac_cr
4490fi
4491
4492echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4493_ACEOF
4494
4495
4496{
4497  echo "cat >conf$$subs.awk <<_ACEOF" &&
4498  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4499  echo "_ACEOF"
4500} >conf$$subs.sh ||
4501  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4502ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4503ac_delim='%!_!# '
4504for ac_last_try in false false false false false :; do
4505  . ./conf$$subs.sh ||
4506    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4507
4508  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4509  if test $ac_delim_n = $ac_delim_num; then
4510    break
4511  elif $ac_last_try; then
4512    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4513  else
4514    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4515  fi
4516done
4517rm -f conf$$subs.sh
4518
4519cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4520cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4521_ACEOF
4522sed -n '
4523h
4524s/^/S["/; s/!.*/"]=/
4525p
4526g
4527s/^[^!]*!//
4528:repl
4529t repl
4530s/'"$ac_delim"'$//
4531t delim
4532:nl
4533h
4534s/\(.\{148\}\)..*/\1/
4535t more1
4536s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4537p
4538n
4539b repl
4540:more1
4541s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4542p
4543g
4544s/.\{148\}//
4545t nl
4546:delim
4547h
4548s/\(.\{148\}\)..*/\1/
4549t more2
4550s/["\\]/\\&/g; s/^/"/; s/$/"/
4551p
4552b
4553:more2
4554s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4555p
4556g
4557s/.\{148\}//
4558t delim
4559' <conf$$subs.awk | sed '
4560/^[^""]/{
4561  N
4562  s/\n//
4563}
4564' >>$CONFIG_STATUS || ac_write_fail=1
4565rm -f conf$$subs.awk
4566cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4567_ACAWK
4568cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4569  for (key in S) S_is_set[key] = 1
4570  FS = ""
4571
4572}
4573{
4574  line = $ 0
4575  nfields = split(line, field, "@")
4576  substed = 0
4577  len = length(field[1])
4578  for (i = 2; i < nfields; i++) {
4579    key = field[i]
4580    keylen = length(key)
4581    if (S_is_set[key]) {
4582      value = S[key]
4583      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4584      len += length(value) + length(field[++i])
4585      substed = 1
4586    } else
4587      len += 1 + keylen
4588  }
4589
4590  print line
4591}
4592
4593_ACAWK
4594_ACEOF
4595cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4596if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4597  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4598else
4599  cat
4600fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4601  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4602_ACEOF
4603
4604# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4605# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4606# trailing colons and then remove the whole line if VPATH becomes empty
4607# (actually we leave an empty line to preserve line numbers).
4608if test "x$srcdir" = x.; then
4609  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4610h
4611s///
4612s/^/:/
4613s/[	 ]*$/:/
4614s/:\$(srcdir):/:/g
4615s/:\${srcdir}:/:/g
4616s/:@srcdir@:/:/g
4617s/^:*//
4618s/:*$//
4619x
4620s/\(=[	 ]*\).*/\1/
4621G
4622s/\n//
4623s/^[^=]*=[	 ]*$//
4624}'
4625fi
4626
4627cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4628fi # test -n "$CONFIG_FILES"
4629
4630# Set up the scripts for CONFIG_HEADERS section.
4631# No need to generate them if there are no CONFIG_HEADERS.
4632# This happens for instance with `./config.status Makefile'.
4633if test -n "$CONFIG_HEADERS"; then
4634cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4635BEGIN {
4636_ACEOF
4637
4638# Transform confdefs.h into an awk script `defines.awk', embedded as
4639# here-document in config.status, that substitutes the proper values into
4640# config.h.in to produce config.h.
4641
4642# Create a delimiter string that does not exist in confdefs.h, to ease
4643# handling of long lines.
4644ac_delim='%!_!# '
4645for ac_last_try in false false :; do
4646  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4647  if test -z "$ac_tt"; then
4648    break
4649  elif $ac_last_try; then
4650    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4651  else
4652    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4653  fi
4654done
4655
4656# For the awk script, D is an array of macro values keyed by name,
4657# likewise P contains macro parameters if any.  Preserve backslash
4658# newline sequences.
4659
4660ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4661sed -n '
4662s/.\{148\}/&'"$ac_delim"'/g
4663t rset
4664:rset
4665s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
4666t def
4667d
4668:def
4669s/\\$//
4670t bsnl
4671s/["\\]/\\&/g
4672s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
4673D["\1"]=" \3"/p
4674s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
4675d
4676:bsnl
4677s/["\\]/\\&/g
4678s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
4679D["\1"]=" \3\\\\\\n"\\/p
4680t cont
4681s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4682t cont
4683d
4684:cont
4685n
4686s/.\{148\}/&'"$ac_delim"'/g
4687t clear
4688:clear
4689s/\\$//
4690t bsnlc
4691s/["\\]/\\&/g; s/^/"/; s/$/"/p
4692d
4693:bsnlc
4694s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4695b cont
4696' <confdefs.h | sed '
4697s/'"$ac_delim"'/"\\\
4698"/g' >>$CONFIG_STATUS || ac_write_fail=1
4699
4700cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4701  for (key in D) D_is_set[key] = 1
4702  FS = ""
4703}
4704/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4705  line = \$ 0
4706  split(line, arg, " ")
4707  if (arg[1] == "#") {
4708    defundef = arg[2]
4709    mac1 = arg[3]
4710  } else {
4711    defundef = substr(arg[1], 2)
4712    mac1 = arg[2]
4713  }
4714  split(mac1, mac2, "(") #)
4715  macro = mac2[1]
4716  prefix = substr(line, 1, index(line, defundef) - 1)
4717  if (D_is_set[macro]) {
4718    # Preserve the white space surrounding the "#".
4719    print prefix "define", macro P[macro] D[macro]
4720    next
4721  } else {
4722    # Replace #undef with comments.  This is necessary, for example,
4723    # in the case of _POSIX_SOURCE, which is predefined and required
4724    # on some systems where configure will not decide to define it.
4725    if (defundef == "undef") {
4726      print "/*", prefix defundef, macro, "*/"
4727      next
4728    }
4729  }
4730}
4731{ print }
4732_ACAWK
4733_ACEOF
4734cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4735  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4736fi # test -n "$CONFIG_HEADERS"
4737
4738
4739eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
4740shift
4741for ac_tag
4742do
4743  case $ac_tag in
4744  :[FHLC]) ac_mode=$ac_tag; continue;;
4745  esac
4746  case $ac_mode$ac_tag in
4747  :[FHL]*:*);;
4748  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4749  :[FH]-) ac_tag=-:-;;
4750  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4751  esac
4752  ac_save_IFS=$IFS
4753  IFS=:
4754  set x $ac_tag
4755  IFS=$ac_save_IFS
4756  shift
4757  ac_file=$1
4758  shift
4759
4760  case $ac_mode in
4761  :L) ac_source=$1;;
4762  :[FH])
4763    ac_file_inputs=
4764    for ac_f
4765    do
4766      case $ac_f in
4767      -) ac_f="$ac_tmp/stdin";;
4768      *) # Look for the file first in the build tree, then in the source tree
4769	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4770	 # because $ac_f cannot contain `:'.
4771	 test -f "$ac_f" ||
4772	   case $ac_f in
4773	   [\\/$]*) false;;
4774	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4775	   esac ||
4776	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4777      esac
4778      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4779      as_fn_append ac_file_inputs " '$ac_f'"
4780    done
4781
4782    # Let's still pretend it is `configure' which instantiates (i.e., don't
4783    # use $as_me), people would be surprised to read:
4784    #    /* config.h.  Generated by config.status.  */
4785    configure_input='Generated from '`
4786	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4787	`' by configure.'
4788    if test x"$ac_file" != x-; then
4789      configure_input="$ac_file.  $configure_input"
4790      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4791$as_echo "$as_me: creating $ac_file" >&6;}
4792    fi
4793    # Neutralize special characters interpreted by sed in replacement strings.
4794    case $configure_input in #(
4795    *\&* | *\|* | *\\* )
4796       ac_sed_conf_input=`$as_echo "$configure_input" |
4797       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4798    *) ac_sed_conf_input=$configure_input;;
4799    esac
4800
4801    case $ac_tag in
4802    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4803      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4804    esac
4805    ;;
4806  esac
4807
4808  ac_dir=`$as_dirname -- "$ac_file" ||
4809$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4810	 X"$ac_file" : 'X\(//\)[^/]' \| \
4811	 X"$ac_file" : 'X\(//\)$' \| \
4812	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4813$as_echo X"$ac_file" |
4814    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4815	    s//\1/
4816	    q
4817	  }
4818	  /^X\(\/\/\)[^/].*/{
4819	    s//\1/
4820	    q
4821	  }
4822	  /^X\(\/\/\)$/{
4823	    s//\1/
4824	    q
4825	  }
4826	  /^X\(\/\).*/{
4827	    s//\1/
4828	    q
4829	  }
4830	  s/.*/./; q'`
4831  as_dir="$ac_dir"; as_fn_mkdir_p
4832  ac_builddir=.
4833
4834case "$ac_dir" in
4835.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4836*)
4837  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4838  # A ".." for each directory in $ac_dir_suffix.
4839  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4840  case $ac_top_builddir_sub in
4841  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4842  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4843  esac ;;
4844esac
4845ac_abs_top_builddir=$ac_pwd
4846ac_abs_builddir=$ac_pwd$ac_dir_suffix
4847# for backward compatibility:
4848ac_top_builddir=$ac_top_build_prefix
4849
4850case $srcdir in
4851  .)  # We are building in place.
4852    ac_srcdir=.
4853    ac_top_srcdir=$ac_top_builddir_sub
4854    ac_abs_top_srcdir=$ac_pwd ;;
4855  [\\/]* | ?:[\\/]* )  # Absolute name.
4856    ac_srcdir=$srcdir$ac_dir_suffix;
4857    ac_top_srcdir=$srcdir
4858    ac_abs_top_srcdir=$srcdir ;;
4859  *) # Relative name.
4860    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4861    ac_top_srcdir=$ac_top_build_prefix$srcdir
4862    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4863esac
4864ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4865
4866
4867  case $ac_mode in
4868  :F)
4869  #
4870  # CONFIG_FILE
4871  #
4872
4873_ACEOF
4874
4875cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4876# If the template does not know about datarootdir, expand it.
4877# FIXME: This hack should be removed a few years after 2.60.
4878ac_datarootdir_hack=; ac_datarootdir_seen=
4879ac_sed_dataroot='
4880/datarootdir/ {
4881  p
4882  q
4883}
4884/@datadir@/p
4885/@docdir@/p
4886/@infodir@/p
4887/@localedir@/p
4888/@mandir@/p'
4889case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4890*datarootdir*) ac_datarootdir_seen=yes;;
4891*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4892  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4893$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4894_ACEOF
4895cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4896  ac_datarootdir_hack='
4897  s&@datadir@&$datadir&g
4898  s&@docdir@&$docdir&g
4899  s&@infodir@&$infodir&g
4900  s&@localedir@&$localedir&g
4901  s&@mandir@&$mandir&g
4902  s&\\\${datarootdir}&$datarootdir&g' ;;
4903esac
4904_ACEOF
4905
4906# Neutralize VPATH when `$srcdir' = `.'.
4907# Shell code in configure.ac might set extrasub.
4908# FIXME: do we really want to maintain this feature?
4909cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4910ac_sed_extra="$ac_vpsub
4911$extrasub
4912_ACEOF
4913cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4914:t
4915/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4916s|@configure_input@|$ac_sed_conf_input|;t t
4917s&@top_builddir@&$ac_top_builddir_sub&;t t
4918s&@top_build_prefix@&$ac_top_build_prefix&;t t
4919s&@srcdir@&$ac_srcdir&;t t
4920s&@abs_srcdir@&$ac_abs_srcdir&;t t
4921s&@top_srcdir@&$ac_top_srcdir&;t t
4922s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4923s&@builddir@&$ac_builddir&;t t
4924s&@abs_builddir@&$ac_abs_builddir&;t t
4925s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4926$ac_datarootdir_hack
4927"
4928eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4929  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4930
4931test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4932  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4933  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4934      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4935  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4936which seems to be undefined.  Please make sure it is defined" >&5
4937$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4938which seems to be undefined.  Please make sure it is defined" >&2;}
4939
4940  rm -f "$ac_tmp/stdin"
4941  case $ac_file in
4942  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4943  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4944  esac \
4945  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4946 ;;
4947  :H)
4948  #
4949  # CONFIG_HEADER
4950  #
4951  if test x"$ac_file" != x-; then
4952    {
4953      $as_echo "/* $configure_input  */" \
4954      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4955    } >"$ac_tmp/config.h" \
4956      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4957    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4958      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4959$as_echo "$as_me: $ac_file is unchanged" >&6;}
4960    else
4961      rm -f "$ac_file"
4962      mv "$ac_tmp/config.h" "$ac_file" \
4963	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
4964    fi
4965  else
4966    $as_echo "/* $configure_input  */" \
4967      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4968      || as_fn_error $? "could not create -" "$LINENO" 5
4969  fi
4970 ;;
4971
4972
4973  esac
4974
4975done # for ac_tag
4976
4977
4978as_fn_exit 0
4979_ACEOF
4980ac_clean_files=$ac_clean_files_save
4981
4982test $ac_write_fail = 0 ||
4983  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4984
4985
4986# configure is writing to config.log, and then calls config.status.
4987# config.status does its own redirection, appending to config.log.
4988# Unfortunately, on DOS this fails, as config.log is still kept open
4989# by configure, so config.status won't be able to write to it; its
4990# output is simply discarded.  So we exec the FD to /dev/null,
4991# effectively closing config.log, so it can be properly (re)opened and
4992# appended to by config.status.  When coming back to configure, we
4993# need to make the FD available again.
4994if test "$no_create" != yes; then
4995  ac_cs_success=:
4996  ac_config_status_args=
4997  test "$silent" = yes &&
4998    ac_config_status_args="$ac_config_status_args --quiet"
4999  exec 5>/dev/null
5000  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5001  exec 5>>config.log
5002  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5003  # would make configure fail if this is the last instruction.
5004  $ac_cs_success || as_fn_exit 1
5005fi
5006if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5007  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5008$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5009fi
5010
5011