1999-04-11 Paul Eggert <eggert@twinsun.com>

* acgeneral.m4 (AC_CHECK_TYPE): Allow first argument to be a
	shell variable.
This commit is contained in:
Ben Elliston 1999-04-10 21:31:12 +00:00
parent 3c7c99978a
commit f88690cc61
3 changed files with 17 additions and 8 deletions

View File

@ -1,3 +1,8 @@
1999-04-11 Paul Eggert <eggert@twinsun.com>
* acgeneral.m4 (AC_CHECK_TYPE): Allow first argument to be a
shell variable.
1999-04-11 Ben Elliston <bje@cygnus.com>
* acgeneral.m4 (AC_C_STRUCT_MEMBER): New macro.

View File

@ -1998,10 +1998,12 @@ changequote([,]), [#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif], ac_cv_type_$1=yes, ac_cv_type_$1=no)])dnl
AC_MSG_RESULT($ac_cv_type_$1)
if test $ac_cv_type_$1 = no; then
AC_DEFINE($1, $2)
#endif], eval "ac_cv_type_$1=yes", eval "ac_cv_type_$1=no")])dnl
if eval "test \"`echo '$ac_cv_type_'$1`\" = yes"; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
AC_DEFINE_UNQUOTED($1, $2)
fi
])

View File

@ -1998,10 +1998,12 @@ changequote([,]), [#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif], ac_cv_type_$1=yes, ac_cv_type_$1=no)])dnl
AC_MSG_RESULT($ac_cv_type_$1)
if test $ac_cv_type_$1 = no; then
AC_DEFINE($1, $2)
#endif], eval "ac_cv_type_$1=yes", eval "ac_cv_type_$1=no")])dnl
if eval "test \"`echo '$ac_cv_type_'$1`\" = yes"; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
AC_DEFINE_UNQUOTED($1, $2)
fi
])