delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/08/21/23:54:49.1

Date: Tue, 22 Aug 2000 09:28:24 +0530
Message-Id: <200008220358.JAA01049@midpec.com>
X-Authentication-Warning: midpec.com: tr set sender to tr AT eth DOT net using -f
From: Prashant TR <tr AT eth DOT net>
To: eliz AT is DOT elta DOT co DOT il
CC: djgpp-workers AT delorie DOT com, snowball3 AT bigfoot DOT com
In-reply-to: <3099-Sun20Aug2000190425+0300-eliz@is.elta.co.il>
Subject: Re: Problems with depcomp from fileutils 4.0x & bash 2.03
References: <39987229 DOT 2CB876B3 AT phekda DOT freeserve DOT co DOT uk> (message from Richard Dawe on Mon, 14 Aug 2000 23:26:49 +0100) <3999297F DOT 23816 DOT 95FCA AT localhost> <200008201249 DOT SAA01237 AT midpec DOT com> <3099-Sun20Aug2000190425+0300-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

| Date: Sun, 20 Aug 2000 19:04:25 +0200
| From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
| 
| > Date: Sun, 20 Aug 2000 18:19:59 +0530
| > From: Prashant TR <tr AT eth DOT net>
| > 
| > Secondly, the configure script failed in 2.04. It generated
| > config.status incorrectly. I don't have the exact error, but it looked
| > like this:
| > 
| > config.status: Line 27: -recheck | --recheck | --rechec ..... ) not found
| > 
| > But the same package compiled successfully under 2.03. Obviously,
| > the config.status is not being generated correctly for some
| > reason. Looking at config.status, I saw a line like this:
| > 
| >    -recheck | --recheck | .....
| > 
| > and I have no idea of how it appeared there. I tried many things to
| > fix it, in particular, tried building it with several changes to
| > djgpp/config.sed but nothing worked.
| 
| Please send config.status as produced by Bash 2.03 and another one
| produced by Bash 2.04 on the same machine and in the same directory,
| and I will try to figure this out.
| 

There's a huge difference between these two files. After trying the
new files from Juan, I again got the same error. Surprisingly, it
compiles under Windows.

Here they are:

The config.status from bash 2.03

---------------------------------
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.

debug=false
me=`echo "$0" | sed -e 's,.*/,,'`
SHELL=${CONFIG_SHELL-/bin/sh}

config_files=" Makefile
	   doc/Makefile
	   intl/Makefile
	   lib/Makefile
	   man/Makefile
	   m4/Makefile
	   po/Makefile.in:po/Makefile.in-in
	   src/Makefile
	   tests/Makefile
	   tests/basename/Makefile
	   tests/date/Makefile
	   tests/factor/Makefile
	   tests/seq/Makefile
	   tests/stty/Makefile
	   tests/test/Makefile
	  "
config_headers=" config.h:config.h-in"
config_links=" intl/libintl.h:intl/libgettext.h"
config_commands=" default-1 default-2 default-3"

ac_cs_usage="\
\`$me' instantiates files from templates according to the
current configuration.

Usage: $0 [OPTIONS] FILE...

  -h, --help       print this help, then exit
  -V, --version    print version number, then exit
  -d, --debug      don't remove temporary files
      --recheck    update $me by reconfiguring in the same conditions
  --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE
  --header=FILE[:TEMPLATE]
                   instantiate the configuration header FILE

Configuration files:
$config_files

Configuration headers:
$config_headers

Configuration links:
$config_links

Configuration commands:
$config_commands

Report bugs to <bug-autoconf AT gnu DOT org>."
ac_cs_version="\
./config.status generated by autoconf version 2.14a.
Configured on host pc by
  ./configure --src=. --disable-nls --config-cache"

ac_given_srcdir=.
ac_given_INSTALL="${DJDIR}/bin/ginstall -c"
# If no file are specified by the user, then we need to provide default
# value.  By we need to know if files were specified by the user.
ac_need_defaults=:
while test $# != 0
do
  case $1 in
  --*=*)
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    shift
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
    shift
    ;;
  -*);;
  *) # This is not an option, so the user has probably given explicit
     # arguments.
     ac_need_defaults=false;;
  esac

  case $1 in
  # Handling of the options.
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running /bin/sh ./configure " --src=. --disable-nls --config-cache " --no-create --no-recursion"
    exec /bin/sh ./configure --src=. --disable-nls --config-cache --no-create --no-recursion ;;
  --version | --vers* | -V )
    echo "$ac_cs_version"; exit 0 ;;
  --he | --h)
    # Conflict between --help and --header
    echo "$me: ambiguous option: $ac_option
