# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) AC_INIT(rmcast,2.0.0,support@land.ufrj.br) AC_CONFIG_AUX_DIR(config) AC_CONFIG_SRCDIR([src/rmcache.h]) AM_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE # Checks for programs. #AC_PROG_AWK AC_PROG_CC AC_PROG_LIBTOOL # Checks for libraries. AC_CHECK_LIB([m], [pow]) AC_CHECK_LIB([pthread], [pthread_create]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE AC_TYPE_SIZE_T AC_CHECK_DECLS([sys_siglist]) AC_HEADER_TIME AC_STRUCT_TM # Checks for library functions. AC_FUNC_CLOSEDIR_VOID AC_FUNC_FORK AC_FUNC_MALLOC AC_FUNC_REALLOC AC_FUNC_SELECT_ARGTYPES AC_FUNC_SETVBUF_REVERSED AC_TYPE_SIGNAL AC_CHECK_FUNCS([alarm bzero gethostbyname gethostname gettimeofday inet_ntoa memset pow putenv select setlocale socket strchr strdup strerror strstr]) AC_OUTPUT(Makefile src/Makefile mcastproxy/Makefile rmchat/Makefile)