[gs-cvs] rev 8316 - trunk/gs/src
giles at ghostscript.com
giles at ghostscript.com
Wed Oct 24 15:46:25 PDT 2007
Author: giles
Date: 2007-10-24 15:46:25 -0700 (Wed, 24 Oct 2007)
New Revision: 8316
Modified:
trunk/gs/src/configure.ac
Log:
Only add XLDFLAGS to LDFLAGS temporarily when checking for the
additional X libraries. Bug 689411.
Modified: trunk/gs/src/configure.ac
===================================================================
--- trunk/gs/src/configure.ac 2007-10-24 18:39:55 UTC (rev 8315)
+++ trunk/gs/src/configure.ac 2007-10-24 22:46:25 UTC (rev 8316)
@@ -616,7 +616,6 @@
x_libraries="NONE"
fi
if test ! "$x_libraries" = "NONE" -a ! "$x_libraries" = ""; then
- LDFLAGS="-L$x_libraries $LDFLAGS"
X_LDFLAGS="-L$x_libraries"
if test "$uname" = "SunOS"; then
X_LDFLAGS="$X_LDFLAGS -R$x_libraries"
@@ -632,11 +631,14 @@
fi
SAVELIBS="$LIBS"
+ SAVELDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $X_LDFLAGS"
AC_CHECK_LIB(X11,XOpenDisplay)
AC_CHECK_LIB(Xext,XdbeQueryExtension)
AC_CHECK_LIB(Xt,XtAppCreateShell)
+ LDFLAGS="$SAVELDFLAGS"
LIBS="$SAVELIBS"
if test "$ac_cv_lib_Xt_XtAppCreateShell" = yes; then
More information about the gs-cvs
mailing list