--- gvpe/configure.ac 2005/03/05 19:25:21 1.35 +++ gvpe/configure.ac 2005/03/25 16:05:22 1.41 @@ -2,9 +2,9 @@ AC_PREREQ(2.59) AC_INIT -AC_CONFIG_SRCDIR([src/vped.C]) +AC_CONFIG_SRCDIR([src/gvpe.C]) AC_CANONICAL_TARGET -AM_INIT_AUTOMAKE(gvpe, 1.8) +AM_INIT_AUTOMAKE(gvpe, 1.9) AC_CONFIG_HEADERS([config.h]) AM_MAINTAINER_MODE @@ -40,6 +40,12 @@ #endif #endif + +#if HAVE_CLOCALE +# define CLOCALE +#else +# define CLOCALE +#endif ]) dnl Include the macros from the m4/ directory @@ -73,17 +79,21 @@ AC_ARG_ENABLE(iftype, [AS_HELP_STRING(--enable-iftype=TYPE/SUBTYPE, Use kernel/net device interface TYPE/SUBTYPE. - Working combinations are: + Working combinations are (see doc/gvpe.osdep.5.pod): "native/linux" "tincd/linux" + "tincd/netbsd" "tincd/freebsd" "tincd/openbsd" + "native/darwin" "tincd/darwin" "native/cygwin"; Untested combinations are: - "tincd/netbsd" + "tincd/bsd" "tincd/solaris" - "tincd/mingw"; + "tincd/mingw" + "tincd/raw_socket" + "tincd/uml_socket"; Broken combinations are: "tincd/cygwin"; The default is to autodetect. @@ -110,7 +120,7 @@ AC_DEFINE(HAVE_FREEBSD, 1, [FreeBSD]) ;; *darwin*) - IFTYPE=tincd + IFTYPE=native IFSUBTYPE=darwin AC_DEFINE(HAVE_DARWIN, 1, [Darwin (MacOS/X)]) ;; @@ -150,7 +160,7 @@ dnl Checks for libraries. AC_LANG(C++) -AC_CHECK_HEADERS(ext/hash_map) +AC_CHECK_HEADERS(ext/hash_map clocale) dnl Checks for header files. AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \