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="common.h"
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
623LIBPTHREAD
624CONMAN_PORT
625CONMAN_HOST
626CONMAN_CONF
627IPMI_LIBS
628IPMI_OBJS
629DEBUG_CFLAGS
630LIBOBJS
631EGREP
632GREP
633CPP
634RANLIB
635SET_MAKE
636LN_S
637INSTALL_DATA
638INSTALL_SCRIPT
639INSTALL_PROGRAM
640OBJEXT
641EXEEXT
642ac_ct_CC
643CPPFLAGS
644LDFLAGS
645CFLAGS
646CC
647host_os
648host_vendor
649host_cpu
650host
651build_os
652build_vendor
653build_cpu
654build
655DATE
656VERSION
657PROJECT
658target_alias
659host_alias
660build_alias
661LIBS
662ECHO_T
663ECHO_N
664ECHO_C
665DEFS
666mandir
667localedir
668libdir
669psdir
670pdfdir
671dvidir
672htmldir
673infodir
674docdir
675oldincludedir
676includedir
677runstatedir
678localstatedir
679sharedstatedir
680sysconfdir
681datadir
682datarootdir
683libexecdir
684sbindir
685bindir
686program_transform_name
687prefix
688exec_prefix
689PACKAGE_URL
690PACKAGE_BUGREPORT
691PACKAGE_STRING
692PACKAGE_VERSION
693PACKAGE_TARNAME
694PACKAGE_NAME
695PATH_SEPARATOR
696SHELL'
697ac_subst_files=''
698ac_user_opts='
699enable_option_checking
700enable_debug
701with_dmalloc
702with_tcp_wrappers
703with_freeipmi
704with_conman_host
705with_conman_port
706'
707      ac_precious_vars='build_alias
708host_alias
709target_alias
710CC
711CFLAGS
712LDFLAGS
713LIBS
714CPPFLAGS
715CPP'
716
717
718# Initialize some variables set by options.
719ac_init_help=
720ac_init_version=false
721ac_unrecognized_opts=
722ac_unrecognized_sep=
723# The variables have the same names as the options, with
724# dashes changed to underlines.
725cache_file=/dev/null
726exec_prefix=NONE
727no_create=
728no_recursion=
729prefix=NONE
730program_prefix=NONE
731program_suffix=NONE
732program_transform_name=s,x,x,
733silent=
734site=
735srcdir=
736verbose=
737x_includes=NONE
738x_libraries=NONE
739
740# Installation directory options.
741# These are left unexpanded so users can "make install exec_prefix=/foo"
742# and all the variables that are supposed to be based on exec_prefix
743# by default will actually change.
744# Use braces instead of parens because sh, perl, etc. also accept them.
745# (The list follows the same order as the GNU Coding Standards.)
746bindir='${exec_prefix}/bin'
747sbindir='${exec_prefix}/sbin'
748libexecdir='${exec_prefix}/libexec'
749datarootdir='${prefix}/share'
750datadir='${datarootdir}'
751sysconfdir='${prefix}/etc'
752sharedstatedir='${prefix}/com'
753localstatedir='${prefix}/var'
754runstatedir='${localstatedir}/run'
755includedir='${prefix}/include'
756oldincludedir='/usr/include'
757docdir='${datarootdir}/doc/${PACKAGE}'
758infodir='${datarootdir}/info'
759htmldir='${docdir}'
760dvidir='${docdir}'
761pdfdir='${docdir}'
762psdir='${docdir}'
763libdir='${exec_prefix}/lib'
764localedir='${datarootdir}/locale'
765mandir='${datarootdir}/man'
766
767ac_prev=
768ac_dashdash=
769for ac_option
770do
771  # If the previous option needs an argument, assign it.
772  if test -n "$ac_prev"; then
773    eval $ac_prev=\$ac_option
774    ac_prev=
775    continue
776  fi
777
778  case $ac_option in
779  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
780  *=)   ac_optarg= ;;
781  *)    ac_optarg=yes ;;
782  esac
783
784  # Accept the important Cygnus configure options, so we can diagnose typos.
785
786  case $ac_dashdash$ac_option in
787  --)
788    ac_dashdash=yes ;;
789
790  -bindir | --bindir | --bindi | --bind | --bin | --bi)
791    ac_prev=bindir ;;
792  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
793    bindir=$ac_optarg ;;
794
795  -build | --build | --buil | --bui | --bu)
796    ac_prev=build_alias ;;
797  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798    build_alias=$ac_optarg ;;
799
800  -cache-file | --cache-file | --cache-fil | --cache-fi \
801  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802    ac_prev=cache_file ;;
803  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805    cache_file=$ac_optarg ;;
806
807  --config-cache | -C)
808    cache_file=config.cache ;;
809
810  -datadir | --datadir | --datadi | --datad)
811    ac_prev=datadir ;;
812  -datadir=* | --datadir=* | --datadi=* | --datad=*)
813    datadir=$ac_optarg ;;
814
815  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816  | --dataroo | --dataro | --datar)
817    ac_prev=datarootdir ;;
818  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820    datarootdir=$ac_optarg ;;
821
822  -disable-* | --disable-*)
823    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824    # Reject names that are not valid shell variable names.
825    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826      as_fn_error $? "invalid feature name: $ac_useropt"
827    ac_useropt_orig=$ac_useropt
828    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
829    case $ac_user_opts in
830      *"
831"enable_$ac_useropt"
832"*) ;;
833      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
834	 ac_unrecognized_sep=', ';;
835    esac
836    eval enable_$ac_useropt=no ;;
837
838  -docdir | --docdir | --docdi | --doc | --do)
839    ac_prev=docdir ;;
840  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841    docdir=$ac_optarg ;;
842
843  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
844    ac_prev=dvidir ;;
845  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846    dvidir=$ac_optarg ;;
847
848  -enable-* | --enable-*)
849    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
850    # Reject names that are not valid shell variable names.
851    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852      as_fn_error $? "invalid feature name: $ac_useropt"
853    ac_useropt_orig=$ac_useropt
854    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855    case $ac_user_opts in
856      *"
857"enable_$ac_useropt"
858"*) ;;
859      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
860	 ac_unrecognized_sep=', ';;
861    esac
862    eval enable_$ac_useropt=\$ac_optarg ;;
863
864  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
865  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
866  | --exec | --exe | --ex)
867    ac_prev=exec_prefix ;;
868  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
869  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
870  | --exec=* | --exe=* | --ex=*)
871    exec_prefix=$ac_optarg ;;
872
873  -gas | --gas | --ga | --g)
874    # Obsolete; use --with-gas.
875    with_gas=yes ;;
876
877  -help | --help | --hel | --he | -h)
878    ac_init_help=long ;;
879  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
880    ac_init_help=recursive ;;
881  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
882    ac_init_help=short ;;
883
884  -host | --host | --hos | --ho)
885    ac_prev=host_alias ;;
886  -host=* | --host=* | --hos=* | --ho=*)
887    host_alias=$ac_optarg ;;
888
889  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
890    ac_prev=htmldir ;;
891  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
892  | --ht=*)
893    htmldir=$ac_optarg ;;
894
895  -includedir | --includedir | --includedi | --included | --include \
896  | --includ | --inclu | --incl | --inc)
897    ac_prev=includedir ;;
898  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
899  | --includ=* | --inclu=* | --incl=* | --inc=*)
900    includedir=$ac_optarg ;;
901
902  -infodir | --infodir | --infodi | --infod | --info | --inf)
903    ac_prev=infodir ;;
904  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905    infodir=$ac_optarg ;;
906
907  -libdir | --libdir | --libdi | --libd)
908    ac_prev=libdir ;;
909  -libdir=* | --libdir=* | --libdi=* | --libd=*)
910    libdir=$ac_optarg ;;
911
912  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
913  | --libexe | --libex | --libe)
914    ac_prev=libexecdir ;;
915  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
916  | --libexe=* | --libex=* | --libe=*)
917    libexecdir=$ac_optarg ;;
918
919  -localedir | --localedir | --localedi | --localed | --locale)
920    ac_prev=localedir ;;
921  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922    localedir=$ac_optarg ;;
923
924  -localstatedir | --localstatedir | --localstatedi | --localstated \
925  | --localstate | --localstat | --localsta | --localst | --locals)
926    ac_prev=localstatedir ;;
927  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
928  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
929    localstatedir=$ac_optarg ;;
930
931  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
932    ac_prev=mandir ;;
933  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
934    mandir=$ac_optarg ;;
935
936  -nfp | --nfp | --nf)
937    # Obsolete; use --without-fp.
938    with_fp=no ;;
939
940  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941  | --no-cr | --no-c | -n)
942    no_create=yes ;;
943
944  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
946    no_recursion=yes ;;
947
948  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
949  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
950  | --oldin | --oldi | --old | --ol | --o)
951    ac_prev=oldincludedir ;;
952  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
953  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
954  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955    oldincludedir=$ac_optarg ;;
956
957  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
958    ac_prev=prefix ;;
959  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
960    prefix=$ac_optarg ;;
961
962  -program-prefix | --program-prefix | --program-prefi | --program-pref \
963  | --program-pre | --program-pr | --program-p)
964    ac_prev=program_prefix ;;
965  -program-prefix=* | --program-prefix=* | --program-prefi=* \
966  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
967    program_prefix=$ac_optarg ;;
968
969  -program-suffix | --program-suffix | --program-suffi | --program-suff \
970  | --program-suf | --program-su | --program-s)
971    ac_prev=program_suffix ;;
972  -program-suffix=* | --program-suffix=* | --program-suffi=* \
973  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
974    program_suffix=$ac_optarg ;;
975
976  -program-transform-name | --program-transform-name \
977  | --program-transform-nam | --program-transform-na \
978  | --program-transform-n | --program-transform- \
979  | --program-transform | --program-transfor \
980  | --program-transfo | --program-transf \
981  | --program-trans | --program-tran \
982  | --progr-tra | --program-tr | --program-t)
983    ac_prev=program_transform_name ;;
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    program_transform_name=$ac_optarg ;;
992
993  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
994    ac_prev=pdfdir ;;
995  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
996    pdfdir=$ac_optarg ;;
997
998  -psdir | --psdir | --psdi | --psd | --ps)
999    ac_prev=psdir ;;
1000  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1001    psdir=$ac_optarg ;;
1002
1003  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004  | -silent | --silent | --silen | --sile | --sil)
1005    silent=yes ;;
1006
1007  -runstatedir | --runstatedir | --runstatedi | --runstated \
1008  | --runstate | --runstat | --runsta | --runst | --runs \
1009  | --run | --ru | --r)
1010    ac_prev=runstatedir ;;
1011  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1012  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1013  | --run=* | --ru=* | --r=*)
1014    runstatedir=$ac_optarg ;;
1015
1016  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1017    ac_prev=sbindir ;;
1018  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1019  | --sbi=* | --sb=*)
1020    sbindir=$ac_optarg ;;
1021
1022  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1023  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1024  | --sharedst | --shareds | --shared | --share | --shar \
1025  | --sha | --sh)
1026    ac_prev=sharedstatedir ;;
1027  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1028  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1029  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1030  | --sha=* | --sh=*)
1031    sharedstatedir=$ac_optarg ;;
1032
1033  -site | --site | --sit)
1034    ac_prev=site ;;
1035  -site=* | --site=* | --sit=*)
1036    site=$ac_optarg ;;
1037
1038  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1039    ac_prev=srcdir ;;
1040  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1041    srcdir=$ac_optarg ;;
1042
1043  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1044  | --syscon | --sysco | --sysc | --sys | --sy)
1045    ac_prev=sysconfdir ;;
1046  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1047  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1048    sysconfdir=$ac_optarg ;;
1049
1050  -target | --target | --targe | --targ | --tar | --ta | --t)
1051    ac_prev=target_alias ;;
1052  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1053    target_alias=$ac_optarg ;;
1054
1055  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1056    verbose=yes ;;
1057
1058  -version | --version | --versio | --versi | --vers | -V)
1059    ac_init_version=: ;;
1060
1061  -with-* | --with-*)
1062    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1063    # Reject names that are not valid shell variable names.
1064    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065      as_fn_error $? "invalid package name: $ac_useropt"
1066    ac_useropt_orig=$ac_useropt
1067    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068    case $ac_user_opts in
1069      *"
1070"with_$ac_useropt"
1071"*) ;;
1072      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1073	 ac_unrecognized_sep=', ';;
1074    esac
1075    eval with_$ac_useropt=\$ac_optarg ;;
1076
1077  -without-* | --without-*)
1078    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1079    # Reject names that are not valid shell variable names.
1080    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081      as_fn_error $? "invalid package name: $ac_useropt"
1082    ac_useropt_orig=$ac_useropt
1083    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084    case $ac_user_opts in
1085      *"
1086"with_$ac_useropt"
1087"*) ;;
1088      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1089	 ac_unrecognized_sep=', ';;
1090    esac
1091    eval with_$ac_useropt=no ;;
1092
1093  --x)
1094    # Obsolete; use --with-x.
1095    with_x=yes ;;
1096
1097  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1098  | --x-incl | --x-inc | --x-in | --x-i)
1099    ac_prev=x_includes ;;
1100  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1101  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1102    x_includes=$ac_optarg ;;
1103
1104  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1105  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1106    ac_prev=x_libraries ;;
1107  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1108  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1109    x_libraries=$ac_optarg ;;
1110
1111  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1112Try \`$0 --help' for more information"
1113    ;;
1114
1115  *=*)
1116    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1117    # Reject names that are not valid shell variable names.
1118    case $ac_envvar in #(
1119      '' | [0-9]* | *[!_$as_cr_alnum]* )
1120      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1121    esac
1122    eval $ac_envvar=\$ac_optarg
1123    export $ac_envvar ;;
1124
1125  *)
1126    # FIXME: should be removed in autoconf 3.0.
1127    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1128    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1129      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1130    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1131    ;;
1132
1133  esac
1134done
1135
1136if test -n "$ac_prev"; then
1137  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1138  as_fn_error $? "missing argument to $ac_option"
1139fi
1140
1141if test -n "$ac_unrecognized_opts"; then
1142  case $enable_option_checking in
1143    no) ;;
1144    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1145    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1146  esac
1147fi
1148
1149# Check all directory arguments for consistency.
1150for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1151		datadir sysconfdir sharedstatedir localstatedir includedir \
1152		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1153		libdir localedir mandir runstatedir
1154do
1155  eval ac_val=\$$ac_var
1156  # Remove trailing slashes.
1157  case $ac_val in
1158    */ )
1159      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1160      eval $ac_var=\$ac_val;;
1161  esac
1162  # Be sure to have absolute directory names.
1163  case $ac_val in
1164    [\\/$]* | ?:[\\/]* )  continue;;
1165    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1166  esac
1167  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1168done
1169
1170# There might be people who depend on the old broken behavior: `$host'
1171# used to hold the argument of --host etc.
1172# FIXME: To remove some day.
1173build=$build_alias
1174host=$host_alias
1175target=$target_alias
1176
1177# FIXME: To remove some day.
1178if test "x$host_alias" != x; then
1179  if test "x$build_alias" = x; then
1180    cross_compiling=maybe
1181  elif test "x$build_alias" != "x$host_alias"; then
1182    cross_compiling=yes
1183  fi
1184fi
1185
1186ac_tool_prefix=
1187test -n "$host_alias" && ac_tool_prefix=$host_alias-
1188
1189test "$silent" = yes && exec 6>/dev/null
1190
1191
1192ac_pwd=`pwd` && test -n "$ac_pwd" &&
1193ac_ls_di=`ls -di .` &&
1194ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1195  as_fn_error $? "working directory cannot be determined"
1196test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1197  as_fn_error $? "pwd does not report name of working directory"
1198
1199
1200# Find the source files, if location was not specified.
1201if test -z "$srcdir"; then
1202  ac_srcdir_defaulted=yes
1203  # Try the directory containing this script, then the parent directory.
1204  ac_confdir=`$as_dirname -- "$as_myself" ||
1205$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1206	 X"$as_myself" : 'X\(//\)[^/]' \| \
1207	 X"$as_myself" : 'X\(//\)$' \| \
1208	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1209$as_echo X"$as_myself" |
1210    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1211	    s//\1/
1212	    q
1213	  }
1214	  /^X\(\/\/\)[^/].*/{
1215	    s//\1/
1216	    q
1217	  }
1218	  /^X\(\/\/\)$/{
1219	    s//\1/
1220	    q
1221	  }
1222	  /^X\(\/\).*/{
1223	    s//\1/
1224	    q
1225	  }
1226	  s/.*/./; q'`
1227  srcdir=$ac_confdir
1228  if test ! -r "$srcdir/$ac_unique_file"; then
1229    srcdir=..
1230  fi
1231else
1232  ac_srcdir_defaulted=no
1233fi
1234if test ! -r "$srcdir/$ac_unique_file"; then
1235  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1236  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1237fi
1238ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1239ac_abs_confdir=`(
1240	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1241	pwd)`
1242# When building in place, set srcdir=.
1243if test "$ac_abs_confdir" = "$ac_pwd"; then
1244  srcdir=.
1245fi
1246# Remove unnecessary trailing slashes from srcdir.
1247# Double slashes in file names in object file debugging info
1248# mess up M-x gdb in Emacs.
1249case $srcdir in
1250*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1251esac
1252for ac_var in $ac_precious_vars; do
1253  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1254  eval ac_env_${ac_var}_value=\$${ac_var}
1255  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1256  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1257done
1258
1259#
1260# Report the --help message.
1261#
1262if test "$ac_init_help" = "long"; then
1263  # Omit some internal or obsolete options to make the list less imposing.
1264  # This message is too long to be a string in the A/UX 3.1 sh.
1265  cat <<_ACEOF
1266\`configure' configures this package to adapt to many kinds of systems.
1267
1268Usage: $0 [OPTION]... [VAR=VALUE]...
1269
1270To assign environment variables (e.g., CC, CFLAGS...), specify them as
1271VAR=VALUE.  See below for descriptions of some of the useful variables.
1272
1273Defaults for the options are specified in brackets.
1274
1275Configuration:
1276  -h, --help              display this help and exit
1277      --help=short        display options specific to this package
1278      --help=recursive    display the short help of all the included packages
1279  -V, --version           display version information and exit
1280  -q, --quiet, --silent   do not print \`checking ...' messages
1281      --cache-file=FILE   cache test results in FILE [disabled]
1282  -C, --config-cache      alias for \`--cache-file=config.cache'
1283  -n, --no-create         do not create output files
1284      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1285
1286Installation directories:
1287  --prefix=PREFIX         install architecture-independent files in PREFIX
1288                          [$ac_default_prefix]
1289  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1290                          [PREFIX]
1291
1292By default, \`make install' will install all the files in
1293\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1294an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1295for instance \`--prefix=\$HOME'.
1296
1297For better control, use the options below.
1298
1299Fine tuning of the installation directories:
1300  --bindir=DIR            user executables [EPREFIX/bin]
1301  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1302  --libexecdir=DIR        program executables [EPREFIX/libexec]
1303  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1304  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1305  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1306  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1307  --libdir=DIR            object code libraries [EPREFIX/lib]
1308  --includedir=DIR        C header files [PREFIX/include]
1309  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1310  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1311  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1312  --infodir=DIR           info documentation [DATAROOTDIR/info]
1313  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1314  --mandir=DIR            man documentation [DATAROOTDIR/man]
1315  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1316  --htmldir=DIR           html documentation [DOCDIR]
1317  --dvidir=DIR            dvi documentation [DOCDIR]
1318  --pdfdir=DIR            pdf documentation [DOCDIR]
1319  --psdir=DIR             ps documentation [DOCDIR]
1320_ACEOF
1321
1322  cat <<\_ACEOF
1323
1324System types:
1325  --build=BUILD     configure for building on BUILD [guessed]
1326  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1327_ACEOF
1328fi
1329
1330if test -n "$ac_init_help"; then
1331
1332  cat <<\_ACEOF
1333
1334Optional Features:
1335  --disable-option-checking  ignore unrecognized --enable/--with options
1336  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1337  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1338  --enable-debug          enable debugging for development work
1339
1340Optional Packages:
1341  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1342  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1343  --with-dmalloc          use Gray Watson's dmalloc library
1344  --with-tcp-wrappers     use Wietse Venema's TCP Wrappers
1345  --with-freeipmi         use FreeIPMI's Serial-Over-LAN console
1346  --with-conman-host=HOST default host name of daemon [127.0.0.1]
1347  --with-conman-port=PORT default port number of daemon [7890]
1348
1349Some influential environment variables:
1350  CC          C compiler command
1351  CFLAGS      C compiler flags
1352  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1353              nonstandard directory <lib dir>
1354  LIBS        libraries to pass to the linker, e.g. -l<library>
1355  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1356              you have headers in a nonstandard directory <include dir>
1357  CPP         C preprocessor
1358
1359Use these variables to override the choices made by `configure' or to help
1360it to find libraries and programs with nonstandard names/locations.
1361
1362Report bugs to the package provider.
1363_ACEOF
1364ac_status=$?
1365fi
1366
1367if test "$ac_init_help" = "recursive"; then
1368  # If there are subdirs, report their specific --help.
1369  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1370    test -d "$ac_dir" ||
1371      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1372      continue
1373    ac_builddir=.
1374
1375case "$ac_dir" in
1376.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1377*)
1378  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1379  # A ".." for each directory in $ac_dir_suffix.
1380  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1381  case $ac_top_builddir_sub in
1382  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1383  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1384  esac ;;
1385esac
1386ac_abs_top_builddir=$ac_pwd
1387ac_abs_builddir=$ac_pwd$ac_dir_suffix
1388# for backward compatibility:
1389ac_top_builddir=$ac_top_build_prefix
1390
1391case $srcdir in
1392  .)  # We are building in place.
1393    ac_srcdir=.
1394    ac_top_srcdir=$ac_top_builddir_sub
1395    ac_abs_top_srcdir=$ac_pwd ;;
1396  [\\/]* | ?:[\\/]* )  # Absolute name.
1397    ac_srcdir=$srcdir$ac_dir_suffix;
1398    ac_top_srcdir=$srcdir
1399    ac_abs_top_srcdir=$srcdir ;;
1400  *) # Relative name.
1401    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1402    ac_top_srcdir=$ac_top_build_prefix$srcdir
1403    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1404esac
1405ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1406
1407    cd "$ac_dir" || { ac_status=$?; continue; }
1408    # Check for guested configure.
1409    if test -f "$ac_srcdir/configure.gnu"; then
1410      echo &&
1411      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1412    elif test -f "$ac_srcdir/configure"; then
1413      echo &&
1414      $SHELL "$ac_srcdir/configure" --help=recursive
1415    else
1416      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1417    fi || ac_status=$?
1418    cd "$ac_pwd" || { ac_status=$?; break; }
1419  done
1420fi
1421
1422test -n "$ac_init_help" && exit $ac_status
1423if $ac_init_version; then
1424  cat <<\_ACEOF
1425configure
1426generated by GNU Autoconf 2.69
1427
1428Copyright (C) 2012 Free Software Foundation, Inc.
1429This configure script is free software; the Free Software Foundation
1430gives unlimited permission to copy, distribute and modify it.
1431_ACEOF
1432  exit
1433fi
1434
1435## ------------------------ ##
1436## Autoconf initialization. ##
1437## ------------------------ ##
1438
1439# ac_fn_c_try_compile LINENO
1440# --------------------------
1441# Try to compile conftest.$ac_ext, and return whether this succeeded.
1442ac_fn_c_try_compile ()
1443{
1444  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1445  rm -f conftest.$ac_objext
1446  if { { ac_try="$ac_compile"
1447case "(($ac_try" in
1448  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1449  *) ac_try_echo=$ac_try;;
1450esac
1451eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1452$as_echo "$ac_try_echo"; } >&5
1453  (eval "$ac_compile") 2>conftest.err
1454  ac_status=$?
1455  if test -s conftest.err; then
1456    grep -v '^ *+' conftest.err >conftest.er1
1457    cat conftest.er1 >&5
1458    mv -f conftest.er1 conftest.err
1459  fi
1460  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1461  test $ac_status = 0; } && {
1462	 test -z "$ac_c_werror_flag" ||
1463	 test ! -s conftest.err
1464       } && test -s conftest.$ac_objext; then :
1465  ac_retval=0
1466else
1467  $as_echo "$as_me: failed program was:" >&5
1468sed 's/^/| /' conftest.$ac_ext >&5
1469
1470	ac_retval=1
1471fi
1472  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1473  as_fn_set_status $ac_retval
1474
1475} # ac_fn_c_try_compile
1476
1477# ac_fn_c_try_link LINENO
1478# -----------------------
1479# Try to link conftest.$ac_ext, and return whether this succeeded.
1480ac_fn_c_try_link ()
1481{
1482  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483  rm -f conftest.$ac_objext conftest$ac_exeext
1484  if { { ac_try="$ac_link"
1485case "(($ac_try" in
1486  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1487  *) ac_try_echo=$ac_try;;
1488esac
1489eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1490$as_echo "$ac_try_echo"; } >&5
1491  (eval "$ac_link") 2>conftest.err
1492  ac_status=$?
1493  if test -s conftest.err; then
1494    grep -v '^ *+' conftest.err >conftest.er1
1495    cat conftest.er1 >&5
1496    mv -f conftest.er1 conftest.err
1497  fi
1498  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1499  test $ac_status = 0; } && {
1500	 test -z "$ac_c_werror_flag" ||
1501	 test ! -s conftest.err
1502       } && test -s conftest$ac_exeext && {
1503	 test "$cross_compiling" = yes ||
1504	 test -x conftest$ac_exeext
1505       }; then :
1506  ac_retval=0
1507else
1508  $as_echo "$as_me: failed program was:" >&5
1509sed 's/^/| /' conftest.$ac_ext >&5
1510
1511	ac_retval=1
1512fi
1513  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1514  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1515  # interfere with the next link command; also delete a directory that is
1516  # left behind by Apple's compiler.  We do this before executing the actions.
1517  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1518  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1519  as_fn_set_status $ac_retval
1520
1521} # ac_fn_c_try_link
1522
1523# ac_fn_c_try_cpp LINENO
1524# ----------------------
1525# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1526ac_fn_c_try_cpp ()
1527{
1528  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1529  if { { ac_try="$ac_cpp conftest.$ac_ext"
1530case "(($ac_try" in
1531  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1532  *) ac_try_echo=$ac_try;;
1533esac
1534eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1535$as_echo "$ac_try_echo"; } >&5
1536  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1537  ac_status=$?
1538  if test -s conftest.err; then
1539    grep -v '^ *+' conftest.err >conftest.er1
1540    cat conftest.er1 >&5
1541    mv -f conftest.er1 conftest.err
1542  fi
1543  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1544  test $ac_status = 0; } > conftest.i && {
1545	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1546	 test ! -s conftest.err
1547       }; then :
1548  ac_retval=0
1549else
1550  $as_echo "$as_me: failed program was:" >&5
1551sed 's/^/| /' conftest.$ac_ext >&5
1552
1553    ac_retval=1
1554fi
1555  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1556  as_fn_set_status $ac_retval
1557
1558} # ac_fn_c_try_cpp
1559
1560# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1561# -------------------------------------------------------
1562# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1563# the include files in INCLUDES and setting the cache variable VAR
1564# accordingly.
1565ac_fn_c_check_header_mongrel ()
1566{
1567  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568  if eval \${$3+:} false; then :
1569  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1570$as_echo_n "checking for $2... " >&6; }
1571if eval \${$3+:} false; then :
1572  $as_echo_n "(cached) " >&6
1573fi
1574eval ac_res=\$$3
1575	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1576$as_echo "$ac_res" >&6; }
1577else
1578  # Is the header compilable?
1579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1580$as_echo_n "checking $2 usability... " >&6; }
1581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1582/* end confdefs.h.  */
1583$4
1584#include <$2>
1585_ACEOF
1586if ac_fn_c_try_compile "$LINENO"; then :
1587  ac_header_compiler=yes
1588else
1589  ac_header_compiler=no
1590fi
1591rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1593$as_echo "$ac_header_compiler" >&6; }
1594
1595# Is the header present?
1596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1597$as_echo_n "checking $2 presence... " >&6; }
1598cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1599/* end confdefs.h.  */
1600#include <$2>
1601_ACEOF
1602if ac_fn_c_try_cpp "$LINENO"; then :
1603  ac_header_preproc=yes
1604else
1605  ac_header_preproc=no
1606fi
1607rm -f conftest.err conftest.i conftest.$ac_ext
1608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1609$as_echo "$ac_header_preproc" >&6; }
1610
1611# So?  What about this header?
1612case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1613  yes:no: )
1614    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1615$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1616    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1617$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1618    ;;
1619  no:yes:* )
1620    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1621$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1622    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1623$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1624    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1625$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1626    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1627$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1628    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1629$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1630    ;;
1631esac
1632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1633$as_echo_n "checking for $2... " >&6; }
1634if eval \${$3+:} false; then :
1635  $as_echo_n "(cached) " >&6
1636else
1637  eval "$3=\$ac_header_compiler"
1638fi
1639eval ac_res=\$$3
1640	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1641$as_echo "$ac_res" >&6; }
1642fi
1643  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644
1645} # ac_fn_c_check_header_mongrel
1646
1647# ac_fn_c_try_run LINENO
1648# ----------------------
1649# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1650# that executables *can* be run.
1651ac_fn_c_try_run ()
1652{
1653  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654  if { { ac_try="$ac_link"
1655case "(($ac_try" in
1656  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1657  *) ac_try_echo=$ac_try;;
1658esac
1659eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660$as_echo "$ac_try_echo"; } >&5
1661  (eval "$ac_link") 2>&5
1662  ac_status=$?
1663  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1665  { { case "(($ac_try" in
1666  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667  *) ac_try_echo=$ac_try;;
1668esac
1669eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670$as_echo "$ac_try_echo"; } >&5
1671  (eval "$ac_try") 2>&5
1672  ac_status=$?
1673  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674  test $ac_status = 0; }; }; then :
1675  ac_retval=0
1676else
1677  $as_echo "$as_me: program exited with status $ac_status" >&5
1678       $as_echo "$as_me: failed program was:" >&5
1679sed 's/^/| /' conftest.$ac_ext >&5
1680
1681       ac_retval=$ac_status
1682fi
1683  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1684  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685  as_fn_set_status $ac_retval
1686
1687} # ac_fn_c_try_run
1688
1689# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1690# -------------------------------------------------------
1691# Tests whether HEADER exists and can be compiled using the include files in
1692# INCLUDES, setting the cache variable VAR accordingly.
1693ac_fn_c_check_header_compile ()
1694{
1695  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1697$as_echo_n "checking for $2... " >&6; }
1698if eval \${$3+:} false; then :
1699  $as_echo_n "(cached) " >&6
1700else
1701  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1702/* end confdefs.h.  */
1703$4
1704#include <$2>
1705_ACEOF
1706if ac_fn_c_try_compile "$LINENO"; then :
1707  eval "$3=yes"
1708else
1709  eval "$3=no"
1710fi
1711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1712fi
1713eval ac_res=\$$3
1714	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1715$as_echo "$ac_res" >&6; }
1716  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717
1718} # ac_fn_c_check_header_compile
1719
1720# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1721# -------------------------------------------
1722# Tests whether TYPE exists after having included INCLUDES, setting cache
1723# variable VAR accordingly.
1724ac_fn_c_check_type ()
1725{
1726  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1728$as_echo_n "checking for $2... " >&6; }
1729if eval \${$3+:} false; then :
1730  $as_echo_n "(cached) " >&6
1731else
1732  eval "$3=no"
1733  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734/* end confdefs.h.  */
1735$4
1736int
1737main ()
1738{
1739if (sizeof ($2))
1740	 return 0;
1741  ;
1742  return 0;
1743}
1744_ACEOF
1745if ac_fn_c_try_compile "$LINENO"; then :
1746  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1747/* end confdefs.h.  */
1748$4
1749int
1750main ()
1751{
1752if (sizeof (($2)))
1753	    return 0;
1754  ;
1755  return 0;
1756}
1757_ACEOF
1758if ac_fn_c_try_compile "$LINENO"; then :
1759
1760else
1761  eval "$3=yes"
1762fi
1763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1764fi
1765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1766fi
1767eval ac_res=\$$3
1768	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769$as_echo "$ac_res" >&6; }
1770  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771
1772} # ac_fn_c_check_type
1773
1774# ac_fn_c_check_func LINENO FUNC VAR
1775# ----------------------------------
1776# Tests whether FUNC exists, setting the cache variable VAR accordingly
1777ac_fn_c_check_func ()
1778{
1779  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781$as_echo_n "checking for $2... " >&6; }
1782if eval \${$3+:} false; then :
1783  $as_echo_n "(cached) " >&6
1784else
1785  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786/* end confdefs.h.  */
1787/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1788   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1789#define $2 innocuous_$2
1790
1791/* System header to define __stub macros and hopefully few prototypes,
1792    which can conflict with char $2 (); below.
1793    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1794    <limits.h> exists even on freestanding compilers.  */
1795
1796#ifdef __STDC__
1797# include <limits.h>
1798#else
1799# include <assert.h>
1800#endif
1801
1802#undef $2
1803
1804/* Override any GCC internal prototype to avoid an error.
1805   Use char because int might match the return type of a GCC
1806   builtin and then its argument prototype would still apply.  */
1807#ifdef __cplusplus
1808extern "C"
1809#endif
1810char $2 ();
1811/* The GNU C library defines this for functions which it implements
1812    to always fail with ENOSYS.  Some functions are actually named
1813    something starting with __ and the normal name is an alias.  */
1814#if defined __stub_$2 || defined __stub___$2
1815choke me
1816#endif
1817
1818int
1819main ()
1820{
1821return $2 ();
1822  ;
1823  return 0;
1824}
1825_ACEOF
1826if ac_fn_c_try_link "$LINENO"; then :
1827  eval "$3=yes"
1828else
1829  eval "$3=no"
1830fi
1831rm -f core conftest.err conftest.$ac_objext \
1832    conftest$ac_exeext conftest.$ac_ext
1833fi
1834eval ac_res=\$$3
1835	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836$as_echo "$ac_res" >&6; }
1837  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838
1839} # ac_fn_c_check_func
1840cat >config.log <<_ACEOF
1841This file contains any messages produced by compilers while
1842running configure, to aid debugging if configure makes a mistake.
1843
1844It was created by $as_me, which was
1845generated by GNU Autoconf 2.69.  Invocation command line was
1846
1847  $ $0 $@
1848
1849_ACEOF
1850exec 5>>config.log
1851{
1852cat <<_ASUNAME
1853## --------- ##
1854## Platform. ##
1855## --------- ##
1856
1857hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1858uname -m = `(uname -m) 2>/dev/null || echo unknown`
1859uname -r = `(uname -r) 2>/dev/null || echo unknown`
1860uname -s = `(uname -s) 2>/dev/null || echo unknown`
1861uname -v = `(uname -v) 2>/dev/null || echo unknown`
1862
1863/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1864/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1865
1866/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1867/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1868/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1869/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1870/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1871/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1872/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1873
1874_ASUNAME
1875
1876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877for as_dir in $PATH
1878do
1879  IFS=$as_save_IFS
1880  test -z "$as_dir" && as_dir=.
1881    $as_echo "PATH: $as_dir"
1882  done
1883IFS=$as_save_IFS
1884
1885} >&5
1886
1887cat >&5 <<_ACEOF
1888
1889
1890## ----------- ##
1891## Core tests. ##
1892## ----------- ##
1893
1894_ACEOF
1895
1896
1897# Keep a trace of the command line.
1898# Strip out --no-create and --no-recursion so they do not pile up.
1899# Strip out --silent because we don't want to record it for future runs.
1900# Also quote any args containing shell meta-characters.
1901# Make two passes to allow for proper duplicate-argument suppression.
1902ac_configure_args=
1903ac_configure_args0=
1904ac_configure_args1=
1905ac_must_keep_next=false
1906for ac_pass in 1 2
1907do
1908  for ac_arg
1909  do
1910    case $ac_arg in
1911    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1912    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1913    | -silent | --silent | --silen | --sile | --sil)
1914      continue ;;
1915    *\'*)
1916      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1917    esac
1918    case $ac_pass in
1919    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1920    2)
1921      as_fn_append ac_configure_args1 " '$ac_arg'"
1922      if test $ac_must_keep_next = true; then
1923	ac_must_keep_next=false # Got value, back to normal.
1924      else
1925	case $ac_arg in
1926	  *=* | --config-cache | -C | -disable-* | --disable-* \
1927	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1928	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1929	  | -with-* | --with-* | -without-* | --without-* | --x)
1930	    case "$ac_configure_args0 " in
1931	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1932	    esac
1933	    ;;
1934	  -* ) ac_must_keep_next=true ;;
1935	esac
1936      fi
1937      as_fn_append ac_configure_args " '$ac_arg'"
1938      ;;
1939    esac
1940  done
1941done
1942{ ac_configure_args0=; unset ac_configure_args0;}
1943{ ac_configure_args1=; unset ac_configure_args1;}
1944
1945# When interrupted or exit'd, cleanup temporary files, and complete
1946# config.log.  We remove comments because anyway the quotes in there
1947# would cause problems or look ugly.
1948# WARNING: Use '\'' to represent an apostrophe within the trap.
1949# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1950trap 'exit_status=$?
1951  # Save into config.log some information that might help in debugging.
1952  {
1953    echo
1954
1955    $as_echo "## ---------------- ##
1956## Cache variables. ##
1957## ---------------- ##"
1958    echo
1959    # The following way of writing the cache mishandles newlines in values,
1960(
1961  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1962    eval ac_val=\$$ac_var
1963    case $ac_val in #(
1964    *${as_nl}*)
1965      case $ac_var in #(
1966      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1967$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1968      esac
1969      case $ac_var in #(
1970      _ | IFS | as_nl) ;; #(
1971      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1972      *) { eval $ac_var=; unset $ac_var;} ;;
1973      esac ;;
1974    esac
1975  done
1976  (set) 2>&1 |
1977    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1978    *${as_nl}ac_space=\ *)
1979      sed -n \
1980	"s/'\''/'\''\\\\'\'''\''/g;
1981	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1982      ;; #(
1983    *)
1984      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1985      ;;
1986    esac |
1987    sort
1988)
1989    echo
1990
1991    $as_echo "## ----------------- ##
1992## Output variables. ##
1993## ----------------- ##"
1994    echo
1995    for ac_var in $ac_subst_vars
1996    do
1997      eval ac_val=\$$ac_var
1998      case $ac_val in
1999      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2000      esac
2001      $as_echo "$ac_var='\''$ac_val'\''"
2002    done | sort
2003    echo
2004
2005    if test -n "$ac_subst_files"; then
2006      $as_echo "## ------------------- ##
2007## File substitutions. ##
2008## ------------------- ##"
2009      echo
2010      for ac_var in $ac_subst_files
2011      do
2012	eval ac_val=\$$ac_var
2013	case $ac_val in
2014	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2015	esac
2016	$as_echo "$ac_var='\''$ac_val'\''"
2017      done | sort
2018      echo
2019    fi
2020
2021    if test -s confdefs.h; then
2022      $as_echo "## ----------- ##
2023## confdefs.h. ##
2024## ----------- ##"
2025      echo
2026      cat confdefs.h
2027      echo
2028    fi
2029    test "$ac_signal" != 0 &&
2030      $as_echo "$as_me: caught signal $ac_signal"
2031    $as_echo "$as_me: exit $exit_status"
2032  } >&5
2033  rm -f core *.core core.conftest.* &&
2034    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2035    exit $exit_status
2036' 0
2037for ac_signal in 1 2 13 15; do
2038  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2039done
2040ac_signal=0
2041
2042# confdefs.h avoids OS command line length limits that DEFS can exceed.
2043rm -f -r conftest* confdefs.h
2044
2045$as_echo "/* confdefs.h */" > confdefs.h
2046
2047# Predefined preprocessor variables.
2048
2049cat >>confdefs.h <<_ACEOF
2050#define PACKAGE_NAME "$PACKAGE_NAME"
2051_ACEOF
2052
2053cat >>confdefs.h <<_ACEOF
2054#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2055_ACEOF
2056
2057cat >>confdefs.h <<_ACEOF
2058#define PACKAGE_VERSION "$PACKAGE_VERSION"
2059_ACEOF
2060
2061cat >>confdefs.h <<_ACEOF
2062#define PACKAGE_STRING "$PACKAGE_STRING"
2063_ACEOF
2064
2065cat >>confdefs.h <<_ACEOF
2066#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2067_ACEOF
2068
2069cat >>confdefs.h <<_ACEOF
2070#define PACKAGE_URL "$PACKAGE_URL"
2071_ACEOF
2072
2073
2074# Let the site file select an alternate cache file if it wants to.
2075# Prefer an explicitly selected file to automatically selected ones.
2076ac_site_file1=NONE
2077ac_site_file2=NONE
2078if test -n "$CONFIG_SITE"; then
2079  # We do not want a PATH search for config.site.
2080  case $CONFIG_SITE in #((
2081    -*)  ac_site_file1=./$CONFIG_SITE;;
2082    */*) ac_site_file1=$CONFIG_SITE;;
2083    *)   ac_site_file1=./$CONFIG_SITE;;
2084  esac
2085elif test "x$prefix" != xNONE; then
2086  ac_site_file1=$prefix/share/config.site
2087  ac_site_file2=$prefix/etc/config.site
2088else
2089  ac_site_file1=$ac_default_prefix/share/config.site
2090  ac_site_file2=$ac_default_prefix/etc/config.site
2091fi
2092for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2093do
2094  test "x$ac_site_file" = xNONE && continue
2095  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2096    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2097$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2098    sed 's/^/| /' "$ac_site_file" >&5
2099    . "$ac_site_file" \
2100      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2101$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2102as_fn_error $? "failed to load site script $ac_site_file
2103See \`config.log' for more details" "$LINENO" 5; }
2104  fi
2105done
2106
2107if test -r "$cache_file"; then
2108  # Some versions of bash will fail to source /dev/null (special files
2109  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2110  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2111    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2112$as_echo "$as_me: loading cache $cache_file" >&6;}
2113    case $cache_file in
2114      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2115      *)                      . "./$cache_file";;
2116    esac
2117  fi
2118else
2119  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2120$as_echo "$as_me: creating cache $cache_file" >&6;}
2121  >$cache_file
2122fi
2123
2124# Check that the precious variables saved in the cache have kept the same
2125# value.
2126ac_cache_corrupted=false
2127for ac_var in $ac_precious_vars; do
2128  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2129  eval ac_new_set=\$ac_env_${ac_var}_set
2130  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2131  eval ac_new_val=\$ac_env_${ac_var}_value
2132  case $ac_old_set,$ac_new_set in
2133    set,)
2134      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2135$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2136      ac_cache_corrupted=: ;;
2137    ,set)
2138      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2139$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2140      ac_cache_corrupted=: ;;
2141    ,);;
2142    *)
2143      if test "x$ac_old_val" != "x$ac_new_val"; then
2144	# differences in whitespace do not lead to failure.
2145	ac_old_val_w=`echo x $ac_old_val`
2146	ac_new_val_w=`echo x $ac_new_val`
2147	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2148	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2149$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2150	  ac_cache_corrupted=:
2151	else
2152	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2153$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2154	  eval $ac_var=\$ac_old_val
2155	fi
2156	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2157$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2158	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2159$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2160      fi;;
2161  esac
2162  # Pass precious variables to config.status.
2163  if test "$ac_new_set" = set; then
2164    case $ac_new_val in
2165    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2166    *) ac_arg=$ac_var=$ac_new_val ;;
2167    esac
2168    case " $ac_configure_args " in
2169      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2170      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2171    esac
2172  fi
2173done
2174if $ac_cache_corrupted; then
2175  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2176$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2177  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2178$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2179  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2180fi
2181## -------------------- ##
2182## Main body of script. ##
2183## -------------------- ##
2184
2185ac_ext=c
2186ac_cpp='$CPP $CPPFLAGS'
2187ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2188ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2189ac_compiler_gnu=$ac_cv_c_compiler_gnu
2190
2191
2192ac_aux_dir=
2193for ac_dir in auxdir "$srcdir"/auxdir; do
2194  if test -f "$ac_dir/install-sh"; then
2195    ac_aux_dir=$ac_dir
2196    ac_install_sh="$ac_aux_dir/install-sh -c"
2197    break
2198  elif test -f "$ac_dir/install.sh"; then
2199    ac_aux_dir=$ac_dir
2200    ac_install_sh="$ac_aux_dir/install.sh -c"
2201    break
2202  elif test -f "$ac_dir/shtool"; then
2203    ac_aux_dir=$ac_dir
2204    ac_install_sh="$ac_aux_dir/shtool install -c"
2205    break
2206  fi
2207done
2208if test -z "$ac_aux_dir"; then
2209  as_fn_error $? "cannot find install-sh, install.sh, or shtool in auxdir \"$srcdir\"/auxdir" "$LINENO" 5
2210fi
2211
2212# These three variables are undocumented and unsupported,
2213# and are intended to be withdrawn in a future Autoconf release.
2214# They can cause serious problems if a builder's source tree is in a directory
2215# whose full name contains unusual characters.
2216ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2217ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2218ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2219
2220
2221ac_config_headers="$ac_config_headers config.h"
2222
2223
2224
2225PROJECT="`perl -ne 'print,exit if s/^\s*NAME:\s*(\S*).*/\1/i' $srcdir/META`"
2226
2227cat >>confdefs.h <<_ACEOF
2228#define PROJECT "$PROJECT"
2229_ACEOF
2230
2231
2232VERSION="`perl -ne 'print,exit if s/^\s*VERSION:\s*(\S*).*/\1/i' $srcdir/META`"
2233
2234cat >>confdefs.h <<_ACEOF
2235#define VERSION "$VERSION"
2236_ACEOF
2237
2238
2239DATE="`perl -ne 'print,exit if s/^\s*DATE:\s*(\S*).*/\1/i' $srcdir/META`"
2240test -z "$DATE" && DATE="`date +%Y-%m-%d`"
2241
2242cat >>confdefs.h <<_ACEOF
2243#define DATE "$DATE"
2244_ACEOF
2245
2246
2247
2248
2249# Make sure we can run config.sub.
2250$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2251  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2252
2253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2254$as_echo_n "checking build system type... " >&6; }
2255if ${ac_cv_build+:} false; then :
2256  $as_echo_n "(cached) " >&6
2257else
2258  ac_build_alias=$build_alias
2259test "x$ac_build_alias" = x &&
2260  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2261test "x$ac_build_alias" = x &&
2262  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2263ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2264  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2265
2266fi
2267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2268$as_echo "$ac_cv_build" >&6; }
2269case $ac_cv_build in
2270*-*-*) ;;
2271*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2272esac
2273build=$ac_cv_build
2274ac_save_IFS=$IFS; IFS='-'
2275set x $ac_cv_build
2276shift
2277build_cpu=$1
2278build_vendor=$2
2279shift; shift
2280# Remember, the first character of IFS is used to create $*,
2281# except with old shells:
2282build_os=$*
2283IFS=$ac_save_IFS
2284case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2285
2286
2287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2288$as_echo_n "checking host system type... " >&6; }
2289if ${ac_cv_host+:} false; then :
2290  $as_echo_n "(cached) " >&6
2291else
2292  if test "x$host_alias" = x; then
2293  ac_cv_host=$ac_cv_build
2294else
2295  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2296    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2297fi
2298
2299fi
2300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2301$as_echo "$ac_cv_host" >&6; }
2302case $ac_cv_host in
2303*-*-*) ;;
2304*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2305esac
2306host=$ac_cv_host
2307ac_save_IFS=$IFS; IFS='-'
2308set x $ac_cv_host
2309shift
2310host_cpu=$1
2311host_vendor=$2
2312shift; shift
2313# Remember, the first character of IFS is used to create $*,
2314# except with old shells:
2315host_os=$*
2316IFS=$ac_save_IFS
2317case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2318
2319
2320
2321
2322cat >>confdefs.h <<_ACEOF
2323#define HOST_CPU "$host_cpu"
2324_ACEOF
2325
2326
2327
2328cat >>confdefs.h <<_ACEOF
2329#define HOST_OS "$host_os"
2330_ACEOF
2331
2332
2333
2334cat >>confdefs.h <<_ACEOF
2335#define HOST_VENDOR "$host_vendor"
2336_ACEOF
2337
2338
2339
2340ac_ext=c
2341ac_cpp='$CPP $CPPFLAGS'
2342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344ac_compiler_gnu=$ac_cv_c_compiler_gnu
2345if test -n "$ac_tool_prefix"; then
2346  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2347set dummy ${ac_tool_prefix}gcc; ac_word=$2
2348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2349$as_echo_n "checking for $ac_word... " >&6; }
2350if ${ac_cv_prog_CC+:} false; then :
2351  $as_echo_n "(cached) " >&6
2352else
2353  if test -n "$CC"; then
2354  ac_cv_prog_CC="$CC" # Let the user override the test.
2355else
2356as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357for as_dir in $PATH
2358do
2359  IFS=$as_save_IFS
2360  test -z "$as_dir" && as_dir=.
2361    for ac_exec_ext in '' $ac_executable_extensions; do
2362  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2363    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2364    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2365    break 2
2366  fi
2367done
2368  done
2369IFS=$as_save_IFS
2370
2371fi
2372fi
2373CC=$ac_cv_prog_CC
2374if test -n "$CC"; then
2375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2376$as_echo "$CC" >&6; }
2377else
2378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2379$as_echo "no" >&6; }
2380fi
2381
2382
2383fi
2384if test -z "$ac_cv_prog_CC"; then
2385  ac_ct_CC=$CC
2386  # Extract the first word of "gcc", so it can be a program name with args.
2387set dummy gcc; ac_word=$2
2388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2389$as_echo_n "checking for $ac_word... " >&6; }
2390if ${ac_cv_prog_ac_ct_CC+:} false; then :
2391  $as_echo_n "(cached) " >&6
2392else
2393  if test -n "$ac_ct_CC"; then
2394  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2395else
2396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397for as_dir in $PATH
2398do
2399  IFS=$as_save_IFS
2400  test -z "$as_dir" && as_dir=.
2401    for ac_exec_ext in '' $ac_executable_extensions; do
2402  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2403    ac_cv_prog_ac_ct_CC="gcc"
2404    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2405    break 2
2406  fi
2407done
2408  done
2409IFS=$as_save_IFS
2410
2411fi
2412fi
2413ac_ct_CC=$ac_cv_prog_ac_ct_CC
2414if test -n "$ac_ct_CC"; then
2415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2416$as_echo "$ac_ct_CC" >&6; }
2417else
2418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2419$as_echo "no" >&6; }
2420fi
2421
2422  if test "x$ac_ct_CC" = x; then
2423    CC=""
2424  else
2425    case $cross_compiling:$ac_tool_warned in
2426yes:)
2427{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2428$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2429ac_tool_warned=yes ;;
2430esac
2431    CC=$ac_ct_CC
2432  fi
2433else
2434  CC="$ac_cv_prog_CC"
2435fi
2436
2437if test -z "$CC"; then
2438          if test -n "$ac_tool_prefix"; then
2439    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2440set dummy ${ac_tool_prefix}cc; ac_word=$2
2441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2442$as_echo_n "checking for $ac_word... " >&6; }
2443if ${ac_cv_prog_CC+:} false; then :
2444  $as_echo_n "(cached) " >&6
2445else
2446  if test -n "$CC"; then
2447  ac_cv_prog_CC="$CC" # Let the user override the test.
2448else
2449as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450for as_dir in $PATH
2451do
2452  IFS=$as_save_IFS
2453  test -z "$as_dir" && as_dir=.
2454    for ac_exec_ext in '' $ac_executable_extensions; do
2455  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2456    ac_cv_prog_CC="${ac_tool_prefix}cc"
2457    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2458    break 2
2459  fi
2460done
2461  done
2462IFS=$as_save_IFS
2463
2464fi
2465fi
2466CC=$ac_cv_prog_CC
2467if test -n "$CC"; then
2468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2469$as_echo "$CC" >&6; }
2470else
2471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472$as_echo "no" >&6; }
2473fi
2474
2475
2476  fi
2477fi
2478if test -z "$CC"; then
2479  # Extract the first word of "cc", so it can be a program name with args.
2480set dummy cc; ac_word=$2
2481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2482$as_echo_n "checking for $ac_word... " >&6; }
2483if ${ac_cv_prog_CC+:} false; then :
2484  $as_echo_n "(cached) " >&6
2485else
2486  if test -n "$CC"; then
2487  ac_cv_prog_CC="$CC" # Let the user override the test.
2488else
2489  ac_prog_rejected=no
2490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491for as_dir in $PATH
2492do
2493  IFS=$as_save_IFS
2494  test -z "$as_dir" && as_dir=.
2495    for ac_exec_ext in '' $ac_executable_extensions; do
2496  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2497    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2498       ac_prog_rejected=yes
2499       continue
2500     fi
2501    ac_cv_prog_CC="cc"
2502    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2503    break 2
2504  fi
2505done
2506  done
2507IFS=$as_save_IFS
2508
2509if test $ac_prog_rejected = yes; then
2510  # We found a bogon in the path, so make sure we never use it.
2511  set dummy $ac_cv_prog_CC
2512  shift
2513  if test $# != 0; then
2514    # We chose a different compiler from the bogus one.
2515    # However, it has the same basename, so the bogon will be chosen
2516    # first if we set CC to just the basename; use the full file name.
2517    shift
2518    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2519  fi
2520fi
2521fi
2522fi
2523CC=$ac_cv_prog_CC
2524if test -n "$CC"; then
2525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2526$as_echo "$CC" >&6; }
2527else
2528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529$as_echo "no" >&6; }
2530fi
2531
2532
2533fi
2534if test -z "$CC"; then
2535  if test -n "$ac_tool_prefix"; then
2536  for ac_prog in cl.exe
2537  do
2538    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2539set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541$as_echo_n "checking for $ac_word... " >&6; }
2542if ${ac_cv_prog_CC+:} false; then :
2543  $as_echo_n "(cached) " >&6
2544else
2545  if test -n "$CC"; then
2546  ac_cv_prog_CC="$CC" # Let the user override the test.
2547else
2548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549for as_dir in $PATH
2550do
2551  IFS=$as_save_IFS
2552  test -z "$as_dir" && as_dir=.
2553    for ac_exec_ext in '' $ac_executable_extensions; do
2554  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2555    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2556    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2557    break 2
2558  fi
2559done
2560  done
2561IFS=$as_save_IFS
2562
2563fi
2564fi
2565CC=$ac_cv_prog_CC
2566if test -n "$CC"; then
2567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2568$as_echo "$CC" >&6; }
2569else
2570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2571$as_echo "no" >&6; }
2572fi
2573
2574
2575    test -n "$CC" && break
2576  done
2577fi
2578if test -z "$CC"; then
2579  ac_ct_CC=$CC
2580  for ac_prog in cl.exe
2581do
2582  # Extract the first word of "$ac_prog", so it can be a program name with args.
2583set dummy $ac_prog; ac_word=$2
2584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2585$as_echo_n "checking for $ac_word... " >&6; }
2586if ${ac_cv_prog_ac_ct_CC+:} false; then :
2587  $as_echo_n "(cached) " >&6
2588else
2589  if test -n "$ac_ct_CC"; then
2590  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2591else
2592as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593for as_dir in $PATH
2594do
2595  IFS=$as_save_IFS
2596  test -z "$as_dir" && as_dir=.
2597    for ac_exec_ext in '' $ac_executable_extensions; do
2598  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2599    ac_cv_prog_ac_ct_CC="$ac_prog"
2600    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2601    break 2
2602  fi
2603done
2604  done
2605IFS=$as_save_IFS
2606
2607fi
2608fi
2609ac_ct_CC=$ac_cv_prog_ac_ct_CC
2610if test -n "$ac_ct_CC"; then
2611  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2612$as_echo "$ac_ct_CC" >&6; }
2613else
2614  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2615$as_echo "no" >&6; }
2616fi
2617
2618
2619  test -n "$ac_ct_CC" && break
2620done
2621
2622  if test "x$ac_ct_CC" = x; then
2623    CC=""
2624  else
2625    case $cross_compiling:$ac_tool_warned in
2626yes:)
2627{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2628$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2629ac_tool_warned=yes ;;
2630esac
2631    CC=$ac_ct_CC
2632  fi
2633fi
2634
2635fi
2636
2637
2638test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2639$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2640as_fn_error $? "no acceptable C compiler found in \$PATH
2641See \`config.log' for more details" "$LINENO" 5; }
2642
2643# Provide some information about the compiler.
2644$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2645set X $ac_compile
2646ac_compiler=$2
2647for ac_option in --version -v -V -qversion; do
2648  { { ac_try="$ac_compiler $ac_option >&5"
2649case "(($ac_try" in
2650  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651  *) ac_try_echo=$ac_try;;
2652esac
2653eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654$as_echo "$ac_try_echo"; } >&5
2655  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2656  ac_status=$?
2657  if test -s conftest.err; then
2658    sed '10a\
2659... rest of stderr output deleted ...
2660         10q' conftest.err >conftest.er1
2661    cat conftest.er1 >&5
2662  fi
2663  rm -f conftest.er1 conftest.err
2664  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2665  test $ac_status = 0; }
2666done
2667
2668cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2669/* end confdefs.h.  */
2670
2671int
2672main ()
2673{
2674
2675  ;
2676  return 0;
2677}
2678_ACEOF
2679ac_clean_files_save=$ac_clean_files
2680ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2681# Try to create an executable without -o first, disregard a.out.
2682# It will help us diagnose broken compilers, and finding out an intuition
2683# of exeext.
2684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2685$as_echo_n "checking whether the C compiler works... " >&6; }
2686ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2687
2688# The possible output files:
2689ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2690
2691ac_rmfiles=
2692for ac_file in $ac_files
2693do
2694  case $ac_file in
2695    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2696    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2697  esac
2698done
2699rm -f $ac_rmfiles
2700
2701if { { ac_try="$ac_link_default"
2702case "(($ac_try" in
2703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2704  *) ac_try_echo=$ac_try;;
2705esac
2706eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2707$as_echo "$ac_try_echo"; } >&5
2708  (eval "$ac_link_default") 2>&5
2709  ac_status=$?
2710  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2711  test $ac_status = 0; }; then :
2712  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2713# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2714# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2715# so that the user can short-circuit this test for compilers unknown to
2716# Autoconf.
2717for ac_file in $ac_files ''
2718do
2719  test -f "$ac_file" || continue
2720  case $ac_file in
2721    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2722	;;
2723    [ab].out )
2724	# We found the default executable, but exeext='' is most
2725	# certainly right.
2726	break;;
2727    *.* )
2728	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2729	then :; else
2730	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2731	fi
2732	# We set ac_cv_exeext here because the later test for it is not
2733	# safe: cross compilers may not add the suffix if given an `-o'
2734	# argument, so we may need to know it at that point already.
2735	# Even if this section looks crufty: it has the advantage of
2736	# actually working.
2737	break;;
2738    * )
2739	break;;
2740  esac
2741done
2742test "$ac_cv_exeext" = no && ac_cv_exeext=
2743
2744else
2745  ac_file=''
2746fi
2747if test -z "$ac_file"; then :
2748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749$as_echo "no" >&6; }
2750$as_echo "$as_me: failed program was:" >&5
2751sed 's/^/| /' conftest.$ac_ext >&5
2752
2753{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2755as_fn_error 77 "C compiler cannot create executables
2756See \`config.log' for more details" "$LINENO" 5; }
2757else
2758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2759$as_echo "yes" >&6; }
2760fi
2761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2762$as_echo_n "checking for C compiler default output file name... " >&6; }
2763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2764$as_echo "$ac_file" >&6; }
2765ac_exeext=$ac_cv_exeext
2766
2767rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2768ac_clean_files=$ac_clean_files_save
2769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2770$as_echo_n "checking for suffix of executables... " >&6; }
2771if { { ac_try="$ac_link"
2772case "(($ac_try" in
2773  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774  *) ac_try_echo=$ac_try;;
2775esac
2776eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2777$as_echo "$ac_try_echo"; } >&5
2778  (eval "$ac_link") 2>&5
2779  ac_status=$?
2780  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2781  test $ac_status = 0; }; then :
2782  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2783# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2784# work properly (i.e., refer to `conftest.exe'), while it won't with
2785# `rm'.
2786for ac_file in conftest.exe conftest conftest.*; do
2787  test -f "$ac_file" || continue
2788  case $ac_file in
2789    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2790    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2791	  break;;
2792    * ) break;;
2793  esac
2794done
2795else
2796  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2797$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2798as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2799See \`config.log' for more details" "$LINENO" 5; }
2800fi
2801rm -f conftest conftest$ac_cv_exeext
2802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2803$as_echo "$ac_cv_exeext" >&6; }
2804
2805rm -f conftest.$ac_ext
2806EXEEXT=$ac_cv_exeext
2807ac_exeext=$EXEEXT
2808cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2809/* end confdefs.h.  */
2810#include <stdio.h>
2811int
2812main ()
2813{
2814FILE *f = fopen ("conftest.out", "w");
2815 return ferror (f) || fclose (f) != 0;
2816
2817  ;
2818  return 0;
2819}
2820_ACEOF
2821ac_clean_files="$ac_clean_files conftest.out"
2822# Check that the compiler produces executables we can run.  If not, either
2823# the compiler is broken, or we cross compile.
2824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2825$as_echo_n "checking whether we are cross compiling... " >&6; }
2826if test "$cross_compiling" != yes; then
2827  { { ac_try="$ac_link"
2828case "(($ac_try" in
2829  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830  *) ac_try_echo=$ac_try;;
2831esac
2832eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2833$as_echo "$ac_try_echo"; } >&5
2834  (eval "$ac_link") 2>&5
2835  ac_status=$?
2836  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2837  test $ac_status = 0; }
2838  if { ac_try='./conftest$ac_cv_exeext'
2839  { { case "(($ac_try" in
2840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841  *) ac_try_echo=$ac_try;;
2842esac
2843eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844$as_echo "$ac_try_echo"; } >&5
2845  (eval "$ac_try") 2>&5
2846  ac_status=$?
2847  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848  test $ac_status = 0; }; }; then
2849    cross_compiling=no
2850  else
2851    if test "$cross_compiling" = maybe; then
2852	cross_compiling=yes
2853    else
2854	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2855$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2856as_fn_error $? "cannot run C compiled programs.
2857If you meant to cross compile, use \`--host'.
2858See \`config.log' for more details" "$LINENO" 5; }
2859    fi
2860  fi
2861fi
2862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2863$as_echo "$cross_compiling" >&6; }
2864
2865rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2866ac_clean_files=$ac_clean_files_save
2867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2868$as_echo_n "checking for suffix of object files... " >&6; }
2869if ${ac_cv_objext+:} false; then :
2870  $as_echo_n "(cached) " >&6
2871else
2872  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873/* end confdefs.h.  */
2874
2875int
2876main ()
2877{
2878
2879  ;
2880  return 0;
2881}
2882_ACEOF
2883rm -f conftest.o conftest.obj
2884if { { ac_try="$ac_compile"
2885case "(($ac_try" in
2886  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2887  *) ac_try_echo=$ac_try;;
2888esac
2889eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2890$as_echo "$ac_try_echo"; } >&5
2891  (eval "$ac_compile") 2>&5
2892  ac_status=$?
2893  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2894  test $ac_status = 0; }; then :
2895  for ac_file in conftest.o conftest.obj conftest.*; do
2896  test -f "$ac_file" || continue;
2897  case $ac_file in
2898    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2899    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2900       break;;
2901  esac
2902done
2903else
2904  $as_echo "$as_me: failed program was:" >&5
2905sed 's/^/| /' conftest.$ac_ext >&5
2906
2907{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2908$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2909as_fn_error $? "cannot compute suffix of object files: cannot compile
2910See \`config.log' for more details" "$LINENO" 5; }
2911fi
2912rm -f conftest.$ac_cv_objext conftest.$ac_ext
2913fi
2914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2915$as_echo "$ac_cv_objext" >&6; }
2916OBJEXT=$ac_cv_objext
2917ac_objext=$OBJEXT
2918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2919$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2920if ${ac_cv_c_compiler_gnu+:} false; then :
2921  $as_echo_n "(cached) " >&6
2922else
2923  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2924/* end confdefs.h.  */
2925
2926int
2927main ()
2928{
2929#ifndef __GNUC__
2930       choke me
2931#endif
2932
2933  ;
2934  return 0;
2935}
2936_ACEOF
2937if ac_fn_c_try_compile "$LINENO"; then :
2938  ac_compiler_gnu=yes
2939else
2940  ac_compiler_gnu=no
2941fi
2942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2943ac_cv_c_compiler_gnu=$ac_compiler_gnu
2944
2945fi
2946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2947$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2948if test $ac_compiler_gnu = yes; then
2949  GCC=yes
2950else
2951  GCC=
2952fi
2953ac_test_CFLAGS=${CFLAGS+set}
2954ac_save_CFLAGS=$CFLAGS
2955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2956$as_echo_n "checking whether $CC accepts -g... " >&6; }
2957if ${ac_cv_prog_cc_g+:} false; then :
2958  $as_echo_n "(cached) " >&6
2959else
2960  ac_save_c_werror_flag=$ac_c_werror_flag
2961   ac_c_werror_flag=yes
2962   ac_cv_prog_cc_g=no
2963   CFLAGS="-g"
2964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965/* end confdefs.h.  */
2966
2967int
2968main ()
2969{
2970
2971  ;
2972  return 0;
2973}
2974_ACEOF
2975if ac_fn_c_try_compile "$LINENO"; then :
2976  ac_cv_prog_cc_g=yes
2977else
2978  CFLAGS=""
2979      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980/* end confdefs.h.  */
2981
2982int
2983main ()
2984{
2985
2986  ;
2987  return 0;
2988}
2989_ACEOF
2990if ac_fn_c_try_compile "$LINENO"; then :
2991
2992else
2993  ac_c_werror_flag=$ac_save_c_werror_flag
2994	 CFLAGS="-g"
2995	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996/* end confdefs.h.  */
2997
2998int
2999main ()
3000{
3001
3002  ;
3003  return 0;
3004}
3005_ACEOF
3006if ac_fn_c_try_compile "$LINENO"; then :
3007  ac_cv_prog_cc_g=yes
3008fi
3009rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3010fi
3011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3012fi
3013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3014   ac_c_werror_flag=$ac_save_c_werror_flag
3015fi
3016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3017$as_echo "$ac_cv_prog_cc_g" >&6; }
3018if test "$ac_test_CFLAGS" = set; then
3019  CFLAGS=$ac_save_CFLAGS
3020elif test $ac_cv_prog_cc_g = yes; then
3021  if test "$GCC" = yes; then
3022    CFLAGS="-g -O2"
3023  else
3024    CFLAGS="-g"
3025  fi
3026else
3027  if test "$GCC" = yes; then
3028    CFLAGS="-O2"
3029  else
3030    CFLAGS=
3031  fi
3032fi
3033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3034$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3035if ${ac_cv_prog_cc_c89+:} false; then :
3036  $as_echo_n "(cached) " >&6
3037else
3038  ac_cv_prog_cc_c89=no
3039ac_save_CC=$CC
3040cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041/* end confdefs.h.  */
3042#include <stdarg.h>
3043#include <stdio.h>
3044struct stat;
3045/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3046struct buf { int x; };
3047FILE * (*rcsopen) (struct buf *, struct stat *, int);
3048static char *e (p, i)
3049     char **p;
3050     int i;
3051{
3052  return p[i];
3053}
3054static char *f (char * (*g) (char **, int), char **p, ...)
3055{
3056  char *s;
3057  va_list v;
3058  va_start (v,p);
3059  s = g (p, va_arg (v,int));
3060  va_end (v);
3061  return s;
3062}
3063
3064/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3065   function prototypes and stuff, but not '\xHH' hex character constants.
3066   These don't provoke an error unfortunately, instead are silently treated
3067   as 'x'.  The following induces an error, until -std is added to get
3068   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3069   array size at least.  It's necessary to write '\x00'==0 to get something
3070   that's true only with -std.  */
3071int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3072
3073/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3074   inside strings and character constants.  */
3075#define FOO(x) 'x'
3076int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3077
3078int test (int i, double x);
3079struct s1 {int (*f) (int a);};
3080struct s2 {int (*f) (double a);};
3081int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3082int argc;
3083char **argv;
3084int
3085main ()
3086{
3087return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3088  ;
3089  return 0;
3090}
3091_ACEOF
3092for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3093	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3094do
3095  CC="$ac_save_CC $ac_arg"
3096  if ac_fn_c_try_compile "$LINENO"; then :
3097  ac_cv_prog_cc_c89=$ac_arg
3098fi
3099rm -f core conftest.err conftest.$ac_objext
3100  test "x$ac_cv_prog_cc_c89" != "xno" && break
3101done
3102rm -f conftest.$ac_ext
3103CC=$ac_save_CC
3104
3105fi
3106# AC_CACHE_VAL
3107case "x$ac_cv_prog_cc_c89" in
3108  x)
3109    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3110$as_echo "none needed" >&6; } ;;
3111  xno)
3112    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3113$as_echo "unsupported" >&6; } ;;
3114  *)
3115    CC="$CC $ac_cv_prog_cc_c89"
3116    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3117$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3118esac
3119if test "x$ac_cv_prog_cc_c89" != xno; then :
3120
3121fi
3122
3123ac_ext=c
3124ac_cpp='$CPP $CPPFLAGS'
3125ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3126ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3127ac_compiler_gnu=$ac_cv_c_compiler_gnu
3128
3129# Find a good install program.  We prefer a C program (faster),
3130# so one script is as good as another.  But avoid the broken or
3131# incompatible versions:
3132# SysV /etc/install, /usr/sbin/install
3133# SunOS /usr/etc/install
3134# IRIX /sbin/install
3135# AIX /bin/install
3136# AmigaOS /C/install, which installs bootblocks on floppy discs
3137# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3138# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3139# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3140# OS/2's system install, which has a completely different semantic
3141# ./install, which can be erroneously created by make from ./install.sh.
3142# Reject install programs that cannot install multiple files.
3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3144$as_echo_n "checking for a BSD-compatible install... " >&6; }
3145if test -z "$INSTALL"; then
3146if ${ac_cv_path_install+:} false; then :
3147  $as_echo_n "(cached) " >&6
3148else
3149  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150for as_dir in $PATH
3151do
3152  IFS=$as_save_IFS
3153  test -z "$as_dir" && as_dir=.
3154    # Account for people who put trailing slashes in PATH elements.
3155case $as_dir/ in #((
3156  ./ | .// | /[cC]/* | \
3157  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3158  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3159  /usr/ucb/* ) ;;
3160  *)
3161    # OSF1 and SCO ODT 3.0 have their own names for install.
3162    # Don't use installbsd from OSF since it installs stuff as root
3163    # by default.
3164    for ac_prog in ginstall scoinst install; do
3165      for ac_exec_ext in '' $ac_executable_extensions; do
3166	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3167	  if test $ac_prog = install &&
3168	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3169	    # AIX install.  It has an incompatible calling convention.
3170	    :
3171	  elif test $ac_prog = install &&
3172	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3173	    # program-specific install script used by HP pwplus--don't use.
3174	    :
3175	  else
3176	    rm -rf conftest.one conftest.two conftest.dir
3177	    echo one > conftest.one
3178	    echo two > conftest.two
3179	    mkdir conftest.dir
3180	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3181	      test -s conftest.one && test -s conftest.two &&
3182	      test -s conftest.dir/conftest.one &&
3183	      test -s conftest.dir/conftest.two
3184	    then
3185	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3186	      break 3
3187	    fi
3188	  fi
3189	fi
3190      done
3191    done
3192    ;;
3193esac
3194
3195  done
3196IFS=$as_save_IFS
3197
3198rm -rf conftest.one conftest.two conftest.dir
3199
3200fi
3201  if test "${ac_cv_path_install+set}" = set; then
3202    INSTALL=$ac_cv_path_install
3203  else
3204    # As a last resort, use the slow shell script.  Don't cache a
3205    # value for INSTALL within a source directory, because that will
3206    # break other packages using the cache if that directory is
3207    # removed, or if the value is a relative name.
3208    INSTALL=$ac_install_sh
3209  fi
3210fi
3211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3212$as_echo "$INSTALL" >&6; }
3213
3214# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3215# It thinks the first close brace ends the variable substitution.
3216test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3217
3218test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3219
3220test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3221
3222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3223$as_echo_n "checking whether ln -s works... " >&6; }
3224LN_S=$as_ln_s
3225if test "$LN_S" = "ln -s"; then
3226  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227$as_echo "yes" >&6; }
3228else
3229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3230$as_echo "no, using $LN_S" >&6; }
3231fi
3232
3233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3234$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3235set x ${MAKE-make}
3236ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3237if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3238  $as_echo_n "(cached) " >&6
3239else
3240  cat >conftest.make <<\_ACEOF
3241SHELL = /bin/sh
3242all:
3243	@echo '@@@%%%=$(MAKE)=@@@%%%'
3244_ACEOF
3245# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3246case `${MAKE-make} -f conftest.make 2>/dev/null` in
3247  *@@@%%%=?*=@@@%%%*)
3248    eval ac_cv_prog_make_${ac_make}_set=yes;;
3249  *)
3250    eval ac_cv_prog_make_${ac_make}_set=no;;
3251esac
3252rm -f conftest.make
3253fi
3254if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3256$as_echo "yes" >&6; }
3257  SET_MAKE=
3258else
3259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260$as_echo "no" >&6; }
3261  SET_MAKE="MAKE=${MAKE-make}"
3262fi
3263
3264if test -n "$ac_tool_prefix"; then
3265  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3266set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268$as_echo_n "checking for $ac_word... " >&6; }
3269if ${ac_cv_prog_RANLIB+:} false; then :
3270  $as_echo_n "(cached) " >&6
3271else
3272  if test -n "$RANLIB"; then
3273  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3274else
3275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276for as_dir in $PATH
3277do
3278  IFS=$as_save_IFS
3279  test -z "$as_dir" && as_dir=.
3280    for ac_exec_ext in '' $ac_executable_extensions; do
3281  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3282    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3283    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284    break 2
3285  fi
3286done
3287  done
3288IFS=$as_save_IFS
3289
3290fi
3291fi
3292RANLIB=$ac_cv_prog_RANLIB
3293if test -n "$RANLIB"; then
3294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3295$as_echo "$RANLIB" >&6; }
3296else
3297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298$as_echo "no" >&6; }
3299fi
3300
3301
3302fi
3303if test -z "$ac_cv_prog_RANLIB"; then
3304  ac_ct_RANLIB=$RANLIB
3305  # Extract the first word of "ranlib", so it can be a program name with args.
3306set dummy ranlib; ac_word=$2
3307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3308$as_echo_n "checking for $ac_word... " >&6; }
3309if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3310  $as_echo_n "(cached) " >&6
3311else
3312  if test -n "$ac_ct_RANLIB"; then
3313  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3314else
3315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316for as_dir in $PATH
3317do
3318  IFS=$as_save_IFS
3319  test -z "$as_dir" && as_dir=.
3320    for ac_exec_ext in '' $ac_executable_extensions; do
3321  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3322    ac_cv_prog_ac_ct_RANLIB="ranlib"
3323    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3324    break 2
3325  fi
3326done
3327  done
3328IFS=$as_save_IFS
3329
3330fi
3331fi
3332ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3333if test -n "$ac_ct_RANLIB"; then
3334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3335$as_echo "$ac_ct_RANLIB" >&6; }
3336else
3337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338$as_echo "no" >&6; }
3339fi
3340
3341  if test "x$ac_ct_RANLIB" = x; then
3342    RANLIB=":"
3343  else
3344    case $cross_compiling:$ac_tool_warned in
3345yes:)
3346{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3347$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3348ac_tool_warned=yes ;;
3349esac
3350    RANLIB=$ac_ct_RANLIB
3351  fi
3352else
3353  RANLIB="$ac_cv_prog_RANLIB"
3354fi
3355
3356
3357
3358
3359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
3360$as_echo_n "checking for socket in -lsocket... " >&6; }
3361if ${ac_cv_lib_socket_socket+:} false; then :
3362  $as_echo_n "(cached) " >&6
3363else
3364  ac_check_lib_save_LIBS=$LIBS
3365LIBS="-lsocket  $LIBS"
3366cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367/* end confdefs.h.  */
3368
3369/* Override any GCC internal prototype to avoid an error.
3370   Use char because int might match the return type of a GCC
3371   builtin and then its argument prototype would still apply.  */
3372#ifdef __cplusplus
3373extern "C"
3374#endif
3375char socket ();
3376int
3377main ()
3378{
3379return socket ();
3380  ;
3381  return 0;
3382}
3383_ACEOF
3384if ac_fn_c_try_link "$LINENO"; then :
3385  ac_cv_lib_socket_socket=yes
3386else
3387  ac_cv_lib_socket_socket=no
3388fi
3389rm -f core conftest.err conftest.$ac_objext \
3390    conftest$ac_exeext conftest.$ac_ext
3391LIBS=$ac_check_lib_save_LIBS
3392fi
3393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
3394$as_echo "$ac_cv_lib_socket_socket" >&6; }
3395if test "x$ac_cv_lib_socket_socket" = xyes; then :
3396  cat >>confdefs.h <<_ACEOF
3397#define HAVE_LIBSOCKET 1
3398_ACEOF
3399
3400  LIBS="-lsocket $LIBS"
3401
3402fi
3403
3404if test "$ac_cv_lib_socket_socket" = yes; then
3405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
3406$as_echo_n "checking for inet_addr in -lnsl... " >&6; }
3407if ${ac_cv_lib_nsl_inet_addr+:} false; then :
3408  $as_echo_n "(cached) " >&6
3409else
3410  ac_check_lib_save_LIBS=$LIBS
3411LIBS="-lnsl  $LIBS"
3412cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413/* end confdefs.h.  */
3414
3415/* Override any GCC internal prototype to avoid an error.
3416   Use char because int might match the return type of a GCC
3417   builtin and then its argument prototype would still apply.  */
3418#ifdef __cplusplus
3419extern "C"
3420#endif
3421char inet_addr ();
3422int
3423main ()
3424{
3425return inet_addr ();
3426  ;
3427  return 0;
3428}
3429_ACEOF
3430if ac_fn_c_try_link "$LINENO"; then :
3431  ac_cv_lib_nsl_inet_addr=yes
3432else
3433  ac_cv_lib_nsl_inet_addr=no
3434fi
3435rm -f core conftest.err conftest.$ac_objext \
3436    conftest$ac_exeext conftest.$ac_ext
3437LIBS=$ac_check_lib_save_LIBS
3438fi
3439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
3440$as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
3441if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
3442  cat >>confdefs.h <<_ACEOF
3443#define HAVE_LIBNSL 1
3444_ACEOF
3445
3446  LIBS="-lnsl $LIBS"
3447
3448fi
3449
3450fi
3451
3452
3453ac_ext=c
3454ac_cpp='$CPP $CPPFLAGS'
3455ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3456ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457ac_compiler_gnu=$ac_cv_c_compiler_gnu
3458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3459$as_echo_n "checking how to run the C preprocessor... " >&6; }
3460# On Suns, sometimes $CPP names a directory.
3461if test -n "$CPP" && test -d "$CPP"; then
3462  CPP=
3463fi
3464if test -z "$CPP"; then
3465  if ${ac_cv_prog_CPP+:} false; then :
3466  $as_echo_n "(cached) " >&6
3467else
3468      # Double quotes because CPP needs to be expanded
3469    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3470    do
3471      ac_preproc_ok=false
3472for ac_c_preproc_warn_flag in '' yes
3473do
3474  # Use a header file that comes with gcc, so configuring glibc
3475  # with a fresh cross-compiler works.
3476  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3477  # <limits.h> exists even on freestanding compilers.
3478  # On the NeXT, cc -E runs the code through the compiler's parser,
3479  # not just through cpp. "Syntax error" is here to catch this case.
3480  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481/* end confdefs.h.  */
3482#ifdef __STDC__
3483# include <limits.h>
3484#else
3485# include <assert.h>
3486#endif
3487		     Syntax error
3488_ACEOF
3489if ac_fn_c_try_cpp "$LINENO"; then :
3490
3491else
3492  # Broken: fails on valid input.
3493continue
3494fi
3495rm -f conftest.err conftest.i conftest.$ac_ext
3496
3497  # OK, works on sane cases.  Now check whether nonexistent headers
3498  # can be detected and how.
3499  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3500/* end confdefs.h.  */
3501#include <ac_nonexistent.h>
3502_ACEOF
3503if ac_fn_c_try_cpp "$LINENO"; then :
3504  # Broken: success on invalid input.
3505continue
3506else
3507  # Passes both tests.
3508ac_preproc_ok=:
3509break
3510fi
3511rm -f conftest.err conftest.i conftest.$ac_ext
3512
3513done
3514# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3515rm -f conftest.i conftest.err conftest.$ac_ext
3516if $ac_preproc_ok; then :
3517  break
3518fi
3519
3520    done
3521    ac_cv_prog_CPP=$CPP
3522
3523fi
3524  CPP=$ac_cv_prog_CPP
3525else
3526  ac_cv_prog_CPP=$CPP
3527fi
3528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3529$as_echo "$CPP" >&6; }
3530ac_preproc_ok=false
3531for ac_c_preproc_warn_flag in '' yes
3532do
3533  # Use a header file that comes with gcc, so configuring glibc
3534  # with a fresh cross-compiler works.
3535  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3536  # <limits.h> exists even on freestanding compilers.
3537  # On the NeXT, cc -E runs the code through the compiler's parser,
3538  # not just through cpp. "Syntax error" is here to catch this case.
3539  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540/* end confdefs.h.  */
3541#ifdef __STDC__
3542# include <limits.h>
3543#else
3544# include <assert.h>
3545#endif
3546		     Syntax error
3547_ACEOF
3548if ac_fn_c_try_cpp "$LINENO"; then :
3549
3550else
3551  # Broken: fails on valid input.
3552continue
3553fi
3554rm -f conftest.err conftest.i conftest.$ac_ext
3555
3556  # OK, works on sane cases.  Now check whether nonexistent headers
3557  # can be detected and how.
3558  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559/* end confdefs.h.  */
3560#include <ac_nonexistent.h>
3561_ACEOF
3562if ac_fn_c_try_cpp "$LINENO"; then :
3563  # Broken: success on invalid input.
3564continue
3565else
3566  # Passes both tests.
3567ac_preproc_ok=:
3568break
3569fi
3570rm -f conftest.err conftest.i conftest.$ac_ext
3571
3572done
3573# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3574rm -f conftest.i conftest.err conftest.$ac_ext
3575if $ac_preproc_ok; then :
3576
3577else
3578  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3581See \`config.log' for more details" "$LINENO" 5; }
3582fi
3583
3584ac_ext=c
3585ac_cpp='$CPP $CPPFLAGS'
3586ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3587ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3588ac_compiler_gnu=$ac_cv_c_compiler_gnu
3589
3590
3591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3592$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3593if ${ac_cv_path_GREP+:} false; then :
3594  $as_echo_n "(cached) " >&6
3595else
3596  if test -z "$GREP"; then
3597  ac_path_GREP_found=false
3598  # Loop through the user's path and test for each of PROGNAME-LIST
3599  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3601do
3602  IFS=$as_save_IFS
3603  test -z "$as_dir" && as_dir=.
3604    for ac_prog in grep ggrep; do
3605    for ac_exec_ext in '' $ac_executable_extensions; do
3606      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3607      as_fn_executable_p "$ac_path_GREP" || continue
3608# Check for GNU ac_path_GREP and select it if it is found.
3609  # Check for GNU $ac_path_GREP
3610case `"$ac_path_GREP" --version 2>&1` in
3611*GNU*)
3612  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3613*)
3614  ac_count=0
3615  $as_echo_n 0123456789 >"conftest.in"
3616  while :
3617  do
3618    cat "conftest.in" "conftest.in" >"conftest.tmp"
3619    mv "conftest.tmp" "conftest.in"
3620    cp "conftest.in" "conftest.nl"
3621    $as_echo 'GREP' >> "conftest.nl"
3622    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3623    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3624    as_fn_arith $ac_count + 1 && ac_count=$as_val
3625    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3626      # Best one so far, save it but keep looking for a better one
3627      ac_cv_path_GREP="$ac_path_GREP"
3628      ac_path_GREP_max=$ac_count
3629    fi
3630    # 10*(2^10) chars as input seems more than enough
3631    test $ac_count -gt 10 && break
3632  done
3633  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3634esac
3635
3636      $ac_path_GREP_found && break 3
3637    done
3638  done
3639  done
3640IFS=$as_save_IFS
3641  if test -z "$ac_cv_path_GREP"; then
3642    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3643  fi
3644else
3645  ac_cv_path_GREP=$GREP
3646fi
3647
3648fi
3649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3650$as_echo "$ac_cv_path_GREP" >&6; }
3651 GREP="$ac_cv_path_GREP"
3652
3653
3654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3655$as_echo_n "checking for egrep... " >&6; }
3656if ${ac_cv_path_EGREP+:} false; then :
3657  $as_echo_n "(cached) " >&6
3658else
3659  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3660   then ac_cv_path_EGREP="$GREP -E"
3661   else
3662     if test -z "$EGREP"; then
3663  ac_path_EGREP_found=false
3664  # Loop through the user's path and test for each of PROGNAME-LIST
3665  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3666for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3667do
3668  IFS=$as_save_IFS
3669  test -z "$as_dir" && as_dir=.
3670    for ac_prog in egrep; do
3671    for ac_exec_ext in '' $ac_executable_extensions; do
3672      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3673      as_fn_executable_p "$ac_path_EGREP" || continue
3674# Check for GNU ac_path_EGREP and select it if it is found.
3675  # Check for GNU $ac_path_EGREP
3676case `"$ac_path_EGREP" --version 2>&1` in
3677*GNU*)
3678  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3679*)
3680  ac_count=0
3681  $as_echo_n 0123456789 >"conftest.in"
3682  while :
3683  do
3684    cat "conftest.in" "conftest.in" >"conftest.tmp"
3685    mv "conftest.tmp" "conftest.in"
3686    cp "conftest.in" "conftest.nl"
3687    $as_echo 'EGREP' >> "conftest.nl"
3688    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3689    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3690    as_fn_arith $ac_count + 1 && ac_count=$as_val
3691    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3692      # Best one so far, save it but keep looking for a better one
3693      ac_cv_path_EGREP="$ac_path_EGREP"
3694      ac_path_EGREP_max=$ac_count
3695    fi
3696    # 10*(2^10) chars as input seems more than enough
3697    test $ac_count -gt 10 && break
3698  done
3699  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3700esac
3701
3702      $ac_path_EGREP_found && break 3
3703    done
3704  done
3705  done
3706IFS=$as_save_IFS
3707  if test -z "$ac_cv_path_EGREP"; then
3708    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3709  fi
3710else
3711  ac_cv_path_EGREP=$EGREP
3712fi
3713
3714   fi
3715fi
3716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3717$as_echo "$ac_cv_path_EGREP" >&6; }
3718 EGREP="$ac_cv_path_EGREP"
3719
3720
3721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3722$as_echo_n "checking for ANSI C header files... " >&6; }
3723if ${ac_cv_header_stdc+:} false; then :
3724  $as_echo_n "(cached) " >&6
3725else
3726  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727/* end confdefs.h.  */
3728#include <stdlib.h>
3729#include <stdarg.h>
3730#include <string.h>
3731#include <float.h>
3732
3733int
3734main ()
3735{
3736
3737  ;
3738  return 0;
3739}
3740_ACEOF
3741if ac_fn_c_try_compile "$LINENO"; then :
3742  ac_cv_header_stdc=yes
3743else
3744  ac_cv_header_stdc=no
3745fi
3746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3747
3748if test $ac_cv_header_stdc = yes; then
3749  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3750  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751/* end confdefs.h.  */
3752#include <string.h>
3753
3754_ACEOF
3755if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3756  $EGREP "memchr" >/dev/null 2>&1; then :
3757
3758else
3759  ac_cv_header_stdc=no
3760fi
3761rm -f conftest*
3762
3763fi
3764
3765if test $ac_cv_header_stdc = yes; then
3766  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3767  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768/* end confdefs.h.  */
3769#include <stdlib.h>
3770
3771_ACEOF
3772if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3773  $EGREP "free" >/dev/null 2>&1; then :
3774
3775else
3776  ac_cv_header_stdc=no
3777fi
3778rm -f conftest*
3779
3780fi
3781
3782if test $ac_cv_header_stdc = yes; then
3783  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3784  if test "$cross_compiling" = yes; then :
3785  :
3786else
3787  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3788/* end confdefs.h.  */
3789#include <ctype.h>
3790#include <stdlib.h>
3791#if ((' ' & 0x0FF) == 0x020)
3792# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3793# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3794#else
3795# define ISLOWER(c) \
3796		   (('a' <= (c) && (c) <= 'i') \
3797		     || ('j' <= (c) && (c) <= 'r') \
3798		     || ('s' <= (c) && (c) <= 'z'))
3799# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3800#endif
3801
3802#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3803int
3804main ()
3805{
3806  int i;
3807  for (i = 0; i < 256; i++)
3808    if (XOR (islower (i), ISLOWER (i))
3809	|| toupper (i) != TOUPPER (i))
3810      return 2;
3811  return 0;
3812}
3813_ACEOF
3814if ac_fn_c_try_run "$LINENO"; then :
3815
3816else
3817  ac_cv_header_stdc=no
3818fi
3819rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3820  conftest.$ac_objext conftest.beam conftest.$ac_ext
3821fi
3822
3823fi
3824fi
3825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3826$as_echo "$ac_cv_header_stdc" >&6; }
3827if test $ac_cv_header_stdc = yes; then
3828
3829$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3830
3831fi
3832
3833# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3834for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3835		  inttypes.h stdint.h unistd.h
3836do :
3837  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3838ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3839"
3840if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3841  cat >>confdefs.h <<_ACEOF
3842#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3843_ACEOF
3844
3845fi
3846
3847done
3848
3849
3850for ac_header in \
3851  paths.h \
3852  sys/inotify.h \
3853
3854do :
3855  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3856ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3857if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3858  cat >>confdefs.h <<_ACEOF
3859#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3860_ACEOF
3861
3862fi
3863
3864done
3865
3866
3867
3868ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
3869#include <sys/types.h>
3870#include <sys/socket.h>
3871"
3872if test "x$ac_cv_type_socklen_t" = xyes; then :
3873
3874cat >>confdefs.h <<_ACEOF
3875#define HAVE_SOCKLEN_T 1
3876_ACEOF
3877
3878
3879fi
3880
3881
3882
3883
3884
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
3886$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3887if ${ac_cv_c_bigendian+:} false; then :
3888  $as_echo_n "(cached) " >&6
3889else
3890  ac_cv_c_bigendian=unknown
3891    # See if we're dealing with a universal compiler.
3892    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893/* end confdefs.h.  */
3894#ifndef __APPLE_CC__
3895	       not a universal capable compiler
3896	     #endif
3897	     typedef int dummy;
3898
3899_ACEOF
3900if ac_fn_c_try_compile "$LINENO"; then :
3901
3902	# Check for potential -arch flags.  It is not universal unless
3903	# there are at least two -arch flags with different values.
3904	ac_arch=
3905	ac_prev=
3906	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
3907	 if test -n "$ac_prev"; then
3908	   case $ac_word in
3909	     i?86 | x86_64 | ppc | ppc64)
3910	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
3911		 ac_arch=$ac_word
3912	       else
3913		 ac_cv_c_bigendian=universal
3914		 break
3915	       fi
3916	       ;;
3917	   esac
3918	   ac_prev=
3919	 elif test "x$ac_word" = "x-arch"; then
3920	   ac_prev=arch
3921	 fi
3922       done
3923fi
3924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3925    if test $ac_cv_c_bigendian = unknown; then
3926      # See if sys/param.h defines the BYTE_ORDER macro.
3927      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928/* end confdefs.h.  */
3929#include <sys/types.h>
3930	     #include <sys/param.h>
3931
3932int
3933main ()
3934{
3935#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3936		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3937		     && LITTLE_ENDIAN)
3938	      bogus endian macros
3939	     #endif
3940
3941  ;
3942  return 0;
3943}
3944_ACEOF
3945if ac_fn_c_try_compile "$LINENO"; then :
3946  # It does; now see whether it defined to BIG_ENDIAN or not.
3947	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3948/* end confdefs.h.  */
3949#include <sys/types.h>
3950		#include <sys/param.h>
3951
3952int
3953main ()
3954{
3955#if BYTE_ORDER != BIG_ENDIAN
3956		 not big endian
3957		#endif
3958
3959  ;
3960  return 0;
3961}
3962_ACEOF
3963if ac_fn_c_try_compile "$LINENO"; then :
3964  ac_cv_c_bigendian=yes
3965else
3966  ac_cv_c_bigendian=no
3967fi
3968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969fi
3970rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971    fi
3972    if test $ac_cv_c_bigendian = unknown; then
3973      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3974      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3975/* end confdefs.h.  */
3976#include <limits.h>
3977
3978int
3979main ()
3980{
3981#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3982	      bogus endian macros
3983	     #endif
3984
3985  ;
3986  return 0;
3987}
3988_ACEOF
3989if ac_fn_c_try_compile "$LINENO"; then :
3990  # It does; now see whether it defined to _BIG_ENDIAN or not.
3991	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3992/* end confdefs.h.  */
3993#include <limits.h>
3994
3995int
3996main ()
3997{
3998#ifndef _BIG_ENDIAN
3999		 not big endian
4000		#endif
4001
4002  ;
4003  return 0;
4004}
4005_ACEOF
4006if ac_fn_c_try_compile "$LINENO"; then :
4007  ac_cv_c_bigendian=yes
4008else
4009  ac_cv_c_bigendian=no
4010fi
4011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4012fi
4013rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4014    fi
4015    if test $ac_cv_c_bigendian = unknown; then
4016      # Compile a test program.
4017      if test "$cross_compiling" = yes; then :
4018  # Try to guess by grepping values from an object file.
4019	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020/* end confdefs.h.  */
4021short int ascii_mm[] =
4022		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4023		short int ascii_ii[] =
4024		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4025		int use_ascii (int i) {
4026		  return ascii_mm[i] + ascii_ii[i];
4027		}
4028		short int ebcdic_ii[] =
4029		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4030		short int ebcdic_mm[] =
4031		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4032		int use_ebcdic (int i) {
4033		  return ebcdic_mm[i] + ebcdic_ii[i];
4034		}
4035		extern int foo;
4036
4037int
4038main ()
4039{
4040return use_ascii (foo) == use_ebcdic (foo);
4041  ;
4042  return 0;
4043}
4044_ACEOF
4045if ac_fn_c_try_compile "$LINENO"; then :
4046  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4047	      ac_cv_c_bigendian=yes
4048	    fi
4049	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4050	      if test "$ac_cv_c_bigendian" = unknown; then
4051		ac_cv_c_bigendian=no
4052	      else
4053		# finding both strings is unlikely to happen, but who knows?
4054		ac_cv_c_bigendian=unknown
4055	      fi
4056	    fi
4057fi
4058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4059else
4060  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4061/* end confdefs.h.  */
4062$ac_includes_default
4063int
4064main ()
4065{
4066
4067	     /* Are we little or big endian?  From Harbison&Steele.  */
4068	     union
4069	     {
4070	       long int l;
4071	       char c[sizeof (long int)];
4072	     } u;
4073	     u.l = 1;
4074	     return u.c[sizeof (long int) - 1] == 1;
4075
4076  ;
4077  return 0;
4078}
4079_ACEOF
4080if ac_fn_c_try_run "$LINENO"; then :
4081  ac_cv_c_bigendian=no
4082else
4083  ac_cv_c_bigendian=yes
4084fi
4085rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4086  conftest.$ac_objext conftest.beam conftest.$ac_ext
4087fi
4088
4089    fi
4090fi
4091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4092$as_echo "$ac_cv_c_bigendian" >&6; }
4093 case $ac_cv_c_bigendian in #(
4094   yes)
4095     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4096;; #(
4097   no)
4098      ;; #(
4099   universal)
4100
4101$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4102
4103     ;; #(
4104   *)
4105     as_fn_error $? "unknown endianness
4106 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4107 esac
4108
4109
4110
4111for ac_func in \
4112  inet_aton \
4113  inet_ntop \
4114  inet_pton \
4115  localtime_r \
4116  strcasecmp \
4117  strncasecmp \
4118  toint \
4119
4120do :
4121  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4122ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4123if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
4124  cat >>confdefs.h <<_ACEOF
4125#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4126_ACEOF
4127
4128fi
4129done
4130
4131ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
4132if test "x$ac_cv_func_strlcat" = xyes; then :
4133  $as_echo "#define HAVE_STRLCAT 1" >>confdefs.h
4134
4135else
4136  case " $LIBOBJS " in
4137  *" strlcat.$ac_objext "* ) ;;
4138  *) LIBOBJS="$LIBOBJS strlcat.$ac_objext"
4139 ;;
4140esac
4141
4142fi
4143
4144ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
4145if test "x$ac_cv_func_strlcpy" = xyes; then :
4146  $as_echo "#define HAVE_STRLCPY 1" >>confdefs.h
4147
4148else
4149  case " $LIBOBJS " in
4150  *" strlcpy.$ac_objext "* ) ;;
4151  *) LIBOBJS="$LIBOBJS strlcpy.$ac_objext"
4152 ;;
4153esac
4154
4155fi
4156
4157
4158
4159
4160
4161
4162
4163
4164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdbool.h is broken" >&5
4165$as_echo_n "checking whether stdbool.h is broken... " >&6; }
4166cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167/* end confdefs.h.  */
4168#include <stdbool.h>
4169int
4170main ()
4171{
4172
4173  ;
4174  return 0;
4175}
4176_ACEOF
4177if ac_fn_c_try_compile "$LINENO"; then :
4178   broken_stdbool=no
4179else
4180   broken_stdbool=yes
4181
4182$as_echo "#define BROKEN_STDBOOL 1" >>confdefs.h
4183
4184
4185
4186fi
4187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${broken_stdbool=no}" >&5
4189$as_echo "${broken_stdbool=no}" >&6; }
4190
4191
4192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debugging is enabled" >&5
4193$as_echo_n "checking whether debugging is enabled... " >&6; }
4194# Check whether --enable-debug was given.
4195if test "${enable_debug+set}" = set; then :
4196  enableval=$enable_debug;  case "$enableval" in
4197      yes) debug=yes ;;
4198      no)  debug=no ;;
4199      *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: doh!" >&5
4200$as_echo "doh!" >&6; }
4201           as_fn_error $? "bad value \"$enableval\" for --enable-debug" "$LINENO" 5 ;;
4202    esac
4203
4204
4205fi
4206
4207if test "$debug" = yes; then
4208  test -z "$ac_test_CFLAGS" && CFLAGS=
4209  test "$ac_cv_prog_cc_g" = yes && DEBUG_CFLAGS="-g"
4210  test "$GCC" = yes && DEBUG_CFLAGS="$DEBUG_CFLAGS -Wall -Wsign-compare"
4211else
4212
4213$as_echo "#define NDEBUG 1" >>confdefs.h
4214
4215fi
4216
4217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${debug=no}" >&5
4218$as_echo "${debug=no}" >&6; }
4219
4220
4221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use the Debug Malloc Library" >&5
4222$as_echo_n "checking whether to use the Debug Malloc Library... " >&6; }
4223
4224# Check whether --with-dmalloc was given.
4225if test "${with_dmalloc+set}" = set; then :
4226  withval=$with_dmalloc;  case "$withval" in
4227      yes) dmalloc=yes ;;
4228      no)  dmalloc=no ;;
4229      *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: doh!" >&5
4230$as_echo "doh!" >&6; }
4231           as_fn_error $? "bad value \"$withval\" for --with-dmalloc" "$LINENO" 5 ;;
4232    esac
4233
4234
4235fi
4236
4237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${dmalloc=no}" >&5
4238$as_echo "${dmalloc=no}" >&6; }
4239if test "$dmalloc" = yes; then
4240  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldmalloc" >&5
4241$as_echo_n "checking for main in -ldmalloc... " >&6; }
4242if ${ac_cv_lib_dmalloc_main+:} false; then :
4243  $as_echo_n "(cached) " >&6
4244else
4245  ac_check_lib_save_LIBS=$LIBS
4246LIBS="-ldmalloc  $LIBS"
4247cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248/* end confdefs.h.  */
4249
4250
4251int
4252main ()
4253{
4254return main ();
4255  ;
4256  return 0;
4257}
4258_ACEOF
4259if ac_fn_c_try_link "$LINENO"; then :
4260  ac_cv_lib_dmalloc_main=yes
4261else
4262  ac_cv_lib_dmalloc_main=no
4263fi
4264rm -f core conftest.err conftest.$ac_objext \
4265    conftest$ac_exeext conftest.$ac_ext
4266LIBS=$ac_check_lib_save_LIBS
4267fi
4268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dmalloc_main" >&5
4269$as_echo "$ac_cv_lib_dmalloc_main" >&6; }
4270if test "x$ac_cv_lib_dmalloc_main" = xyes; then :
4271
4272cat >>confdefs.h <<_ACEOF
4273#define WITH_DMALLOC 1
4274_ACEOF
4275
4276      LIBS="-ldmalloc $LIBS"
4277
4278else
4279  dmalloc=no
4280
4281fi
4282ac_cv_lib_dmalloc=ac_cv_lib_dmalloc_main
4283
4284fi
4285
4286
4287
4288
4289# Check whether --with-tcp-wrappers was given.
4290if test "${with_tcp_wrappers+set}" = set; then :
4291  withval=$with_tcp_wrappers;  case "$withval" in
4292      yes) tcp_wrappers=yes ;;
4293      no)  tcp_wrappers=no ;;
4294      *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: doh!" >&5
4295$as_echo "doh!" >&6; }
4296           as_fn_error $? "bad value \"$withval\" for --with-tcp-wrappers" "$LINENO" 5 ;;
4297    esac
4298
4299
4300fi
4301
4302if test "$tcp_wrappers" != no; then
4303  ac_fn_c_check_header_mongrel "$LINENO" "tcpd.h" "ac_cv_header_tcpd_h" "$ac_includes_default"
4304if test "x$ac_cv_header_tcpd_h" = xyes; then :
4305  ac_have_tcpd_h=yes
4306fi
4307
4308
4309  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lwrap" >&5
4310$as_echo_n "checking for main in -lwrap... " >&6; }
4311if ${ac_cv_lib_wrap_main+:} false; then :
4312  $as_echo_n "(cached) " >&6
4313else
4314  ac_check_lib_save_LIBS=$LIBS
4315LIBS="-lwrap  $LIBS"
4316cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317/* end confdefs.h.  */
4318
4319
4320int
4321main ()
4322{
4323return main ();
4324  ;
4325  return 0;
4326}
4327_ACEOF
4328if ac_fn_c_try_link "$LINENO"; then :
4329  ac_cv_lib_wrap_main=yes
4330else
4331  ac_cv_lib_wrap_main=no
4332fi
4333rm -f core conftest.err conftest.$ac_objext \
4334    conftest$ac_exeext conftest.$ac_ext
4335LIBS=$ac_check_lib_save_LIBS
4336fi
4337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wrap_main" >&5
4338$as_echo "$ac_cv_lib_wrap_main" >&6; }
4339if test "x$ac_cv_lib_wrap_main" = xyes; then :
4340  ac_have_libwrap=yes
4341fi
4342
4343  if test "$ac_have_tcpd_h" = yes -a "$ac_have_libwrap" = yes; then
4344
4345cat >>confdefs.h <<_ACEOF
4346#define WITH_TCP_WRAPPERS 1
4347_ACEOF
4348
4349    LIBS="-lwrap $LIBS"
4350    tcp_wrappers=yes
4351  else
4352    tcp_wrappers=no
4353  fi
4354        if test "$tcp_wrappers" = yes -a "$ac_cv_lib_nsl_inet_addr" != yes; then
4355    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yp_get_default_domain in -lnsl" >&5
4356$as_echo_n "checking for yp_get_default_domain in -lnsl... " >&6; }
4357if ${ac_cv_lib_nsl_yp_get_default_domain+:} false; then :
4358  $as_echo_n "(cached) " >&6
4359else
4360  ac_check_lib_save_LIBS=$LIBS
4361LIBS="-lnsl  $LIBS"
4362cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4363/* end confdefs.h.  */
4364
4365/* Override any GCC internal prototype to avoid an error.
4366   Use char because int might match the return type of a GCC
4367   builtin and then its argument prototype would still apply.  */
4368#ifdef __cplusplus
4369extern "C"
4370#endif
4371char yp_get_default_domain ();
4372int
4373main ()
4374{
4375return yp_get_default_domain ();
4376  ;
4377  return 0;
4378}
4379_ACEOF
4380if ac_fn_c_try_link "$LINENO"; then :
4381  ac_cv_lib_nsl_yp_get_default_domain=yes
4382else
4383  ac_cv_lib_nsl_yp_get_default_domain=no
4384fi
4385rm -f core conftest.err conftest.$ac_objext \
4386    conftest$ac_exeext conftest.$ac_ext
4387LIBS=$ac_check_lib_save_LIBS
4388fi
4389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
4390$as_echo "$ac_cv_lib_nsl_yp_get_default_domain" >&6; }
4391if test "x$ac_cv_lib_nsl_yp_get_default_domain" = xyes; then :
4392  cat >>confdefs.h <<_ACEOF
4393#define HAVE_LIBNSL 1
4394_ACEOF
4395
4396  LIBS="-lnsl $LIBS"
4397
4398fi
4399
4400  fi
4401fi
4402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use TCP Wrappers" >&5
4403$as_echo_n "checking whether to use TCP Wrappers... " >&6; }
4404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${tcp_wrappers=no}" >&5
4405$as_echo "${tcp_wrappers=no}" >&6; }
4406
4407
4408
4409# Check whether --with-freeipmi was given.
4410if test "${with_freeipmi+set}" = set; then :
4411  withval=$with_freeipmi;  case "$withval" in
4412      yes) freeipmi=req ;;
4413      no)  freeipmi=no ;;
4414      *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: doh!" >&5
4415$as_echo "doh!" >&6; }
4416           as_fn_error $? "bad value \"$withval\" for --with-freeipmi" "$LINENO" 5 ;;
4417    esac
4418
4419
4420fi
4421
4422if test "$freeipmi" != no; then
4423  ac_save_LIBS="$LIBS"
4424  for ac_header in ipmiconsole.h
4425do :
4426  ac_fn_c_check_header_mongrel "$LINENO" "ipmiconsole.h" "ac_cv_header_ipmiconsole_h" "$ac_includes_default"
4427if test "x$ac_cv_header_ipmiconsole_h" = xyes; then :
4428  cat >>confdefs.h <<_ACEOF
4429#define HAVE_IPMICONSOLE_H 1
4430_ACEOF
4431
4432fi
4433
4434done
4435
4436  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ipmiconsole_workaround_flags_is_valid in -lipmiconsole" >&5
4437$as_echo_n "checking for ipmiconsole_workaround_flags_is_valid in -lipmiconsole... " >&6; }
4438if ${ac_cv_lib_ipmiconsole_ipmiconsole_workaround_flags_is_valid+:} false; then :
4439  $as_echo_n "(cached) " >&6
4440else
4441  ac_check_lib_save_LIBS=$LIBS
4442LIBS="-lipmiconsole  $LIBS"
4443cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444/* end confdefs.h.  */
4445
4446/* Override any GCC internal prototype to avoid an error.
4447   Use char because int might match the return type of a GCC
4448   builtin and then its argument prototype would still apply.  */
4449#ifdef __cplusplus
4450extern "C"
4451#endif
4452char ipmiconsole_workaround_flags_is_valid ();
4453int
4454main ()
4455{
4456return ipmiconsole_workaround_flags_is_valid ();
4457  ;
4458  return 0;
4459}
4460_ACEOF
4461if ac_fn_c_try_link "$LINENO"; then :
4462  ac_cv_lib_ipmiconsole_ipmiconsole_workaround_flags_is_valid=yes
4463else
4464  ac_cv_lib_ipmiconsole_ipmiconsole_workaround_flags_is_valid=no
4465fi
4466rm -f core conftest.err conftest.$ac_objext \
4467    conftest$ac_exeext conftest.$ac_ext
4468LIBS=$ac_check_lib_save_LIBS
4469fi
4470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipmiconsole_ipmiconsole_workaround_flags_is_valid" >&5
4471$as_echo "$ac_cv_lib_ipmiconsole_ipmiconsole_workaround_flags_is_valid" >&6; }
4472if test "x$ac_cv_lib_ipmiconsole_ipmiconsole_workaround_flags_is_valid" = xyes; then :
4473  cat >>confdefs.h <<_ACEOF
4474#define HAVE_LIBIPMICONSOLE 1
4475_ACEOF
4476
4477  LIBS="-lipmiconsole $LIBS"
4478
4479fi
4480
4481  LIBS="$ac_save_LIBS"
4482  if   test "$ac_cv_header_ipmiconsole_h" != yes; then : ;
4483  elif test "$ac_cv_lib_ipmiconsole_ipmiconsole_workaround_flags_is_valid" != yes; then : ;
4484  else
4485
4486cat >>confdefs.h <<_ACEOF
4487#define WITH_FREEIPMI 1
4488_ACEOF
4489
4490    freeipmi=yes
4491    IPMI_OBJS="server-ipmi.o"
4492    IPMI_LIBS="-lipmiconsole"
4493  fi
4494  test "$freeipmi" = req && freeipmi=failed
4495fi
4496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use FreeIPMI's libipmiconsole" >&5
4497$as_echo_n "checking whether to use FreeIPMI's libipmiconsole... " >&6; }
4498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${freeipmi=no}" >&5
4499$as_echo "${freeipmi=no}" >&6; }
4500if test "$freeipmi" = failed; then
4501  as_fn_error $? "unable to locate FreeIPMI 1.0.4 or later" "$LINENO" 5
4502fi
4503
4504
4505
4506
4507CONMAN_CONF_TMP1="`eval echo ${sysconfdir}/conman.conf`"
4508CONMAN_CONF_TMP2="`echo $CONMAN_CONF_TMP1 | sed 's/^NONE/$ac_default_prefix/'`"
4509CONMAN_CONF="`eval echo $CONMAN_CONF_TMP2`"
4510
4511cat >>confdefs.h <<_ACEOF
4512#define CONMAN_CONF "$CONMAN_CONF"
4513_ACEOF
4514
4515
4516
4517
4518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ConMan daemon host name" >&5
4519$as_echo_n "checking for ConMan daemon host name... " >&6; }
4520
4521# Check whether --with-conman-host was given.
4522if test "${with_conman_host+set}" = set; then :
4523  withval=$with_conman_host;  if test -n "$withval" -a "$withval" != yes -a "$withval" != no; then
4524      CONMAN_HOST="$withval"
4525    fi
4526
4527
4528fi
4529
4530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONMAN_HOST=127.0.0.1}" >&5
4531$as_echo "${CONMAN_HOST=127.0.0.1}" >&6; }
4532
4533cat >>confdefs.h <<_ACEOF
4534#define CONMAN_HOST "$CONMAN_HOST"
4535_ACEOF
4536
4537
4538
4539
4540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ConMan daemon port number" >&5
4541$as_echo_n "checking for ConMan daemon port number... " >&6; }
4542
4543# Check whether --with-conman-port was given.
4544if test "${with_conman_port+set}" = set; then :
4545  withval=$with_conman_port;  if test `expr match "$withval" '[0-9]*$'` -gt 0; then
4546      CONMAN_PORT="$withval"
4547    fi
4548
4549
4550fi
4551
4552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONMAN_PORT=7890}" >&5
4553$as_echo "${CONMAN_PORT=7890}" >&6; }
4554
4555cat >>confdefs.h <<_ACEOF
4556#define CONMAN_PORT "$CONMAN_PORT"
4557_ACEOF
4558
4559
4560
4561
4562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link against pthreads" >&5
4563$as_echo_n "checking how to link against pthreads... " >&6; }
4564LIBPTHREAD=""
4565ac_check_pthreads_libs_save="$LIBS"
4566for flag in -lpthread -pthread; do
4567  LIBS="$flag"
4568  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4569/* end confdefs.h.  */
4570
4571    #include <pthread.h>
4572int
4573main ()
4574{
4575pthread_join (0, 0);
4576
4577  ;
4578  return 0;
4579}
4580_ACEOF
4581if ac_fn_c_try_link "$LINENO"; then :
4582  ac_check_pthreads_libs="$flag"; break
4583else
4584  ac_check_pthreads_libs=FAILED
4585
4586fi
4587rm -f core conftest.err conftest.$ac_objext \
4588    conftest$ac_exeext conftest.$ac_ext
4589done
4590LIBS="$ac_check_pthreads_libs_save"
4591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_check_pthreads_libs" >&5
4592$as_echo "$ac_check_pthreads_libs" >&6; }
4593if test "$ac_check_pthreads_libs" = "FAILED"; then
4594  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4595$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4596as_fn_error $? "cannot link against pthreads
4597See \`config.log' for more details" "$LINENO" 5; }
4598fi
4599LIBPTHREAD="$ac_check_pthreads_libs"
4600
4601
4602$as_echo "#define _REENTRANT 1" >>confdefs.h
4603
4604
4605$as_echo "#define _THREAD_SAFE 1" >>confdefs.h
4606
4607
4608$as_echo "#define WITH_PTHREADS 1" >>confdefs.h
4609
4610
4611
4612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sense of humor" >&5
4613$as_echo_n "checking for a sense of humor... " >&6; }
4614if ${ac_cv_humor+:} false; then :
4615  $as_echo_n "(cached) " >&6
4616else
4617  ac_cv_humor=yes
4618fi
4619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_humor" >&5
4620$as_echo "$ac_cv_humor" >&6; }
4621
4622
4623ac_config_commands="$ac_config_commands default-1"
4624
4625ac_config_files="$ac_config_files Makefile etc/conman.init man/conman.1 man/conman.conf.5 man/conmand.8"
4626
4627cat >confcache <<\_ACEOF
4628# This file is a shell script that caches the results of configure
4629# tests run on this system so they can be shared between configure
4630# scripts and configure runs, see configure's option --config-cache.
4631# It is not useful on other systems.  If it contains results you don't
4632# want to keep, you may remove or edit it.
4633#
4634# config.status only pays attention to the cache file if you give it
4635# the --recheck option to rerun configure.
4636#
4637# `ac_cv_env_foo' variables (set or unset) will be overridden when
4638# loading this file, other *unset* `ac_cv_foo' will be assigned the
4639# following values.
4640
4641_ACEOF
4642
4643# The following way of writing the cache mishandles newlines in values,
4644# but we know of no workaround that is simple, portable, and efficient.
4645# So, we kill variables containing newlines.
4646# Ultrix sh set writes to stderr and can't be redirected directly,
4647# and sets the high bit in the cache file unless we assign to the vars.
4648(
4649  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4650    eval ac_val=\$$ac_var
4651    case $ac_val in #(
4652    *${as_nl}*)
4653      case $ac_var in #(
4654      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4655$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4656      esac
4657      case $ac_var in #(
4658      _ | IFS | as_nl) ;; #(
4659      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4660      *) { eval $ac_var=; unset $ac_var;} ;;
4661      esac ;;
4662    esac
4663  done
4664
4665  (set) 2>&1 |
4666    case $as_nl`(ac_space=' '; set) 2>&1` in #(
4667    *${as_nl}ac_space=\ *)
4668      # `set' does not quote correctly, so add quotes: double-quote
4669      # substitution turns \\\\ into \\, and sed turns \\ into \.
4670      sed -n \
4671	"s/'/'\\\\''/g;
4672	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4673      ;; #(
4674    *)
4675      # `set' quotes correctly as required by POSIX, so do not add quotes.
4676      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4677      ;;
4678    esac |
4679    sort
4680) |
4681  sed '
4682     /^ac_cv_env_/b end
4683     t clear
4684     :clear
4685     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4686     t end
4687     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4688     :end' >>confcache
4689if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4690  if test -w "$cache_file"; then
4691    if test "x$cache_file" != "x/dev/null"; then
4692      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4693$as_echo "$as_me: updating cache $cache_file" >&6;}
4694      if test ! -f "$cache_file" || test -h "$cache_file"; then
4695	cat confcache >"$cache_file"
4696      else
4697        case $cache_file in #(
4698        */* | ?:*)
4699	  mv -f confcache "$cache_file"$$ &&
4700	  mv -f "$cache_file"$$ "$cache_file" ;; #(
4701        *)
4702	  mv -f confcache "$cache_file" ;;
4703	esac
4704      fi
4705    fi
4706  else
4707    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4708$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4709  fi
4710fi
4711rm -f confcache
4712
4713test "x$prefix" = xNONE && prefix=$ac_default_prefix
4714# Let make expand exec_prefix.
4715test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4716
4717DEFS=-DHAVE_CONFIG_H
4718
4719ac_libobjs=
4720ac_ltlibobjs=
4721U=
4722for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4723  # 1. Remove the extension, and $U if already installed.
4724  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4725  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4726  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4727  #    will be set to the directory where LIBOBJS objects are built.
4728  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4729  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4730done
4731LIBOBJS=$ac_libobjs
4732
4733LTLIBOBJS=$ac_ltlibobjs
4734
4735
4736
4737
4738: "${CONFIG_STATUS=./config.status}"
4739ac_write_fail=0
4740ac_clean_files_save=$ac_clean_files
4741ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4742{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4743$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4744as_write_fail=0
4745cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4746#! $SHELL
4747# Generated by $as_me.
4748# Run this file to recreate the current configuration.
4749# Compiler output produced by configure, useful for debugging
4750# configure, is in config.log if it exists.
4751
4752debug=false
4753ac_cs_recheck=false
4754ac_cs_silent=false
4755
4756SHELL=\${CONFIG_SHELL-$SHELL}
4757export SHELL
4758_ASEOF
4759cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4760## -------------------- ##
4761## M4sh Initialization. ##
4762## -------------------- ##
4763
4764# Be more Bourne compatible
4765DUALCASE=1; export DUALCASE # for MKS sh
4766if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4767  emulate sh
4768  NULLCMD=:
4769  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4770  # is contrary to our usage.  Disable this feature.
4771  alias -g '${1+"$@"}'='"$@"'
4772  setopt NO_GLOB_SUBST
4773else
4774  case `(set -o) 2>/dev/null` in #(
4775  *posix*) :
4776    set -o posix ;; #(
4777  *) :
4778     ;;
4779esac
4780fi
4781
4782
4783as_nl='
4784'
4785export as_nl
4786# Printing a long string crashes Solaris 7 /usr/bin/printf.
4787as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4788as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4789as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4790# Prefer a ksh shell builtin over an external printf program on Solaris,
4791# but without wasting forks for bash or zsh.
4792if test -z "$BASH_VERSION$ZSH_VERSION" \
4793    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4794  as_echo='print -r --'
4795  as_echo_n='print -rn --'
4796elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4797  as_echo='printf %s\n'
4798  as_echo_n='printf %s'
4799else
4800  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4801    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4802    as_echo_n='/usr/ucb/echo -n'
4803  else
4804    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4805    as_echo_n_body='eval
4806      arg=$1;
4807      case $arg in #(
4808      *"$as_nl"*)
4809	expr "X$arg" : "X\\(.*\\)$as_nl";
4810	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4811      esac;
4812      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4813    '
4814    export as_echo_n_body
4815    as_echo_n='sh -c $as_echo_n_body as_echo'
4816  fi
4817  export as_echo_body
4818  as_echo='sh -c $as_echo_body as_echo'
4819fi
4820
4821# The user is always right.
4822if test "${PATH_SEPARATOR+set}" != set; then
4823  PATH_SEPARATOR=:
4824  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4825    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4826      PATH_SEPARATOR=';'
4827  }
4828fi
4829
4830
4831# IFS
4832# We need space, tab and new line, in precisely that order.  Quoting is
4833# there to prevent editors from complaining about space-tab.
4834# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4835# splitting by setting IFS to empty value.)
4836IFS=" ""	$as_nl"
4837
4838# Find who we are.  Look in the path if we contain no directory separator.
4839as_myself=
4840case $0 in #((
4841  *[\\/]* ) as_myself=$0 ;;
4842  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843for as_dir in $PATH
4844do
4845  IFS=$as_save_IFS
4846  test -z "$as_dir" && as_dir=.
4847    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4848  done
4849IFS=$as_save_IFS
4850
4851     ;;
4852esac
4853# We did not find ourselves, most probably we were run as `sh COMMAND'
4854# in which case we are not to be found in the path.
4855if test "x$as_myself" = x; then
4856  as_myself=$0
4857fi
4858if test ! -f "$as_myself"; then
4859  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4860  exit 1
4861fi
4862
4863# Unset variables that we do not need and which cause bugs (e.g. in
4864# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4865# suppresses any "Segmentation fault" message there.  '((' could
4866# trigger a bug in pdksh 5.2.14.
4867for as_var in BASH_ENV ENV MAIL MAILPATH
4868do eval test x\${$as_var+set} = xset \
4869  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4870done
4871PS1='$ '
4872PS2='> '
4873PS4='+ '
4874
4875# NLS nuisances.
4876LC_ALL=C
4877export LC_ALL
4878LANGUAGE=C
4879export LANGUAGE
4880
4881# CDPATH.
4882(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4883
4884
4885# as_fn_error STATUS ERROR [LINENO LOG_FD]
4886# ----------------------------------------
4887# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4888# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4889# script with STATUS, using 1 if that was 0.
4890as_fn_error ()
4891{
4892  as_status=$1; test $as_status -eq 0 && as_status=1
4893  if test "$4"; then
4894    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4895    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4896  fi
4897  $as_echo "$as_me: error: $2" >&2
4898  as_fn_exit $as_status
4899} # as_fn_error
4900
4901
4902# as_fn_set_status STATUS
4903# -----------------------
4904# Set $? to STATUS, without forking.
4905as_fn_set_status ()
4906{
4907  return $1
4908} # as_fn_set_status
4909
4910# as_fn_exit STATUS
4911# -----------------
4912# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4913as_fn_exit ()
4914{
4915  set +e
4916  as_fn_set_status $1
4917  exit $1
4918} # as_fn_exit
4919
4920# as_fn_unset VAR
4921# ---------------
4922# Portably unset VAR.
4923as_fn_unset ()
4924{
4925  { eval $1=; unset $1;}
4926}
4927as_unset=as_fn_unset
4928# as_fn_append VAR VALUE
4929# ----------------------
4930# Append the text in VALUE to the end of the definition contained in VAR. Take
4931# advantage of any shell optimizations that allow amortized linear growth over
4932# repeated appends, instead of the typical quadratic growth present in naive
4933# implementations.
4934if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4935  eval 'as_fn_append ()
4936  {
4937    eval $1+=\$2
4938  }'
4939else
4940  as_fn_append ()
4941  {
4942    eval $1=\$$1\$2
4943  }
4944fi # as_fn_append
4945
4946# as_fn_arith ARG...
4947# ------------------
4948# Perform arithmetic evaluation on the ARGs, and store the result in the
4949# global $as_val. Take advantage of shells that can avoid forks. The arguments
4950# must be portable across $(()) and expr.
4951if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4952  eval 'as_fn_arith ()
4953  {
4954    as_val=$(( $* ))
4955  }'
4956else
4957  as_fn_arith ()
4958  {
4959    as_val=`expr "$@" || test $? -eq 1`
4960  }
4961fi # as_fn_arith
4962
4963
4964if expr a : '\(a\)' >/dev/null 2>&1 &&
4965   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4966  as_expr=expr
4967else
4968  as_expr=false
4969fi
4970
4971if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4972  as_basename=basename
4973else
4974  as_basename=false
4975fi
4976
4977if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4978  as_dirname=dirname
4979else
4980  as_dirname=false
4981fi
4982
4983as_me=`$as_basename -- "$0" ||
4984$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4985	 X"$0" : 'X\(//\)$' \| \
4986	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4987$as_echo X/"$0" |
4988    sed '/^.*\/\([^/][^/]*\)\/*$/{
4989	    s//\1/
4990	    q
4991	  }
4992	  /^X\/\(\/\/\)$/{
4993	    s//\1/
4994	    q
4995	  }
4996	  /^X\/\(\/\).*/{
4997	    s//\1/
4998	    q
4999	  }
5000	  s/.*/./; q'`
5001
5002# Avoid depending upon Character Ranges.
5003as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5004as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5005as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5006as_cr_digits='0123456789'
5007as_cr_alnum=$as_cr_Letters$as_cr_digits
5008
5009ECHO_C= ECHO_N= ECHO_T=
5010case `echo -n x` in #(((((
5011-n*)
5012  case `echo 'xy\c'` in
5013  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5014  xy)  ECHO_C='\c';;
5015  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5016       ECHO_T='	';;
5017  esac;;
5018*)
5019  ECHO_N='-n';;
5020esac
5021
5022rm -f conf$$ conf$$.exe conf$$.file
5023if test -d conf$$.dir; then
5024  rm -f conf$$.dir/conf$$.file
5025else
5026  rm -f conf$$.dir
5027  mkdir conf$$.dir 2>/dev/null
5028fi
5029if (echo >conf$$.file) 2>/dev/null; then
5030  if ln -s conf$$.file conf$$ 2>/dev/null; then
5031    as_ln_s='ln -s'
5032    # ... but there are two gotchas:
5033    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5034    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5035    # In both cases, we have to default to `cp -pR'.
5036    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5037      as_ln_s='cp -pR'
5038  elif ln conf$$.file conf$$ 2>/dev/null; then
5039    as_ln_s=ln
5040  else
5041    as_ln_s='cp -pR'
5042  fi
5043else
5044  as_ln_s='cp -pR'
5045fi
5046rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5047rmdir conf$$.dir 2>/dev/null
5048
5049
5050# as_fn_mkdir_p
5051# -------------
5052# Create "$as_dir" as a directory, including parents if necessary.
5053as_fn_mkdir_p ()
5054{
5055
5056  case $as_dir in #(
5057  -*) as_dir=./$as_dir;;
5058  esac
5059  test -d "$as_dir" || eval $as_mkdir_p || {
5060    as_dirs=
5061    while :; do
5062      case $as_dir in #(
5063      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5064      *) as_qdir=$as_dir;;
5065      esac
5066      as_dirs="'$as_qdir' $as_dirs"
5067      as_dir=`$as_dirname -- "$as_dir" ||
5068$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5069	 X"$as_dir" : 'X\(//\)[^/]' \| \
5070	 X"$as_dir" : 'X\(//\)$' \| \
5071	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5072$as_echo X"$as_dir" |
5073    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5074	    s//\1/
5075	    q
5076	  }
5077	  /^X\(\/\/\)[^/].*/{
5078	    s//\1/
5079	    q
5080	  }
5081	  /^X\(\/\/\)$/{
5082	    s//\1/
5083	    q
5084	  }
5085	  /^X\(\/\).*/{
5086	    s//\1/
5087	    q
5088	  }
5089	  s/.*/./; q'`
5090      test -d "$as_dir" && break
5091    done
5092    test -z "$as_dirs" || eval "mkdir $as_dirs"
5093  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5094
5095
5096} # as_fn_mkdir_p
5097if mkdir -p . 2>/dev/null; then
5098  as_mkdir_p='mkdir -p "$as_dir"'
5099else
5100  test -d ./-p && rmdir ./-p
5101  as_mkdir_p=false
5102fi
5103
5104
5105# as_fn_executable_p FILE
5106# -----------------------
5107# Test if FILE is an executable regular file.
5108as_fn_executable_p ()
5109{
5110  test -f "$1" && test -x "$1"
5111} # as_fn_executable_p
5112as_test_x='test -x'
5113as_executable_p=as_fn_executable_p
5114
5115# Sed expression to map a string onto a valid CPP name.
5116as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5117
5118# Sed expression to map a string onto a valid variable name.
5119as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5120
5121
5122exec 6>&1
5123## ----------------------------------- ##
5124## Main body of $CONFIG_STATUS script. ##
5125## ----------------------------------- ##
5126_ASEOF
5127test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5128
5129cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5130# Save the log message, to keep $0 and so on meaningful, and to
5131# report actual input values of CONFIG_FILES etc. instead of their
5132# values after options handling.
5133ac_log="
5134This file was extended by $as_me, which was
5135generated by GNU Autoconf 2.69.  Invocation command line was
5136
5137  CONFIG_FILES    = $CONFIG_FILES
5138  CONFIG_HEADERS  = $CONFIG_HEADERS
5139  CONFIG_LINKS    = $CONFIG_LINKS
5140  CONFIG_COMMANDS = $CONFIG_COMMANDS
5141  $ $0 $@
5142
5143on `(hostname || uname -n) 2>/dev/null | sed 1q`
5144"
5145
5146_ACEOF
5147
5148case $ac_config_files in *"
5149"*) set x $ac_config_files; shift; ac_config_files=$*;;
5150esac
5151
5152case $ac_config_headers in *"
5153"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5154esac
5155
5156
5157cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5158# Files that config.status was made for.
5159config_files="$ac_config_files"
5160config_headers="$ac_config_headers"
5161config_commands="$ac_config_commands"
5162
5163_ACEOF
5164
5165cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5166ac_cs_usage="\
5167\`$as_me' instantiates files and other configuration actions
5168from templates according to the current configuration.  Unless the files
5169and actions are specified as TAGs, all are instantiated by default.
5170
5171Usage: $0 [OPTION]... [TAG]...
5172
5173  -h, --help       print this help, then exit
5174  -V, --version    print version number and configuration settings, then exit
5175      --config     print configuration, then exit
5176  -q, --quiet, --silent
5177                   do not print progress messages
5178  -d, --debug      don't remove temporary files
5179      --recheck    update $as_me by reconfiguring in the same conditions
5180      --file=FILE[:TEMPLATE]
5181                   instantiate the configuration file FILE
5182      --header=FILE[:TEMPLATE]
5183                   instantiate the configuration header FILE
5184
5185Configuration files:
5186$config_files
5187
5188Configuration headers:
5189$config_headers
5190
5191Configuration commands:
5192$config_commands
5193
5194Report bugs to the package provider."
5195
5196_ACEOF
5197cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5198ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5199ac_cs_version="\\
5200config.status
5201configured by $0, generated by GNU Autoconf 2.69,
5202  with options \\"\$ac_cs_config\\"
5203
5204Copyright (C) 2012 Free Software Foundation, Inc.
5205This config.status script is free software; the Free Software Foundation
5206gives unlimited permission to copy, distribute and modify it."
5207
5208ac_pwd='$ac_pwd'
5209srcdir='$srcdir'
5210INSTALL='$INSTALL'
5211test -n "\$AWK" || AWK=awk
5212_ACEOF
5213
5214cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5215# The default lists apply if the user does not specify any file.
5216ac_need_defaults=:
5217while test $# != 0
5218do
5219  case $1 in
5220  --*=?*)
5221    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5222    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5223    ac_shift=:
5224    ;;
5225  --*=)
5226    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5227    ac_optarg=
5228    ac_shift=:
5229    ;;
5230  *)
5231    ac_option=$1
5232    ac_optarg=$2
5233    ac_shift=shift
5234    ;;
5235  esac
5236
5237  case $ac_option in
5238  # Handling of the options.
5239  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5240    ac_cs_recheck=: ;;
5241  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5242    $as_echo "$ac_cs_version"; exit ;;
5243  --config | --confi | --conf | --con | --co | --c )
5244    $as_echo "$ac_cs_config"; exit ;;
5245  --debug | --debu | --deb | --de | --d | -d )
5246    debug=: ;;
5247  --file | --fil | --fi | --f )
5248    $ac_shift
5249    case $ac_optarg in
5250    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5251    '') as_fn_error $? "missing file argument" ;;
5252    esac
5253    as_fn_append CONFIG_FILES " '$ac_optarg'"
5254    ac_need_defaults=false;;
5255  --header | --heade | --head | --hea )
5256    $ac_shift
5257    case $ac_optarg in
5258    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5259    esac
5260    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5261    ac_need_defaults=false;;
5262  --he | --h)
5263    # Conflict between --help and --header
5264    as_fn_error $? "ambiguous option: \`$1'
5265Try \`$0 --help' for more information.";;
5266  --help | --hel | -h )
5267    $as_echo "$ac_cs_usage"; exit ;;
5268  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5269  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5270    ac_cs_silent=: ;;
5271
5272  # This is an error.
5273  -*) as_fn_error $? "unrecognized option: \`$1'
5274Try \`$0 --help' for more information." ;;
5275
5276  *) as_fn_append ac_config_targets " $1"
5277     ac_need_defaults=false ;;
5278
5279  esac
5280  shift
5281done
5282
5283ac_configure_extra_args=
5284
5285if $ac_cs_silent; then
5286  exec 6>/dev/null
5287  ac_configure_extra_args="$ac_configure_extra_args --silent"
5288fi
5289
5290_ACEOF
5291cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5292if \$ac_cs_recheck; then
5293  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5294  shift
5295  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5296  CONFIG_SHELL='$SHELL'
5297  export CONFIG_SHELL
5298  exec "\$@"
5299fi
5300
5301_ACEOF
5302cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5303exec 5>>config.log
5304{
5305  echo
5306  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5307## Running $as_me. ##
5308_ASBOX
5309  $as_echo "$ac_log"
5310} >&5
5311
5312_ACEOF
5313cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5314#
5315# INIT-COMMANDS
5316#
5317
5318
5319_ACEOF
5320
5321cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5322
5323# Handling of arguments.
5324for ac_config_target in $ac_config_targets
5325do
5326  case $ac_config_target in
5327    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5328    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
5329    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5330    "etc/conman.init") CONFIG_FILES="$CONFIG_FILES etc/conman.init" ;;
5331    "man/conman.1") CONFIG_FILES="$CONFIG_FILES man/conman.1" ;;
5332    "man/conman.conf.5") CONFIG_FILES="$CONFIG_FILES man/conman.conf.5" ;;
5333    "man/conmand.8") CONFIG_FILES="$CONFIG_FILES man/conmand.8" ;;
5334
5335  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5336  esac
5337done
5338
5339
5340# If the user did not use the arguments to specify the items to instantiate,
5341# then the envvar interface is used.  Set only those that are not.
5342# We use the long form for the default assignment because of an extremely
5343# bizarre bug on SunOS 4.1.3.
5344if $ac_need_defaults; then
5345  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5346  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5347  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5348fi
5349
5350# Have a temporary directory for convenience.  Make it in the build tree
5351# simply because there is no reason against having it here, and in addition,
5352# creating and moving files from /tmp can sometimes cause problems.
5353# Hook for its removal unless debugging.
5354# Note that there is a small window in which the directory will not be cleaned:
5355# after its creation but before its name has been assigned to `$tmp'.
5356$debug ||
5357{
5358  tmp= ac_tmp=
5359  trap 'exit_status=$?
5360  : "${ac_tmp:=$tmp}"
5361  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5362' 0
5363  trap 'as_fn_exit 1' 1 2 13 15
5364}
5365# Create a (secure) tmp directory for tmp files.
5366
5367{
5368  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5369  test -d "$tmp"
5370}  ||
5371{
5372  tmp=./conf$$-$RANDOM
5373  (umask 077 && mkdir "$tmp")
5374} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5375ac_tmp=$tmp
5376
5377# Set up the scripts for CONFIG_FILES section.
5378# No need to generate them if there are no CONFIG_FILES.
5379# This happens for instance with `./config.status config.h'.
5380if test -n "$CONFIG_FILES"; then
5381
5382
5383ac_cr=`echo X | tr X '\015'`
5384# On cygwin, bash can eat \r inside `` if the user requested igncr.
5385# But we know of no other shell where ac_cr would be empty at this
5386# point, so we can use a bashism as a fallback.
5387if test "x$ac_cr" = x; then
5388  eval ac_cr=\$\'\\r\'
5389fi
5390ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5391if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5392  ac_cs_awk_cr='\\r'
5393else
5394  ac_cs_awk_cr=$ac_cr
5395fi
5396
5397echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5398_ACEOF
5399
5400
5401{
5402  echo "cat >conf$$subs.awk <<_ACEOF" &&
5403  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5404  echo "_ACEOF"
5405} >conf$$subs.sh ||
5406  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5407ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5408ac_delim='%!_!# '
5409for ac_last_try in false false false false false :; do
5410  . ./conf$$subs.sh ||
5411    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5412
5413  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5414  if test $ac_delim_n = $ac_delim_num; then
5415    break
5416  elif $ac_last_try; then
5417    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5418  else
5419    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5420  fi
5421done
5422rm -f conf$$subs.sh
5423
5424cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5425cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5426_ACEOF
5427sed -n '
5428h
5429s/^/S["/; s/!.*/"]=/
5430p
5431g
5432s/^[^!]*!//
5433:repl
5434t repl
5435s/'"$ac_delim"'$//
5436t delim
5437:nl
5438h
5439s/\(.\{148\}\)..*/\1/
5440t more1
5441s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5442p
5443n
5444b repl
5445:more1
5446s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5447p
5448g
5449s/.\{148\}//
5450t nl
5451:delim
5452h
5453s/\(.\{148\}\)..*/\1/
5454t more2
5455s/["\\]/\\&/g; s/^/"/; s/$/"/
5456p
5457b
5458:more2
5459s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5460p
5461g
5462s/.\{148\}//
5463t delim
5464' <conf$$subs.awk | sed '
5465/^[^""]/{
5466  N
5467  s/\n//
5468}
5469' >>$CONFIG_STATUS || ac_write_fail=1
5470rm -f conf$$subs.awk
5471cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5472_ACAWK
5473cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5474  for (key in S) S_is_set[key] = 1
5475  FS = ""
5476
5477}
5478{
5479  line = $ 0
5480  nfields = split(line, field, "@")
5481  substed = 0
5482  len = length(field[1])
5483  for (i = 2; i < nfields; i++) {
5484    key = field[i]
5485    keylen = length(key)
5486    if (S_is_set[key]) {
5487      value = S[key]
5488      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5489      len += length(value) + length(field[++i])
5490      substed = 1
5491    } else
5492      len += 1 + keylen
5493  }
5494
5495  print line
5496}
5497
5498_ACAWK
5499_ACEOF
5500cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5501if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5502  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5503else
5504  cat
5505fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5506  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5507_ACEOF
5508
5509# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5510# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5511# trailing colons and then remove the whole line if VPATH becomes empty
5512# (actually we leave an empty line to preserve line numbers).
5513if test "x$srcdir" = x.; then
5514  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5515h
5516s///
5517s/^/:/
5518s/[	 ]*$/:/
5519s/:\$(srcdir):/:/g
5520s/:\${srcdir}:/:/g
5521s/:@srcdir@:/:/g
5522s/^:*//
5523s/:*$//
5524x
5525s/\(=[	 ]*\).*/\1/
5526G
5527s/\n//
5528s/^[^=]*=[	 ]*$//
5529}'
5530fi
5531
5532cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5533fi # test -n "$CONFIG_FILES"
5534
5535# Set up the scripts for CONFIG_HEADERS section.
5536# No need to generate them if there are no CONFIG_HEADERS.
5537# This happens for instance with `./config.status Makefile'.
5538if test -n "$CONFIG_HEADERS"; then
5539cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5540BEGIN {
5541_ACEOF
5542
5543# Transform confdefs.h into an awk script `defines.awk', embedded as
5544# here-document in config.status, that substitutes the proper values into
5545# config.h.in to produce config.h.
5546
5547# Create a delimiter string that does not exist in confdefs.h, to ease
5548# handling of long lines.
5549ac_delim='%!_!# '
5550for ac_last_try in false false :; do
5551  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5552  if test -z "$ac_tt"; then
5553    break
5554  elif $ac_last_try; then
5555    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5556  else
5557    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5558  fi
5559done
5560
5561# For the awk script, D is an array of macro values keyed by name,
5562# likewise P contains macro parameters if any.  Preserve backslash
5563# newline sequences.
5564
5565ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5566sed -n '
5567s/.\{148\}/&'"$ac_delim"'/g
5568t rset
5569:rset
5570s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
5571t def
5572d
5573:def
5574s/\\$//
5575t bsnl
5576s/["\\]/\\&/g
5577s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5578D["\1"]=" \3"/p
5579s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
5580d
5581:bsnl
5582s/["\\]/\\&/g
5583s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5584D["\1"]=" \3\\\\\\n"\\/p
5585t cont
5586s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5587t cont
5588d
5589:cont
5590n
5591s/.\{148\}/&'"$ac_delim"'/g
5592t clear
5593:clear
5594s/\\$//
5595t bsnlc
5596s/["\\]/\\&/g; s/^/"/; s/$/"/p
5597d
5598:bsnlc
5599s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5600b cont
5601' <confdefs.h | sed '
5602s/'"$ac_delim"'/"\\\
5603"/g' >>$CONFIG_STATUS || ac_write_fail=1
5604
5605cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5606  for (key in D) D_is_set[key] = 1
5607  FS = ""
5608}
5609/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5610  line = \$ 0
5611  split(line, arg, " ")
5612  if (arg[1] == "#") {
5613    defundef = arg[2]
5614    mac1 = arg[3]
5615  } else {
5616    defundef = substr(arg[1], 2)
5617    mac1 = arg[2]
5618  }
5619  split(mac1, mac2, "(") #)
5620  macro = mac2[1]
5621  prefix = substr(line, 1, index(line, defundef) - 1)
5622  if (D_is_set[macro]) {
5623    # Preserve the white space surrounding the "#".
5624    print prefix "define", macro P[macro] D[macro]
5625    next
5626  } else {
5627    # Replace #undef with comments.  This is necessary, for example,
5628    # in the case of _POSIX_SOURCE, which is predefined and required
5629    # on some systems where configure will not decide to define it.
5630    if (defundef == "undef") {
5631      print "/*", prefix defundef, macro, "*/"
5632      next
5633    }
5634  }
5635}
5636{ print }
5637_ACAWK
5638_ACEOF
5639cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5640  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5641fi # test -n "$CONFIG_HEADERS"
5642
5643
5644eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5645shift
5646for ac_tag
5647do
5648  case $ac_tag in
5649  :[FHLC]) ac_mode=$ac_tag; continue;;
5650  esac
5651  case $ac_mode$ac_tag in
5652  :[FHL]*:*);;
5653  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5654  :[FH]-) ac_tag=-:-;;
5655  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5656  esac
5657  ac_save_IFS=$IFS
5658  IFS=:
5659  set x $ac_tag
5660  IFS=$ac_save_IFS
5661  shift
5662  ac_file=$1
5663  shift
5664
5665  case $ac_mode in
5666  :L) ac_source=$1;;
5667  :[FH])
5668    ac_file_inputs=
5669    for ac_f
5670    do
5671      case $ac_f in
5672      -) ac_f="$ac_tmp/stdin";;
5673      *) # Look for the file first in the build tree, then in the source tree
5674	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5675	 # because $ac_f cannot contain `:'.
5676	 test -f "$ac_f" ||
5677	   case $ac_f in
5678	   [\\/$]*) false;;
5679	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5680	   esac ||
5681	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5682      esac
5683      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5684      as_fn_append ac_file_inputs " '$ac_f'"
5685    done
5686
5687    # Let's still pretend it is `configure' which instantiates (i.e., don't
5688    # use $as_me), people would be surprised to read:
5689    #    /* config.h.  Generated by config.status.  */
5690    configure_input='Generated from '`
5691	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5692	`' by configure.'
5693    if test x"$ac_file" != x-; then
5694      configure_input="$ac_file.  $configure_input"
5695      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5696$as_echo "$as_me: creating $ac_file" >&6;}
5697    fi
5698    # Neutralize special characters interpreted by sed in replacement strings.
5699    case $configure_input in #(
5700    *\&* | *\|* | *\\* )
5701       ac_sed_conf_input=`$as_echo "$configure_input" |
5702       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5703    *) ac_sed_conf_input=$configure_input;;
5704    esac
5705
5706    case $ac_tag in
5707    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5708      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5709    esac
5710    ;;
5711  esac
5712
5713  ac_dir=`$as_dirname -- "$ac_file" ||
5714$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5715	 X"$ac_file" : 'X\(//\)[^/]' \| \
5716	 X"$ac_file" : 'X\(//\)$' \| \
5717	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5718$as_echo X"$ac_file" |
5719    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5720	    s//\1/
5721	    q
5722	  }
5723	  /^X\(\/\/\)[^/].*/{
5724	    s//\1/
5725	    q
5726	  }
5727	  /^X\(\/\/\)$/{
5728	    s//\1/
5729	    q
5730	  }
5731	  /^X\(\/\).*/{
5732	    s//\1/
5733	    q
5734	  }
5735	  s/.*/./; q'`
5736  as_dir="$ac_dir"; as_fn_mkdir_p
5737  ac_builddir=.
5738
5739case "$ac_dir" in
5740.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5741*)
5742  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5743  # A ".." for each directory in $ac_dir_suffix.
5744  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5745  case $ac_top_builddir_sub in
5746  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5747  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5748  esac ;;
5749esac
5750ac_abs_top_builddir=$ac_pwd
5751ac_abs_builddir=$ac_pwd$ac_dir_suffix
5752# for backward compatibility:
5753ac_top_builddir=$ac_top_build_prefix
5754
5755case $srcdir in
5756  .)  # We are building in place.
5757    ac_srcdir=.
5758    ac_top_srcdir=$ac_top_builddir_sub
5759    ac_abs_top_srcdir=$ac_pwd ;;
5760  [\\/]* | ?:[\\/]* )  # Absolute name.
5761    ac_srcdir=$srcdir$ac_dir_suffix;
5762    ac_top_srcdir=$srcdir
5763    ac_abs_top_srcdir=$srcdir ;;
5764  *) # Relative name.
5765    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5766    ac_top_srcdir=$ac_top_build_prefix$srcdir
5767    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5768esac
5769ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5770
5771
5772  case $ac_mode in
5773  :F)
5774  #
5775  # CONFIG_FILE
5776  #
5777
5778  case $INSTALL in
5779  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5780  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5781  esac
5782_ACEOF
5783
5784cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5785# If the template does not know about datarootdir, expand it.
5786# FIXME: This hack should be removed a few years after 2.60.
5787ac_datarootdir_hack=; ac_datarootdir_seen=
5788ac_sed_dataroot='
5789/datarootdir/ {
5790  p
5791  q
5792}
5793/@datadir@/p
5794/@docdir@/p
5795/@infodir@/p
5796/@localedir@/p
5797/@mandir@/p'
5798case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5799*datarootdir*) ac_datarootdir_seen=yes;;
5800*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5801  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5802$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5803_ACEOF
5804cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5805  ac_datarootdir_hack='
5806  s&@datadir@&$datadir&g
5807  s&@docdir@&$docdir&g
5808  s&@infodir@&$infodir&g
5809  s&@localedir@&$localedir&g
5810  s&@mandir@&$mandir&g
5811  s&\\\${datarootdir}&$datarootdir&g' ;;
5812esac
5813_ACEOF
5814
5815# Neutralize VPATH when `$srcdir' = `.'.
5816# Shell code in configure.ac might set extrasub.
5817# FIXME: do we really want to maintain this feature?
5818cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5819ac_sed_extra="$ac_vpsub
5820$extrasub
5821_ACEOF
5822cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5823:t
5824/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5825s|@configure_input@|$ac_sed_conf_input|;t t
5826s&@top_builddir@&$ac_top_builddir_sub&;t t
5827s&@top_build_prefix@&$ac_top_build_prefix&;t t
5828s&@srcdir@&$ac_srcdir&;t t
5829s&@abs_srcdir@&$ac_abs_srcdir&;t t
5830s&@top_srcdir@&$ac_top_srcdir&;t t
5831s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5832s&@builddir@&$ac_builddir&;t t
5833s&@abs_builddir@&$ac_abs_builddir&;t t
5834s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5835s&@INSTALL@&$ac_INSTALL&;t t
5836$ac_datarootdir_hack
5837"
5838eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5839  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5840
5841test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5842  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5843  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
5844      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5845  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5846which seems to be undefined.  Please make sure it is defined" >&5
5847$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5848which seems to be undefined.  Please make sure it is defined" >&2;}
5849
5850  rm -f "$ac_tmp/stdin"
5851  case $ac_file in
5852  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5853  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5854  esac \
5855  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5856 ;;
5857  :H)
5858  #
5859  # CONFIG_HEADER
5860  #
5861  if test x"$ac_file" != x-; then
5862    {
5863      $as_echo "/* $configure_input  */" \
5864      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5865    } >"$ac_tmp/config.h" \
5866      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5867    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5868      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5869$as_echo "$as_me: $ac_file is unchanged" >&6;}
5870    else
5871      rm -f "$ac_file"
5872      mv "$ac_tmp/config.h" "$ac_file" \
5873	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
5874    fi
5875  else
5876    $as_echo "/* $configure_input  */" \
5877      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5878      || as_fn_error $? "could not create -" "$LINENO" 5
5879  fi
5880 ;;
5881
5882  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5883$as_echo "$as_me: executing $ac_file commands" >&6;}
5884 ;;
5885  esac
5886
5887
5888  case $ac_file$ac_mode in
5889    "default-1":C) echo "creating dependencies"; make depend >/dev/null ;;
5890
5891  esac
5892done # for ac_tag
5893
5894
5895as_fn_exit 0
5896_ACEOF
5897ac_clean_files=$ac_clean_files_save
5898
5899test $ac_write_fail = 0 ||
5900  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5901
5902
5903# configure is writing to config.log, and then calls config.status.
5904# config.status does its own redirection, appending to config.log.
5905# Unfortunately, on DOS this fails, as config.log is still kept open
5906# by configure, so config.status won't be able to write to it; its
5907# output is simply discarded.  So we exec the FD to /dev/null,
5908# effectively closing config.log, so it can be properly (re)opened and
5909# appended to by config.status.  When coming back to configure, we
5910# need to make the FD available again.
5911if test "$no_create" != yes; then
5912  ac_cs_success=:
5913  ac_config_status_args=
5914  test "$silent" = yes &&
5915    ac_config_status_args="$ac_config_status_args --quiet"
5916  exec 5>/dev/null
5917  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5918  exec 5>>config.log
5919  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5920  # would make configure fail if this is the last instruction.
5921  $ac_cs_success || as_fn_exit 1
5922fi
5923if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5924  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5925$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5926fi
5927
5928