root/trunk/configure @ 36

Revision 20, 180.9 KB (checked in by andreu, 16 years ago)

new release 0.0.6, with CRIHAN compilation feature

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