make configuration script slightly better.
[apps/madmutt.git] / doconfig.sh
index 8ebae85..f9ea5e6 100755 (executable)
@@ -1,7 +1 @@
-#./autogen.sh
-#./configure -C --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man       \
-#    --with-sharedir=/usr/share/mutt-ng --with-docdir=/usr/share/doc/mutt-ng  \
-#    --with-mailpath=/var/mail --enable-fcntl --with-idn --with-curses --enable-nntp \
-#    --with-libesmtp --enable-gpgme --enable-hcache --enable-doc
-
-cmake -D WITH_NNTP=1 -D WITH_IDN=1 -D USE_HCACHE=1 -D WITH_LIBESMTP=1 .
+cmake -D WITH_NNTP=1 -D WITH_IDN=1 -D USE_HCACHE=1 -D WITH_LIBESMTP=1 --with-prefix=/usr $(dirname $0)