From 75ce327ab8f8ca98c33d9bbe710f057f1ed11446 Mon Sep 17 00:00:00 2001 From: Robin KAY Date: Thu, 29 Apr 2004 19:58:28 +0000 Subject: Test for libdga needs to specifiy the library path. CVS patchset: 6461 CVS date: 2004/04/29 19:58:28 --- configure.ac | 7 +++---- 1 file 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) -- cgit v1.2.3