Some stackchecking fixes
[gnokii.git] / acconfig.h
index a5dae23..590cc87 100644 (file)
 
 */
 
-/* DO NOT EDIT MANUALLY !!! */
-
 #ifndef __CONFIG_H__
 #define __CONFIG_H__
 
-#define VERSION    "@VERSION@"
-#define XVERSION   "@XVERSION@"
-#define XGNOKIIDIR "@XGNOKIIDIR@/@XPACKAGE@"
+@TOP@
+
 
 /* Define if you have timersub() */
 #undef HAVE_TIMEOPS
 /* Define if you compile for M$ Windows */
 #undef WIN32
 
+/* Missing symbols */
+#undef VERSION
+#undef XVERSION
+#undef DEBUG
+#undef HAVE_CFSETISPEED
+#undef HAVE_CFSETOSPEED
+#undef HAVE_CFSETSPEED
+#undef HAVE_LIBINTL
+#undef HAVE_LIBINTL_H
+#undef HAVE_TERMIOS_CSPEED
+#undef HAVE_TIMEOPS
+#undef HAVE_TM_GMTON
+#undef RLP_DEBUG
+#undef SECURITY
+#undef USE_NLS
+#undef USE_UNIX98PTYS
+#undef WIN32
+#undef XDEBUG
+#undef XPM
+#undef CONFIG_CFG_INITLENGTH
+#undef CONFIG_CFG_MODEL
+#undef CONFIG_CFG_PORT
+
+
+@BOTTOM@
+
+#include "uccompat.h"
+
+#ifdef STACKCHECK
+extern void live_check(const char *file,int line,int alloc);
+extern void live_disable(int how);
+#define LIVE live_check(__FILE__,__LINE__,-1)
+#define LIVE_ALLOC(n) live_check(__FILE__,__LINE__,(n))
+#define LIVE_DISABLE live_disable(1)
+#define LIVE_ENABLE live_disable(-1)
+#else /* STACKCHECK */
+#define LIVE
+#define LIVE_ALLOC(n)
+#define LIVE_DISABLE
+#define LIVE_ENABLE
+#endif /* STACKCHECK */
+
+
 #endif /* __CONFIG_H__ */