configure.ac: fix LASH detection
authorPaul Brossier <piem@piem.org>
Wed, 2 Jun 2010 22:43:27 +0000 (00:43 +0200)
committerPaul Brossier <piem@piem.org>
Wed, 2 Jun 2010 22:43:27 +0000 (00:43 +0200)
configure.ac

index e98a23408c5b3119df284b68830e018bd87326e9..037b27d5b1e4ffac9c0b282c119992a23c9bd19c 100644 (file)
@@ -219,7 +219,7 @@ if test "$with_lash" = "yes"
 then
   PKG_CHECK_MODULES(LASH,   lash-1.0 >= 0.5.0,   HAVE_LASH=1, HAVE_LASH=0)
   if test "${HAVE_LASH}" = "1"; then
-    LASH_CFLAGS+="-DHAVE_LASH"
+    AC_DEFINE(HAVE_LASH,1,[Define to enable lash support])
   fi
 fi