Check for the X extention libraries (Xext, Xt, Xmu) using pkg-config if they aren't found with the default test

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@32557 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2011-03-13 21:18:20 +00:00
parent 8913452ffc
commit a7cb5ca55e
3 changed files with 2113 additions and 4837 deletions

View file

@ -1,3 +1,8 @@
2011-03-13 Eric Wasylishen <ewasylishen@gmail.com>
* configure.ac: Check for the X extention libraries (Xext, Xt, Xmu)
using pkg-config if they aren't found with the default test
2011-03-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/win32/WIN32Server.m,

6933
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -138,8 +138,20 @@ if test $set_x_paths = yes; then
LIBS="-lX11 $X_EXTRA_LIBS $LIBS"
AC_CHECK_LIB(Xext, main)
if test "$HAVE_LIBXext" = no; then
PKG_CHECK_MODULES([XEXT], [xext])
fi
AC_CHECK_LIB(Xt, main)
if test "$HAVE_LIBXt" = no; then
PKG_CHECK_MODULES([XT], [xt])
fi
AC_CHECK_LIB(Xmu, main)
if test "$HAVE_LIBXmu" = no; then
PKG_CHECK_MODULES([XMU], [xmu])
fi
LIBS="$X_LIBS $LIBS"
fi
AC_SUBST(X_PRE_LIBS)