Try \`$me --help' for more information."; exit 1 ;;
  --help | --hel | -h )
    echo "$ac_cs_usage"; exit 0 ;;
  --debug | --d* | -d )
    debug=: ;;
  --file | --fil | --fi | --f )
    shift
    CONFIG_FILES="$CONFIG_FILES $1"
    ac_need_defaults=false;;
  --header | --heade | --head | --hea )
    shift
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
    ac_need_defaults=false;;

  # Handling of arguments.
  'Makefile' ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  'doc/Makefile' ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  'intl/Makefile' ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
  'lib/Makefile' ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
  'man/Makefile' ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
  'm4/Makefile' ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
  'po/Makefile.in' ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
  'src/Makefile' ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  'tests/Makefile' ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
  'tests/basename/Makefile' ) CONFIG_FILES="$CONFIG_FILES tests/basename/Makefile" ;;
  'tests/date/Makefile' ) CONFIG_FILES="$CONFIG_FILES tests/date/Makefile" ;;
  'tests/factor/Makefile' ) CONFIG_FILES="$CONFIG_FILES tests/factor/Makefile" ;;
  'tests/seq/Makefile' ) CONFIG_FILES="$CONFIG_FILES tests/seq/Makefile" ;;
  'tests/stty/Makefile' ) CONFIG_FILES="$CONFIG_FILES tests/stty/Makefile" ;;
  'tests/test/Makefile' ) CONFIG_FILES="$CONFIG_FILES tests/test/Makefile" ;;
  '$nls_cv_header_intl' ) CONFIG_LINKS="$CONFIG_LINKS $nls_cv_header_intl:$nls_cv_header_libgt" ;;
  'default-1' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  'default-2' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;;
  'default-3' ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-3" ;;
  'config.h' ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;

  # This is an error.
  -*) echo "$me: unrecognized option: $1
Try \`$me --help' for more information."; exit 1 ;;
  *) echo "$me: invalid argument: $1"; exit 1 ;;
  esac
  shift
done

# If the user did not use the arguments to specify the items to instantiate,
# then the envvar interface is used.  Set only those that are not.
if $ac_need_defaults; then
  : ${CONFIG_FILES=$config_files}
  : ${CONFIG_HEADERS=$config_headers}
  : ${CONFIG_LINKS=$config_links}
  : ${CONFIG_COMMANDS=$config_commands}
fi

# Create a temporary directory, and hook for its removal unless debugging.
$debug ||
{
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  trap 'exit $?' 1 2 13 15
}

# Create a (secure) tmp directory for tmp files.
: ${TMPDIR=/tmp}
{
  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
  test -n "$tmp"
}  ||
{
  tmp=$TMPDIR/cs$$-$RANDOM && (umask 077 && mkdir $tmp)
} ||
{
   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
   exit 1;
}

#
# INIT-COMMANDS section.
#

AMDEP=""
ac_aux_dir="."


#
# CONFIG_FILES section.
#

# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "$CONFIG_FILES"; then
  # Protect against being on the right side of a sed subst in config.status.
  sed 's/%@/@@/; s/@%/@@/; s/%;t t$/@;t t/; /@;t t$/s/[\\&%]/\\&/g;
   s/@@/%@/; s/@@/@%/; s/@;t t$/%;t t/' >$tmp/subs.sed <<\CEOF
s%@SHELL@%/bin/sh%;t t
s%@exec_prefix@%${prefix}%;t t
s%@prefix@%${DJDIR}%;t t
s%@program_transform_name@%s,x,x,%;t t
s%@bindir@%${exec_prefix}/bin%;t t
s%@sbindir@%${exec_prefix}/sbin%;t t
s%@libexecdir@%${exec_prefix}/libexec%;t t
s%@datadir@%${prefix}/share%;t t
s%@sysconfdir@%${prefix}/etc%;t t
s%@sharedstatedir@%${prefix}/com%;t t
s%@localstatedir@%${prefix}/var%;t t
s%@libdir@%${exec_prefix}/lib%;t t
s%@includedir@%${prefix}/include%;t t
s%@oldincludedir@%/usr/include%;t t
s%@infodir@%${prefix}/info%;t t
s%@mandir@%${prefix}/man%;t t
s%@ECHO_C@%%;t t
s%@ECHO_N@%-n%;t t
s%@ECHO_T@%%;t t
s%@CFLAGS@%-g -O2%;t t
s%@CPPFLAGS@%%;t t
s%@CXXFLAGS@%%;t t
s%@FFLAGS@%%;t t
s%@DEFS@%-DHAVE_CONFIG_H%;t t
s%@LDFLAGS@%%;t t
s%@LIBS@%%;t t
s%@build@%i386-pc-msdosdjgpp%;t t
s%@build_cpu@%i386%;t t
s%@build_vendor@%pc%;t t
s%@build_os@%msdosdjgpp%;t t
s%@host@%i386-pc-msdosdjgpp%;t t
s%@host_cpu@%i386%;t t
s%@host_vendor@%pc%;t t
s%@host_os@%msdosdjgpp%;t t
s%@INSTALL_PROGRAM@%${INSTALL}%;t t
s%@INSTALL_SCRIPT@%${INSTALL}%;t t
s%@INSTALL_DATA@%${INSTALL} -m 644%;t t
s%@PACKAGE@%sh-utils%;t t
s%@VERSION@%2.0j%;t t
s%@ACLOCAL@%${SHELL} e:/src/gnu/sh-util2.0j/missing --run aclocal%;t t
s%@AUTOCONF@%${SHELL} e:/src/gnu/sh-util2.0j/missing --run autoconf%;t t
s%@AUTOMAKE@%${SHELL} e:/src/gnu/sh-util2.0j/missing --run automake%;t t
s%@AUTOHEADER@%${SHELL} e:/src/gnu/sh-util2.0j/missing --run autoheader%;t t
s%@MAKEINFO@%${SHELL} e:/src/gnu/sh-util2.0j/missing --run makeinfo%;t t
s%@AMTAR@%${SHELL} e:/src/gnu/sh-util2.0j/missing --run tar%;t t
s%@install_sh@%./install-sh%;t t
s%@AWK@%gawk%;t t
s%@SET_MAKE@%%;t t
s%@AMDEP@%%;t t
s%@AMDEPBACKSLASH@%\%;t t
s%@DEPDIR@%_deps%;t t
s%@PERL@%perl%;t t
s%@CC@%gcc%;t t
s%@ac_ct_CC@%%;t t
s%@EXEEXT@%%;t t
s%@OBJEXT@%o%;t t
s%@CPP@%gcc -E%;t t
s%@CCDEPMODE@%depmode=gcc%;t t
s%@RANLIB@%ranlib%;t t
s%@U@%%;t t
s%@ANSI2KNR@%%;t t
s%@LIBOBJS@%fileblocks$U.o lchown$U.o lstat$U.o nanosleep$U.o group-member$U.o strtoumax$U.o error$U.o strftime$U.o regex$U.o getloadavg$U.o getusershell$U.o stime$U.o euidaccess$U.o rpmatch$U.o strndup$U.o strverscmp$U.o strnlen$U.o getline$U.o obstack$U.o fsusage$U.o mountlist$U.o%;t t
s%@GNU_PACKAGE@%GNU sh-utils%;t t
s%@OPTIONAL_BIN_PROGS@% uname nice stty%;t t
s%@OPTIONAL_BIN_ZCRIPTS@% nohup%;t t
s%@MAN@% uname.1 nice.1 nohup.1 stty.1%;t t
s%@DF_PROG@%df%;t t
s%@YACC@%bison -y%;t t
s%@ALLOCA@%%;t t
s%@LIB_NANOSLEEP@%%;t t
s%@NEED_SETGID@%false%;t t
s%@KMEM_GROUP@%%;t t
s%@GETLOADAVG_LIBS@%%;t t
s%@LIB_CLOCK_GETTIME@%%;t t
s%@POW_LIBM@%%;t t
s%@GLIBC21@%no%;t t
s%@LIBICONV@%%;t t
s%@SQRT_LIBM@%%;t t
s%@FESETROUND_LIBM@%%;t t
s%@LIB_CRYPT@%%;t t
s%@USE_NLS@%no%;t t
s%@MSGFMT@%%;t t
s%@GMSGFMT@%%;t t
s%@XGETTEXT@%%;t t
s%@GENCAT@%%;t t
s%@USE_INCLUDED_LIBINTL@%no%;t t
s%@CATALOGS@%%;t t
s%@CATOBJEXT@%%;t t
s%@DATADIRNAME@%share%;t t
s%@GMOFILES@% cs.gmo da.gmo de.gmo el.gmo es.gmo et.gmo fr.gmo gl.gmo it.gmo ja.gmo nl.gmo no.gmo pl.gmo pt.gmo pt_BR.gmo sl.gmo ru.gmo sk.gmo sv.gmo zh.gmo%;t t
s%@INSTOBJEXT@%%;t t
s%@INTLDEPS@%%;t t
s%@INTLLIBS@%%;t t
s%@INTLOBJS@%%;t t
s%@POFILES@% cs.po da.po de.po el.po es.po et.po fr.po gl.po it.po ja.po nl.po no.po pl.po pt.po pt_BR.po sl.po ru.po sk.po sv.po zh.po%;t t
s%@POSUB@%%;t t
s%@INCLUDE_LOCALE_H@%#include <locale.h>%;t t
s%@GT_NO@%%;t t
s%@GT_YES@%#YES#%;t t
s%@MKINSTALLDIRS@%./mkinstalldirs%;t t
s%@l@%%;t t
  /TEXINPUTS=/s,:,\\\\;,g
  /PATH=/s,:,\\;,g
  s,po2tbl\.sed\.in,po2tbl-sed.in,g
  s,config\.h\.in,config.h-in,g
  s,\.env-warn,_env-warn,g
  s,Makefile\.in\.in,Makefile.in-in,g
  s,Makefile\.am\.in,Makefile.am-in,g
  s,jm-winsz\([12]\)\.m4,jm\1-winsz.m4,g
  s,NN-strne-\([12]\)\.X,NN\1-strne.X,g
  s,N-strne-\([12]\)\.X,N\1-strne.X,g
  s,NN-streq-\([12]\)\.X,NN\1q-stre.X,g
  s,NN-streq-\([12]\)\.X,NN\1q-stre.X,g
  s,N-streq-\([12]\)\.X,N\1q-stre.X,g
  s,N-streq-\([12]\)\.X,N\1q-stre.X,g
  s,date2sec-\([01]\)\.X,d2sec-\1.X,g
  s,date2sec-0a\.X,d2sec-0a.X,g
CEOF

  # Split the substitutions into bite-sized pieces for seds with
  # small command number limits, like on Digital OSF/1 and HP-UX.
  ac_max_sed_lines=48
  ac_sed_frag=1 # Number of current file.
  ac_beg=1 # First line for current file.
  ac_end=$ac_max_sed_lines # Line after last line for current file.
  ac_more_lines=:
  ac_sed_cmds=
  while $ac_more_lines; do
    if test $ac_beg -gt 1; then
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    else
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    fi
    if test ! -s $tmp/subs.frag; then
      ac_more_lines=false
    else
      # The purpose of the label and of the branching condition is to
      # speed up the sed processing (if there are no `@' at all, there
      # is no need to browse any of the substitutions).
      # These are the two extra sed commands mentioned above.
      (echo ':t
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
      if test -z "$ac_sed_cmds"; then
  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
      else
  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
      fi
      ac_sed_frag=`expr $ac_sed_frag + 1`
      ac_beg=$ac_end
      ac_end=`expr $ac_end + $ac_max_sed_lines`
    fi
  done
  if test -z "$ac_sed_cmds"; then
    ac_sed_cmds=cat
  fi
fi # test -n "$CONFIG_FILES"

for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  *:*) ac_file_in=`echo "$ac_file" | sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;;
  *) ac_file_in=$ac_file.in ;;
  esac

  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.

  # Remove last slash and all that follows it.  Not all systems have dirname.
  ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'`
  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    # The file is in a subdirectory.
    test -d "$ac_dir" || mkdir "$ac_dir"
    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dir_suffix.
    ac_dots=`echo "$ac_dir_suffix" | sed 's%/[^/]*%../%g'`
  else
    ac_dir_suffix= ac_dots=
  fi

  case $ac_given_srcdir in
  .)  srcdir=.
      if test -z "$ac_dots"; then top_srcdir=.
      else top_srcdir=`echo $ac_dots | sed 's%/$%%'`; fi ;;
  [\\/]* | ?:[\\/]* )
      srcdir=$ac_given_srcdir$ac_dir_suffix;
      top_srcdir=$ac_given_srcdir ;;
  *) # Relative path.
    srcdir=$ac_dots$ac_given_srcdir$ac_dir_suffix
    top_srcdir=$ac_dots$ac_given_srcdir ;;
  esac

  case $ac_given_INSTALL in
  [\\/$]* | ?:[\\/]* ) INSTALL=$ac_given_INSTALL ;;
  *) INSTALL=$ac_dots$ac_given_INSTALL ;;
  esac

  echo creating "$ac_file"
  rm -f "$ac_file"
  configure_input="Generated automatically from `echo $ac_file_in |
                                                 sed 's%.*/%%'` by configure."

  # Don't redirect the output to AC_FILE directly: use `mv' so that
  # updating is atomic, and doesn't need trapping.
  ac_file_inputs=`IFS=;
                  for f in $ac_file_in; do echo $ac_given_srcdir/$f; done`
  for ac_file_input in $ac_file_inputs;
  do
    test -f "$ac_file_input" ||
        { echo "configure: error: cannot find input file \`$ac_file_input'" >&2; exit 1; }
  done
  sed -e "/^[ 	]*VPATH[ 	]*=[^:]*$/d

