chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
utils/bits.h: Reformat `LOAD64_[BL]_' for consistency.
[mLib]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 2444ac72677c0dccfd663c6c74289634bbc38aca..9ff83ba0ded47d6dc9e430c8a797bec780ca6bb8 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-5,7
+5,7
@@
dnl
dnl (c) 2008 Straylight/Edgeware
dnl
dnl (c) 2008 Straylight/Edgeware
dnl
-dnl
----- Licensing notice
--------------------------------------------------
+dnl
----- Licensing notice -
--------------------------------------------------
dnl
dnl This file is part of the mLib utilities library.
dnl
dnl
dnl This file is part of the mLib utilities library.
dnl
@@
-31,7
+31,8
@@
mdw_AUTO_VERSION
AC_INIT([mLib], AUTO_VERSION, [mdw@distorted.org.uk], [mLib])
AC_CONFIG_SRCDIR([mLib.pc.in])
AC_CONFIG_AUX_DIR([config])
AC_INIT([mLib], AUTO_VERSION, [mdw@distorted.org.uk], [mLib])
AC_CONFIG_SRCDIR([mLib.pc.in])
AC_CONFIG_AUX_DIR([config])
-AM_INIT_AUTOMAKE([foreign])
+AM_INIT_AUTOMAKE([foreign subdir-objects])
+mdw_SILENT_RULES
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CC
AM_PROG_CC_C_O
@@
-51,11
+52,23
@@
dnl C programming environment.
dnl Headers.
AC_CHECK_HEADERS([float.h])
dnl Headers.
AC_CHECK_HEADERS([float.h])
+AC_CHECK_HEADERS([stdint.h])
dnl Libraries.
AC_SEARCH_LIBS([socket], [socket])
AC_SEARCH_LIBS([gethostbyname], [nsl resolv])
dnl Libraries.
AC_SEARCH_LIBS([socket], [socket])
AC_SEARCH_LIBS([gethostbyname], [nsl resolv])
+dnl Functions.
+AC_CHECK_FUNCS([snprintf])
+
+dnl Types.
+AC_CHECK_TYPE([socklen_t], [],
+ [AC_DEFINE([socklen_t], [int],
+ [Define to `int' if <sys/socket.h> does not define])],
+ [AC_INCLUDES_DEFAULT
+#include <sys/socket.h>
+])
+
dnl Which version of struct msghdr do we have?
AC_CHECK_MEMBERS([struct msgdr.msg_control],,, [
#include <sys/types.h>
dnl Which version of struct msghdr do we have?
AC_CHECK_MEMBERS([struct msgdr.msg_control],,, [
#include <sys/types.h>
@@
-63,7
+76,7
@@
AC_CHECK_MEMBERS([struct msgdr.msg_control],,, [
])
dnl Find out whether we're cross-compiling.
])
dnl Find out whether we're cross-compiling.
-AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes
])
+AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
dnl--------------------------------------------------------------------------
dnl Name resolution.
dnl--------------------------------------------------------------------------
dnl Name resolution.
@@
-125,4
+138,4
@@
AC_CONFIG_FILES(
[t/Makefile t/atlocal])
AC_OUTPUT
[t/Makefile t/atlocal])
AC_OUTPUT
-dnl
----- That's all, folks -------------------------------------------------
+dnl
-
----- That's all, folks -------------------------------------------------