diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6c4722f..b60548f 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -67,6 +67,22 @@ if test "x$ac_cv_have_endian" = "xno"; then | |||
| 67 | fi | 67 | fi |
| 68 | fi | 68 | fi |
| 69 | 69 | ||
| 70 | # Check for operating system | ||
| 71 | AC_MSG_CHECKING([whether to enable WIN32 build settings]) | ||
| 72 | case ${host_os} in | ||
| 73 | *mingw32*|*cygwin*) | ||
| 74 | win32=true | ||
| 75 | AC_MSG_RESULT([yes]) | ||
| 76 | AC_CHECK_TOOL([WINDRES], [windres], AC_MSG_ERROR([windres not found])) | ||
| 77 | AC_SUBST(WINDRES) | ||
| 78 | ;; | ||
| 79 | *) | ||
| 80 | win32=false | ||
| 81 | AC_MSG_RESULT([no]) | ||
| 82 | ;; | ||
| 83 | esac | ||
| 84 | AM_CONDITIONAL(WIN32, test x$win32 = xtrue) | ||
| 85 | |||
| 70 | # Cython Python Bindings | 86 | # Cython Python Bindings |
| 71 | AC_ARG_WITH([cython], | 87 | AC_ARG_WITH([cython], |
| 72 | [AS_HELP_STRING([--without-cython], | 88 | [AS_HELP_STRING([--without-cython], |
