configure.ac: pass AM_CXXFLAGS, AM_CPPFLAGS to Makefile.am
This commit is contained in:
parent
2ed870c854
commit
d8c829fa0c
@ -1,7 +1,7 @@
|
|||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
AUTOMAKE_OPTIONS = foreign 1.10 dist-bzip2 subdir-objects
|
AUTOMAKE_OPTIONS = foreign 1.10 dist-bzip2 subdir-objects
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(srcdir)/src $(GLIB_CFLAGS)
|
AM_CPPFLAGS += -I$(srcdir)/src $(GLIB_CFLAGS)
|
||||||
|
|
||||||
AM_CPPFLAGS += -DSYSTEM_CONFIG_FILE_LOCATION='"$(sysconfdir)/mpd.conf"'
|
AM_CPPFLAGS += -DSYSTEM_CONFIG_FILE_LOCATION='"$(sysconfdir)/mpd.conf"'
|
||||||
|
|
||||||
|
@ -37,7 +37,9 @@ PKG_PROG_PKG_CONFIG
|
|||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
dnl Declare Variables
|
dnl Declare Variables
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
|
AC_SUBST(AM_CPPFLAGS,"")
|
||||||
AC_SUBST(AM_CFLAGS,"")
|
AC_SUBST(AM_CFLAGS,"")
|
||||||
|
AC_SUBST(AM_CXXFLAGS,"")
|
||||||
|
|
||||||
AC_SUBST(MPD_LIBS)
|
AC_SUBST(MPD_LIBS)
|
||||||
AC_SUBST(MPD_CFLAGS)
|
AC_SUBST(MPD_CFLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user