From: mdw Date: Tue, 4 May 1999 16:25:42 +0000 (+0000) Subject: Fixes for new version of automake. X-Git-Tag: 1.3.3~9 X-Git-Url: https://git.distorted.org.uk/~mdw/become/commitdiff_plain/b6ea915ca1b3b01650c54a935a805c5ad06e679d Fixes for new version of automake. --- diff --git a/acconfig.h b/acconfig.h index 3801920..ee00cfd 100644 --- a/acconfig.h +++ b/acconfig.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: acconfig.h,v 1.8 1998/04/23 13:08:42 mdw Exp $ + * $Id: acconfig.h,v 1.9 1999/05/04 16:25:42 mdw Exp $ * * Default settings for `become' config.h * @@ -29,7 +29,10 @@ /*----- Revision history --------------------------------------------------* * * $Log: acconfig.h,v $ - * Revision 1.8 1998/04/23 13:08:42 mdw + * Revision 1.9 1999/05/04 16:25:42 mdw + * Fixes for new version of automake. + * + * Revision 1.8 1998/04/23 13:08:42 mdw * Fix formatting. Add new option to disable networking. * * Revision 1.7 1998/01/12 16:45:20 mdw @@ -62,6 +65,9 @@ /*----- Variables set up by the configuration script ----------------------*/ @TOP@ +/* My package name. */ +#define PACKAGE "become" + /* My version number. */ #define VERSION "1.2-pre" diff --git a/configure.in b/configure.in index 382aa5a..fd875e0 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl -*-fundamental-*- dnl -dnl $Id: configure.in,v 1.16 1998/06/18 15:15:45 mdw Exp $ +dnl $Id: configure.in,v 1.17 1999/05/04 16:25:19 mdw Exp $ dnl dnl Source for auto configuration for `become' dnl @@ -28,7 +28,10 @@ dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl----- Revision history --------------------------------------------------- dnl dnl $Log: configure.in,v $ -dnl Revision 1.16 1998/06/18 15:15:45 mdw +dnl Revision 1.17 1999/05/04 16:25:19 mdw +dnl Fixes for new version of automake. +dnl +dnl Revision 1.16 1998/06/18 15:15:45 mdw dnl Set version number properly. D'oh. dnl dnl Revision 1.15 1998/06/18 15:11:36 mdw @@ -84,26 +87,17 @@ dnl Initial revision dnl AC_INIT(src/icrypt.c) -AC_CONFIG_HEADER(config.h) -PACKAGE=become -VERSION=1.3.2 -AC_DEFINE(VERSION, "1.3.2 (18 June 1998)") -AC_SUBST(PACKAGE) -AC_SUBST(VERSION) +AM_INIT_AUTOMAKE(become, 1.3.3) +AM_CONFIG_HEADER(config.h) dnl --- Check for compilers and things --- AC_PROG_CC -AC_PROG_INSTALL -AC_PROG_LEX +mdw_GCC_FLAGS +AM_PROG_LEX AC_CHECK_PROG(AR, ar, ar) AC_PROG_RANLIB -AC_PROG_MAKE_SET AC_PROG_YACC -AC_ARG_PROGRAM -if test "$GCC" = "yes"; then - CFLAGS="$CFLAGS -pedantic -Wall" -fi dnl --- Set default become style --- @@ -199,7 +193,6 @@ AC_CHECK_FUNCS(getrusage vtimes) dnl --- Done --- -AC_OUTPUT(Makefile conf/Makefile src/Makefile manual/Makefile, - [test -z "$CONFIG_HEADERS" || echo timestamp >stamp-h]) +AC_OUTPUT(Makefile conf/Makefile src/Makefile manual/Makefile) dnl----- That's all, folks --------------------------------------------------