|
|
@ -200,6 +200,7 @@ if test "x$enable_shared" = "xno" -a "x$enable_static" = "xyes" ; then |
|
|
|
AC_MSG_CHECKING([whether we need CARES_STATICLIB definition]) |
|
|
|
AC_MSG_CHECKING([whether we need CARES_STATICLIB definition]) |
|
|
|
if test "$ac_cv_native_windows" = "yes" ; then |
|
|
|
if test "$ac_cv_native_windows" = "yes" ; then |
|
|
|
AX_APPEND_FLAG([-DCARES_STATICLIB], [AM_CPPFLAGS]) |
|
|
|
AX_APPEND_FLAG([-DCARES_STATICLIB], [AM_CPPFLAGS]) |
|
|
|
|
|
|
|
PKGCONFIG_CFLAGS="-DCARES_STATLICLIB" |
|
|
|
AC_MSG_RESULT([yes]) |
|
|
|
AC_MSG_RESULT([yes]) |
|
|
|
else |
|
|
|
else |
|
|
|
AC_MSG_RESULT([no]) |
|
|
|
AC_MSG_RESULT([no]) |
|
|
@ -906,6 +907,7 @@ AM_CONDITIONAL(BUILD_TESTS, test "x$build_tests" = "xyes") |
|
|
|
|
|
|
|
|
|
|
|
AC_SUBST(AM_CFLAGS) |
|
|
|
AC_SUBST(AM_CFLAGS) |
|
|
|
AC_SUBST(AM_CPPFLAGS) |
|
|
|
AC_SUBST(AM_CPPFLAGS) |
|
|
|
|
|
|
|
AC_SUBST(PKGCONFIG_CFLAGS) |
|
|
|
AC_SUBST(BUILD_SUBDIRS) |
|
|
|
AC_SUBST(BUILD_SUBDIRS) |
|
|
|
|
|
|
|
|
|
|
|
AC_CONFIG_FILES([Makefile \ |
|
|
|
AC_CONFIG_FILES([Makefile \ |
|
|
|