[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with AC_CHECK_TYPE on MacOS X
From: |
Reuben Thomas |
Subject: |
Re: Problem with AC_CHECK_TYPE on MacOS X |
Date: |
Thu, 26 Mar 2009 11:47:31 +0000 (GMT) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
On Wed, 25 Mar 2009, Eric Blake wrote:
I think a more important question is which test caused this #define to be
generated in the first place.
This was generated by AC_FUNC_GETGROUPS:
AN_FUNCTION([getgroups], [AC_FUNC_GETGROUPS])
AC_DEFUN([AC_FUNC_GETGROUPS],
[AC_REQUIRE([AC_TYPE_GETGROUPS])dnl
AC_REQUIRE([AC_TYPE_SIZE_T])dnl
AC_CHECK_FUNC(getgroups)
As you can see, it unconditionally runs AC_TYPE_SIZE_T, which in turn
generates the problem code.
Can you post a simple configure.ac to reproduce this?
Sure:
AC_INIT
AC_FUNC_GETGROUPS
The generated configure adds the code
#define size_t unsigned int
to confdefs.h at line 3556 on my system (using autoconf 1.10.1).
--
http://rrt.sc3d.org/ | think tank, n. a safe container for noxious gases
- Problem with AC_CHECK_TYPE on MacOS X, Reuben Thomas, 2009/03/25
- Re: Problem with AC_CHECK_TYPE on MacOS X, Eric Blake, 2009/03/26
- Re: Problem with AC_CHECK_TYPE on MacOS X,
Reuben Thomas <=
- Re: Problem with AC_CHECK_TYPE on MacOS X, Eric Blake, 2009/03/26
- Re: Problem with AC_CHECK_TYPE on MacOS X, Reuben Thomas, 2009/03/30
- Re: Problem with AC_CHECK_TYPE on MacOS X, Eric Blake, 2009/03/30
- Re: Problem with AC_CHECK_TYPE on MacOS X, Reuben Thomas, 2009/03/31
- Re: Problem with AC_CHECK_TYPE on MacOS X, Eric Blake, 2009/03/31
- Re: Problem with AC_CHECK_TYPE on MacOS X, Reuben Thomas, 2009/03/31
- Re: Problem with AC_CHECK_TYPE on MacOS X, Peter O'Gorman, 2009/03/31
- Re: Problem with AC_CHECK_TYPE on MacOS X, Reuben Thomas, 2009/03/31