summaryrefslogtreecommitdiff
path: root/tools/m4/base.m4
diff options
context:
space:
mode:
authorCedric Gustin <cgustin@ibelgique.com>2003-03-14 22:46:08 +0000
committerMurray Cumming <murrayc@src.gnome.org>2003-03-14 22:46:08 +0000
commita380e957c44c2d7999677ed51baf2b9656920f31 (patch)
treea7d27e833e74db0808120cea5c79679137648528 /tools/m4/base.m4
parent09ddcf26ef99245252675752410b113235c80e3f (diff)
downloadglibmm-a380e957c44c2d7999677ed51baf2b9656920f31.tar.gz
Removed libstdc++ in LDFLAGS on win32. Latest libtool is taking care of
2003-03-04 Cedric Gustin <cgustin@ibelgique.com> * configure.in : Removed libstdc++ in LDFLAGS on win32. Latest libtool is taking care of it. * build_shared/Makefile_build.am_fragment, tools/extra_defs_gen/Makefile.am : Added --export-all-symbols linker flag on win32 (required by latest libtool to build DLLs). * build_shared/Makefile_gensrc.am_fragment : Modifiy rule that builds wrap_init.cc. wrap_init.cc now contains reference to all objects, event on win32. #ifdefs are included when needed. * README.win32 : updated for version 2.2. Added list of missing methods and signals on win32 * tools/m4/base.m4 : Added _GTKMMPROC_SIGNAL_H_AND_CC macro.
Diffstat (limited to 'tools/m4/base.m4')
-rw-r--r--tools/m4/base.m436
1 files changed, 35 insertions, 1 deletions
diff --git a/tools/m4/base.m4 b/tools/m4/base.m4
index 5f56965b..b0ef6be3 100644
--- a/tools/m4/base.m4
+++ b/tools/m4/base.m4
@@ -321,7 +321,9 @@ _POP()
define(`_PINCLUDE', defn(`_PH_INCLUDE'))
-# Put these, for instance, around gtkmmproc macros to make the #ifndef appear around the generated code in both the .h and .cc files.
+# Put these, for instance, around gtkmmproc macros (_WRAP_SIGNAL)
+# to make the #ifndef appear around the generated code in both the .h
+# and .cc files.
# e.g. _GTKMMPROC_H_AND_CC(#ifndef _SUN_CC_)
# e.g. _GTKMMPROC_H_AND_CC(#endif //_SUN_CC_)
# _GTKMMPROC_H_AND_CC(code)
@@ -333,6 +335,38 @@ $1
_POP()
')dnl
+# Same thing as _GTKMMPROC_H_AND_CC but for signals (_WRAP_SIGNAL)
+define(`_GTKMMPROC_SIGNAL_H_AND_CC',`dnl
+$1
+_PUSH(SECTION_ANONYMOUS_NAMESPACE)
+$1
+_POP()
+
+$1
+_PUSH(SECTION_H_DEFAULT_SIGNAL_HANDLERS)
+$1
+_POP()
+
+$1
+_PUSH(SECTION_PCC_CLASS_INIT_DEFAULT_SIGNAL_HANDLERS)
+$1
+_POP()
+
+$1
+_PUSH(SECTION_CC_DEFAULT_SIGNAL_HANDLERS)
+$1
+_POP()
+
+$1
+_PUSH(SECTION_PCC_DEFAULT_SIGNAL_HANDLERS)
+$1
+_POP()
+
+$1
+_PUSH(SECTION_CC_SIGNALPROXIES)
+$1
+_POP()
+')dnl
m4_include(class_shared.m4)
m4_include(class_generic.m4)