Package: daemonlogger
Version: 1.2.1-5  
Priority: normal
Tags: patch

While reviewing your changes to the daemonlogger code I've found that your
changes to introduce the dubmnet library where not fully complete. The
configure.in file has not been changed to get the LDFLAGS and CFLAGS used
by the libdumbnet library.

The attached patch fixes this issue while at the same time slightly improving
the error message of the configure script for when the libdumbnet library
is not found.

Please consider the patch for your next upload.


Regards


Javier Fernandez-Sanguino
diff -Nru daemonlogger-1.2.1.orig/configure.in daemonlogger-1.2.1/configure.in
--- daemonlogger-1.2.1.orig/configure.in	2011-01-02 02:34:13.549783901 +0100
+++ daemonlogger-1.2.1/configure.in	2011-01-02 02:54:29.829358511 +0100
@@ -131,11 +131,11 @@
 AC_TYPE_SIZE_T
 AC_PROG_GCC_TRADITIONAL
 if test "$GCC" = yes ; then
-    CFLAGS="$CFLAGS"
+    CFLAGS="$CFLAGS -g -O0 -Wall"
 fi
 
-LDFLAGS="${LDFLAGS} `dnet-config --libs`"
-CFLAGS="${CFLAGS} `dnet-config --cflags`"
+LDFLAGS="${LDFLAGS} `dumbnet-config --libs`"
+CFLAGS="${CFLAGS} `dumbnet-config --cflags`"
 LDNET=""
 AC_CHECK_LIB(dumbnet, intf_open,, LDNET="no")
 echo "LDFLAGS set to $LDFLAGS"
@@ -143,8 +143,9 @@
 
 if test "$LDNET" = "no"; then
    echo
-   echo "   ERROR!  Libdnet library/headers not found, go get it from"
+   echo "   ERROR!  Libdumbnet library/headers not found, go get it from"
    echo "   http://libdnet.sourceforge.net";
+   echo "   (in Debian systems, install the libdumbnet-dev package)"
    exit
 fi
 

Attachment: signature.asc
Description: Digital signature

Reply via email to