This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
amtu/amtu-autoconf.patch
2005-05-31 15:49:49 +00:00

65 lines
2.2 KiB
Diff

diff -ur amtu-1.0.orig/configure.in amtu-0.2/configure.in
--- amtu-1.0.orig/configure.in 2005-05-27 16:10:20.195352984 -0400
+++ amtu-1.0/configure.in 2005-05-27 17:11:50.436351080 -0400
@@ -1,9 +1,18 @@
-AC_INIT(src/amtu.c)
+AC_REVISION($Revision: 1.3 $)dnl
# AC_CANONICAL_SYSTEM is deprecated in the latest version of AUTOMAKE.
# We aren't using the latest version so we'll keep using it
#AC_CANONICAL_TARGET
+AC_INIT(src/amtu.c)
+AC_PREREQ(2.12)dnl
+AC_CONFIG_AUX_DIR(config)
+AC_CONFIG_SRCDIR(src/amtu.c)
+AM_CONFIG_HEADER(config.h)
+
+VERSION=1.0
+echo Configuring amtu $VERSION
+
AC_CANONICAL_SYSTEM
-AM_INIT_AUTOMAKE(amtu, 1.0)
+AM_INIT_AUTOMAKE(amtu, $VERSION)
AC_PROG_CC
case "$target" in
i386-* | i486-* | i586-* | i686-*) AC_DEFINE(HAVE_I86,1,NULL);;
@@ -14,6 +23,4 @@
esac
AC_CHECK_LIB(laus, laus_open)
AC_CHECK_LIB(audit, audit_open)
-AC_OUTPUT(Makefile \
-src/Makefile \
-doc/Makefile)
+AC_OUTPUT(Makefile src/Makefile doc/Makefile)
diff -ur amtu-1.0.orig/src/amtu-i86.c amtu-0.2/src/amtu-i86.c
--- amtu-1.0.orig/src/amtu-i86.c 2005-05-27 16:10:20.203351768 -0400
+++ amtu-1.0/src/amtu-i86.c 2005-05-27 17:12:20.258817376 -0400
@@ -29,6 +29,7 @@
// using libaudit instead of liblaus
//----------------------------------------------------------------------
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
diff -ur amtu-1.0.orig/src/amtu-ppc.c amtu-0.2/src/amtu-ppc.c
--- amtu-1.0.orig/src/amtu-ppc.c 2005-05-27 16:10:20.202351920 -0400
+++ amtu-1.0/src/amtu-ppc.c 2005-05-27 17:12:43.511282464 -0400
@@ -28,6 +28,7 @@
// using libaudit instead of liblaus
//----------------------------------------------------------------------
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
diff -ur amtu-1.0.orig/src/amtu-s390.c amtu-0.2/src/amtu-s390.c
--- amtu-1.0.orig/src/amtu-s390.c 2005-05-27 16:10:20.203351768 -0400
+++ amtu-1.0/src/amtu-s390.c 2005-05-27 17:13:13.476727024 -0400
@@ -29,6 +29,7 @@
// using libaudit instead of liblaus
//----------------------------------------------------------------------
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>