summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in16
1 files changed, 13 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 818e0eb..ce13c98 100644
--- a/configure.in
+++ b/configure.in
@@ -3,6 +3,8 @@ AC_INIT(src/Main.cc)
CXXFLAGS=-fexceptions
+dnl Creating versions info.
+
Baltisot_MAJOR_VERSION=0
Baltisot_MINOR_VERSION=1
Baltisot_MICRO_VERSION=0
@@ -26,7 +28,7 @@ AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
-dnl Checks for programs.
+dnl Checks for classical programs.
AC_PROG_CXX
AC_PROG_AWK
AC_PROG_CC
@@ -37,6 +39,7 @@ AC_PROG_MAKE_SET
AC_CANONICAL_HOST
AM_PROG_LIBTOOL
+dnl Setting up environnement.
ALL_LINGUAS="fr"
AM_GNU_GETTEXT
if test x$USE_INCLUDED_LIBINTL = xyes; then
@@ -54,9 +57,12 @@ if test x$gt_cv_func_gettext_libintl = xyes; then
esac
fi
-dnl Checks for header files.
+dnl Checks for classical header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(libintl.h fcntl.h limits.h malloc.h strings.h unistd.h)
+AC_CHECK_HEADERS(alloca.h errno.h netdb.h netinet/in.h sys/socket.h
+ACH_HEADER_SYS_WAIT
+AC_STRUCT_TM
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
@@ -67,9 +73,13 @@ AC_C_BIGENDIAN
dnl Checks for library functions.
AC_FUNC_ALLOCA
AC_FUNC_MMAP
-AC_CHECK_FUNCS(getcwd getwd putenv strdup)
+AC_CHECK_FUNCS(getcwd getwd putenv strdup memmove memset)
+AC_CHECK_FUNCS(strerror strrchr strstr)
AC_SEARCH_LIBS(socket,socket)
AC_SEARCH_LIBS(gethostbyname,nsl)
+AC_FUNC_FORK
+AC_FUNC_MALLOC
+AC_FUNC_VFPRINTF
AC_PATH_PROG(gmakepath, gmake)
AC_PATH_PROG(unamepath, uname)