summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b33902683..80606eb27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -640,7 +640,7 @@ AC_CHECK_LIB(dga, XDgaGrabDrawable, [
ac_have_sundga=yes
], )
], , "-L/usr/openwin/lib")
-CPPFLAGS="$saved_CFLAGS"
+CPPFLAGS="$saved_CPPFLAGS"
AM_CONDITIONAL(HAVE_SUNDGA, [test x"$ac_have_sundga" = "xyes"])
AC_SUBST(SUNDGA_CFLAGS)
AC_SUBST(SUNDGA_LIBS)