Package: wmmail Version: 0.64-13 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jaunty ubuntu-patch
Hi, If there is no special -I flag needed to compile against the X headers then the current configure script puts a bare "-I" in, which eats the next argument, and will then cause a build failure. Attached is a patch to only insert a -I if there is a path to insert afterwards, which fixes this error. Please consider applying it. Thanks, James
diff -u wmmail-0.64/configure wmmail-0.64/configure --- wmmail-0.64/configure +++ wmmail-0.64/configure @@ -1614,11 +1614,15 @@ 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 diff -u wmmail-0.64/configure.in wmmail-0.64/configure.in --- wmmail-0.64/configure.in +++ wmmail-0.64/configure.in @@ -56,11 +56,15 @@ 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