Disable C plugins on Cygwin
This commit is contained in:
12
configure.ac
12
configure.ac
@@ -96,10 +96,13 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# c
|
# c
|
||||||
LT_INIT
|
if test "x$PLATFORM" = xcygwin; then
|
||||||
if test "x$enable_plugins" = xno; then
|
|
||||||
AM_CONDITIONAL([BUILD_C_API], [false])
|
AM_CONDITIONAL([BUILD_C_API], [false])
|
||||||
elif test "x$enable_c_plugins" != xno; then
|
else
|
||||||
|
LT_INIT
|
||||||
|
if test "x$enable_plugins" = xno; then
|
||||||
|
AM_CONDITIONAL([BUILD_C_API], [false])
|
||||||
|
elif test "x$enable_c_plugins" != xno; then
|
||||||
AC_CHECK_LIB([dl], [main],
|
AC_CHECK_LIB([dl], [main],
|
||||||
[AM_CONDITIONAL([BUILD_C_API], [true]) LIBS="$LIBS -ldl" AC_DEFINE([HAVE_C], [1], [C support])],
|
[AM_CONDITIONAL([BUILD_C_API], [true]) LIBS="$LIBS -ldl" AC_DEFINE([HAVE_C], [1], [C support])],
|
||||||
[AS_IF(
|
[AS_IF(
|
||||||
@@ -107,8 +110,9 @@ elif test "x$enable_c_plugins" != xno; then
|
|||||||
[AC_MSG_ERROR([dl library needed to run C plugins])],
|
[AC_MSG_ERROR([dl library needed to run C plugins])],
|
||||||
[AM_CONDITIONAL([BUILD_C_API], [false])])
|
[AM_CONDITIONAL([BUILD_C_API], [false])])
|
||||||
])
|
])
|
||||||
else
|
else
|
||||||
AM_CONDITIONAL([BUILD_C_API], [false])
|
AM_CONDITIONAL([BUILD_C_API], [false])
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# threading
|
# threading
|
||||||
|
|||||||
Reference in New Issue
Block a user