summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-09-09 15:43:17 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-09-09 15:43:49 -0700
commit24ff328c9ce7255dc6f7ff2d3496003f9382c8c3 (patch)
tree1dc0ca3e2ae16977bd7d7feca63ac6316b703fde /configure.ac
parentd764b1de47b36f43c3eb2983cbf395e5f8ff5d74 (diff)
configure: utilize config.h
Prep for conditional audio/music support, having automake-generated Makefiles which rebuild on configuration changes naturally occurs when the compilation units include config.h. It's unclear to me how to do this simply when the configuration only affects the generated Makefiles, since automake doens't seem to add a dependency on the Makefile for some reason.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 22cabbd..3855060 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,7 @@
AC_INIT([libplay], [1.0], [vcaputo@pengaru.com])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CC
+AC_CONFIG_HEADERS([config.h])
AM_PROG_CC_C_O
AM_PROG_AR
AC_PROG_RANLIB
© All Rights Reserved