]> git.pld-linux.org Git - packages/cvs-nserver.git/blame - cvs-nserver-am_ac.patch
- fix building with automake 1.12
[packages/cvs-nserver.git] / cvs-nserver-am_ac.patch
CommitLineData
dbeb7d9d
JB
1diff -urN cvs-nserver-1.11.1.52.orig/configure.in cvs-nserver-1.11.1.52/configure.in
2--- cvs-nserver-1.11.1.52.orig/configure.in Sun May 19 11:06:44 2002
3+++ cvs-nserver-1.11.1.52/configure.in Sun May 19 11:10:49 2002
4@@ -10,7 +10,6 @@
5 # initialize test framework
6 AC_CONFIG_TESTDIR(tests)
7 AC_CONFIG_FILES([tests/Makefile \
8- tests/atconfig \
9 tests/package.m4 \
10 tests/cvs:tests/wrapsh.in],
11 [chmod +x tests/cvs])
12@@ -22,10 +21,7 @@
13 # their path, the installer can configure with a path that has GNU m4
14 # first and get that path embedded in the installed autoconf and
15 # autoheader scripts.
16-AC_PROG_GNU_M4
17-if test x"$ac_cv_prog_gnu_m4" != xyes; then
18- AC_MSG_ERROR([GNU m4 1.4 is required])
19-fi
20+AC_CHECK_PROG(M4,m4)
21 # This is needed because Automake does not seem to realize there is
22 # a AC-SUBST inside AC-PROG-GNU-M4. Grmph!
23 AC_SUBST(M4)
90b673b2
MK
24@@ -95,8 +95,6 @@
25 LIBS="-lcrypt $LIBS"
26 fi
27
28-AM_C_PROTOTYPES
29-
30 AM_MAINTAINER_MODE
31
32 AC_HEADER_DIRENT
9680e81b
AM
33@@ -172,7 +172,7 @@
34
35 AC_FUNC_FNMATCH
36 if test "$ac_cv_func_fnmatch_works" = no; then
37- LIBOBJS="$LIBOBJS fnmatch.o"
38+ AC_LIBOBJ([fnmatch])
39 fi
40
41 # Try to find connect and gethostbyname.
42@@ -277,7 +277,7 @@
43 AC_DEFINE(ENCRYPTION)
44 fi
45
46-AC_CHECK_FUNC(gethostname, :, LIBOBJS="$LIBOBJS hostname.o")
1e48b643 47+AC_CHECK_FUNC(gethostname, :, [AC_LIBOBJ([hostname])])
9680e81b
AM
48
49 # Check for options requesting client and server feature. If none are
50 # given and we have connect(), we want the full client & server arrangement.
51@@ -361,7 +361,7 @@
52 [AC_TRY_COMPILE([], [return __CYGWIN32__;],
53 ccvs_cv_sys_cygwin32=yes, ccvs_cv_sys_cygwin32=no)])
54 if test $ccvs_cv_sys_cygwin32 = yes; then
55- LIBOBJS="$LIBOBJS fncase.o"
56+ AC_LIBOBJ([fncase])
57 LIBS="$LIBS -ladvapi32"
58
59 dnl On Windows you can only change file times if you can write to
dbeb7d9d
JB
60@@ -453,7 +453,6 @@
61 lib/Makefile \
62 man/Makefile \
63 os2/Makefile \
64- scripts/Makefile \
65 src/Makefile \
66 src/tests/Makefile \
67 tools/Makefile \
9680e81b
AM
68diff -urN cvs-nserver-1.11.1.4.org/doc/Makefile.am cvs-nserver-1.11.1.4/doc/Makefile.am
69--- cvs-nserver-1.11.1.4.org/doc/Makefile.am Sun May 19 11:06:44 2002
70+++ cvs-nserver-1.11.1.4/doc/Makefile.am Sun May 19 11:13:13 2002
71@@ -14,7 +14,7 @@
72
73 #DISTFILES = \
74 # .cvsignore \
75-# RCSFILES \
76+# RCSFILES
77
78 # AUTOMAKE_OPTIONS = no-texinfo.tex
79
90b673b2
MK
80diff -ur cvs-nserver-1.11.1.52.orig/acl/Makefile.am cvs-nserver-1.11.1.52/acl/Makefile.am
81--- cvs-nserver-1.11.1.52.orig/acl/Makefile.am 2002-01-19 17:33:05.000000000 +0000
82+++ cvs-nserver-1.11.1.52/acl/Makefile.am 2013-05-21 10:51:44.498634651 +0000
83@@ -1,5 +1,3 @@
84-AUTOMAKE_OPTIONS = ../lib/ansi2knr
85-
86 INCLUDES = -I$(top_srcdir)/lib
87
88 TESTS = check_stringbuf check_user_acl \
89diff -ur cvs-nserver-1.11.1.52.orig/src/Makefile.am cvs-nserver-1.11.1.52/src/Makefile.am
90--- cvs-nserver-1.11.1.52.orig/src/Makefile.am 2013-05-21 10:19:41.000000000 +0000
91+++ cvs-nserver-1.11.1.52/src/Makefile.am 2013-05-21 10:52:36.445634549 +0000
92@@ -12,8 +12,6 @@
93 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
94 # GNU General Public License for more details.
95
96-AUTOMAKE_OPTIONS = ../lib/ansi2knr
97-
98 SUBDIRS = . tests
99
100 # $(includeopt) is CVS specific and set by configure
This page took 0.077446 seconds and 4 git commands to generate.