Revision: 2609
          http://tmux.svn.sourceforge.net/tmux/?rev=2609&view=rev
Author:   nicm
Date:     2011-10-06 12:14:22 +0000 (Thu, 06 Oct 2011)
Log Message:
-----------
Fix some warnings with newer autoconf, from Matt Curtis.

Modified Paths:
--------------
    trunk/configure.ac

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac  2011-10-02 11:34:04 UTC (rev 2608)
+++ trunk/configure.ac  2011-10-06 12:14:22 UTC (rev 2609)
@@ -336,7 +336,7 @@
 
 # Check for BSD-style integer types.
 AC_MSG_CHECKING(for BSD-style unsigned types)
-AC_COMPILE_IFELSE(
+AC_COMPILE_IFELSE([AC_LANG_SOURCE(
        [
                #include <sys/types.h>
                #ifdef HAVE_STDINT_H
@@ -346,7 +346,7 @@
                #endif  
                int main(void)
                { u_int8_t u8; u_int16_t u16; u_int32_t u32; u_int64_t u64; }
-       ],
+       ])],
        [AC_DEFINE(HAVE_BSD_TYPES) AC_MSG_RESULT(yes)],
        AC_MSG_RESULT(no)
 )
@@ -370,7 +370,7 @@
 
 # Look for __progname.
 AC_MSG_CHECKING(for __progname)
-AC_LINK_IFELSE(
+AC_LINK_IFELSE([AC_LANG_SOURCE(
        [
                #include <stdio.h>
                #include <stdlib.h>
@@ -380,7 +380,7 @@
                        printf("%s\n", cp);
                        exit(0);
                }
-       ],
+       ])],
        [AC_DEFINE(HAVE___PROGNAME) AC_MSG_RESULT(yes)],
        AC_MSG_RESULT(no)
 )

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to