aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-10-09 17:33:09 +0200
committerMax Kellermann <max@duempel.org>2011-10-09 18:29:25 +0200
commit072f83b2409a3441207145794ba1cd7f4fd13f3a (patch)
tree8e9577e01e4d5de83b2a25077f770e513e9f0b7f /m4
parentcbd6770f2fedb0988f28e951994b50b65b4c0221 (diff)
downloadmpd-072f83b2409a3441207145794ba1cd7f4fd13f3a.tar.gz
mpd-072f83b2409a3441207145794ba1cd7f4fd13f3a.tar.xz
mpd-072f83b2409a3441207145794ba1cd7f4fd13f3a.zip
configure.ac: use $LIBS instead of $MPD_LIBS
Diffstat (limited to 'm4')
-rw-r--r--m4/faad.m48
-rw-r--r--m4/ucred.m42
2 files changed, 5 insertions, 5 deletions
diff --git a/m4/faad.m4 b/m4/faad.m4
index 8576b7d30..1048c566c 100644
--- a/m4/faad.m4
+++ b/m4/faad.m4
@@ -39,8 +39,8 @@ if test x$enable_aac = xyes; then
oldcflags=$CFLAGS
oldlibs=$LIBS
oldcppflags=$CPPFLAGS
- CFLAGS="$CFLAGS $MPD_CFLAGS $FAAD_CFLAGS -I."
- LIBS="$LIBS $MPD_LIBS $FAAD_LIBS"
+ CFLAGS="$CFLAGS $FAAD_CFLAGS -I."
+ LIBS="$LIBS $FAAD_LIBS"
CPPFLAGS=$CFLAGS
AC_CHECK_HEADER(faad.h,,enable_aac=no)
if test x$enable_aac = xyes; then
@@ -131,8 +131,8 @@ if test x$enable_aac = xyes; then
oldcflags=$CFLAGS
oldlibs=$LIBS
oldcppflags=$CPPFLAGS
- CFLAGS="$CFLAGS $MPD_CFLAGS $FAAD_CFLAGS -Werror"
- LIBS="$LIBS $MPD_LIBS $FAAD_LIBS"
+ CFLAGS="$CFLAGS $FAAD_CFLAGS -Werror"
+ LIBS="$LIBS $FAAD_LIBS"
CPPFLAGS=$CFLAGS
AC_MSG_CHECKING(for broken libfaad headers)
diff --git a/m4/ucred.m4 b/m4/ucred.m4
index 3a8245245..cdc6ea3b3 100644
--- a/m4/ucred.m4
+++ b/m4/ucred.m4
@@ -20,7 +20,7 @@ AC_DEFUN([STRUCT_UCRED],[
mpd_cv_have_struct_ucred=no)
if test x$mpd_cv_have_struct_ucred = xyes; then
# :(
- MPD_CFLAGS="$MPD_CFLAGS -D_GNU_SOURCE"
+ CFLAGS="$CFLAGS -D_GNU_SOURCE"
fi
fi
])