mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-22 19:31:19 +00:00
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:
parent
8913452ffc
commit
a7cb5ca55e
3 changed files with 2113 additions and 4837 deletions
|
@ -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,
|
||||
|
|
12
configure.ac
12
configure.ac
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue