bug 1363774 - error if generated old-configure is empty due to broken autoconf. r=glandium

MozReview-Commit-ID: FyS67dORiuX

--HG--
extra : rebase_source : 9d9cdf93f0a0f9d1c8cce1148b3248791cb481c9
This commit is contained in:
Ted Mielczarek 2017-05-10 18:00:11 -04:00
Родитель 03c00562c3
Коммит adc89dfdd1
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -104,6 +104,8 @@ def prepare_configure(old_configure, mozconfig, autoconf, build_env, shell,
shell, autoconf,
'--localdir=%s' % os.path.dirname(old_configure),
old_configure + '.in'])
if not script:
die('Generated old-configure is empty! Check that your autoconf 2.13 program works!')
# Make old-configure append to config.log, where we put our own log.
# This could be done with a m4 macro, but it's way easier this way