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