X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=fa8e142bb786e0450992abe823c6a9ee26bffb9e;hp=54d55cbacf79acaaa2609afe104b2cfe4e33914d;hb=263aeb82f0a1a69864ca41cff4dfa2ae0b8b3f05;hpb=5022424cf3695f6d2432a8528ab49ede98a66632 diff --git a/configure b/configure index 54d55cba..fa8e142b 100755 --- a/configure +++ b/configure @@ -1,15 +1,70 @@ #! /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)} -# defaults +# Set the defaults for values the user can specify with command-line +# options. PREFIX=/usr/local -# option parsing +usage () +{ + cat <