Package: wmmail
Version: 0.64-13.2
Severity: normal
Tags: patch
Justification: Policy 9.3.2
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch

Hi,

in Ubuntu we applied the following change:

- Don't try and compile with a bare "-I" and "-L" when the X
  headers/libraries are in the usual place. Fixes build failure
  due to the empty -I eating the next argument to gcc.

And we think you might be interested in applying it too. Attaching the
patch.
--- wmmail-0.64.orig/configure.in
+++ wmmail-0.64/configure.in
@@ -56,11 +56,15 @@ dnl
 AC_PATH_X

 if test "$x_includes" != "NONE"; then
+    if test "$x_includes" != ""; then
         CFLAGS="$CFLAGS -I$x_includes"
+    fi
 fi

 if test "$x_libraries" != "NONE"; then
+    if test "$x_libraries" != ""; then
         LDFLAGS="$LDFLAGS -L$x_libraries"
+    fi
 fi


--- wmmail-0.64.orig/configure
+++ wmmail-0.64/configure
@@ -1614,11 +1614,15 @@ fi


 if test "$x_includes" != "NONE"; then
+    if test "$x_includes" != ""; then
         CFLAGS="$CFLAGS -I$x_includes"
+    fi
 fi

 if test "$x_libraries" != "NONE"; then
+    if test "$x_libraries" != ""; then
         LDFLAGS="$LDFLAGS -L$x_libraries"
+    fi
 fi

Reply via email to