summaryrefslogtreecommitdiff
path: root/configure.in
blob: 7512df7efaab2796d652361f63665b86f792b465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
dnl Process this file with autoconf to produce a configure script.
AC_INIT(s_chat.h)
#AC_INIT_AUTOMAKE(yChat, 0.2)
dnl Checks for programs.

AC_CYGWIN
AC_MINGW32
AC_PROG_CPP
AC_PROG_CXX

dnl Checks for libraries.
dnl Replace `main' with a function in -lstdc:
AC_SEARCH_LIBS(dlopen, dl)
if test "$ac_cv_search_dlopen" = "-ldl"; then
LDFLAGS="$ac_cv_search_dlopen"
fi
dnl Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h)
AC_CHECK_HEADERS(string.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_C_INLINE

dnl Checks for library functions.

AC_OUTPUT(Makefile)