mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-21 01:01:48 +08:00
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:
parent
3c7c99978a
commit
f88690cc61
@ -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.
|
||||
|
10
acgeneral.m4
10
acgeneral.m4
@ -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
|
||||
])
|
||||
|
||||
|
@ -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
|
||||
])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user