]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/aclocal.m4
Junk python-config CFLAGS more cleanly
[lilypond.git] / stepmake / aclocal.m4
index 9e386f392261244fb2fabc34c9ca44e76a170fb3..77074a62dca865b94151d27e0416a3fd02a9966e 100644 (file)
@@ -956,7 +956,7 @@ AC_DEFUN(STEPMAKE_PYTHON_DEVEL, [
     if test -z "$PYTHON_CFLAGS" -a "$PYTHON_CONFIG" != "no"; then
         # Clean out junk: http://bugs.python.org/issue3290
        # Python headers may need some -f* flags, leave them in.
-       PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags | sed -e 's/ -\(W\|D\|O\|m\)\(\w\|-\|=\)\+//g'`
+       PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags | sed -e 's/ -\(W\|D\|O\|m\)\(\w\|-\|=\|,\)\+//g'`
        PYTHON_LDFLAGS=`$PYTHON_CONFIG --ldflags`
     fi