# HG changeset patch # User mikael # Date 1113298841 0 # Node ID e2216836ac64c55c2faaa92e281de44ee8e2c03a # Parent e020828f65d05c953a01477c5fde14f94c4fe700 [/trunk] Changeset 82 by mikael Rename configure.in to configure.ac diff -r e020828f65d0 -r e2216836ac64 mcabber/configure.ac --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mcabber/configure.ac Tue Apr 12 09:40:41 2005 +0000 @@ -0,0 +1,55 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.59) +AC_INIT(mcabber, 0.6.0-dev, bmikael@lists.lilotux.net) +AM_INIT_AUTOMAKE +AC_CONFIG_SRCDIR([src]) +AM_CONFIG_HEADER(config.h) + +AC_PROG_RANLIB + +CFLAGS="$CFLAGS -Wall" + +# Checks for programs. +AC_PROG_CXX +AC_PROG_CC +AC_PROG_INSTALL + +# Checks for libraries. +#AC_CHECK_LIB([connwrap], [cw_nb_connect]) +#AC_CHECK_LIB([libjabber], [jab_new]) +AC_CHECK_LIB([ncurses], [initscr]) +AC_CHECK_LIB([panel], [new_panel]) +AC_CHECK_LIB([ssl], [SSL_new]) + +# Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS([arpa/inet.h fcntl.h locale.h netdb.h netinet/in.h stddef.h stdlib.h string.h strings.h sys/socket.h sys/time.h syslog.h termios.h unistd.h ncurses.h panel.h getopt.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_HEADER_STDBOOL +AC_C_CONST +AC_C_INLINE +AC_TYPE_SIZE_T +AC_HEADER_TIME +AC_STRUCT_TM + +# Checks for library functions. +AC_FUNC_ERROR_AT_LINE +AC_FUNC_MALLOC +AC_FUNC_MEMCMP +AC_FUNC_REALLOC +AC_FUNC_SELECT_ARGTYPES +AC_TYPE_SIGNAL +AC_FUNC_STRFTIME +AC_FUNC_VPRINTF +AC_CHECK_FUNCS([alarm bzero gethostbyname gethostname inet_ntoa isascii memmove memset modf select setlocale socket strcasecmp strchr strdup strncasecmp strrchr strstr]) + +AC_DEFINE(BUILD_JABBER, 1, [build with jabber support]) + +AC_CONFIG_FILES([connwrap/Makefile + libjabber/Makefile + src/Makefile + Makefile]) +AC_OUTPUT