summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authoradmin (centauri.fritz.box) <puppet@mx.buetow.org>2014-06-30 23:29:34 +0200
committeradmin (centauri.fritz.box) <puppet@mx.buetow.org>2014-06-30 23:29:34 +0200
commit813ee1984130c44f737f27426cc8414d19cf3bd9 (patch)
tree737daaeefa0ee1f2d66821821de489b70522db37 /configure.in
parent332d7b2107833018b3ef67b64ffe121bff1ef4fb (diff)
parent7ead5b7a9ea99a3e0f1459187b3262f7054f0126 (diff)
Merge remote-tracking branch 'remotes/github/0.5' into 0.50.5
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/configure.in b/configure.in
new file mode 100644
index 0000000..7512df7
--- /dev/null
+++ b/configure.in
@@ -0,0 +1,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)