X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=configure;h=fa8e142bb786e0450992abe823c6a9ee26bffb9e;hb=cface5fda7c98b1a2272d2ecf41fe9c8b6edb816;hp=cd4a30e22dd11a8252e1565402d8706a4dc031d6;hpb=ea2d9a2cbfe6af2a1f7b664e998d09ac5d68d5e0;p=notmuch diff --git a/configure b/configure index cd4a30e2..fa8e142b 100755 --- a/configure +++ b/configure @@ -1,7 +1,72 @@ #! /bin/sh +# Set several defaults (optionally specified by the user in +# environemnt variables) CC=${CC:-gcc} CXX=${CXX:-g++} +CFLAGS=${CFLAGS:--O2} +CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)} + +# Set the defaults for values the user can specify with command-line +# options. +PREFIX=/usr/local + +usage () +{ + cat <