Abuse knowledge of autoconf internals and call AC_OUTPUT_MAKE_DEFS unconditionally as we want the defines to be available for the command line regardless of whether we're using AC_CONFIG_HEADER to generate module-specific headers.

Fixing tinderbox bustage
Bug #202425
This commit is contained in:
seawood%netscape.com 2003-04-22 18:07:07 +00:00
Родитель c75f2a9d47
Коммит 504016ebf5
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -5248,6 +5248,8 @@ fi
_EGREP_PATTERN="${_EGREP_PATTERN}dummy_never_defined)"
sort confdefs.h | egrep -v "$_EGREP_PATTERN" >> $_CONFIG_TMP
sort confdefs.h | egrep -v "$_EGREP_PATTERN" > confdefs.h.new
mv confdefs.h.new confdefs.h && rm -f confdefs.h.new
cat >> $_CONFIG_TMP <<\EOF
@ -5266,6 +5268,9 @@ EOF
cat $_CONFIG_DEFS_H
fi
dnl Probably shouldn't call this manually but we always want the output of DEFS
AC_OUTPUT_MAKE_DEFS()
MOZ_DEFINES=$DEFS
AC_SUBST(MOZ_DEFINES)
dnl Load the list of Makefiles to generate.