diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-03-27 22:41:00 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-03-27 22:41:00 +0300 |
commit | 3b260e636a35df5898dfefaa47560a179f562da8 (patch) | |
tree | aefcce8d064d0405f21be7c75d357e950dbf1f78 /configure.ac | |
parent | 5968d8b49e90e9636cc221000f699a85e87c46fe (diff) | |
download | sciteco-3b260e636a35df5898dfefaa47560a179f562da8.tar.gz |
don't check for -pthread on MinGW
* probably not necessary for std::thread support in Scintilla
* should fix MinGW nightly builds
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index d70f02c..d12dda5 100644 --- a/configure.ac +++ b/configure.ac @@ -125,19 +125,20 @@ PKG_CHECK_MODULES(LIBGLIB, [glib-2.0 >= 2.44], [ LIBS="$LIBS $LIBGLIB_LIBS" ]) -# Required by Scintilla. -AX_PTHREAD([], [ - AC_MSG_ERROR([pthread not found!]) -]) -SCINTILLA_CXXFLAGS="$SCINTILLA_CXXFLAGS $PTHREAD_CFLAGS" -LIBS="$LIBS $PTHREAD_LIBS" - case $host in *-mingw*) AC_CHECK_HEADERS([windows.h], , [ AC_MSG_ERROR([Missing Windows headers!]) ]) ;; +*) + # Required by Scintilla. + AX_PTHREAD([], [ + AC_MSG_ERROR([pthread not found!]) + ]) + SCINTILLA_CXXFLAGS="$SCINTILLA_CXXFLAGS $PTHREAD_CFLAGS" + LIBS="$LIBS $PTHREAD_LIBS" + ;; esac # Checks for typedefs, structures, and compiler characteristics. |