X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=54d55cbacf79acaaa2609afe104b2cfe4e33914d;hp=7180e5e725e4a0d9bc9233915db558532e9e8d5a;hb=5022424cf3695f6d2432a8528ab49ede98a66632;hpb=8696882443048c0c31caf62e182dddb8cf8c2498 diff --git a/configure b/configure index 7180e5e7..54d55cba 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 <