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