:t
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
s%@configure_input@%$configure_input%;t t
s%@srcdir@%$srcdir%;t t
s%@top_srcdir@%$top_srcdir%;t t
s%@INSTALL@%$INSTALL%;t t
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  mv $tmp/out $ac_file

done

#
# CONFIG_HEADER section.
#

# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
ac_dB='[ 	].*$%\1#\2'
ac_dC=' '
ac_dD='%;t'
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
ac_uB='$%\1#\2define\3'
ac_uC=' '
ac_uD='%;t'

for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  case $ac_file in
  *:*) ac_file_in=`echo "$ac_file" | sed 's%[^:]*:%%'`
       ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;;
  *) ac_file_in=$ac_file.in ;;
  esac

  echo creating $ac_file

  ac_file_inputs=`echo "$ac_file_in" |
                  sed -e "s%:% $ac_given_srcdir/%g;s%^%$ac_given_srcdir/%"`
  for ac_file_input in $ac_file_inputs;
  do
    test -f "$ac_file_input" ||
        { echo "configure: error: cannot find input file \`$ac_file_input'" >&2; exit 1; }
  done
  # Remove the trailing spaces.
  sed -e 's/[ 	]*$//' $ac_file_inputs >$tmp/in

  # Handle all the #define templates only if necessary.
  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then
  # If there are no defines, we may have an empty if/fi
  :
  cat >$tmp/frag <<CEOF
