LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File wmfire-0.0.3.9pre4-configure_fix.diff of Package WindowMaker-applets (Project home:Andreas_Schwab:Factory)

Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -9,7 +9,9 @@ AC_PROG_CC
 
 dnl Checks for libraries.
 AC_PATH_X
-X11LIBS="-L$x_libraries -I$x_includes -lX11 -lXpm -lXext"
+X11LIBS="-lX11 -lXpm -lXext"
+test -n "$x_libraries" && X11LIBS="-L$x_libraries $X11LIBS"
+test -n "$x_includes" && X11LIBS="-I$x_includes $X11LIBS"
 AC_SUBST(X11LIBS)
 AC_MSG_CHECKING([to see if we can use X])
 AC_TRY_LINK([#include <X11/Xlib.h>],,AC_MSG_RESULT([yes]),AC_MSG_RESULT([uh.. no]); exit 1)