X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=c6e0c09a8f8014c9458c9461ae59094c49e56e05;hp=cd4a30e22dd11a8252e1565402d8706a4dc031d6;hb=9f99a301b158dc1ed1c8c6754db1d57e3b0becf4;hpb=ea2d9a2cbfe6af2a1f7b664e998d09ac5d68d5e0 diff --git a/configure b/configure index cd4a30e2..c6e0c09a 100755 --- a/configure +++ b/configure @@ -1,7 +1,66 @@ #! /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 <