From: Andreas Eversberg Date: Sat, 4 Feb 2012 06:43:36 +0000 (+0100) Subject: autoconf: Fixed detection of mISDN headers X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=commitdiff_plain;h=b5aad71a2f512277e6abd4e0ca2d6d9fdb44120a autoconf: Fixed detection of mISDN headers --- diff --git a/configure.ac b/configure.ac index 17361f1..38eaec6 100644 --- a/configure.ac +++ b/configure.ac @@ -60,11 +60,11 @@ AC_ARG_WITH([misdn], [with_misdn="check"]) AS_IF([test "x$with_misdn" != xno], - [AC_CHECK_HEADERS([mISDN/mISDNif.h], + [AC_CHECK_HEADERS([mISDN/mbuffer.h], [with_misdn="yes"], [if test "x$with_misdn" != xcheck ; then AC_MSG_FAILURE( - [--with-misdn was given, but test for header-file mISDN/mISDNif.h failed]) + [--with-misdn was given, but test for header-file mISDN/mbuffer.h failed]) fi ]) ]) @@ -239,7 +239,7 @@ AC_CHECK_LIB([pthread], [main]) AC_HEADER_DIRENT AC_HEADER_STDC AC_HEADER_SYS_WAIT -AC_CHECK_HEADERS([fcntl.h netinet/in.h stdlib.h string.h sys/file.h sys/ioctl.h sys/socket.h sys/time.h unistd.h ctype.h assert.h mISDNuser/mbuffer.h assert.h]) +AC_CHECK_HEADERS([fcntl.h netinet/in.h stdlib.h string.h sys/file.h sys/ioctl.h sys/socket.h sys/time.h unistd.h ctype.h assert.h assert.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL