]> git.pld-linux.org Git - packages/ekg2.git/commitdiff
- kill unwanted linking
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 Oct 2004 09:25:36 +0000 (09:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ekg2-nolibs.patch -> 1.1

ekg2-nolibs.patch [new file with mode: 0644]

diff --git a/ekg2-nolibs.patch b/ekg2-nolibs.patch
new file mode 100644 (file)
index 0000000..81518e0
--- /dev/null
@@ -0,0 +1,17 @@
+--- ekg2-20041006/configure.ac.orig    2004-10-06 22:17:31.000000000 +0200
++++ ekg2-20041006/configure.ac 2004-10-17 10:47:37.859548023 +0200
+@@ -33,11 +33,11 @@
+ AC_NEED_STDINT_H
+ dnl  SunOS
+-AC_CHECK_LIB(nsl, t_accept, LIBS="$LIBS -lnsl")
+-AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket")
++AC_CHECK_FUNC(gethostbyname, [], [AC_CHECK_LIB(nsl, gethostbyname, LIBS="$LIBS -lnsl")])
++AC_CHECK_FUNC(socket, [], [AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket")])
+ dnl  BeOS
+-AC_CHECK_LIB(bind, __inet_addr, LIBS="$LIBS -lbind")
++AC_CHECK_FUNC(inet_addr, [], [AC_CHECK_LIB(bind, __inet_addr, LIBS="$LIBS -lbind")])
+ dnl  sprawdzamy, czy system ma getopt_long
+ AC_CHECK_FUNC(getopt_long, , [COMPAT="$COMPAT getopt.o getopt1.o"])
This page took 0.034108 seconds and 4 git commands to generate.