summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-19 00:14:24 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-19 00:14:24 +0000
commit6f45b67dea3405347c26f3ecdf13e6fa5cd04f4b (patch)
tree2cdd6e18a05497d997d0f9b1a05566326cb7fcae /configure.ac
parent16d9e30dd7fa052bd7e6dd37927d7f27bec90ef1 (diff)
* pass --enable-tests --enable-compat-howl --enable-compat-libdns_sd to configure in bootstrap.sh
* drop platform testing in configure.ac * add some more function/header checks to configure.ac git-svn-id: file:///home/lennart/svn/public/avahi/trunk@820 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac35
1 files changed, 3 insertions, 32 deletions
diff --git a/configure.ac b/configure.ac
index 744a284..dc1ba24 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,36 +59,6 @@ AC_PROG_LIBTOOL
ACX_PTHREAD(,AC_MSG_ERROR([Missing POSIX Threads support]))
#
-# Host specific stuffs
-#
-case "$host" in
- *-netbsd* | *-knetbsd*-gnu)
- AC_DEFINE([NETBSD],[],[ Support for NetBSD])
- avahi_platform=netbsd
- ;;
- *-openbsd*)
- AC_DEFINE([OPENBSD],[],[ Support for OpenBSD])
- avahi_platform=openbsd
- ;;
- *-solaris*)
- AC_DEFINE([SOLARIS],[],[ Support for Sun Solaris])
- avahi_platform=solaris
- ;;
- *-linux*)
- AC_DEFINE([LINUX],[],[ Support for GNU/Linux])
- avahi_platform=linux
- ;;
- *-freebsd* | *-kfreebsd*-gnu)
- AC_DEFINE([FREEBSD],[],[ Support for FreeBSD])
- avahi_platform=freebsd
- ;;
- *-apple-darwin*)
- AC_DEFINE([DARWIN],[],[ Support for AppleDarwin])
- avahi_platform=darwin
- ;;
-esac
-
-#
# Check for netlink.h
#
AC_CHECK_HEADER(linux/netlink.h,
@@ -216,7 +186,8 @@ fi
# Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h])
+AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h sys/time.h unistd.h netdb.h syslog.h])
+AC_HEADER_STDBOOL
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
@@ -229,7 +200,7 @@ AC_FUNC_MEMCMP
AC_FUNC_SELECT_ARGTYPES
AC_FUNC_MALLOC
AC_FUNC_REALLOC
-AC_CHECK_FUNCS([gethostname memchr memmove memset mkdir select socket strchr strcspn strdup strerror strrchr strspn strstr uname setresuid setreuid strcasecmp gettimeofday putenv strncasecmp strclpy])
+AC_CHECK_FUNCS([gethostname memchr memmove memset mkdir select socket strchr strcspn strdup strerror strrchr strspn strstr uname setresuid setreuid strcasecmp gettimeofday putenv strncasecmp strclpy gethostbyname])
AC_FUNC_CHOWN
AC_FUNC_STAT