From: Lennart Poettering Date: Wed, 19 Oct 2005 00:14:24 +0000 (+0000) Subject: * pass --enable-tests --enable-compat-howl --enable-compat-libdns_sd to configure... X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=6f45b67dea3405347c26f3ecdf13e6fa5cd04f4b;p=catta * 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 --- diff --git a/bootstrap.sh b/bootstrap.sh index 11b724d..62422ea 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -18,7 +18,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -FLAGS="--sysconfdir=/etc --localstatedir=/var" +FLAGS="--sysconfdir=/etc --localstatedir=/var --enable-tests --enable-compat-howl --enable-compat-libdns_sd" # Feel free to add your own custom flags in here -Lathiat case "$USER" in diff --git a/configure.ac b/configure.ac index 744a284..dc1ba24 100644 --- a/configure.ac +++ b/configure.ac @@ -58,36 +58,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 # @@ -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