+++ /dev/null
-diff -Nru gawk-3.1.2.orig/Makefile.am gawk-3.1.2/Makefile.am
---- gawk-3.1.2.orig/Makefile.am Thu Mar 6 10:31:38 2003
-+++ gawk-3.1.2/Makefile.am Fri Apr 4 13:00:43 2003
-@@ -112,7 +112,7 @@
- pgawk_SOURCES = $(base_sources) eval_p.c profile_p.c
-
- # Get extra libs as needed
--LDADD = @LIBINTL@ @SOCKET_LIBS@
-+LDADD = @LIBINTL@
-
- # Set autoconf Makefile.in variables correctly
- datadir = @datadir@
-diff -Nru gawk-3.1.2.orig/configure.in gawk-3.1.2/configure.in
---- gawk-3.1.2.orig/configure.in Sun Mar 16 11:23:32 2003
-+++ gawk-3.1.2/configure.in Fri Apr 4 13:01:47 2003
-@@ -23,6 +23,12 @@
-
- dnl Process this file with autoconf to produce a configure script.
-
-+m4_pattern_allow(GAWK_AC_LINUX_ALPHA)
-+m4_pattern_allow(GAWK_AC_TYPE_SSIZE_T)
-+m4_pattern_allow(GAWK_AC_FUNC_STRTOD_C89)
-+m4_pattern_allow(GAWK_AC_LIB_SOCKETS)
-+m4_pattern_allow(GAWK_AC_AIX_TWEAK)
-+
- dnl *** IMPORTANT ***: Fix version in both AC_INIT and AM_INIT_AUTOMAKE
- AC_INIT([GNU Awk], 3.1.2, bug-gawk@gnu.org, gawk)
-
-@dircategory Individual utilities
-@direntry
-* awk: (gawk)Invoking gawk. Text scanning and processing.
-+* Gawk: (gawk). A text scanning and processing language.
++* Gawk: (gawk). A text scanning and processing language
@end direntry
@c @set xref-automatic-section-title
+@dircategory Programming Languages:
@direntry
-* Gawkinet: (gawkinet). TCP/IP Internetworking With `gawk'.
-+* Gawkinet: (gawkinet). TCP/IP Internetworking With `gawk'.
++* Gawkinet: (gawkinet). TCP/IP Internetworking With `gawk'
@end direntry
@iftex
Patch0: %{name}-info.patch
Patch1: %{name}-shutup.patch
Patch2: %{name}-pmake.patch
-Patch3: %{name}-ac.patch
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake >= 1.7
+BuildRequires: texinfo
Requires: mktemp
Requires: sed
-BuildRequires: texinfo
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: gawk-doc
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
%build
%{__aclocal}
-%{__autoconf}
+%{__autoconf} -I m4
%{__autoheader}
%{__automake}
%configure \