X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=acconfig.h;h=ebfa2da19fa1396884e85f8c7deb65a30f7e307f;hp=a5dae236af6d193b6a5c341101dd601c48a6d958;hb=refs%2Fheads%2Fuc;hpb=2d4a2c4357d6c4070e4a98128b22b89a7b8d7636 diff --git a/acconfig.h b/acconfig.h index a5dae23..ebfa2da 100644 --- a/acconfig.h +++ b/acconfig.h @@ -10,14 +10,11 @@ */ -/* 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 @@ -54,4 +51,57 @@ /* 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 */ + + +#ifdef USE_UNIX98PTYS +# define _XOPEN_SOURCE 500 +#endif +#define _BSD_SOURCE 1 +#include +extern void usleep_watchdevice(unsigned long usecs); +#define usleep(usecs) usleep_watchdevice((usecs)) +#define sleep(secs) usleep((secs)*1000000) + + #endif /* __CONFIG_H__ */