mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user