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