summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin KAY <komadori@users.sourceforge.net>2004-04-29 19:58:28 +0000
committerRobin KAY <komadori@users.sourceforge.net>2004-04-29 19:58:28 +0000
commit75ce327ab8f8ca98c33d9bbe710f057f1ed11446 (patch)
tree53fe0cadd89f27e433a84a687967dde6b0803f7f
parentd26e8dc7d452ce5a3cd56a0bacc92e28500c5091 (diff)
downloadxine-lib-75ce327ab8f8ca98c33d9bbe710f057f1ed11446.tar.gz
xine-lib-75ce327ab8f8ca98c33d9bbe710f057f1ed11446.tar.bz2
Test for libdga needs to specifiy the library path.
CVS patchset: 6461 CVS date: 2004/04/29 19:58:28
-rw-r--r--configure.ac7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index cf3ebab0f..98d50652e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -620,11 +620,10 @@ CPPFLAGS="$CPPFLAGS -I/usr/openwin/include"
AC_CHECK_LIB(dga, XDgaGrabDrawable, [
AC_CHECK_HEADER(dga/dga.h, [
SUNDGA_CFLAGS="-I/usr/openwin/include"
- SUNDGA_LIBS="-ldga"
+ SUNDGA_LIBS="-L/usr/openwin/lib -ldga"
ac_have_sundga=yes
- ],
- )
-],)
+ ], )
+], , "-L/usr/openwin/lib")
CPPFLAGS="$saved_CFLAGS"
AM_CONDITIONAL(HAVE_SUNDGA, [test x"$ac_have_sundga" = "xyes"])
AC_SUBST(SUNDGA_CFLAGS)