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