From a4d3f07e5162db4f9345f32f623ce94f5015c873 Mon Sep 17 00:00:00 2001 From: Carl Worth <cworth@cworth.org> Date: Tue, 1 Dec 2009 18:09:47 -0800 Subject: [PATCH] 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. --- configure | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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} -- 2.45.2