+2000-05-08 Bruce Korb <bkorb@gnu.org>
+
+ * fixinc/mkfixinc.sh: fixinc.sco is no longer used
+ * fixinc/genfixes: inclhack.sh and fixincl.sh are no longer generated
+ * fixinc/inclhack.sh: deleted
+ * fixinc/hackshell.tpl: deleted
+ * fixinc/inclhack.tpl: deleted
+ * fixinc/fixincl.sh: "DO NOT EDIT" text modified
+
2000-05-08 Andreas Jaeger <aj@suse.de>
* config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
echo "USAGE: gendefs [ -D<def-name> ... ] [ <output-name> ]"
echo "WHERE: '<def-name>' specifies a #define test name from inclhack.def"
echo " and '<output-name>' is one of:"
- echo " inclhack.sh fixincl.x fixincl.sh machine.h"
+ echo " fixincl.x machine.h"
echo "The default is to produce the first three outputs."
exit 0
;;
done
if [ $# -eq 0 ] ; then
- ${SHELL} $0 $AG inclhack.sh || exit 1
- ${SHELL} $0 $AG fixincl.x || exit 1
- ${SHELL} $0 $AG fixincl.sh || exit 1
- exit 0
+ set -- fixincl.x
fi
AG="autogen $AG"
set -e
case "$1" in
-inclhack.sh | */inclhack.sh )
- if (autogen --help > /dev/null 2>&1)
- then
- echo AutoGen-ing inclhack.sh
- $AG inclhack.def
- else
- echo "AutoGen does not appear to be correctly installed."
- echo "Please download and install:"
- echo " ftp://sourceware.cygnus.com/pub/egcs/infrastructure/autogen.tar.gz"
- touch inclhack.sh
- fi
- ;;
-
fixincl.x | */fixincl.x )
- if (autogen --help > /dev/null 2>&1)
+ if (${AG} --help > /dev/null 2>&1)
then
echo AutoGen-ing fixincl.x
$AG -T fixincl.tpl -b fixincl inclhack.def
fi
;;
-fixincl.sh | */fixincl.sh )
- if (autogen --help > /dev/null 2>&1)
- then
- echo AutoGen-ing fixincl.sh
- $AG -DPROGRAM=1 -b fixincl inclhack.def
- else
- echo "AutoGen does not appear to be correctly installed."
- echo "Please download and install:"
- echo " ftp://sourceware.cygnus.com/pub/egcs/infrastructure/autogen.tar.gz"
- touch fixincl.sh
- fi
- ;;
-
machname.h | */machname.h )
# This script extracts from the specs file all the predefined macros
# that are not in the C89 reserved namespace (the reserved namespace