blob: ef4f72faa319ee8805ca4a4b6738ea32eb8ac8a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
https://bugs.gentoo.org/782643
--- a/configure.ac
+++ b/configure.ac
@@ -1270,20 +1270,9 @@ if test "x$enable_smtp" != "xno" && test "x$with_libesmtp" != "xno"; then
CPPFLAGS="$CPPFLAGS_SAVE"
LDFLAGS="$LDFLAGS_SAVE"
else
- AC_MSG_CHECKING(for libESMTP)
- if libesmtp-config --version >/dev/null 2>&1; then
- AC_MSG_RESULT(yes)
- LIBESMTP_CFLAGS="`libesmtp-config --cflags`"
- LIBESMTP_LIBS="`libesmtp-config --libs`"
- else
- AC_MSG_RESULT(no)
- libesmtp=no
- fi
- fi
- if test "x$enable_smtp" = "xyes" && test "x$libesmtp" = "xno"; then
- AC_MSG_ERROR(libESMTP not found)
+ PKG_CHECK_MODULES(libesmtp, libesmtp-1.0)
fi
- enable_smtp=$libesmtp
+ enable_smtp="yes"
fi
dnl ***************************************************************************
|