summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Sinclair <radarsat1@gmail.com>2016-01-24 14:46:58 -0300
committerStephen Sinclair <radarsat1@gmail.com>2016-01-24 14:46:58 -0300
commitaadd9737888eac663343519154bcf67e04518cd6 (patch)
treebc68f7979fd46d6df3e142930dd9f6a37f3209c2
parent1240b7f7f921119a6612b633521f5128064aa6c8 (diff)
Add some nice automake features if they are available.
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 138a7fd..a52ddb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,6 +5,10 @@ AC_CONFIG_SRCDIR(RtMidi.cpp)
AC_CONFIG_FILES([rtmidi-config librtmidi.pc Makefile tests/Makefile])
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
+# Enable some nice automake features if they are available
+m4_ifdef([AM_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
# Fill GXX with something before test.
AC_SUBST( GXX, ["no"] )
AC_SUBST(noinst_LIBRARIES)