* only give warning about removing -pedantic and -Wall if we are actually
going to build the component This commit was SVN r6641.
Этот коммит содержится в:
родитель
8b5ae0a12f
Коммит
052b4d4da4
@ -37,7 +37,7 @@ AC_DEFUN([MCA_btl_mvapi_CONFIG],[
|
||||
# components
|
||||
btl_mvapi_CFLAGS="`echo $CFLAGS | sed 's/-pedantic//g'`"
|
||||
btl_mvapi_CFLAGS="`echo $btl_mvapi_CFLAGS | sed 's/-Wundef//g'`"
|
||||
AS_IF([test "$btl_mvapi_CFLAGS" != "$CFLAGS"],
|
||||
AS_IF([test "$btl_mvapi_CFLAGS" != "$CFLAGS" -a "$btl_mvapi_happy" = "yes"],
|
||||
[AC_MSG_WARN([Removed -pedantic and -Wundef from CFLAGS for
|
||||
mvapi component because some vapi.h files are not really ANSI C])])
|
||||
|
||||
|
@ -37,7 +37,7 @@ AC_DEFUN([MCA_mpool_mvapi_CONFIG],[
|
||||
# components
|
||||
mpool_mvapi_CFLAGS="`echo $CFLAGS | sed 's/-pedantic//g'`"
|
||||
mpool_mvapi_CFLAGS="`echo $mpool_mvapi_CFLAGS | sed 's/-Wundef//g'`"
|
||||
AS_IF([test "$mpool_mvapi_CFLAGS" != "$CFLAGS"],
|
||||
AS_IF([test "$mpool_mvapi_CFLAGS" != "$CFLAGS" -a "$mpool_mvapi_happy" = "yes"],
|
||||
[AC_MSG_WARN([Removed -pedantic and -Wundef from CFLAGS for
|
||||
mvapi component because some vapi.h files are not really ANSI C])])
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user