Dont define the detect rules on autoconf builds, otherwise ac builds is

painfully slow.
This commit is contained in:
ramiro%netscape.com 1998-09-30 11:58:59 +00:00
Родитель 78c3e97bc8
Коммит eff5e621c6
2 изменённых файлов: 12 добавлений и 0 удалений

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

@ -35,10 +35,16 @@ endif
endif
GFX_ARCH := x
# Dont do the detect hackery for autoconf builds. It makes them painfully
# slow and its not needed anyway, since autoconf does it much better.
ifndef USE_AUTOCONF
# Include the automagically generated makefile. This generated makefile
# should contain lots of magic paths and flags.
-include $(MOZILLA_DETECT_GEN)
endif # USE_AUTOCONF
OS_INCLUDES = $(MOZILLA_XFE_MOTIF_INCLUDE_FLAGS) $(MOZILLA_XFE_X11_INCLUDE_FLAGS)
G++INCLUDES = -I/usr/include/g++
LOC_LIB_DIR = /usr/lib/X11

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

@ -798,12 +798,18 @@ $(MKDEPEND)::
cd $(DEPTH)/config; $(MAKE) nsinstall tweak_nspr
cd $(MKDEPEND_DIR); $(MAKE)
# Dont do the detect hackery for autoconf builds. It makes them painfully
# slow and its not needed anyway, since autoconf does it much better.
ifndef USE_AUTOCONF
# Rules to for detection
$(MOZILLA_DETECT_GEN):
cd $(MOZILLA_DETECT_DIR); $(MAKE)
detect: $(MOZILLA_DETECT_GEN)
endif
ifdef OBJS
depend:: $(MKDEPEND) $(MKDEPENDENCIES)
else