From a154d88d889a40dc8fd5641aa0d2458d777c4c5a Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Sun, 15 Feb 2009 20:41:13 +0000 Subject: + finished centralization of build logic svn path=/trunk/externals/moocow/; revision=10779 --- hello/configure.ac | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'hello') diff --git a/hello/configure.ac b/hello/configure.ac index fe3ffb0..427e3a7 100644 --- a/hello/configure.ac +++ b/hello/configure.ac @@ -4,7 +4,7 @@ AC_PREREQ(2.5) ##-- Some handy macros define([THE_PACKAGE_NAME], [hello]) -define([THE_PACKAGE_VERSION], [0.01]) +define([THE_PACKAGE_VERSION], [0.01-1]) define([THE_PACKAGE_AUTHOR], [moocow@ling.uni-potsdam.de]) AC_INIT(THE_PACKAGE_NAME, THE_PACKAGE_VERSION, THE_PACKAGE_AUTHOR) @@ -13,8 +13,8 @@ AC_INIT(THE_PACKAGE_NAME, THE_PACKAGE_VERSION, THE_PACKAGE_AUTHOR) AC_CONFIG_MACRO_DIR(m4) ##-- source & aux -dnl AC_CONFIG_AUX_DIR(config) AC_CONFIG_AUX_DIR(.) +dnl AC_CONFIG_AUX_DIR(config) ##-- save user's CFLAGS,CPPFLAGS UCPPFLAGS="$CPPFLAGS" @@ -24,6 +24,7 @@ ULDFLAGS="$LDFLAGS" ##-- use automake, autoheader AM_INIT_AUTOMAKE(THE_PACKAGE_NAME, THE_PACKAGE_VERSION) AM_CONFIG_HEADER(config.h) +dnl AM_CONFIG_HEADER(src/config.h) ##-- Default prefix AC_PREFIX_DEFAULT(/usr/local) @@ -42,7 +43,7 @@ dnl -----/maintainer mode dnl AC_ISC_POSIX ##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv -## Pd external checks +## Pd external common AX_PD_EXTERNAL ## /pd external common ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -53,6 +54,14 @@ AC_MSG_NOTICE([performing local configuration actions]) ## /local: headers ##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +##vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv +## Local: debug +if test "$enable_debug" = "yes"; then + AC_DEFINE(LOCAL_DEBUG,1,[Define this to enable local debugging]) +fi +## /local: debug +##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + ##-- local: restore user's CFLAGS (now done by AX_PD_EXTERNAL) #CFLAGS="$UCFLAGS" #CPPFLAGS="$UCPPFLAGS" -- cgit v1.2.1