X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=configure;h=fa8e142bb786e0450992abe823c6a9ee26bffb9e;hb=19e8ad63934428c0d0f4a091ccebdcc9b0b9ffa5;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 <