--- misc/liblangtag-0.4.0/configure.ac +++ misc/build/liblangtag-0.4.0/configure.ac @@ -173,8 +173,9 @@ __sync_synchronize(); j = __sync_fetch_and_sub(&i, 1); return j; - ]])], [AC_MSG_ERROR([liblangtag has to be built with -march=i486 or later.])] - [lt_cv_has_atomic=no])]) + ]])], [AC_MSG_ERROR([liblangtag has to be built with -march=i486 or later.])], + [lt_cv_has_atomic=no + CFLAGS="$_save_cflags"])]) ]) if test "x$lt_cv_has_atomic" = "xyes"; then AC_DEFINE(LT_HAVE_ATOMIC_BUILTINS, 1, [Have buit-in atomic functions]) @@ -291,8 +291,14 @@ dnl ====================================================================== dnl check another libraries dnl ====================================================================== +case $host_os in + cygwin* | mingw*) + ;; -AX_PTHREAD([], + *) + AX_PTHREAD([], [AC_MSG_ERROR([*** pthread library are required])]) + ;; +esac GOBJECT_INTROSPECTION_CHECK([1.30.0]) if test "x$enable_introspection" != "xyes"; then --- misc/liblangtag-0.4.0/configure +++ misc/build/liblangtag-0.4.0/configure @@ -12604,7 +12604,9 @@ _ACEOF if ac_fn_c_try_link "$LINENO"; then : as_fn_error $? "liblangtag has to be built with -march=i486 or later." "$LINENO" 5 +else lt_cv_has_atomic=no + CFLAGS="$_save_cflags" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext @@ -13201,6 +13201,10 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +case $host_os in + cygwin* | mingw*) + ;; + *) ax_pthread_ok=no # We used to check for pthread.h first, but this fails if pthread.h @@ -13582,6 +13582,8 @@ ax_pthread_ok=no as_fn_error $? "*** pthread library are required" "$LINENO" 5 fi +;; +esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' stro/collabora/cd-5.3-3.1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/io
AgeCommit message (Expand)Author
2021-10-05drop 'using namespace std' in h* i* j*Julien Nabet
2021-08-06use more comphelper::OInterfaceContainerHelper2Noel Grandin
2021-05-25Add forgotten io/Executable_io-testconnection.mkStephan Bergmann
2021-05-25Resurrect io testconnection executableStephan Bergmann
2021-05-02throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewriteStephan Bergmann
2021-04-29loplugin:stringadd simplify some *StringBuffer operationsNoel Grandin
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-03-26Drop these definesMike Kaganski
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2021-02-18loplugin:referencecasting add check for new rtl::Reference operatorNoel
2021-02-11loplugin:refcounting generalise type checkingNoel
2021-01-03tdf#124176 Use pragma once instead of include guardsAlchemist
2020-12-29loplugin:stringviewparam: operator +Stephan Bergmann
2020-11-10tdf#42949 Fix new IWYU warnings in directories [h-r]*Gabor Kelemen
2020-10-22long->tools::Long in hwpfilter..ooxNoel
2020-09-27improve some exception messagesNoel Grandin