[Libreoffice-commits] .: configure.in
Thomas Klausner
tklausner at kemper.freedesktop.org
Fri Dec 3 07:00:37 PST 2010
configure.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 111021edf2614e5ebe89016a4e5afedef1595cef
Author: Thomas Klausner <wiz at NetBSD.org>
Date: Fri Dec 3 16:00:13 2010 +0100
Don't override CFLAGS nor LDFLAGS, just append to them.
Ok mmeeks@
diff --git a/configure.in b/configure.in
index 7fd6ad9..a813fb2 100644
--- a/configure.in
+++ b/configure.in
@@ -5558,8 +5558,8 @@ elif test "$_os" != "WINNT" ; then
if test -z "$x_includes"; then
AC_MSG_ERROR([No X includes found]) # Exit
fi
- CFLAGS=$X_CFLAGS
- LDFLAGS="$X_LDFLAGS $X_LIBS"
+ CFLAGS="$CFLAGS $X_CFLAGS"
+ LDFLAGS="$LDFLAGS $X_LDFLAGS $X_LIBS"
AC_CHECK_LIB(X11, XOpenDisplay, x_libs="-lX11 $X_EXTRA_LIBS", [AC_MSG_ERROR([X Development libraries not found])])
dnl Check if the XauDisposeAuth symbol is provided by libXau.
AC_CHECK_LIB(Xau, XauDisposeAuth, XAU_LIBS="-lXau", [])
More information about the Libreoffice-commits
mailing list