[pulseaudio-discuss] [PATCH 04/10] build-sys: Define PA_CFLAGS at right time
Maarten Bosmans
mkbosmans at gmail.com
Tue Jun 21 07:01:48 PDT 2011
To ensure that all the changes to CFLAGS are also stored into PA_CFLAGS.
---
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
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
--
1.7.4.1
More information about the pulseaudio-discuss
mailing list