comparison 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
comparison
equal deleted inserted replaced
932:7c62e686b6a4 933:6820177eb6da
2 dnl *** (C) Copyright 2002 Michael Schwendt, licensed under GNU GPL v2. 2 dnl *** (C) Copyright 2002 Michael Schwendt, licensed under GNU GPL v2.
3 dnl *** 3 dnl ***
4 dnl *** Updated for new autotools, plus namespace, added portability 4 dnl *** Updated for new autotools, plus namespace, added portability
5 dnl *** fixes and other minor changes by Matti 'ccr' Hamalainen 5 dnl *** fixes and other minor changes by Matti 'ccr' Hamalainen
6 dnl *** (C) Copyright 2003-2008 Tecnic Software productions (TNSP) 6 dnl *** (C) Copyright 2003-2008 Tecnic Software productions (TNSP)
7 AC_DEFUN([XS_CHECK_FEATURE],
8 [
9 if test "x[]$$1" != "xyes"; then
10 AC_MSG_ERROR([Required feature $2 not detected. See config.log for more information.])
11 fi
12 ])
13
7 14
8 AC_DEFUN([XS_FIND_FILE], 15 AC_DEFUN([XS_FIND_FILE],
9 [ 16 [
10 $3="" 17 $3=""
11 for i in $2; do 18 for i in $2; do