patch for xfs/linux/getcwd.c

assar@stacken.kth.se assar at stacken.kth.se
Mon Jun 7 23:56:19 CEST 1999


Derrick J Brashear <shadow at dementia.org> writes:
> Because it's an inline'd function in asm-sparc/semaphore.h, not a macro.

But shouldn't that just work as well?  Why doesn't egrep find it?

> Of course, I see it is in asm-i386/semaphore.h as well. So... if using
> egrep already, why not just egrep in asm/semaphore.h directly, instead of
> preprocessing?

Doesn't it egrep in asm/semaphore.h?

/assar


dnl
dnl $Id: linux-func-init-mutex.m4,v 1.1 1999/05/16 02:42:52 assar Exp $
dnl

AC_DEFUN(AC_LINUX_FUNC_INIT_MUTEX, [
AC_CACHE_CHECK([for init_MUTEX],
ac_cv_func_init_mutex, [
AC_EGREP_HEADER([init_MUTEX],
[asm/semaphore.h],
ac_cv_func_init_mutex=yes,
ac_cv_func_init_mutex=no)])
if test "$ac_cv_func_init_mutex" = "yes"; then
  AC_DEFINE(HAVE_INIT_MUTEX, 1,
	[define if you have a function init_MUTEX])
fi
])





More information about the Arla-drinkers mailing list