Change autoconf logic a bit so it says what it is looking for in two instances where...
authorJoshua Colp <jcolp@digium.com>
Sun, 18 Nov 2007 16:43:08 +0000 (16:43 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 18 Nov 2007 16:43:08 +0000 (16:43 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89395 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configure
configure.ac

index 6057e17..461be12 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
 #! /bin/sh
-# From configure.ac Revision: 89380 .
+# From configure.ac Revision: 89394 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61.
 #
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61.
 #
@@ -15286,6 +15286,9 @@ _ACEOF
 fi
 done
 
 fi
 done
 
+
+{ echo "$as_me:$LINENO: checking for timersub in time.h" >&5
+echo $ECHO_N "checking for timersub in time.h... $ECHO_C" >&6; }
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -15669,6 +15672,8 @@ done
 
 
 # check if we have IP_PKTINFO constant defined
 
 
 # check if we have IP_PKTINFO constant defined
+{ echo "$as_me:$LINENO: checking for IP_PKTINFO" >&5
+echo $ECHO_N "checking for IP_PKTINFO... $ECHO_C" >&6; }
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
index 10865e7..63702a3 100644 (file)
@@ -287,6 +287,8 @@ AC_FUNC_VPRINTF
 AC_CHECK_FUNCS([asprintf atexit bzero dup2 endpwent ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday inet_ntoa isascii localtime_r memchr memmove memset mkdir munmap putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtol strtoq unsetenv utime vasprintf])
 
 AC_CHECK_FUNCS([glob])
 AC_CHECK_FUNCS([asprintf atexit bzero dup2 endpwent ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday inet_ntoa isascii localtime_r memchr memmove memset mkdir munmap putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtol strtoq unsetenv utime vasprintf])
 
 AC_CHECK_FUNCS([glob])
+
+AC_MSG_CHECKING(for timersub in time.h)
 AC_LINK_IFELSE(
        AC_LANG_PROGRAM([#include <sys/time.h>],
                [struct timeval *a; timersub(a, a, a);]),
 AC_LINK_IFELSE(
        AC_LANG_PROGRAM([#include <sys/time.h>],
                [struct timeval *a; timersub(a, a, a);]),
@@ -308,6 +310,7 @@ AC_CHECK_FUNCS([funopen fopencookie])
 AC_CHECK_FUNCS([inet_aton])
 
 # check if we have IP_PKTINFO constant defined
 AC_CHECK_FUNCS([inet_aton])
 
 # check if we have IP_PKTINFO constant defined
+AC_MSG_CHECKING(for IP_PKTINFO)
 AC_LINK_IFELSE(
                AC_LANG_PROGRAM([#include <netinet/in.h>],
                                                [int pi = IP_PKTINFO;]),
 AC_LINK_IFELSE(
                AC_LANG_PROGRAM([#include <netinet/in.h>],
                                                [int pi = IP_PKTINFO;]),