X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=488b3bd7965a57471c1fa187ffe7c4eb659a2e10;hp=cd4a30e22dd11a8252e1565402d8706a4dc031d6;hb=c7f971e8c02524ee2435406f0c14791b75c10e20;hpb=ea2d9a2cbfe6af2a1f7b664e998d09ac5d68d5e0 diff --git a/configure b/configure index cd4a30e2..488b3bd7 100755 --- a/configure +++ b/configure @@ -3,6 +3,16 @@ CC=${CC:-gcc} CXX=${CXX:-g++} +# defaults +PREFIX=/usr/local + +# option parsing +for option; do + if [ "${option%%=*}" = '--prefix' ] ; then + PREFIX="${option#*=}" + fi +done + cat <