X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=configure.in;h=e5d59d946f34cb7dd465feca672cbc8959be06ca;hp=cf3bbdc9d6c02d5a1604e2a36f9448304027808c;hb=cdfe1392899d2aca4517e8f4b383a0422d878c1d;hpb=e2392789784483d5c142443388c1a0bf8508592b diff --git a/configure.in b/configure.in index cf3bbdc..e5d59d9 100644 --- a/configure.in +++ b/configure.in @@ -82,6 +82,33 @@ echo "Compiling rmt by default" ) AC_SUBST(RMTDIR) +dnl +dnl Handle --enable-ermt +dnl +AC_ARG_ENABLE([ermt], +[ --enable-ermt compile ermt, an encrypting version of rmt (default is NO)], +if test "$enableval" = "no" +then + ERMT="" + CRYPTO="" + echo "Not compiling ermt" +else + if test "$RMTDIR" = "" + then + AC_MSG_ERROR(ermt requires --enable-rmt) + fi + ERMT="ermt" + CRYPTO="-lcrypto" + echo "Compiling ermt" +fi +, +ERMT="" +CRYPTO="" +echo "Not compiling ermt by default" +) +AC_SUBST(ERMT) +AC_SUBST(CRYPTO) + dnl dnl Handle --enable-kerberos dnl