Mercurial > hg > xmms-sid
diff acinclude.m4 @ 933:6820177eb6da
Properly check for things like off_t and size_t and few libc functions, just to
be safe.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 19 Nov 2012 01:47:29 +0200 |
parents | c6cf203be443 |
children | a3ad20eb0f26 |
line wrap: on
line diff
--- a/acinclude.m4 Sun Nov 18 18:09:19 2012 +0200 +++ b/acinclude.m4 Mon Nov 19 01:47:29 2012 +0200 @@ -4,6 +4,13 @@ dnl *** Updated for new autotools, plus namespace, added portability dnl *** fixes and other minor changes by Matti 'ccr' Hamalainen dnl *** (C) Copyright 2003-2008 Tecnic Software productions (TNSP) +AC_DEFUN([XS_CHECK_FEATURE], +[ + if test "x[]$$1" != "xyes"; then + AC_MSG_ERROR([Required feature $2 not detected. See config.log for more information.]) + fi +]) + AC_DEFUN([XS_FIND_FILE], [