Remove defines set in _NON_GLOBAL_ACDEFINES from the list used to create mozilla-config.h.

Bug #202425 r=darin
This commit is contained in:
seawood%netscape.com 2003-04-19 02:56:14 +00:00
Родитель 7f2e9509e0
Коммит 842c0235c8
1 изменённых файлов: 10 добавлений и 1 удалений

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

@ -5215,7 +5215,16 @@ dnl ========================================================
#ifndef _MOZILLA_CONFIG_H_
#define _MOZILLA_CONFIG_H_
EOF
sort confdefs.h >> $_CONFIG_TMP
_EGREP_PATTERN='^#define ('
if test -n "$_NON_GLOBAL_ACDEFINES"; then
for f in $_NON_GLOBAL_ACDEFINES; do
_EGREP_PATTERN="${_EGREP_PATTERN}$f|"
done
fi
_EGREP_PATTERN="${_EGREP_PATTERN}dummy_never_defined)"
sort confdefs.h | egrep -v "$_EGREP_PATTERN" >> $_CONFIG_TMP
cat >> $_CONFIG_TMP <<\EOF