build: Generate entry macros as well.
This commit is contained in:
parent
0fdfef668d
commit
13b3ed1a75
1 changed files with 5 additions and 0 deletions
|
|
@ -17,5 +17,10 @@ AC_DEFUN([CC_CHECK_DROID_ENUM],
|
|||
AC_MSG_RESULT([$cc_check_droid_enum])
|
||||
if test x"$cc_check_droid_enum" = x"yes"; then
|
||||
AC_DEFINE(HAVE_ENUM_$2,,[define if enum $2 is found in headers])
|
||||
AC_DEFINE(STRING_ENTRY_IF_$2,[STRING_ENTRY($2),],[string entry for enum $2])
|
||||
AC_DEFINE(FANCY_ENTRY_IF_$2(n),[{$2, n},],[fancy entry for enum $2])
|
||||
else
|
||||
AC_DEFINE(STRING_ENTRY_IF_$2,,[string entry for enum $2])
|
||||
AC_DEFINE(FANCY_ENTRY_IF_$2(n),,[fancy entry for enum $2])
|
||||
fi
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue