Add checks for efltk

Small modification in pkg.m4 so returned variables does not have ending spaces
s/DEBUG/DEBUG_PCRE in pcre.c so it does not gets included when ede is compiled with
debug flags
This commit is contained in:
Sanel Zukan
2009-01-14 15:10:47 +00:00
parent 01268a951b
commit dec8dc3c4e
4 changed files with 41 additions and 9 deletions

View File

@@ -1,4 +1,7 @@
dnl
dnl A small modification to remove ending spaces (sz)
dnl
dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)
dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page
dnl also defines GSTUFF_PKG_ERRORS on error
@@ -41,6 +44,10 @@ AC_DEFUN(PKG_CHECK_MODULES, [
ifelse([$4], ,echo $$1_PKG_ERRORS,)
fi
dnl remove ending spaces so jam variables could be accessed nicely
$1_CFLAGS=`echo $$1_CFLAGS | sed 's/[ ]*$//g'`
$1_LIBS=`echo $$1_LIBS | sed 's/[ ]*$//g'`
AC_SUBST($1_CFLAGS)
AC_SUBST($1_LIBS)
else