aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-12-01 16:00:31 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-12-01 16:33:25 -0800
commit650f6ac573ae6d08dbd2752fe58e670b28fee957 (patch)
tree8a26b29356b3ce783518dbecf0204f551b47252b /Makefile
parent3054bc462c8f31965f342808fce48c72f2858cfc (diff)
configure: Assimilate new getlinetest into recent configure conventions.
We're now using printf to print what we're checking before we check. We're also making variables such as HAVE_GETLINE available to both make and to the C pre-processor. With this, the local getline implementation is now only compiled if not available on the system.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c0b1b3fa..17be8b48 100644
--- a/Makefile
+++ b/Makefile
@@ -34,16 +34,17 @@ override LDFLAGS += \
all: notmuch notmuch.1.gz
-include lib/Makefile.local
-include compat/Makefile.local
-include Makefile.local
-
-# And get user settings from the output of configure
+# Before including any other Makefile fragments, get settings from the
+# output of configure
Makefile.config: configure
./configure
include Makefile.config
+include lib/Makefile.local
+include compat/Makefile.local
+include Makefile.local
+
# The user has not set any verbosity, default to quiet mode and inform the
# user how to enable verbose compiles.
ifeq ($(V),)