--- embedtools/configure.in 2011/06/08 12:45:40 1.2 +++ embedtools/configure.in 2011/06/13 20:04:12 1.2.2.3 @@ -1,4 +1,4 @@ -AC_INIT(embedtools, 1.0, misho@elwix.org) +AC_INIT(embedtools, 1.1, misho@elwix.org) AC_CONFIG_SRCDIR([src/cfexec.c]) AC_CONFIG_HEADERS([inc/config.h]) @@ -12,6 +12,9 @@ AC_CANONICAL_TARGET AC_CHECK_TOOL(MKDEP, mkdep, no) AC_SUBST(MKDEP) +OS=$(uname) +AC_SUBST(OS) + CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}" LDFLAGS="-L/usr/local/lib ${LDFLAGS}" @@ -46,7 +49,7 @@ AC_FUNC_MALLOC AC_FUNC_MMAP AC_FUNC_REALLOC AC_FUNC_WAIT3 -AC_CHECK_FUNCS([alarm bzero dup2 endpwent getcwd gethostbyname gethostname inet_ntoa isascii memmove memset munmap select socket strcasecmp strchr strdup strerror strrchr strspn strstr strtol strtoul]) +AC_CHECK_FUNCS([alarm bzero dup2 endpwent getcwd gethostbyname gethostname inet_ntoa isascii memmove memset munmap select socket strcasecmp strchr strdup strerror strrchr strspn strstr strtol strtoul strtonum]) AC_CHECK_FUNCS([kldnext kldfirstmod modfnext modstat kldload]) DEBUG=no