--- gvpe/configure.ac 2004/06/11 15:56:10 1.31 +++ gvpe/configure.ac 2005/03/04 03:43:09 1.34 @@ -19,19 +19,24 @@ ]) AH_BOTTOM([ +typedef unsigned char u8; +typedef signed char s8; + #if __CYGWIN__ -typedef unsigned char u8; typedef unsigned short u16; typedef unsigned int u32; +typedef signed short s16; +typedef signed int s32; #else #include /* old modula-2 habits */ -typedef unsigned char u8; typedef uint16_t u16; typedef uint32_t u32; +typedef int16_t s16; +typedef int32_t s32; #endif #endif @@ -263,7 +268,12 @@ AC_ARG_ENABLE(dns, [AS_HELP_STRING(--enable-dns,enable dns tunnel protocol support (DOES NOT WORK).)], - AC_DEFINE_UNQUOTED(ENABLE_DNS, 1, [DNS tunnel protocol support.]) + [ + AC_CHECK_HEADER(gmp.h,,[AC_MSG_ERROR([gmp.h not found, required for --enable-dns])]) + AC_CHECK_LIB(gmp,main,,[AC_MSG_ERROR([libgmp not found, required for --enable-dns])]) + + AC_DEFINE_UNQUOTED(ENABLE_DNS, 1, [DNS tunnel protocol support.]) + ] ) AC_ARG_ENABLE(http-proxy, @@ -382,7 +392,6 @@ AC_CONFIG_FILES([Makefile po/Makefile.in src/Makefile -src/rohc/Makefile doc/Makefile lib/Makefile m4/Makefile