]> git.pld-linux.org Git - packages/fping.git/blame - fping-ac_fixes.patch
- perl -pi -e "s/^automake -a -c$/automake -a -c -f/"
[packages/fping.git] / fping-ac_fixes.patch
CommitLineData
7a3e39be 1--- fping-2.4b2/configure.in~ Tue Jan 8 22:58:53 2002
2+++ fping-2.4b2/configure.in Tue Jan 8 22:58:53 2002
3@@ -1,11 +1,7 @@
4 dnl Process this file with autoconf to produce a configure script.
5 AC_INIT(fping.c)
6-AC_CONFIG_HEADER(config.h)
7-VERSION=2.4b1
8-PACKAGE=fping
9-AC_SUBST(PACKAGE)
10-AC_SUBST(VERSION)
11-AC_DEFINE_UNQUOTED(VERSION,"$VERSION")
12+AM_INIT_AUTOMAKE(fping,fping)
13+AM_CONFIG_HEADER(config.h)
14
15 dnl Checks for programs.
16
17@@ -16,10 +12,7 @@
18
19 dnl Checks for libraries.
20
21-AC_CHECK_FUNC(gethostbyname)
22-if test $ac_cv_func_gethostbyname = no; then
23- AC_CHECK_LIB(nsl, gethostbyname)
24-fi
25+AC_CHECK_FUNC(gethostbyname, [] AC_CHECK_LIB(nsl, gethostbyname))
26 AC_CHECK_FUNC(connect)
27 if test $ac_cv_func_connect = no; then
28 AC_CHECK_LIB(socket, connect)
29@@ -28,4 +21,4 @@
30 dnl Checks for header files.
31 AC_CHECK_HEADERS(unistd.h sys/file.h stdlib.h sys/select.h)
32
33-AC_OUTPUT(Makefile)
34+AC_OUTPUT([Makefile])
This page took 0.174979 seconds and 4 git commands to generate.