30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [
AC_PATH_TOOL(AR, ar)
AC_PROG_RANLIB
AC_SUBST(OBJXMPP_STATIC_LIB, "libobjxmpp.a")
])
AC_CHECK_LIB(objopenssl, main, [
LIBS="$LIBS -lobjopenssl"
], [
AC_MSG_ERROR(You need ObjOpenSSL installed!)
])
PKG_CHECK_MODULES(libidn, [libidn >= 0.25], [
CPPFLAGS="$CPPFLAGS $libidn_CFLAGS"
LIBS="$LIBS $libidn_LIBS"
|
|
|
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
AS_IF([test x"$enable_static" = x"yes" -o x"$enable_shared" = x"no"], [
AC_PATH_TOOL(AR, ar)
AC_PROG_RANLIB
AC_SUBST(OBJXMPP_STATIC_LIB, "libobjxmpp.a")
])
AC_CHECK_LIB(objopenssl, main, [
LIBS="$LIBS -lobjopenssl -lcrypto"
], [
AC_MSG_ERROR(You need ObjOpenSSL installed!)
])
PKG_CHECK_MODULES(libidn, [libidn >= 0.25], [
CPPFLAGS="$CPPFLAGS $libidn_CFLAGS"
LIBS="$LIBS $libidn_LIBS"
|