mirror of
https://github.com/tmux/tmux.git
synced 2024-12-14 02:48:47 +00:00
And moar.
This commit is contained in:
parent
d5a63c21b4
commit
ce79d6081f
21
configure.ac
21
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.
|
# Miscellaneous autofoo bullshit.
|
||||||
AC_INIT(tmux, 1.5)
|
AC_INIT(tmux, 1.5)
|
||||||
@ -75,14 +75,17 @@ AM_CONDITIONAL(IS_SUNCC, test "x$found_suncc" = xyes)
|
|||||||
|
|
||||||
# Is this glibc?
|
# Is this glibc?
|
||||||
AC_MSG_CHECKING(for glibc)
|
AC_MSG_CHECKING(for glibc)
|
||||||
AC_EGREP_CPP(yes, [
|
AC_EGREP_CPP(
|
||||||
#include <features.h>
|
yes,
|
||||||
#ifdef __GLIBC__
|
[
|
||||||
yes
|
#include <features.h>
|
||||||
#endif
|
#ifdef __GLIBC__
|
||||||
|
yes
|
||||||
|
#endif
|
||||||
],
|
],
|
||||||
found_glibc=yes,
|
found_glibc=yes,
|
||||||
found_glibc=no)
|
found_glibc=no
|
||||||
|
)
|
||||||
AM_CONDITIONAL(IS_GLIBC, test "x$found_glibc" = xyes)
|
AM_CONDITIONAL(IS_GLIBC, test "x$found_glibc" = xyes)
|
||||||
AC_MSG_RESULT($found_glibc)
|
AC_MSG_RESULT($found_glibc)
|
||||||
|
|
||||||
@ -221,8 +224,8 @@ AC_COMPILE_IFELSE(
|
|||||||
#else
|
#else
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#endif
|
#endif
|
||||||
int main(void) {
|
int main(void)
|
||||||
u_int8_t u8; u_int16_t u16; u_int32_t u32; u_int64_t u64; }
|
{ 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_DEFINE(HAVE_BSD_TYPES) AC_MSG_RESULT(yes)],
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
|
Loading…
Reference in New Issue
Block a user