From ce79d6081f0310ebe166a26113ff449fb74865ba Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 31 Dec 2010 22:33:44 +0000 Subject: [PATCH] And moar. --- configure.ac | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index 90e1e77f..bff36d40 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.3 2010-12-31 22:31:45 nicm Exp $ +# $Id: configure.ac,v 1.4 2010-12-31 22:33:44 nicm Exp $ # Miscellaneous autofoo bullshit. AC_INIT(tmux, 1.5) @@ -75,14 +75,17 @@ AM_CONDITIONAL(IS_SUNCC, test "x$found_suncc" = xyes) # Is this glibc? AC_MSG_CHECKING(for glibc) -AC_EGREP_CPP(yes, [ - #include - #ifdef __GLIBC__ - yes - #endif +AC_EGREP_CPP( + yes, + [ + #include + #ifdef __GLIBC__ + yes + #endif ], found_glibc=yes, - found_glibc=no) + found_glibc=no +) AM_CONDITIONAL(IS_GLIBC, test "x$found_glibc" = xyes) AC_MSG_RESULT($found_glibc) @@ -221,8 +224,8 @@ AC_COMPILE_IFELSE( #else #include #endif - int main(void) { - u_int8_t u8; u_int16_t u16; u_int32_t u32; u_int64_t u64; } + 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)