Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/enet-1.1/configure @ 29

Last change on this file since 29 was 13, checked in by landauf, 17 years ago

added enet

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