X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=configure;h=fa8e142bb786e0450992abe823c6a9ee26bffb9e;hb=dac01ec52036e0320f66211be3dc5e5126eb218f;hp=fd194ab039609ca7c999ad39389bf230735d14ce;hpb=b86e30be06548f08cc002d6739c0e4071debcd0d;p=notmuch diff --git a/configure b/configure index fd194ab0..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 <