[asterisk-commits] mmichelson: branch mmichelson/imap-configure r103678 - /team/mmichelson/imap-...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 14 13:06:37 CST 2008


Author: mmichelson
Date: Thu Feb 14 13:06:36 2008
New Revision: 103678

URL: http://svn.digium.com/view/asterisk?view=rev&rev=103678
Log:
So now the configure script is written! Missing <stdio.h> was what was causing failure for
the system IMAP check. Thanks to russell for coming to the rescue with regards to this


Modified:
    team/mmichelson/imap-configure/configure
    team/mmichelson/imap-configure/configure.ac

Modified: team/mmichelson/imap-configure/configure.ac
URL: http://svn.digium.com/view/asterisk/team/mmichelson/imap-configure/configure.ac?view=diff&rev=103678&r1=103677&r2=103678
==============================================================================
--- team/mmichelson/imap-configure/configure.ac (original)
+++ team/mmichelson/imap-configure/configure.ac Thu Feb 14 13:06:36 2008
@@ -623,7 +623,7 @@
 	fi 
 	if test "${IMAP_TK_DIR}" = "system"; then
 		#We will enter here if user specified "system" or if any of above checks failed
-		AC_MSG_NOTICE([Checking for system c-client library...])
+		AC_MSG_CHECKING([for system c-client library...])
 		imap_ldflags=""
 		imap_libs="-lc-client"
 		imap_include="-DUSE_SYSTEM_IMAP" #Try the imap directory first
@@ -631,7 +631,8 @@
 		LIBS="${LIBS} ${imap_libs} "`echo ${imap_ldflags}`
 		AC_LINK_IFELSE(
 	    	AC_LANG_PROGRAM(
-				[#include <imap/c-client.h>
+				[#include <stdio.h>
+				#include <imap/c-client.h>
 				void mm_searched (MAILSTREAM *stream,unsigned long number)
 				{
 				}
@@ -687,7 +688,8 @@
 		if test "${ac_cv_imap_tk}" = "yes"; then
 			AC_LINK_IFELSE(
 				AC_LANG_PROGRAM(
-					[#include <imap/c-client.h>
+					[#include <stdio.h>
+					#include <imap/c-client.h>
 					void mm_searched (MAILSTREAM *stream,unsigned long number)
 					{
 					}
@@ -750,7 +752,8 @@
 			LIBS="${LIBS} ${imap_libs} "`echo ${imap_ldflags}`
 			AC_LINK_IFELSE(
 	    		AC_LANG_PROGRAM(
-					[#include <c-client/c-client.h>
+					[#include <stdio.h>
+					#include <c-client/c-client.h>
 					void mm_searched (MAILSTREAM *stream,unsigned long number)
 					{
 					}
@@ -806,7 +809,8 @@
 			if test "${ac_cv_imap_tk}" = "yes"; then
 				AC_LINK_IFELSE(
 					AC_LANG_PROGRAM(
-						[#include <c-client/c-client.h>
+						[#include <stdio.h>
+						#include <c-client/c-client.h>
 						void mm_searched (MAILSTREAM *stream,unsigned long number)
 						{
 						}




More information about the asterisk-commits mailing list