mirror of
https://github.com/aria2/aria2.git
synced 2025-01-04 00:53:19 +00:00
7e5814f0f9
Removed --with-*-prefix configure option for c-ares, openssl, sqlite3, zlib and expat. Use CPPFLAGS and/or PKG_CONFIG_PATH instead.
18 lines
359 B
Plaintext
18 lines
359 B
Plaintext
AC_DEFUN([AM_PATH_LIBEXPAT],
|
|
[
|
|
LIBS_save=$LIBS
|
|
CPPFLAGS_save=$CPPFLAGS
|
|
|
|
LIBS="-lexpat $LIBS"
|
|
AC_CHECK_LIB([expat], [XML_ParserCreate], [have_libexpat=yes])
|
|
if test "x$have_libexpat" = "xyes"; then
|
|
AC_DEFINE([HAVE_LIBEXPAT], [1], [Define to 1 if you have libexpat.])
|
|
EXPAT_LIBS=-lexpat
|
|
EXPAT_CFLAGS=
|
|
fi
|
|
|
|
LIBS=$LIBS_save
|
|
CPPFLAGS=$CPPFLAGS_save
|
|
|
|
])
|