X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=fa8e142bb786e0450992abe823c6a9ee26bffb9e;hp=ff8baa5e52696686461d82d5cf9728e1c5448a0b;hb=e50461eb84a10f07278f944aea33ce6aa1a244d8;hpb=40e584ecfc2da7b443ceebeabe064c096b3ab999 diff --git a/configure b/configure index ff8baa5e..fa8e142b 100755 --- a/configure +++ b/configure @@ -1,17 +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 <