aboutsummaryrefslogtreecommitdiff
path: root/libcommon/common/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-12-13 11:38:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-12-13 11:38:49 +0200
commit3fd22b7b86ebad8fbd4b66da3d63e6d9c1ca829c (patch)
treeebd661aba341b0d478cb3e359665ccb4bba6a81a /libcommon/common/makefile
parentb0badbfd0fdbbadef588a2b518cbfb49f34bf9fd (diff)
Detect TR1 <memory> availability
Also use the wrapper header from libodb.
Diffstat (limited to 'libcommon/common/makefile')
-rw-r--r--libcommon/common/makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/libcommon/common/makefile b/libcommon/common/makefile
index c9ecdaf..6259e69 100644
--- a/libcommon/common/makefile
+++ b/libcommon/common/makefile
@@ -42,8 +42,9 @@ $(common.l.cpp-options): value := -I$(out_root)/libcommon -I$(src_root)/libcommo
$(common.l.cpp-options): $(odb_db.l.cpp-options) $(odb.l.cpp-options)
$(out_base)/config.h: $(dcf_root)/configuration-dynamic.make
- @echo '// file : libcommon/config.h' >$@
- @echo '// author : automatically generated' >>$@
+ @echo '/* file : libcommon/common/config.h' >$@
+ @echo ' * author : automatically generated' >>$@
+ @echo ' */' >>$@
@echo '' >>$@
@echo '#ifndef LIBCOMMON_COMMON_CONFIG_H' >>$@
@echo '#define LIBCOMMON_COMMON_CONFIG_H' >>$@
@@ -51,8 +52,9 @@ $(out_base)/config.h: $(dcf_root)/configuration-dynamic.make
ifeq ($(db_id),mysql)
@echo '#define DATABASE_MYSQL 1' >>$@
endif
+ @echo '#define HAVE_TR1_MEMORY 1' >>$@
@echo '' >>$@
- @echo '#endif // LIBCOMMON_COMMON_CONFIG_H' >>$@
+ @echo '#endif /* LIBCOMMON_COMMON_CONFIG_H */' >>$@
$(call include-dep,$(cxx_od),$(cxx_obj),$(out_base)/config.h)