зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
7f2e9509e0
Коммит
842c0235c8
11
configure.in
11
configure.in
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче