Bug 385810 - Error early on unrecognized extensions provided to --enable-extensions. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@228724 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6ce265f928
commit
02dab9999e
@ -5497,6 +5497,15 @@ fi
|
||||
dnl Remove dupes
|
||||
MOZ_EXTENSIONS=`${PERL} ${srcdir}/build/unix/uniq.pl ${MOZ_EXTENSIONS}`
|
||||
|
||||
dnl Ensure every extension exists, to avoid mostly-inscrutable error messages
|
||||
dnl when trying to build a non-existent extension.
|
||||
for extension in $MOZ_EXTENSIONS; do
|
||||
if test ! -d "${srcdir}/extensions/${extension}"; then
|
||||
AC_MSG_ERROR([Unrecognized extension provided to --enable-extensions: ${extension}.])
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
dnl ========================================================
|
||||
dnl Image decoders
|
||||
dnl ========================================================
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user