alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [alsa-utils PATCH 1/3] Add missing call to AM_PROG_CC_C_O.
@ 2011-01-20 15:02 Diego Elio Pettenò
  2011-01-20 15:02 ` [alsa-utils PATCH 2/3] Pass -D_GNU_SOURCE together with INCLUDES (for the preprocessor) Diego Elio Pettenò
  2011-01-20 15:02 ` [alsa-utils PATCH 3/3] Fix xmlto detection, allow building without xmlto installed Diego Elio Pettenò
  0 siblings, 2 replies; 3+ messages in thread
From: Diego Elio Pettenò @ 2011-01-20 15:02 UTC (permalink / raw)
  To: alsa-devel

Resolves this warning when rebuilding autotools:

alsactl/Makefile.am:10: compiling `alsactl.c' with per-target flags
requires `AM_PROG_CC_C_O' in `configure.in'
---
 configure.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.in b/configure.in
index 561ca46..6892fbf 100644
--- a/configure.in
+++ b/configure.in
@@ -24,6 +24,7 @@ then
 fi
 
 AC_PROG_CC
+AM_PROG_CC_C_O
 dnl AC_PROG_CXX
 AC_PROG_INSTALL
 AC_PROG_MKDIR_P
-- 
1.7.4.rc2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [alsa-utils PATCH 2/3] Pass -D_GNU_SOURCE together with INCLUDES (for the preprocessor).
  2011-01-20 15:02 [alsa-utils PATCH 1/3] Add missing call to AM_PROG_CC_C_O Diego Elio Pettenò
@ 2011-01-20 15:02 ` Diego Elio Pettenò
  2011-01-20 15:02 ` [alsa-utils PATCH 3/3] Fix xmlto detection, allow building without xmlto installed Diego Elio Pettenò
  1 sibling, 0 replies; 3+ messages in thread
From: Diego Elio Pettenò @ 2011-01-20 15:02 UTC (permalink / raw)
  To: alsa-devel

This removes this warning when rebuilding autotools:

alsaloop/Makefile.am:3: `CFLAGS' is a user variable, you should not
override it;
alsaloop/Makefile.am:3: use `AM_CFLAGS' instead.
---
 alsaloop/Makefile.am |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/alsaloop/Makefile.am b/alsaloop/Makefile.am
index f76eafd..840448f 100644
--- a/alsaloop/Makefile.am
+++ b/alsaloop/Makefile.am
@@ -1,6 +1,5 @@
-INCLUDES = -I$(top_srcdir)/include
+INCLUDES = -I$(top_srcdir)/include -D_GNU_SOURCE
 LDADD = -lm
-CFLAGS += -D_GNU_SOURCE
 if HAVE_SAMPLERATE
 LDADD += -lsamplerate
 endif
-- 
1.7.4.rc2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [alsa-utils PATCH 3/3] Fix xmlto detection, allow building without xmlto installed.
  2011-01-20 15:02 [alsa-utils PATCH 1/3] Add missing call to AM_PROG_CC_C_O Diego Elio Pettenò
  2011-01-20 15:02 ` [alsa-utils PATCH 2/3] Pass -D_GNU_SOURCE together with INCLUDES (for the preprocessor) Diego Elio Pettenò
@ 2011-01-20 15:02 ` Diego Elio Pettenò
  1 sibling, 0 replies; 3+ messages in thread
From: Diego Elio Pettenò @ 2011-01-20 15:02 UTC (permalink / raw)
  To: alsa-devel

---
 configure.in |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/configure.in b/configure.in
index 6892fbf..51e7d63 100644
--- a/configure.in
+++ b/configure.in
@@ -102,11 +102,9 @@ AC_ARG_ENABLE(alsaloop,
      esac],[alsaloop=true])
 AM_CONDITIONAL(ALSALOOP, test x$alsaloop = xtrue)
 
-xmlto=""
 AC_ARG_ENABLE(xmlto,
- AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]),
- xmlto="$enableval", xmlto="yes")
-if test "$xmlto" = "yes"; then
+ AS_HELP_STRING([--disable-xmlto], [Disable man page creation via xmlto]))
+if test "x$enable_xmlto" != "xno"; then
   AC_CHECK_PROG([xmlto], [xmlto], [yes])
 fi
 AM_CONDITIONAL(USE_XMLTO, test x"$xmlto" = xyes)
-- 
1.7.4.rc2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-20 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20 15:02 [alsa-utils PATCH 1/3] Add missing call to AM_PROG_CC_C_O Diego Elio Pettenò
2011-01-20 15:02 ` [alsa-utils PATCH 2/3] Pass -D_GNU_SOURCE together with INCLUDES (for the preprocessor) Diego Elio Pettenò
2011-01-20 15:02 ` [alsa-utils PATCH 3/3] Fix xmlto detection, allow building without xmlto installed Diego Elio Pettenò

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).