]> git.pld-linux.org Git - packages/dcd.git/commitdiff
- two very subtle bugs:
authorkloczek <kloczek@pld-linux.org>
Wed, 8 May 2002 07:20:27 +0000 (07:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
-AC_CHECK_FUNC(gethostbyname, [] AC_CHECK_LIB(nsl, gethostbyname))
+AC_CHECK_FUNC(gethostbyname, [], AC_CHECK_LIB(nsl, gethostbyname))
                                ^
missing this causes redundant linking with libnsl on Linux

-  AC_CHECK_LIB(pthread,main,,INCLUDEPTHREAD=0)                                                                                             +  AC_CHECK_LIB(pthread,main, [],INCLUDEPTHREAD=0)

This is fix for autconf 2.5x.

Changed files:
    dcd-ac_fixes.patch -> 1.1

dcd-ac_fixes.patch [new file with mode: 0644]

diff --git a/dcd-ac_fixes.patch b/dcd-ac_fixes.patch
new file mode 100644 (file)
index 0000000..05bd983
--- /dev/null
@@ -0,0 +1,20 @@
+--- dcd-0.0.2/configure.in~    Wed May  8 09:14:53 2002
++++ dcd-0.0.2/configure.in     Wed May  8 09:14:53 2002
+@@ -17,7 +17,7 @@
+   [ INCLUDEPTHREAD=1 ])
+ dnl Checks for libraries.
+-AC_CHECK_FUNC(gethostbyname, [] AC_CHECK_LIB(nsl, gethostbyname))
++AC_CHECK_FUNC(gethostbyname, [], AC_CHECK_LIB(nsl, gethostbyname))
+ AC_CHECK_FUNC(connect)
+ if test $ac_cv_func_connect = no; then
+       AC_CHECK_LIB(socket, connect)
+@@ -26,7 +26,7 @@
+ if test "$FREEBSD" = 1 -a "$INCLUDEPTHREAD"=1 ; then
+   LDFLAGS="$LDFLAGS -pthread"
+ elif test "$INCLUDEPTHREAD"=1 ; then
+-  AC_CHECK_LIB(pthread,main,,INCLUDEPTHREAD=0)
++  AC_CHECK_LIB(pthread,main, [],INCLUDEPTHREAD=0)
+   AC_DEFINE(HAVE_MITPTHREADS)
+ else
+       echo "********************************"
This page took 0.088084 seconds and 4 git commands to generate.