check for subclass union for new asterisk trunk

This commit is contained in:
MelwareDE 2010-03-04 19:52:26 +00:00
parent bf1eb50548
commit 31db98fb9e
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ check_version_onesix()
echo "#undef CC_AST_HAS_UNION_DATA_IN_FRAME" >>$CONFIGFILE
echo " * no new union data in ast_frame structure"
fi
if grep -q "} subclass;" $INCLUDEDIR/frame.h; then
if grep -q "union ast_frame_subclass subclass" $INCLUDEDIR/frame.h; then
echo "#define CC_AST_HAS_UNION_SUBCLASS_IN_FRAME" >>$CONFIGFILE
echo " * found new union subclass in ast_frame structure"
else