Changeset 24
- Timestamp:
- 01/07/02 18:22:40 (7 years ago)
- Files:
-
- trunk/configure.ac (modified) (4 diffs, 2 props)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/configure.ac
- Property svn:eol-style deleted
- Property svn:keywords deleted
r20 r24 3 3 AM_INIT_AUTOMAKE(jabber-gg-transport, 0.9,jajcus@pld.org.pl) 4 4 AC_CONFIG_SRCDIR([src/ggtrans.h]) 5 AM_CONFIG_HEADER( [config.h])5 AM_CONFIG_HEADER(config.h) 6 6 7 7 # Checks for programs. … … 11 11 AM_PROG_LIBTOOL 12 12 13 AM_PATH_GLIB 13 AM_PATH_GLIB(1.2.0,[],AC_MSG_ERROR("You need glib >= 1.2.0 to compile this.")) 14 14 15 15 # Checks for libraries. 16 AC_CHECK_LIB([efence], [main]) 17 AC_CHECK_LIB([gg], [gg_login]) 16 AC_CHECK_LIB([gg], [gg_login],[],AC_MSG_ERROR("You need libgg (from ekg package) to compile this.")) 17 18 AC_ARG_ENABLE(debug, 19 AC_HELP_STRING([--enable-debug],[Enable debugging code]), 20 [DEBUG=yes],[DEBUG=no]) 21 22 AH_TEMPLATE([DEBUG],[Define to enable debugging code]) 23 if test "x$DEBUG" = "xyes" ; then 24 AC_DEFINE(DEBUG) 25 AC_CHECK_LIB([efence], [malloc]) 26 fi 18 27 19 28 # Checks for header files. … … 21 30 AC_HEADER_STDC 22 31 AC_HEADER_SYS_WAIT 23 AC_CHECK_HEADERS([arpa/inet.h errno.h fcntl.h netdb.h netinet/in.h stddef.h stdlib.h string.h strings.h sys/socket.h sys/time.h syslog.h unistd.h]) 32 AC_CHECK_HEADERS([stdlib.h string.h]) 33 AC_CHECK_HEADERS([sys/socket.h netdb.h netinet/in.h]) 34 AC_CHECK_HEADERS([sys/time.h unistd.h errno.h fcntl.h]) 24 35 25 36 # Checks for typedefs, structures, and compiler characteristics. … … 30 41 # Checks for library functions. 31 42 AC_FUNC_ERROR_AT_LINE 32 AC_FUNC_MALLOC33 AC_FUNC_MEMCMP34 43 AC_TYPE_SIGNAL 35 44 AC_FUNC_STAT 36 45 37 AC_CHECK_FUNCS([ bzero gethostbyname gethostname isascii])38 AC_CHECK_FUNCS([ memmove memset modf select socket])39 AC_CHECK_FUNCS([ strcasecmp strchr strdup strncasecmp strstr])46 AC_CHECK_FUNCS([gethostbyname isascii],[],AC_MSG_ERROR("Some functions needed are missing")) 47 AC_CHECK_FUNCS([select socket],[],AC_MSG_ERROR("Some functions needed are missing")) 48 AC_CHECK_FUNCS([memset strchr],[],AC_MSG_ERROR("Some functions needed are missing")) 40 49 41 50 AC_CONFIG_SUBDIRS([libxode])
