Various configure/build tweaks

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40062 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2016-08-19 12:20:24 +00:00
parent 116e5f8211
commit 33ed35331b
17 changed files with 73 additions and 119 deletions

View file

@ -56,7 +56,7 @@
# In addition the values should be substituted into the header file
# Headers/GNUstepBase/GSConfig.h.in so that it can define a
# preprocessor constant of the form GS_USE_XXX to 1 or 0, providing a
# standard mechanism for parts of a paritcvular file to compile to make
# standard mechanism for parts of a particular file to compile to make
# use of the external code or not.
# This file is included by all the base library source code, and may also
# be included by code which uses the base library.
@ -3387,11 +3387,19 @@ if test $enable_libdispatch = yes; then
fi
AC_SUBST(HAVE_LIBDISPATCH)
HAVE_LIBDISPATCH_RUNLOOP=0
if test $HAVE_LIBDISPATCH = 1; then
# We check whether we have a variant of libdispatch that allows runloop
# integration
AC_CHECK_FUNCS(dispatch_main_queue_drain_np dispatch_get_main_queue_handle_np)
if test "$ac_cv_func_dispatch_main_queue_drain_np" = "no"; then
HAVE_LIBDISPATCH_RUNLOOP=1
fi
if test "$ac_cv_func_dispatch_get_main_queue_handle_np" = "no"; then
HAVE_LIBDISPATCH_RUNLOOP=1
fi
fi
AC_SUBST(HAVE_LIBDISPATCH_RUNLOOP)
#--------------------------------------------------------------------
# Check GMP for NSDecimal