Mercurial > routeflapper
diff configure.in @ 0:48d06780cf77
initial version
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 13 May 2008 14:03:10 -0700 |
parents | |
children | ccf40fd3b050 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/configure.in Tue May 13 14:03:10 2008 -0700 @@ -0,0 +1,53 @@ + +AC_PREREQ(2.59) +AC_INIT(routeflapper,1.0.1,carl@five-ten-sg.com) +AC_CONFIG_SRCDIR([config.h.in]) +AC_CONFIG_HEADER([config.h]) + +AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION) + +# Checks for programs. +AC_PATH_PROGS(BASH, bash) +if test "x$BASH" = x ; then + AC_MSG_ERROR([bash required for init script]) +fi +AC_PROG_CXX +AC_PROG_CC +AC_PROG_CPP +AC_PROG_AWK +AC_PROG_INSTALL +AC_PROG_LN_S +AC_PROG_MAKE_SET +AC_PROG_RANLIB + +# Checks for libraries. + +# Checks for header files. +AC_HEADER_SYS_WAIT +AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h sys/socket.h syslog.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_HEADER_STDBOOL +AC_C_CONST + +# Checks for library functions. +AC_FUNC_FORK +AC_FUNC_GETPGRP +AC_HEADER_STDC +AC_FUNC_STAT +AC_CHECK_FUNCS([daemon gethostbyname inet_ntoa memchr memmove memset regcomp strdup strtol]) + +# check for posix threads +ACX_PTHREAD + +AC_CONFIG_FILES([Makefile + routeflapper.rc + routeflapper.spec + html/Makefile + info/Makefile + man/Makefile + src/Makefile + xml/Makefile + xml/routeflapper]) + +AC_OUTPUT