ref: 494f7e042774e19e456d9466e7c2f2b6ca59cd84
parent: 7991f2a05c72aea00be77cd8b11713944a7fe2b0
author: rrt <rrt>
date: Fri Jan 5 20:05:10 EST 2007
Add --enable-silent-libtool
--- a/configure.ac
+++ b/configure.ac
@@ -62,6 +62,13 @@
AC_SYS_LARGEFILE
AC_FUNC_FSEEKO
+dnl Allow libtool to be silenced
+AC_ARG_ENABLE(silent-libtool,
+ AC_HELP_STRING([--enable-silent-libtool],
+ [Pass --silent to libtool.]),
+ LIBTOOLFLAGS=--silent)
+AC_SUBST(LIBTOOLFLAGS)
+
dnl Check for ALSA audio
AC_CHECK_HEADERS(alsa/asoundlib.h,
[with_alsa=yes
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,6 +5,9 @@
AM_CFLAGS = $(LUA_INCLUDES)
AM_LDFLAGS = @SAMPLERATE_LIBS@
+# Pass flags from --enable-silent-libtool
+LIBTOOL = @LIBTOOL@ @LIBTOOLFLAGS@
+
bin_PROGRAMS = sox
bin_SCRIPTS = play libst-config
lib_LTLIBRARIES = libst.la