From 24ff328c9ce7255dc6f7ff2d3496003f9382c8c3 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Wed, 9 Sep 2020 15:43:17 -0700 Subject: 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') 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 -- cgit v1.2.3