aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
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.