/^[ 	]*#[ 	]*define/!b
${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"sh-utils"${ac_dD}
${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"2.0j"${ac_dD}
${ac_dA}HAVE_UNAME${ac_dB}HAVE_UNAME${ac_dC}1${ac_dD}
${ac_dA}PROTOTYPES${ac_dB}PROTOTYPES${ac_dC}1${ac_dD}
${ac_dA}HAVE_LONG_DOUBLE${ac_dB}HAVE_LONG_DOUBLE${ac_dC}1${ac_dD}
${ac_dA}HAVE_DIRENT_H${ac_dB}HAVE_DIRENT_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRUCT_TM_TM_ZONE${ac_dB}HAVE_STRUCT_TM_TM_ZONE${ac_dC}1${ac_dD}
${ac_dA}HAVE_TM_ZONE${ac_dB}HAVE_TM_ZONE${ac_dC}1${ac_dD}
${ac_dA}TIME_WITH_SYS_TIME${ac_dB}TIME_WITH_SYS_TIME${ac_dC}1${ac_dD}
${ac_dA}GETGROUPS_T${ac_dB}GETGROUPS_T${ac_dC}gid_t${ac_dD}
${ac_dA}RETSIGTYPE${ac_dB}RETSIGTYPE${ac_dC}void${ac_dD}
${ac_dA}HAVE_UNSIGNED_LONG_LONG${ac_dB}HAVE_UNSIGNED_LONG_LONG${ac_dC}1${ac_dD}
${ac_dA}uintmax_t${ac_dB}uintmax_t${ac_dC}unsigned long long${ac_dD}
${ac_dA}MAJOR_IN_SYSMACROS${ac_dB}MAJOR_IN_SYSMACROS${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_dB}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_dC}1${ac_dD}
${ac_dA}HAVE_UTIME_H${ac_dB}HAVE_UTIME_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRUCT_UTIMBUF${ac_dB}HAVE_STRUCT_UTIMBUF${ac_dC}1${ac_dD}
${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_DECL_FREE${ac_dB}HAVE_DECL_FREE${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_GETENV${ac_dB}HAVE_DECL_GETENV${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_GETEUID${ac_dB}HAVE_DECL_GETEUID${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_GETLOGIN${ac_dB}HAVE_DECL_GETLOGIN${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_GETUTENT${ac_dB}HAVE_DECL_GETUTENT${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_LSEEK${ac_dB}HAVE_DECL_LSEEK${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_MALLOC${ac_dB}HAVE_DECL_MALLOC${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_MEMCHR${ac_dB}HAVE_DECL_MEMCHR${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_NANOSLEEP${ac_dB}HAVE_DECL_NANOSLEEP${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_REALLOC${ac_dB}HAVE_DECL_REALLOC${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_STPCPY${ac_dB}HAVE_DECL_STPCPY${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_STRNDUP${ac_dB}HAVE_DECL_STRNDUP${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_STRSTR${ac_dB}HAVE_DECL_STRSTR${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_STRTOUL${ac_dB}HAVE_DECL_STRTOUL${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_STRTOULL${ac_dB}HAVE_DECL_STRTOULL${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_TTYNAME${ac_dB}HAVE_DECL_TTYNAME${ac_dC}0${ac_dD}
${ac_dA}HAVE_PATHCONF${ac_dB}HAVE_PATHCONF${ac_dC}1${ac_dD}
${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_NETINET_IN_H${ac_dB}HAVE_NETINET_IN_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRERROR${ac_dB}HAVE_STRERROR${ac_dC}1${ac_dD}
${ac_dA}HAVE_VPRINTF${ac_dB}HAVE_VPRINTF${ac_dC}1${ac_dD}
${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
CEOF
  sed -f $tmp/frag $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in

  cat >$tmp/frag <<CEOF
/^[ 	]*#[ 	]*define/!b
${ac_dA}HAVE_GETPAGESIZE${ac_dB}HAVE_GETPAGESIZE${ac_dC}1${ac_dD}
${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_DECL_GETENV${ac_dB}HAVE_DECL_GETENV${ac_dC}0${ac_dD}
${ac_dA}HAVE_ISASCII${ac_dB}HAVE_ISASCII${ac_dC}1${ac_dD}
${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_WCHAR_H${ac_dB}HAVE_WCHAR_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_WCTYPE_H${ac_dB}HAVE_WCTYPE_H${ac_dC}1${ac_dD}
${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
${ac_dA}HAVE_C_BACKSLASH_A${ac_dB}HAVE_C_BACKSLASH_A${ac_dC}1${ac_dD}
${ac_dA}HAVE_MBSTATE_T_OBJECT${ac_dB}HAVE_MBSTATE_T_OBJECT${ac_dC}1${ac_dD}
${ac_dA}PROTOTYPES${ac_dB}PROTOTYPES${ac_dC}1${ac_dD}
${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_SYS_PARAM_H${ac_dB}HAVE_SYS_PARAM_H${ac_dC}1${ac_dD}
${ac_dA}PROTOTYPES${ac_dB}PROTOTYPES${ac_dC}1${ac_dD}
${ac_dA}HAVE_BZERO${ac_dB}HAVE_BZERO${ac_dC}1${ac_dD}
${ac_dA}HAVE_BCOPY${ac_dB}HAVE_BCOPY${ac_dC}1${ac_dD}
${ac_dA}HAVE_ISASCII${ac_dB}HAVE_ISASCII${ac_dC}1${ac_dD}
${ac_dA}HAVE_WCTYPE_H${ac_dB}HAVE_WCTYPE_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_WCHAR_H${ac_dB}HAVE_WCHAR_H${ac_dC}1${ac_dD}
${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
${ac_dA}HAVE_ALLOCA${ac_dB}HAVE_ALLOCA${ac_dC}1${ac_dD}
${ac_dA}RMDIR_ERRNO_NOT_EMPTY${ac_dB}RMDIR_ERRNO_NOT_EMPTY${ac_dC}4${ac_dD}
${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_ALARM${ac_dB}HAVE_ALARM${ac_dC}1${ac_dD}
${ac_dA}HAVE_DONE_WORKING_REALLOC_CHECK${ac_dB}HAVE_DONE_WORKING_REALLOC_CHECK${ac_dC}1${ac_dD}
${ac_dA}HAVE_DONE_WORKING_MALLOC_CHECK${ac_dB}HAVE_DONE_WORKING_MALLOC_CHECK${ac_dC}1${ac_dD}
${ac_dA}HAVE_DECL_STRERROR_R${ac_dB}HAVE_DECL_STRERROR_R${ac_dC}0${ac_dD}
${ac_dA}nanosleep${ac_dB}nanosleep${ac_dC}rpl_nanosleep${ac_dD}
${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_WORKING_READDIR${ac_dB}HAVE_WORKING_READDIR${ac_dC}1${ac_dD}
${ac_dA}HAVE_DECL_CLEARERR_UNLOCKED${ac_dB}HAVE_DECL_CLEARERR_UNLOCKED${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_FEOF_UNLOCKED${ac_dB}HAVE_DECL_FEOF_UNLOCKED${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_FERROR_UNLOCKED${ac_dB}HAVE_DECL_FERROR_UNLOCKED${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_FFLUSH_UNLOCKED${ac_dB}HAVE_DECL_FFLUSH_UNLOCKED${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_FPUTC_UNLOCKED${ac_dB}HAVE_DECL_FPUTC_UNLOCKED${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_FREAD_UNLOCKED${ac_dB}HAVE_DECL_FREAD_UNLOCKED${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_FWRITE_UNLOCKED${ac_dB}HAVE_DECL_FWRITE_UNLOCKED${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_GETC_UNLOCKED${ac_dB}HAVE_DECL_GETC_UNLOCKED${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_GETCHAR_UNLOCKED${ac_dB}HAVE_DECL_GETCHAR_UNLOCKED${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_PUTC_UNLOCKED${ac_dB}HAVE_DECL_PUTC_UNLOCKED${ac_dC}0${ac_dD}
${ac_dA}HAVE_DECL_PUTCHAR_UNLOCKED${ac_dB}HAVE_DECL_PUTCHAR_UNLOCKED${ac_dC}0${ac_dD}
CEOF
  sed -f $tmp/frag $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in

  cat >$tmp/frag <<CEOF
/^[ 	]*#[ 	]*define/!b
${ac_dA}HAVE_FNMATCH_H${ac_dB}HAVE_FNMATCH_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_FNMATCH${ac_dB}HAVE_FNMATCH${ac_dC}1${ac_dD}
${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRTOULL${ac_dB}HAVE_STRTOULL${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRFTIME${ac_dB}HAVE_STRFTIME${ac_dC}1${ac_dD}
${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_BCOPY${ac_dB}HAVE_BCOPY${ac_dC}1${ac_dD}
${ac_dA}HAVE_TZSET${ac_dB}HAVE_TZSET${ac_dC}1${ac_dD}
${ac_dA}HAVE_MEMCPY${ac_dB}HAVE_MEMCPY${ac_dC}1${ac_dD}
${ac_dA}HAVE_MEMSET${ac_dB}HAVE_MEMSET${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRUCT_TM_TM_ZONE${ac_dB}HAVE_STRUCT_TM_TM_ZONE${ac_dC}1${ac_dD}
${ac_dA}HAVE_TM_ZONE${ac_dB}HAVE_TM_ZONE${ac_dC}1${ac_dD}
${ac_dA}HAVE_MBLEN${ac_dB}HAVE_MBLEN${ac_dC}1${ac_dD}
${ac_dA}HAVE_TM_GMTOFF${ac_dB}HAVE_TM_GMTOFF${ac_dC}1${ac_dD}
${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
${ac_dA}strftime${ac_dB}strftime${ac_dC}gnu_strftime${ac_dD}
${ac_dA}HAVE_GETGROUPS${ac_dB}HAVE_GETGROUPS${ac_dC}1${ac_dD}
${ac_dA}HAVE_VPRINTF${ac_dB}HAVE_VPRINTF${ac_dC}1${ac_dD}
${ac_dA}HAVE_DOPRNT${ac_dB}HAVE_DOPRNT${ac_dC}1${ac_dD}
${ac_dA}HAVE_FTRUNCATE${ac_dB}HAVE_FTRUNCATE${ac_dC}1${ac_dD}
${ac_dA}HAVE_UTIME_NULL${ac_dB}HAVE_UTIME_NULL${ac_dC}1${ac_dD}
${ac_dA}HAVE_UTIME_H${ac_dB}HAVE_UTIME_H${ac_dC}1${ac_dD}
${ac_dA}GNU_PACKAGE${ac_dB}GNU_PACKAGE${ac_dC}"GNU sh-utils"${ac_dD}
${ac_dA}HAVE_ERRNO_H${ac_dB}HAVE_ERRNO_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_FCNTL_H${ac_dB}HAVE_FCNTL_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_FLOAT_H${ac_dB}HAVE_FLOAT_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_MEMORY_H${ac_dB}HAVE_MEMORY_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_MNTENT_H${ac_dB}HAVE_MNTENT_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STDDEF_H${ac_dB}HAVE_STDDEF_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_SYS_IOCTL_H${ac_dB}HAVE_SYS_IOCTL_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_SYS_PARAM_H${ac_dB}HAVE_SYS_PARAM_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_SYS_TIME_H${ac_dB}HAVE_SYS_TIME_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_SYS_TIMEB_H${ac_dB}HAVE_SYS_TIMEB_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_SYS_VFS_H${ac_dB}HAVE_SYS_VFS_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_SYS_WAIT_H${ac_dB}HAVE_SYS_WAIT_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_TERMIOS_H${ac_dB}HAVE_TERMIOS_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_UTIME_H${ac_dB}HAVE_UTIME_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_VALUES_H${ac_dB}HAVE_VALUES_H${ac_dC}1${ac_dD}
${ac_dA}C_GETLOADAVG${ac_dB}C_GETLOADAVG${ac_dC}1${ac_dD}
${ac_dA}HAVE_SETLOCALE${ac_dB}HAVE_SETLOCALE${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRCASECMP${ac_dB}HAVE_STRCASECMP${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRNCASECMP${ac_dB}HAVE_STRNCASECMP${ac_dC}1${ac_dD}
${ac_dA}HAVE_DUP2${ac_dB}HAVE_DUP2${ac_dC}1${ac_dD}
${ac_dA}HAVE_GETHOSTNAME${ac_dB}HAVE_GETHOSTNAME${ac_dC}1${ac_dD}
CEOF
  sed -f $tmp/frag $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in

  cat >$tmp/frag <<CEOF
/^[ 	]*#[ 	]*define/!b
${ac_dA}HAVE_STRCSPN${ac_dB}HAVE_STRCSPN${ac_dC}1${ac_dD}
${ac_dA}HAVE_STPCPY${ac_dB}HAVE_STPCPY${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRSTR${ac_dB}HAVE_STRSTR${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRTOL${ac_dB}HAVE_STRTOL${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRTOUL${ac_dB}HAVE_STRTOUL${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRPBRK${ac_dB}HAVE_STRPBRK${ac_dC}1${ac_dD}
${ac_dA}HAVE_MEMCMP${ac_dB}HAVE_MEMCMP${ac_dC}1${ac_dD}
${ac_dA}HAVE_RMDIR${ac_dB}HAVE_RMDIR${ac_dC}1${ac_dD}
${ac_dA}HAVE_ATEXIT${ac_dB}HAVE_ATEXIT${ac_dC}1${ac_dD}
${ac_dA}HAVE_GETPASS${ac_dB}HAVE_GETPASS${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRDUP${ac_dB}HAVE_STRDUP${ac_dC}1${ac_dD}
${ac_dA}HAVE_MEMCHR${ac_dB}HAVE_MEMCHR${ac_dC}1${ac_dD}
${ac_dA}HAVE_MEMMOVE${ac_dB}HAVE_MEMMOVE${ac_dC}1${ac_dD}
${ac_dA}HAVE_MEMCPY${ac_dB}HAVE_MEMCPY${ac_dC}1${ac_dD}
${ac_dA}HAVE_MEMSET${ac_dB}HAVE_MEMSET${ac_dC}1${ac_dD}
${ac_dA}HAVE_GETPAGESIZE${ac_dB}HAVE_GETPAGESIZE${ac_dC}1${ac_dD}
${ac_dA}ARGMATCH_DIE${ac_dB}ARGMATCH_DIE${ac_dC}usage (1)${ac_dD}
${ac_dA}ARGMATCH_DIE_DECL${ac_dB}ARGMATCH_DIE_DECL${ac_dC}extern void usage ()${ac_dD}
${ac_dA}HAVE_GETTIMEOFDAY${ac_dB}HAVE_GETTIMEOFDAY${ac_dC}1${ac_dD}
${ac_dA}HAVE_BCOPY${ac_dB}HAVE_BCOPY${ac_dC}1${ac_dD}
${ac_dA}HAVE_ENDGRENT${ac_dB}HAVE_ENDGRENT${ac_dC}1${ac_dD}
${ac_dA}HAVE_ENDPWENT${ac_dB}HAVE_ENDPWENT${ac_dC}1${ac_dD}
${ac_dA}HAVE_FTIME${ac_dB}HAVE_FTIME${ac_dC}1${ac_dD}
${ac_dA}HAVE_FTRUNCATE${ac_dB}HAVE_FTRUNCATE${ac_dC}1${ac_dD}
${ac_dA}HAVE_GETCWD${ac_dB}HAVE_GETCWD${ac_dC}1${ac_dD}
${ac_dA}HAVE_HASMNTOPT${ac_dB}HAVE_HASMNTOPT${ac_dC}1${ac_dD}
${ac_dA}HAVE_ISASCII${ac_dB}HAVE_ISASCII${ac_dC}1${ac_dD}
${ac_dA}HAVE_LOCALECONV${ac_dB}HAVE_LOCALECONV${ac_dC}1${ac_dD}
${ac_dA}HAVE_MEMCPY${ac_dB}HAVE_MEMCPY${ac_dC}1${ac_dD}
${ac_dA}HAVE_MKFIFO${ac_dB}HAVE_MKFIFO${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRCHR${ac_dB}HAVE_STRCHR${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRERROR${ac_dB}HAVE_STRERROR${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRRCHR${ac_dB}HAVE_STRRCHR${ac_dC}1${ac_dD}
${ac_dA}HAVE_TZSET${ac_dB}HAVE_TZSET${ac_dC}1${ac_dD}
${ac_dA}HAVE_GETMNTENT${ac_dB}HAVE_GETMNTENT${ac_dC}1${ac_dD}
${ac_dA}HAVE_MNTENT_H${ac_dB}HAVE_MNTENT_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_GETMNTENT${ac_dB}HAVE_GETMNTENT${ac_dC}1${ac_dD}
${ac_dA}MOUNTED_GETMNTENT1${ac_dB}MOUNTED_GETMNTENT1${ac_dC}1${ac_dD}
${ac_dA}STAT_STATFS2_BSIZE${ac_dB}STAT_STATFS2_BSIZE${ac_dC}1${ac_dD}
${ac_dA}LOCALTIME_CACHE${ac_dB}LOCALTIME_CACHE${ac_dC}1${ac_dD}
${ac_dA}NICE_PRIORITY${ac_dB}NICE_PRIORITY${ac_dC}1${ac_dD}
${ac_dA}HAVE_FLOOR${ac_dB}HAVE_FLOOR${ac_dC}1${ac_dD}
${ac_dA}HAVE_MODF${ac_dB}HAVE_MODF${ac_dC}1${ac_dD}
${ac_dA}HAVE_RINT${ac_dB}HAVE_RINT${ac_dC}1${ac_dD}
${ac_dA}HAVE_SQRT${ac_dB}HAVE_SQRT${ac_dC}1${ac_dD}
${ac_dA}HAVE_STDLIB_H${ac_dB}HAVE_STDLIB_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_SYS_STAT_H${ac_dB}HAVE_SYS_STAT_H${ac_dC}1${ac_dD}
CEOF
  sed -f $tmp/frag $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in

  cat >$tmp/frag <<CEOF
/^[ 	]*#[ 	]*define/!b
${ac_dA}HAVE_GETPAGESIZE${ac_dB}HAVE_GETPAGESIZE${ac_dC}1${ac_dD}
${ac_dA}HAVE_LIMITS_H${ac_dB}HAVE_LIMITS_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_LOCALE_H${ac_dB}HAVE_LOCALE_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_MALLOC_H${ac_dB}HAVE_MALLOC_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRING_H${ac_dB}HAVE_STRING_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_SYS_PARAM_H${ac_dB}HAVE_SYS_PARAM_H${ac_dC}1${ac_dD}
${ac_dA}HAVE_GETCWD${ac_dB}HAVE_GETCWD${ac_dC}1${ac_dD}
${ac_dA}HAVE_PUTENV${ac_dB}HAVE_PUTENV${ac_dC}1${ac_dD}
${ac_dA}HAVE_SETENV${ac_dB}HAVE_SETENV${ac_dC}1${ac_dD}
${ac_dA}HAVE_SETLOCALE${ac_dB}HAVE_SETLOCALE${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRCHR${ac_dB}HAVE_STRCHR${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRCASECMP${ac_dB}HAVE_STRCASECMP${ac_dC}1${ac_dD}
${ac_dA}HAVE_STRDUP${ac_dB}HAVE_STRDUP${ac_dC}1${ac_dD}
${ac_dA}HAVE_STPCPY${ac_dB}HAVE_STPCPY${ac_dC}1${ac_dD}
CEOF
  sed -f $tmp/frag $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in

  fi # egrep

  # Handle all the #undef templates
  cat >$tmp/frag <<CEOF
/^[ 	]*#[ 	]*undef/!b
${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"sh-utils"${ac_uD}
${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"2.0j"${ac_uD}
${ac_uA}HAVE_UNAME${ac_uB}HAVE_UNAME${ac_uC}1${ac_uD}
${ac_uA}PROTOTYPES${ac_uB}PROTOTYPES${ac_uC}1${ac_uD}
${ac_uA}HAVE_LONG_DOUBLE${ac_uB}HAVE_LONG_DOUBLE${ac_uC}1${ac_uD}
${ac_uA}HAVE_DIRENT_H${ac_uB}HAVE_DIRENT_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRUCT_TM_TM_ZONE${ac_uB}HAVE_STRUCT_TM_TM_ZONE${ac_uC}1${ac_uD}
${ac_uA}HAVE_TM_ZONE${ac_uB}HAVE_TM_ZONE${ac_uC}1${ac_uD}
${ac_uA}TIME_WITH_SYS_TIME${ac_uB}TIME_WITH_SYS_TIME${ac_uC}1${ac_uD}
${ac_uA}GETGROUPS_T${ac_uB}GETGROUPS_T${ac_uC}gid_t${ac_uD}
${ac_uA}RETSIGTYPE${ac_uB}RETSIGTYPE${ac_uC}void${ac_uD}
${ac_uA}HAVE_UNSIGNED_LONG_LONG${ac_uB}HAVE_UNSIGNED_LONG_LONG${ac_uC}1${ac_uD}
${ac_uA}uintmax_t${ac_uB}uintmax_t${ac_uC}unsigned long long${ac_uD}
${ac_uA}MAJOR_IN_SYSMACROS${ac_uB}MAJOR_IN_SYSMACROS${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_uB}HAVE_STRUCT_STAT_ST_BLKSIZE${ac_uC}1${ac_uD}
${ac_uA}HAVE_UTIME_H${ac_uB}HAVE_UTIME_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRUCT_UTIMBUF${ac_uB}HAVE_STRUCT_UTIMBUF${ac_uC}1${ac_uD}
${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_DECL_FREE${ac_uB}HAVE_DECL_FREE${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_GETENV${ac_uB}HAVE_DECL_GETENV${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_GETEUID${ac_uB}HAVE_DECL_GETEUID${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_GETLOGIN${ac_uB}HAVE_DECL_GETLOGIN${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_GETUTENT${ac_uB}HAVE_DECL_GETUTENT${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_LSEEK${ac_uB}HAVE_DECL_LSEEK${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_MALLOC${ac_uB}HAVE_DECL_MALLOC${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_MEMCHR${ac_uB}HAVE_DECL_MEMCHR${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_NANOSLEEP${ac_uB}HAVE_DECL_NANOSLEEP${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_REALLOC${ac_uB}HAVE_DECL_REALLOC${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_STPCPY${ac_uB}HAVE_DECL_STPCPY${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_STRNDUP${ac_uB}HAVE_DECL_STRNDUP${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_STRSTR${ac_uB}HAVE_DECL_STRSTR${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_STRTOUL${ac_uB}HAVE_DECL_STRTOUL${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_STRTOULL${ac_uB}HAVE_DECL_STRTOULL${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_TTYNAME${ac_uB}HAVE_DECL_TTYNAME${ac_uC}0${ac_uD}
${ac_uA}HAVE_PATHCONF${ac_uB}HAVE_PATHCONF${ac_uC}1${ac_uD}
${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_NETINET_IN_H${ac_uB}HAVE_NETINET_IN_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRERROR${ac_uB}HAVE_STRERROR${ac_uC}1${ac_uD}
${ac_uA}HAVE_VPRINTF${ac_uB}HAVE_VPRINTF${ac_uC}1${ac_uD}
${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
CEOF
  sed -f $tmp/frag $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in

  cat >$tmp/frag <<CEOF
/^[ 	]*#[ 	]*undef/!b
${ac_uA}HAVE_GETPAGESIZE${ac_uB}HAVE_GETPAGESIZE${ac_uC}1${ac_uD}
${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_DECL_GETENV${ac_uB}HAVE_DECL_GETENV${ac_uC}0${ac_uD}
${ac_uA}HAVE_ISASCII${ac_uB}HAVE_ISASCII${ac_uC}1${ac_uD}
${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_WCHAR_H${ac_uB}HAVE_WCHAR_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_WCTYPE_H${ac_uB}HAVE_WCTYPE_H${ac_uC}1${ac_uD}
${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
${ac_uA}HAVE_C_BACKSLASH_A${ac_uB}HAVE_C_BACKSLASH_A${ac_uC}1${ac_uD}
${ac_uA}HAVE_MBSTATE_T_OBJECT${ac_uB}HAVE_MBSTATE_T_OBJECT${ac_uC}1${ac_uD}
${ac_uA}PROTOTYPES${ac_uB}PROTOTYPES${ac_uC}1${ac_uD}
${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_SYS_PARAM_H${ac_uB}HAVE_SYS_PARAM_H${ac_uC}1${ac_uD}
${ac_uA}PROTOTYPES${ac_uB}PROTOTYPES${ac_uC}1${ac_uD}
${ac_uA}HAVE_BZERO${ac_uB}HAVE_BZERO${ac_uC}1${ac_uD}
${ac_uA}HAVE_BCOPY${ac_uB}HAVE_BCOPY${ac_uC}1${ac_uD}
${ac_uA}HAVE_ISASCII${ac_uB}HAVE_ISASCII${ac_uC}1${ac_uD}
${ac_uA}HAVE_WCTYPE_H${ac_uB}HAVE_WCTYPE_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_WCHAR_H${ac_uB}HAVE_WCHAR_H${ac_uC}1${ac_uD}
${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
${ac_uA}HAVE_ALLOCA${ac_uB}HAVE_ALLOCA${ac_uC}1${ac_uD}
${ac_uA}RMDIR_ERRNO_NOT_EMPTY${ac_uB}RMDIR_ERRNO_NOT_EMPTY${ac_uC}4${ac_uD}
${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_ALARM${ac_uB}HAVE_ALARM${ac_uC}1${ac_uD}
${ac_uA}HAVE_DONE_WORKING_REALLOC_CHECK${ac_uB}HAVE_DONE_WORKING_REALLOC_CHECK${ac_uC}1${ac_uD}
${ac_uA}HAVE_DONE_WORKING_MALLOC_CHECK${ac_uB}HAVE_DONE_WORKING_MALLOC_CHECK${ac_uC}1${ac_uD}
${ac_uA}HAVE_DECL_STRERROR_R${ac_uB}HAVE_DECL_STRERROR_R${ac_uC}0${ac_uD}
${ac_uA}nanosleep${ac_uB}nanosleep${ac_uC}rpl_nanosleep${ac_uD}
${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_WORKING_READDIR${ac_uB}HAVE_WORKING_READDIR${ac_uC}1${ac_uD}
${ac_uA}HAVE_DECL_CLEARERR_UNLOCKED${ac_uB}HAVE_DECL_CLEARERR_UNLOCKED${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_FEOF_UNLOCKED${ac_uB}HAVE_DECL_FEOF_UNLOCKED${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_FERROR_UNLOCKED${ac_uB}HAVE_DECL_FERROR_UNLOCKED${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_FFLUSH_UNLOCKED${ac_uB}HAVE_DECL_FFLUSH_UNLOCKED${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_FPUTC_UNLOCKED${ac_uB}HAVE_DECL_FPUTC_UNLOCKED${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_FREAD_UNLOCKED${ac_uB}HAVE_DECL_FREAD_UNLOCKED${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_FWRITE_UNLOCKED${ac_uB}HAVE_DECL_FWRITE_UNLOCKED${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_GETC_UNLOCKED${ac_uB}HAVE_DECL_GETC_UNLOCKED${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_GETCHAR_UNLOCKED${ac_uB}HAVE_DECL_GETCHAR_UNLOCKED${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_PUTC_UNLOCKED${ac_uB}HAVE_DECL_PUTC_UNLOCKED${ac_uC}0${ac_uD}
${ac_uA}HAVE_DECL_PUTCHAR_UNLOCKED${ac_uB}HAVE_DECL_PUTCHAR_UNLOCKED${ac_uC}0${ac_uD}
CEOF
  sed -f $tmp/frag $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in

  cat >$tmp/frag <<CEOF
/^[ 	]*#[ 	]*undef/!b
${ac_uA}HAVE_FNMATCH_H${ac_uB}HAVE_FNMATCH_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_FNMATCH${ac_uB}HAVE_FNMATCH${ac_uC}1${ac_uD}
${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRTOULL${ac_uB}HAVE_STRTOULL${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRFTIME${ac_uB}HAVE_STRFTIME${ac_uC}1${ac_uD}
${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_BCOPY${ac_uB}HAVE_BCOPY${ac_uC}1${ac_uD}
${ac_uA}HAVE_TZSET${ac_uB}HAVE_TZSET${ac_uC}1${ac_uD}
${ac_uA}HAVE_MEMCPY${ac_uB}HAVE_MEMCPY${ac_uC}1${ac_uD}
${ac_uA}HAVE_MEMSET${ac_uB}HAVE_MEMSET${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRUCT_TM_TM_ZONE${ac_uB}HAVE_STRUCT_TM_TM_ZONE${ac_uC}1${ac_uD}
${ac_uA}HAVE_TM_ZONE${ac_uB}HAVE_TM_ZONE${ac_uC}1${ac_uD}
${ac_uA}HAVE_MBLEN${ac_uB}HAVE_MBLEN${ac_uC}1${ac_uD}
${ac_uA}HAVE_TM_GMTOFF${ac_uB}HAVE_TM_GMTOFF${ac_uC}1${ac_uD}
${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
${ac_uA}strftime${ac_uB}strftime${ac_uC}gnu_strftime${ac_uD}
${ac_uA}HAVE_GETGROUPS${ac_uB}HAVE_GETGROUPS${ac_uC}1${ac_uD}
${ac_uA}HAVE_VPRINTF${ac_uB}HAVE_VPRINTF${ac_uC}1${ac_uD}
${ac_uA}HAVE_DOPRNT${ac_uB}HAVE_DOPRNT${ac_uC}1${ac_uD}
${ac_uA}HAVE_FTRUNCATE${ac_uB}HAVE_FTRUNCATE${ac_uC}1${ac_uD}
${ac_uA}HAVE_UTIME_NULL${ac_uB}HAVE_UTIME_NULL${ac_uC}1${ac_uD}
${ac_uA}HAVE_UTIME_H${ac_uB}HAVE_UTIME_H${ac_uC}1${ac_uD}
${ac_uA}GNU_PACKAGE${ac_uB}GNU_PACKAGE${ac_uC}"GNU sh-utils"${ac_uD}
${ac_uA}HAVE_ERRNO_H${ac_uB}HAVE_ERRNO_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_FCNTL_H${ac_uB}HAVE_FCNTL_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_FLOAT_H${ac_uB}HAVE_FLOAT_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_MEMORY_H${ac_uB}HAVE_MEMORY_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_MNTENT_H${ac_uB}HAVE_MNTENT_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STDDEF_H${ac_uB}HAVE_STDDEF_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_SYS_IOCTL_H${ac_uB}HAVE_SYS_IOCTL_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_SYS_PARAM_H${ac_uB}HAVE_SYS_PARAM_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_SYS_TIME_H${ac_uB}HAVE_SYS_TIME_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_SYS_TIMEB_H${ac_uB}HAVE_SYS_TIMEB_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_SYS_VFS_H${ac_uB}HAVE_SYS_VFS_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_SYS_WAIT_H${ac_uB}HAVE_SYS_WAIT_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_TERMIOS_H${ac_uB}HAVE_TERMIOS_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_UTIME_H${ac_uB}HAVE_UTIME_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_VALUES_H${ac_uB}HAVE_VALUES_H${ac_uC}1${ac_uD}
${ac_uA}C_GETLOADAVG${ac_uB}C_GETLOADAVG${ac_uC}1${ac_uD}
${ac_uA}HAVE_SETLOCALE${ac_uB}HAVE_SETLOCALE${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRCASECMP${ac_uB}HAVE_STRCASECMP${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRNCASECMP${ac_uB}HAVE_STRNCASECMP${ac_uC}1${ac_uD}
${ac_uA}HAVE_DUP2${ac_uB}HAVE_DUP2${ac_uC}1${ac_uD}
${ac_uA}HAVE_GETHOSTNAME${ac_uB}HAVE_GETHOSTNAME${ac_uC}1${ac_uD}
CEOF
  sed -f $tmp/frag $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in

  cat >$tmp/frag <<CEOF
/^[ 	]*#[ 	]*undef/!b
${ac_uA}HAVE_STRCSPN${ac_uB}HAVE_STRCSPN${ac_uC}1${ac_uD}
${ac_uA}HAVE_STPCPY${ac_uB}HAVE_STPCPY${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRSTR${ac_uB}HAVE_STRSTR${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRTOL${ac_uB}HAVE_STRTOL${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRTOUL${ac_uB}HAVE_STRTOUL${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRPBRK${ac_uB}HAVE_STRPBRK${ac_uC}1${ac_uD}
${ac_uA}HAVE_MEMCMP${ac_uB}HAVE_MEMCMP${ac_uC}1${ac_uD}
${ac_uA}HAVE_RMDIR${ac_uB}HAVE_RMDIR${ac_uC}1${ac_uD}
${ac_uA}HAVE_ATEXIT${ac_uB}HAVE_ATEXIT${ac_uC}1${ac_uD}
${ac_uA}HAVE_GETPASS${ac_uB}HAVE_GETPASS${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRDUP${ac_uB}HAVE_STRDUP${ac_uC}1${ac_uD}
${ac_uA}HAVE_MEMCHR${ac_uB}HAVE_MEMCHR${ac_uC}1${ac_uD}
${ac_uA}HAVE_MEMMOVE${ac_uB}HAVE_MEMMOVE${ac_uC}1${ac_uD}
${ac_uA}HAVE_MEMCPY${ac_uB}HAVE_MEMCPY${ac_uC}1${ac_uD}
${ac_uA}HAVE_MEMSET${ac_uB}HAVE_MEMSET${ac_uC}1${ac_uD}
${ac_uA}HAVE_GETPAGESIZE${ac_uB}HAVE_GETPAGESIZE${ac_uC}1${ac_uD}
${ac_uA}ARGMATCH_DIE${ac_uB}ARGMATCH_DIE${ac_uC}usage (1)${ac_uD}
${ac_uA}ARGMATCH_DIE_DECL${ac_uB}ARGMATCH_DIE_DECL${ac_uC}extern void usage ()${ac_uD}
${ac_uA}HAVE_GETTIMEOFDAY${ac_uB}HAVE_GETTIMEOFDAY${ac_uC}1${ac_uD}
${ac_uA}HAVE_BCOPY${ac_uB}HAVE_BCOPY${ac_uC}1${ac_uD}
${ac_uA}HAVE_ENDGRENT${ac_uB}HAVE_ENDGRENT${ac_uC}1${ac_uD}
${ac_uA}HAVE_ENDPWENT${ac_uB}HAVE_ENDPWENT${ac_uC}1${ac_uD}
${ac_uA}HAVE_FTIME${ac_uB}HAVE_FTIME${ac_uC}1${ac_uD}
${ac_uA}HAVE_FTRUNCATE${ac_uB}HAVE_FTRUNCATE${ac_uC}1${ac_uD}
${ac_uA}HAVE_GETCWD${ac_uB}HAVE_GETCWD${ac_uC}1${ac_uD}
${ac_uA}HAVE_HASMNTOPT${ac_uB}HAVE_HASMNTOPT${ac_uC}1${ac_uD}
${ac_uA}HAVE_ISASCII${ac_uB}HAVE_ISASCII${ac_uC}1${ac_uD}
${ac_uA}HAVE_LOCALECONV${ac_uB}HAVE_LOCALECONV${ac_uC}1${ac_uD}
${ac_uA}HAVE_MEMCPY${ac_uB}HAVE_MEMCPY${ac_uC}1${ac_uD}
${ac_uA}HAVE_MKFIFO${ac_uB}HAVE_MKFIFO${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRCHR${ac_uB}HAVE_STRCHR${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRERROR${ac_uB}HAVE_STRERROR${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRRCHR${ac_uB}HAVE_STRRCHR${ac_uC}1${ac_uD}
${ac_uA}HAVE_TZSET${ac_uB}HAVE_TZSET${ac_uC}1${ac_uD}
${ac_uA}HAVE_GETMNTENT${ac_uB}HAVE_GETMNTENT${ac_uC}1${ac_uD}
${ac_uA}HAVE_MNTENT_H${ac_uB}HAVE_MNTENT_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_GETMNTENT${ac_uB}HAVE_GETMNTENT${ac_uC}1${ac_uD}
${ac_uA}MOUNTED_GETMNTENT1${ac_uB}MOUNTED_GETMNTENT1${ac_uC}1${ac_uD}
${ac_uA}STAT_STATFS2_BSIZE${ac_uB}STAT_STATFS2_BSIZE${ac_uC}1${ac_uD}
${ac_uA}LOCALTIME_CACHE${ac_uB}LOCALTIME_CACHE${ac_uC}1${ac_uD}
${ac_uA}NICE_PRIORITY${ac_uB}NICE_PRIORITY${ac_uC}1${ac_uD}
${ac_uA}HAVE_FLOOR${ac_uB}HAVE_FLOOR${ac_uC}1${ac_uD}
${ac_uA}HAVE_MODF${ac_uB}HAVE_MODF${ac_uC}1${ac_uD}
${ac_uA}HAVE_RINT${ac_uB}HAVE_RINT${ac_uC}1${ac_uD}
${ac_uA}HAVE_SQRT${ac_uB}HAVE_SQRT${ac_uC}1${ac_uD}
${ac_uA}HAVE_STDLIB_H${ac_uB}HAVE_STDLIB_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_SYS_STAT_H${ac_uB}HAVE_SYS_STAT_H${ac_uC}1${ac_uD}
CEOF
  sed -f $tmp/frag $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in

  cat >$tmp/frag <<CEOF
/^[ 	]*#[ 	]*undef/!b
${ac_uA}HAVE_GETPAGESIZE${ac_uB}HAVE_GETPAGESIZE${ac_uC}1${ac_uD}
${ac_uA}HAVE_LIMITS_H${ac_uB}HAVE_LIMITS_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_LOCALE_H${ac_uB}HAVE_LOCALE_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_MALLOC_H${ac_uB}HAVE_MALLOC_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRING_H${ac_uB}HAVE_STRING_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_SYS_PARAM_H${ac_uB}HAVE_SYS_PARAM_H${ac_uC}1${ac_uD}
${ac_uA}HAVE_GETCWD${ac_uB}HAVE_GETCWD${ac_uC}1${ac_uD}
${ac_uA}HAVE_PUTENV${ac_uB}HAVE_PUTENV${ac_uC}1${ac_uD}
${ac_uA}HAVE_SETENV${ac_uB}HAVE_SETENV${ac_uC}1${ac_uD}
${ac_uA}HAVE_SETLOCALE${ac_uB}HAVE_SETLOCALE${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRCHR${ac_uB}HAVE_STRCHR${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRCASECMP${ac_uB}HAVE_STRCASECMP${ac_uC}1${ac_uD}
${ac_uA}HAVE_STRDUP${ac_uB}HAVE_STRDUP${ac_uC}1${ac_uD}
${ac_uA}HAVE_STPCPY${ac_uB}HAVE_STPCPY${ac_uC}1${ac_uD}
s%^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
CEOF
  sed -f $tmp/frag $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in

  echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
  cat $tmp/in >>$tmp/config.h
  rm -f $tmp/in
  if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
    echo "$ac_file is unchanged"
  else
    # Remove last slash and all that follows it.  Not all systems have dirname.
    ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'`
    if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
      # The file is in a subdirectory.
      test -d "$ac_dir" || mkdir "$ac_dir"
    fi
    rm -f $ac_file
    mv $tmp/config.h $ac_file
  fi
done

#
# CONFIG_LINKS section.
#
srcdir=$ac_given_srcdir

for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
  ac_dest=`echo "$ac_file" | sed 's%:.*%%'`
  ac_source=`echo "$ac_file" | sed 's%[^:]*:%%'`

  echo "linking $srcdir/$ac_source to $ac_dest"

  if test ! -r $srcdir/$ac_source; then
    { echo "configure: error: $srcdir/$ac_source: File not found" >&2; exit 1; }
  fi
  rm -f $ac_dest

  # Make relative symlinks.
  # Remove last slash and all that follows it.  Not all systems have dirname.
  ac_dest_dir=`echo $ac_dest | sed 's%/[^/][^/]*$%%'`
  if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
    # The dest file is in a subdirectory.
    test -d "$ac_dest_dir" || mkdir "$ac_dest_dir"
    ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
    # A "../" for each directory in $ac_dest_dir_suffix.
    ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
  else
    ac_dest_dir_suffix= ac_dots=
  fi

  case $srcdir in
  [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
      *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
  esac

  # Make a symlink if possible; otherwise try a hard link.
  if cp -f $ac_rel_source $ac_dest 2>/dev/null ||
     cp -f $srcdir/$ac_source $ac_dest; then :
  else
    { echo "configure: error: cannot link $ac_dest to $srcdir/$ac_source" >&2; exit 1; }
  fi
done

#
# CONFIG_COMMANDS section.
#
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
  ac_dest=`echo "$ac_file" | sed 's%:.*%%'`
  ac_source=`echo "$ac_file" | sed 's%[^:]*:%%'`

  case $ac_dest in
    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
    default-2 )
test x"$AMDEP" != x"" ||
for mf in $CONFIG_FILES; do
  case "$mf" in
  Makefile) dirpart=.;;
  */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
  *) continue;;
  esac
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
  # Extract the definition of DEP_FILES from the Makefile without
  # running `make'.
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
  test -z "$DEPDIR" && continue
  # When using ansi2knr, U may be empty or an underscore; expand it
  U=`sed -n -e '/^U = / s///p' < "$mf"`
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
  # We invoke sed twice because it is the simplest approach to
  # changing $(DEPDIR) to its actual value in the expansion.
  for file in `sed -n -e '
    /^DEP_FILES = .*\\\\$/ {
      s/^DEP_FILES = //
      :loop
	s/\\\\$//
	p
	n
	/\\\\$/ b loop
      p
    }
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
    # Make sure the directory exists.
    test -f "$dirpart/$file" && continue
    fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
    $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
    # echo "creating $dirpart/$file"
    echo '# dummy' > "$dirpart/$file"
  done
done
 ;;
    default-3 ) case "$CONFIG_FILES" in *po/Makefile.in*)
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
      esac ;;
  esac
done

exit 0
-----------------------------

config.status from bash 2.04

-----------------------------
config_files=" Makefile
	   doc/Makefile
	   intl/Makefile
	   lib/Makefile
	   man/Makefile
	   m4/Makefile
	   po/Makefile.in:po/Makefile.in-in
	   src/Makefile
	   tests/Makefile
	   tests/basename/Makefile
	   tests/date/Makefile
	   tests/factor/Makefile
	   tests/seq/Makefile
	   tests/stty/Makefile
	   tests/test/Makefile
	  "
config_headers=" config.h:config.h-in"
config_links=" intl/libintl.h:intl/libgettext.h"
config_commands=" default-1 default-2 default-3"
ac_cs_version="\
./config.status generated by autoconf version 2.14a.
Configured on host pc by
  ./configure --src=. --disable-nls --config-cache"

ac_given_srcdir=.
ac_given_INSTALL="${DJDIR}/bin/ginstall -c"
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    echo "running /bin/sh ./configure " --src=. --disable-nls --config-cache " --no-create --no-recursion"
    exec /bin/sh ./configure --src=. --disable-nls --config-cache --no-create --no-recursion ;;
#
# INIT-COMMANDS section.
#

AMDEP=""
ac_aux_dir="."


#
# CONFIG_FILES section.
#

# No need to generate the scripts if there are no CONFIG_FILES.
# This happens for instance when ./config.status config.h
if test -n "$CONFIG_FILES"; then
  # Protect against being on the right side of a sed subst in config.status.
  sed 's/%@/@@/; s/@%/@@/; s/%;t t$/@;t t/; /@;t t$/s/[\\&%]/\\&/g;
   s/@@/%@/; s/@@/@%/; s/@;t t$/%;t t/' >$tmp/subs.sed <<\CEOF
s%@SHELL@%/bin/sh%;t t
s%@exec_prefix@%${prefix}%;t t
s%@prefix@%${DJDIR}%;t t
s%@program_transform_name@%s,x,x,%;t t
s%@bindir@%${exec_prefix}/bin%;t t
s%@sbindir@%${exec_prefix}/sbin%;t t
s%@libexecdir@%${exec_prefix}/libexec%;t t
s%@datadir@%${prefix}/share%;t t
s%@sysconfdir@%${prefix}/etc%;t t
s%@sharedstatedir@%${prefix}/com%;t t
s%@localstatedir@%${prefix}/var%;t t
s%@libdir@%${exec_prefix}/lib%;t t
s%@includedir@%${prefix}/include%;t t
s%@oldincludedir@%/usr/include%;t t
s%@infodir@%${prefix}/info%;t t
s%@mandir@%${prefix}/man%;t t
s%@ECHO_C@%%;t t
s%@ECHO_N@%-n%;t t
s%@ECHO_T@%%;t t
s%@CFLAGS@%-g -O2%;t t
s%@CPPFLAGS@%%;t t
s%@CXXFLAGS@%%;t t
s%@FFLAGS@%%;t t
s%@DEFS@%-DHAVE_CONFIG_H%;t t
s%@LDFLAGS@%%;t t
s%@LIBS@%%;t t
s%@build@%i386-pc-msdosdjgpp%;t t
s%@build_cpu@%i386%;t t
s%@build_vendor@%pc%;t t
s%@build_os@%msdosdjgpp%;t t
s%@host@%i386-pc-msdosdjgpp%;t t
s%@host_cpu@%i386%;t t
s%@host_vendor@%pc%;t t
s%@host_os@%msdosdjgpp%;t t
s%@INSTALL_PROGRAM@%${INSTALL}%;t t
s%@INSTALL_SCRIPT@%${INSTALL}%;t t
s%@INSTALL_DATA@%${INSTALL} -m 644%;t t
s%@PACKAGE@%sh-utils%;t t
s%@VERSION@%2.0j%;t t
s%@ACLOCAL@%${SHELL} /src/gnu/sh-util2.0j/missing --run aclocal%;t t
s%@AUTOCONF@%${SHELL} /src/gnu/sh-util2.0j/missing --run autoconf%;t t
s%@AUTOMAKE@%${SHELL} /src/gnu/sh-util2.0j/missing --run automake%;t t
s%@AUTOHEADER@%${SHELL} /src/gnu/sh-util2.0j/missing --run autoheader%;t t
s%@MAKEINFO@%${SHELL} /src/gnu/sh-util2.0j/missing --run makeinfo%;t t
s%@AMTAR@%${SHELL} /src/gnu/sh-util2.0j/missing --run tar%;t t
s%@install_sh@%./install-sh%;t t
s%@AWK@%gawk%;t t
s%@SET_MAKE@%MAKE=make%;t t
s%@AMDEP@%%;t t
s%@AMDEPBACKSLASH@%\%;t t
s%@DEPDIR@%_deps%;t t
s%@PERL@%perl%;t t
s%@CC@%gcc%;t t
s%@ac_ct_CC@%%;t t
s%@EXEEXT@%%;t t
s%@OBJEXT@%o%;t t
s%@CPP@%gcc -E%;t t
s%@CCDEPMODE@%depmode=gcc%;t t
s%@RANLIB@%ranlib%;t t
s%@U@%%;t t
s%@ANSI2KNR@%%;t t
s%@LIBOBJS@%fileblocks$U.o lchown$U.o lstat$U.o nanosleep$U.o group-member$U.o strtoumax$U.o error$U.o strftime$U.o regex$U.o getloadavg$U.o getusershell$U.o stime$U.o euidaccess$U.o rpmatch$U.o strndup$U.o strverscmp$U.o strnlen$U.o getline$U.o obstack$U.o fsusage$U.o mountlist$U.o%;t t
s%@GNU_PACKAGE@%GNU sh-utils%;t t
s%@OPTIONAL_BIN_PROGS@% uname nice stty%;t t
s%@OPTIONAL_BIN_ZCRIPTS@% nohup%;t t
s%@MAN@% uname.1 nice.1 nohup.1 stty.1%;t t
s%@DF_PROG@%df%;t t
s%@YACC@%bison -y%;t t
s%@ALLOCA@%%;t t
s%@LIB_NANOSLEEP@%%;t t
s%@NEED_SETGID@%false%;t t
s%@KMEM_GROUP@%%;t t
s%@GETLOADAVG_LIBS@%%;t t
s%@LIB_CLOCK_GETTIME@%%;t t
s%@POW_LIBM@%%;t t
s%@GLIBC21@%no%;t t
s%@LIBICONV@%%;t t
s%@SQRT_LIBM@%%;t t
s%@FESETROUND_LIBM@%%;t t
s%@LIB_CRYPT@%%;t t
s%@USE_NLS@%no%;t t
s%@MSGFMT@%%;t t
s%@GMSGFMT@%%;t t
s%@XGETTEXT@%%;t t
s%@GENCAT@%%;t t
s%@USE_INCLUDED_LIBINTL@%no%;t t
s%@CATALOGS@%%;t t
s%@CATOBJEXT@%%;t t
s%@DATADIRNAME@%share%;t t
s%@GMOFILES@% cs.gmo da.gmo de.gmo el.gmo es.gmo et.gmo fr.gmo gl.gmo it.gmo ja.gmo nl.gmo no.gmo pl.gmo pt.gmo pt_BR.gmo sl.gmo ru.gmo sk.gmo sv.gmo zh.gmo%;t t
s%@INSTOBJEXT@%%;t t
s%@INTLDEPS@%%;t t
s%@INTLLIBS@%%;t t
s%@INTLOBJS@%%;t t
s%@POFILES@% cs.po da.po de.po el.po es.po et.po fr.po gl.po it.po ja.po nl.po no.po pl.po pt.po pt_BR.po sl.po ru.po sk.po sv.po zh.po%;t t
s%@POSUB@%%;t t
s%@INCLUDE_LOCALE_H@%#include <locale.h>%;t t
s%@GT_NO@%%;t t
s%@GT_YES@%#YES#%;t t
s%@MKINSTALLDIRS@%./mkinstalldirs%;t t
s%@l@%%;t t
  /TEXINPUTS=/s,:,\\\\;,g
  /PATH=/s,:,\\;,g
  s,po2tbl\.sed\.in,po2tbl-sed.in,g
  s,config\.h\.in,config.h-in,g
  s,\.env-warn,_env-warn,g
  s,Makefile\.in\.in,Makefile.in-in,g
  s,Makefile\.am\.in,Makefile.am-in,g
  s,jm-winsz\([12]\)\.m4,jm\1-winsz.m4,g
  s,NN-strne-\([12]\)\.X,NN\1-strne.X,g
  s,N-strne-\([12]\)\.X,N\1-strne.X,g
  s,NN-streq-\([12]\)\.X,NN\1q-stre.X,g
  s,NN-streq-\([12]\)\.X,NN\1q-stre.X,g
  s,N-streq-\([12]\)\.X,N\1q-stre.X,g
  s,N-streq-\([12]\)\.X,N\1q-stre.X,g
  s,date2sec-\([01]\)\.X,d2sec-\1.X,g
  s,date2sec-0a\.X,d2sec-0a.X,g
CEOF

  sed -e "/^[ 	]*VPATH[ 	]*=[^:]*$/d

  # Handle all the #define templates only if necessary.
  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then
  # If there are no defines, we may have an empty if/fi
  :
  fi # egrep

  # Handle all the #undef templates
-------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019