Created
April 27, 2009 20:54
-
-
Save csexton/102725 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
csexton@cs-zesty:~/src/nueng (git::master)$ cat configure.ac | |
# -*- Autoconf -*- | |
# Process this file with autoconf to produce a configure script. | |
AC_PREREQ(2.61) | |
AC_INIT([nueng], [1.0.0], [jorge_velazquez@symantec.com]) | |
AM_INIT_AUTOMAKE([nueng], [1.0.0]) | |
# AC_CONFIG_HEADER([config.h]) | |
# Checks for programs. | |
AC_PROG_CXX | |
AC_PROG_CC | |
AC_PROG_LIBTOOL | |
CXXFLAGS="-g -pg" | |
# Checks for libraries. | |
# FIXME: Replace `main' with a function in `-lcrypto': | |
#AC_CHECK_LIB([crypto], [main]) | |
# FIXME: Replace `main' with a function in `-llog4cpp': | |
#AC_CHECK_LIB([log4cpp], [main]) | |
# FIXME: Replace `main' with a function in `-lpthread': | |
#AC_CHECK_LIB([pthread], [main]) | |
# FIXME: Replace `main' with a function in `-lz': | |
#AC_CHECK_LIB([z], [main]) | |
# Checks for header files. | |
AC_HEADER_STDC | |
AC_CHECK_HEADERS([arpa/inet.h limits.h memory.h netdb.h stddef.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h wchar.h]) | |
# Checks for typedefs, structures, and compiler characteristics. | |
AC_HEADER_STDBOOL | |
AC_C_CONST | |
AC_TYPE_SIZE_T | |
AC_TYPE_SSIZE_T | |
AC_HEADER_TIME | |
AC_STRUCT_TM | |
AC_TYPE_UINT16_T | |
AC_TYPE_UINT64_T | |
AC_C_VOLATILE | |
# Checks for library functions. | |
AC_FUNC_ERROR_AT_LINE | |
AC_FUNC_MALLOC | |
AC_FUNC_MEMCMP | |
AC_FUNC_SELECT_ARGTYPES | |
AC_FUNC_STAT | |
AC_CHECK_FUNCS([bzero getcwd memset select socket strtoul]) | |
AC_CONFIG_FILES([Makefile | |
examples/Makefile | |
examples/c/Makefile | |
src/Makefile | |
test/Makefile]) | |
AC_OUTPUT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment