diff options
-rw-r--r-- | configure.ac | 7 |
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) |