diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-02-15 23:12:57 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-02-15 23:15:46 +0900 |
| commit | f7eeb74304c9f233bb1d8593d19431e4f302c02f (patch) | |
| tree | 20edbb1aa3ff2add7752e1434e202f1bf3823ee2 | |
| parent | 656800948d185f6abb46d5264c1d534df7ada360 (diff) | |
Added friendly warnings if autoconf macro is missing
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 84c39451..e71db40e 100644 --- a/configure.ac +++ b/configure.ac @@ -312,6 +312,7 @@ AM_CONDITIONAL([HAVE_LIBUV], [test "x$have_libuv" = "xyes"]) have_libxml2=no if test "x$with_libxml2" = "xyes"; then m4_ifdef([AM_PATH_XML2], [AM_PATH_XML2([2.6.24], [have_libxml2=yes])], [ + AC_MSG_WARN([configure was generated without libxml2 detection. libxml2 detection is disabled]) XML_CPPFLAGS= XML_LIBS= AC_SUBST([XML_CPPFLAGS]) @@ -327,6 +328,7 @@ fi have_libexpat=no if test "x$with_libexpat" = "xyes" && test "x$have_libxml2" != "xyes"; then m4_ifdef([AM_PATH_LIBEXPAT], [AM_PATH_LIBEXPAT], [ + AC_MSG_WARN([configure was generated without libexpat detection. libexpat detection is disabled]) EXPAT_CFLAGS= EXPAT_LIBS= AC_SUBST([EXPAT_CFLAGS]) @@ -541,6 +543,7 @@ if test "x$have_openssl" != "xyes"; then test "x$have_nativetls" != "xyes" && test "x$have_libnettle" != "xyes"; then m4_ifdef([AM_PATH_LIBGCRYPT], [AM_PATH_LIBGCRYPT([1.2.4], [have_libgcrypt=yes])], [ + AC_MSG_WARN([configure was generated without libgcrypt detection. libgcrypt detection is disabled]) LIBGCRYPT_CFLAGS= LIBGCRYPT_LIBS= AC_SUBST([LIBGCRYPT_CFLAGS]) |
