From: Maarten Bosmans Date: Wed, 8 Jun 2011 15:24:55 +0000 (+0200) Subject: build-sys: Define PA_CFLAGS at right time X-Git-Tag: v0.99.1~70^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17082e7f3a4d71f8b076bd08dba0e1af20b38874;p=platform%2Fupstream%2Fpulseaudio.git build-sys: Define PA_CFLAGS at right time To ensure that all the changes to CFLAGS are also stored into PA_CFLAGS. --- diff --git a/configure.ac b/configure.ac index f5e2f5a..f667bb9 100644 --- a/configure.ac +++ b/configure.ac @@ -508,8 +508,6 @@ AS_IF([test "$pulseaudio_cv_PTHREAD_PRIO_INHERIT" = "yes"], [ AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], 1, [Have PTHREAD_PRIO_INHERIT.]) ]) -AC_DEFINE_UNQUOTED(PA_CFLAGS,"$CFLAGS", [The CFLAGS used during compilation]) - AC_CHECK_FUNCS([regexec], [HAVE_REGEX=1], [HAVE_REGEX=0]) AM_CONDITIONAL(HAVE_REGEX, [test "x$HAVE_REGEX" = "x1"]) @@ -1136,6 +1134,8 @@ fi # Output # ################################### +AC_DEFINE_UNQUOTED(PA_CFLAGS, "$CFLAGS", [The CFLAGS used during compilation]) + AC_ARG_ENABLE([legacy-runtime-dir], AS_HELP_STRING([--disable-legacy-runtime-dir], [Try to connect on legacy (< 0.9.12) socket paths.])) if test "x$enable_legacy_runtime_dir" != "xno" ; then