Author: biurrun Date: Thu Oct 29 15:48:45 2009 New Revision: 1413 Log: Move config.h to the top level. This is the canonical place for such header files. Modified: trunk/ (props changed) trunk/configure.ac trunk/include/ (props changed) Modified: trunk/configure.ac ============================================================================== --- trunk/configure.ac Thu Oct 29 15:39:08 2009 (r1412) +++ trunk/configure.ac Thu Oct 29 15:48:45 2009 (r1413) @@ -11,7 +11,7 @@ AC_INIT(pisa, [PISA_VERSION], pisa@xxxxxxxxxxxxx) AC_CONFIG_AUX_DIR(config) -AC_CONFIG_HEADERS([include/config.h]) +AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_MACRO_DIR([m4]) @@ -151,7 +151,7 @@ AC_SUBST(sysconfdir, ${sysconfdir}/pisa) # Set default CFLAGS for the complete project. -AC_SUBST(CFLAGS, "$CFLAGS -g -O2 -Wall") +AC_SUBST(CFLAGS, "$CFLAGS -g -O2 -Wall -Iinclude -I../include") # This is needed to export the _expanded_ value of the variable to config.h. AC_DEFINE_UNQUOTED(PISA_SYSCONFDIR, "$(eval echo $sysconfdir)")