X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=configure;h=c6e0c09a8f8014c9458c9461ae59094c49e56e05;hb=518c8c0d3f9d845b2e5a87e83382d61b05fc2958;hp=54d55cbacf79acaaa2609afe104b2cfe4e33914d;hpb=5022424cf3695f6d2432a8528ab49ede98a66632;p=notmuch diff --git a/configure b/configure index 54d55cba..c6e0c09a 100755 --- a/configure +++ b/configure @@ -1,14 +1,63 @@ #! /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 <