Commit 35811637 authored by Kai Vehmanen's avatar Kai Vehmanen
Browse files

Added checks for OpenSSL and librt.

darcs-hash:20070502142305-77cd4-1455a87f80884d1a56d4bbbd739b9e312c1d8ddb.gz
parent b02604c5
AC_PREREQ(2.60)
AC_INIT(nice, 0.0.1)
AC_CONFIG_SRCDIR([.])
AC_CONFIG_SRCDIR([agent/agent.c])
AC_CONFIG_HEADER([config.h])
AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE([-Wall -Wno-portability])
AC_CONFIG_FILES([
Makefile
address/Makefile
agent/Makefile
tests/Makefile
stun/Makefile
stun/tests/Makefile
local/Makefile
udp/Makefile
nice/Makefile
......@@ -21,9 +22,22 @@ AC_CONFIG_FILES([
# Checks for programs.
AC_PROG_CC
AC_PROG_CC_C99
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_LIBTOOL
# Checks for compiler features
AC_C_RESTRICT
AC_HEADER_ASSERT
AC_HEADER_STDBOOL
AC_DEFINE([_FORTIFY_SOURCE], [2], [Define to `2' to get GNU/libc warnings.])
# Checks for libraries.
AC_CHECK_LIB(rt, clock_gettime, [LIBRT="-lrt"], [LIBRT=""])
AC_SUBST(LIBRT)
PKG_CHECK_MODULES(OPENSSL, [openssl])
PKG_CHECK_MODULES(GLIB, [dnl
glib-2.0 >= 2.10 dnl
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment