chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
struct/dstr-putf.c (dstr_vputf): Rewrite to support `%n$...' specs.
[mLib]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 6a2eb52ec56fbc1b720753d3844693a25eef7930..2d4f0fbaedf62e87fd5de90602010980cf7a7a70 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
@@
-32,6
+32,7
@@
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])
AC_CONFIG_SRCDIR([mLib.pc.in])
AC_CONFIG_AUX_DIR([config])
AM_INIT_AUTOMAKE([foreign])
+mdw_SILENT_RULES
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CC
AM_PROG_CC_C_O
@@
-39,6
+40,8
@@
AM_PROG_LIBTOOL
AX_CFLAGS_WARN_ALL
mdw_LIBTOOL_VERSION_INFO
AX_CFLAGS_WARN_ALL
mdw_LIBTOOL_VERSION_INFO
+AC_CHECK_PROGS([AUTOM4TE], [autom4te])
+
mdw_MANEXT
AC_DEFINE_UNQUOTED([SRCDIR], ["$(cd $srcdir && pwd)"],
mdw_MANEXT
AC_DEFINE_UNQUOTED([SRCDIR], ["$(cd $srcdir && pwd)"],
@@
-54,12
+57,21
@@
dnl Libraries.
AC_SEARCH_LIBS([socket], [socket])
AC_SEARCH_LIBS([gethostbyname], [nsl resolv])
AC_SEARCH_LIBS([socket], [socket])
AC_SEARCH_LIBS([gethostbyname], [nsl resolv])
+dnl Functions.
+AC_CHECK_FUNCS([snprintf])
+
+dnl Types.
+AC_CHECK_TYPE([socklen_t], [int])
+
dnl Which version of struct msghdr do we have?
AC_CHECK_MEMBERS([struct msgdr.msg_control],,, [
#include <sys/types.h>
#include <sys/socket.h>
])
dnl Which version of struct msghdr do we have?
AC_CHECK_MEMBERS([struct msgdr.msg_control],,, [
#include <sys/types.h>
#include <sys/socket.h>
])
+dnl Find out whether we're cross-compiling.
+AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
+
dnl--------------------------------------------------------------------------
dnl Name resolution.
dnl--------------------------------------------------------------------------
dnl Name resolution.
@@
-93,13
+105,31
@@
case $want_adns,$have_adns in
esac
AM_CONDITIONAL([WITH_ADNS], [test "$use_adns" = yes])
esac
AM_CONDITIONAL([WITH_ADNS], [test "$use_adns" = yes])
+dnl--------------------------------------------------------------------------
+dnl Python (used for testing).
+
+AM_PATH_PYTHON([2.4],, [:])
+
dnl--------------------------------------------------------------------------
dnl Output.
AC_CONFIG_HEADER([config/config.h])
dnl--------------------------------------------------------------------------
dnl Output.
AC_CONFIG_HEADER([config/config.h])
+AC_CONFIG_TESTDIR([t])
AC_CONFIG_FILES(
AC_CONFIG_FILES(
- [Makefile])
+ [Makefile]
+ [buf/Makefile]
+ [codec/Makefile]
+ [hash/Makefile]
+ [mem/Makefile]
+ [sel/Makefile]
+ [struct/Makefile]
+ [sys/Makefile]
+ [test/Makefile]
+ [trace/Makefile]
+ [ui/Makefile]
+ [utils/Makefile]
+ [t/Makefile t/atlocal])
AC_OUTPUT
AC_OUTPUT
-dnl
----- That's all, folks -------------------------------------------------
+dnl
-
----- That's all, folks -------------------------------------------------