File rarpd-1.1-autoconf.diff of Package rarpd

--- Makefile.am
+++ Makefile.am
@@ -0,0 +1,3 @@
+sbin_PROGRAMS=rarpd
+rarpd_SOURCES=rarpd.c
+man_MANS=rarpd.8
--- aclocal.m4
+++ aclocal.m4
@@ -154,7 +154,7 @@
 ])
 
 AC_DEFUN(CMU_PCAP_LIB_WHERE1, [
-AC_REQUIRE([AC_PROG_CC_GNU])
+AC_REQUIRE([AC_PROG_CC])
 saved_LIBS=$LIBS
 LIBS="$saved_LIBS -L$1 -lpcap"
 AC_TRY_LINK(,
@@ -316,7 +316,7 @@
 ])
 
 AC_DEFUN(CMU_LIBNET_LIB_WHERE1, [
-AC_REQUIRE([AC_PROG_CC_GNU])
+AC_REQUIRE([AC_PROG_CC])
 saved_LIBS=$LIBS
 LIBS="$saved_LIBS -L$1 -lnet"
 AC_TRY_LINK(,
--- cmulocal/libnet.m4
+++ cmulocal/libnet.m4
@@ -45,7 +45,7 @@
 ])
 
 AC_DEFUN(CMU_LIBNET_LIB_WHERE1, [
-AC_REQUIRE([AC_PROG_CC_GNU])
+AC_REQUIRE([AC_PROG_CC])
 saved_LIBS=$LIBS
 LIBS="$saved_LIBS -L$1 -lnet"
 AC_TRY_LINK(,
--- cmulocal/libpcap.m4
+++ cmulocal/libpcap.m4
@@ -24,7 +24,7 @@
 ])
 
 AC_DEFUN(CMU_PCAP_LIB_WHERE1, [
-AC_REQUIRE([AC_PROG_CC_GNU])
+AC_REQUIRE([AC_PROG_CC])
 saved_LIBS=$LIBS
 LIBS="$saved_LIBS -L$1 -lpcap"
 AC_TRY_LINK(,
--- configure.in
+++ configure.in
@@ -1,4 +1,4 @@
-AC_INIT(rarpd.c)
+AC_INIT(rarpd.c, 1.1)
 CMU_INIT_AUTOMAKE
 AC_PROG_CC
 AC_PROG_INSTALL
@@ -14,7 +14,7 @@
 LIBS="$LIBS $LIBNET_LIB_FLAGS"
 CFLAGS="$CFLAGS $LIBNET_CFLAGS $LIBNET_DEF_FLAGS $PCAP_INC_FLAGS $LIBNET_INC_FLAGS"
 LDFLAGS="$RPATH $CFLAGS"
-AC_SUBST(LIBOBJS)
+dnl AC_SUBST(LIBOBJS)
 AC_SUBST(LIBS)
 AC_SUBST(LDFLAGS)
 AC_SUBST(DEFS)