]> diplodocus.org Git - nmh/blobdiff - configure.ac
Use isascii() with isprint(), since using isprint() on
[nmh] / configure.ac
index 236fa47c38cd28cf491b41664b7b20e7785579d5..94b2ec03073f9abaf65baa3614a38f558fc8e6c1 100644 (file)
@@ -516,13 +516,15 @@ dnl By default (with_oauth=''), enable OAuth if curl is found.
 dnl If OAuth requested (--with-oauth with_oauth=yes), error if curl not found.
 dnl If OAuth disabled (--without-oauth with_oauth=no), don't enable it.
 oauth_support=no
+OAUTH_SUPPORT=0
+AC_SUBST([OAUTH_SUPPORT])
 AS_IF([test "x$with_oauth" = xyes && test "x$HAVE_CURL_H" = x],
       [AC_MSG_ERROR([OAuth requested but curl/curl.h not found])],
       [test "x$with_oauth" = xyes && test "x$CURLLIB" = x],
       [AC_MSG_ERROR([OAuth requested but curl library not found])],
       [test "x$with_oauth" != xno && test "x$HAVE_CURL_H" = x1 && test "x$CURLLIB" != x],
       [AC_DEFINE([OAUTH_SUPPORT], [1], [Support OAuth2 in SMTP auth.])
-       AC_SUBST(OAUTH_SUPPORT)
+       OAUTH_SUPPORT=1
        oauth_support=yes])
 
 dnl ----------------
@@ -595,9 +597,10 @@ dnl We only use the expanded versions to print the install paths in
 dnl the final summary and should use them nowhere else (see the autoconf
 dnl docs for the rationale for bindir etc being unexpanded).
 eval "nmhbin=${bindir}";         eval "nmhbin=${nmhbin}"
-eval "nmhsysconf=${sysconfdir}"; eval "nmhsysconf=${nmhsysconf}"
 eval "nmhlibexec=${libexecdir}"; eval "nmhlibexec=${nmhlibexec}"
+eval "nmhsysconf=${sysconfdir}"; eval "nmhsysconf=${nmhsysconf}"
 eval "nmhman=${mandir}";         eval "nmhman=${nmhman}"
+eval "nmhdoc=${docdir}";         eval "nmhdoc=${nmhdoc}"
 eval "nmhrpm=${nmhrpm}";
 
 AC_MSG_NOTICE([
@@ -614,6 +617,7 @@ binary install path        : ${nmhbin}
 libexec install path       : ${nmhlibexec}/nmh
 config files install path  : ${nmhsysconf}/nmh
 man page install path      : ${nmhman}
+docs install path          : ${nmhdoc}
 RPM build root             : ${nmhrpm}
 backup prefix              : ${backup_prefix}
 transport system           : ${MTS}