mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Tidied GCC_WITH_PRECOMPILED_HEADERS variable. Explicit compare to yes/no to make it clearer and more robust, eg so that changes in the default value will not cause problems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24372 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
88e79c7454
commit
f13b3ebb61
5 changed files with 13 additions and 4 deletions
|
@ -1,3 +1,12 @@
|
|||
2007-01-16 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* configure.ac (GS_WITH_PRECOMPILED_HEADERS): Set to 'no'
|
||||
when precompiled headers are not available.
|
||||
* rules.make: Compare GS_WITH_PRECOMPILED_HEADERS explicitly to
|
||||
'yes'.
|
||||
* Instance/rules.make: Same change.
|
||||
* configure: Regenerated.
|
||||
|
||||
2007-01-16 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* config-precomp-test: New directory
|
||||
|
|
|
@ -253,7 +253,7 @@ endif
|
|||
|
||||
# The following is for precompiled headers, only executed if GCC
|
||||
# supports them.
|
||||
ifneq ($(GCC_WITH_PRECOMPILED_HEADERS),)
|
||||
ifeq ($(GCC_WITH_PRECOMPILED_HEADERS),yes)
|
||||
#
|
||||
# The following are useful to speed up compilation by using
|
||||
# precompiled headers. If GCC_WITH_PRECOMPILED_HEADERS is '', then
|
||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -4375,7 +4375,7 @@ echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C"
|
|||
# What we want to do: set GCC_WITH_PRECOMPILED_HEADERS to yes if gcc
|
||||
# can compile and use a precompiled header.
|
||||
|
||||
GCC_WITH_PRECOMPILED_HEADERS=""
|
||||
GCC_WITH_PRECOMPILED_HEADERS="no"
|
||||
|
||||
# First, a preliminary test. If this is not gcc, precompiled headers
|
||||
# are not supported.
|
||||
|
|
|
@ -943,7 +943,7 @@ AC_MSG_CHECKING(if the compiler supports precompiled headers)
|
|||
# What we want to do: set GCC_WITH_PRECOMPILED_HEADERS to yes if gcc
|
||||
# can compile and use a precompiled header.
|
||||
|
||||
GCC_WITH_PRECOMPILED_HEADERS=""
|
||||
GCC_WITH_PRECOMPILED_HEADERS="no"
|
||||
|
||||
# First, a preliminary test. If this is not gcc, precompiled headers
|
||||
# are not supported.
|
||||
|
|
|
@ -458,7 +458,7 @@ $(GNUSTEP_OBJ_DIR)/%${OEXT} : %.mm
|
|||
$(ALL_OBJCCFLAGS)) \
|
||||
$($<_FILE_FLAGS) -o $@$(END_ECHO)
|
||||
|
||||
ifneq ($(GCC_WITH_PRECOMPILED_HEADERS),)
|
||||
ifeq ($(GCC_WITH_PRECOMPILED_HEADERS),yes)
|
||||
# We put the precompiled headers in different directories (depending
|
||||
# on the language) so that we can easily have different rules (that
|
||||
# use the appropriate compilers/flags) for the different languages.
|
||||
|
|
Loading…
Reference in a new issue