mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
f225465dfc
git-svn-id: http://serval-dna.googlecode.com/svn/trunk/trunk/dna@2 6d01b88e-114a-4e5d-930d-818638e25ad7
15 lines
414 B
Plaintext
15 lines
414 B
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(dna.c)
|
|
|
|
dnl Checks for programs.
|
|
AC_PROG_CC
|
|
|
|
AC_CHECK_LIB(c,srandomdev)
|
|
|
|
AC_CHECK_HEADERS(stdio.h errno.h stdlib.h strings.h unistd.h string.h arpa/inet.h sys/socket.h sys/mman.h sys/time.h poll.h netdb.h)
|
|
|
|
AC_CHECK_LIB(nsl,callrpc,[LDFLAGS="$LDFLAGS -lnsl"])
|
|
AC_CHECK_LIB(socket,socket,[LDFLAGS="$LDFLAGS -lsocket"])
|
|
|
|
AC_OUTPUT(Makefile)
|