X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=c6e0c09a8f8014c9458c9461ae59094c49e56e05;hp=ff8baa5e52696686461d82d5cf9728e1c5448a0b;hb=4989ef3d871f2510dcf9cf65e7fddd81deeff82e;hpb=943f415f81207ea00bf1efe8c2c1cbf13a094a56 diff --git a/configure b/configure index ff8baa5e..c6e0c09a 100755 --- a/configure +++ b/configure @@ -1,16 +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 <