configure: move make {,install} instructions to the end
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 1 Nov 2014 09:39:04 +0000 (11:39 +0200)
committerDavid Bremner <david@tethera.net>
Sun, 2 Nov 2014 18:40:05 +0000 (19:40 +0100)
There was theorical possibility that writing the config files could
have skipped (by interruption) after the instructions how to make
notmuch was printed out.

configure

index 331f29bd96709a5e2b3dbab2ccf75bdcc9ed550b..d14e7d17a91a99ddf368a6204060c99c721de8f7 100755 (executable)
--- a/configure
+++ b/configure
@@ -724,16 +724,6 @@ printf "\n\t${WARN_CFLAGS}\n"
 
 rm -f minimal minimal.c
 
-cat <<EOF
-
-All required packages were found. You may now run the following
-commands to compile and install notmuch:
-
-       make
-       sudo make install
-
-EOF
-
 # construct the Makefile.config
 cat > Makefile.config <<EOF
 # This Makefile.config was automatically generated by the ./configure
@@ -969,3 +959,14 @@ NOTMUCH_HAVE_XAPIAN_COMPACT=${have_xapian_compact}
 # documentation
 NOTMUCH_HAVE_MAN=$((have_sphinx || have_rst2man))
 EOF
+
+# Finally, after everything configured, inform the user how to continue.
+cat <<EOF
+
+All required packages were found. You may now run the following
+commands to compile and install notmuch:
+
+       make
+       sudo make install
+
+EOF