mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
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.
This commit is contained in:
parent
222ee87dfe
commit
a4d3f07e51
1 changed files with 16 additions and 0 deletions
16
configure
vendored
16
configure
vendored
|
@ -161,9 +161,25 @@ EOF
|
||||||
|
|
||||||
# construct the Makefile.config
|
# construct the Makefile.config
|
||||||
cat > Makefile.config <<EOF
|
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
|
prefix = /usr/local
|
||||||
|
|
||||||
|
# The directory to which emacs lisp files should be installed
|
||||||
emacs_lispdir=${emacs_lispdir}
|
emacs_lispdir=${emacs_lispdir}
|
||||||
|
|
||||||
|
# Whether the getline function is available (if not, then notmuch will
|
||||||
|
# build its own version)
|
||||||
HAVE_GETLINE = ${have_getline}
|
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 CFLAGS += ${cflags} -DHAVE_VALGRIND=${have_valgrind} -DHAVE_GETLINE=\$(HAVE_GETLINE)
|
||||||
override CXXFLAGS += ${cflags} ${cxxflags}
|
override CXXFLAGS += ${cflags} ${cxxflags}
|
||||||
override LDFLAGS += ${ldflags}
|
override LDFLAGS += ${ldflags}
|
||||||
|
|
Loading…
Reference in a new issue