aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-12-01 18:09:47 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-12-01 18:09:47 -0800
commita4d3f07e5162db4f9345f32f623ce94f5015c873 (patch)
treeecc68cb59be775a7ee1cffe45123ead07e8c9c84 /configure
parent222ee87dfefdd85ddbd7f148d5636746919d4100 (diff)
configure: Generate some documentation into Makefile.config.
It's just not nice to auto-generate a file without helping out the poor user who gets stuck trying to figure out what went wrong.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure b/configure
index 97ee606f..92b6710f 100755
--- a/configure
+++ b/configure
@@ -161,9 +161,25 @@ EOF
# construct the Makefile.config
cat > Makefile.config <<EOF
+# This Makefile.config was automatically generated by the ./configure
+# script of notmuch. If the configure script identified anything
+# incorrectly, then you can edit this file to try to correct things,
+# but be warned that if configure is run again it will destroy your
+# changes, (and this could happen by simply calling "make" if the
+# configure script is updated).
+
+# The prefix to which notmuch should be installed
prefix = /usr/local
+
+# The directory to which emacs lisp files should be installed
emacs_lispdir=${emacs_lispdir}
+
+# Whether the getline function is available (if not, then notmuch will
+# build its own version)
HAVE_GETLINE = ${have_getline}
+
+# Various flags needed to compile and link against the dependencies of
+# notmuch.
override CFLAGS += ${cflags} -DHAVE_VALGRIND=${have_valgrind} -DHAVE_GETLINE=\$(HAVE_GETLINE)
override CXXFLAGS += ${cflags} ${cxxflags}
override LDFLAGS += ${ldflags}