зеркало из https://github.com/mozilla/pjs.git
bug 454256 - --enable-static firefox builds should error in configure. r=bsmedberg
This commit is contained in:
Родитель
bfdfb7624f
Коммит
f5b8c0ffc1
|
@ -41,6 +41,7 @@ MOZ_UPDATER=1
|
|||
MOZ_PHOENIX=1
|
||||
|
||||
MOZ_ENABLE_LIBXUL=1
|
||||
MOZ_STATIC_BUILD_UNSUPPORTED=1
|
||||
MOZ_PLACES=1
|
||||
# always enabled for form history
|
||||
MOZ_MORKREADER=1
|
||||
|
|
|
@ -7161,6 +7161,10 @@ MOZ_ARG_ENABLE_BOOL(libxul,
|
|||
MOZ_ENABLE_LIBXUL=1,
|
||||
MOZ_ENABLE_LIBXUL=)
|
||||
|
||||
if test -n "$MOZ_STATIC_BUILD_UNSUPPORTED" -a -n "$BUILD_STATIC_LIBS"; then
|
||||
AC_MSG_ERROR([--enable-static is not supported for building $MOZ_APP_NAME. You probably want --enable-libxul.])
|
||||
fi
|
||||
|
||||
if test -n "$MOZ_ENABLE_LIBXUL" -a -n "$BUILD_STATIC_LIBS"; then
|
||||
AC_MSG_ERROR([--enable-libxul is not compatible with --enable-static])
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче