diff options
| -rw-r--r-- | configure.ac | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index 69ff13b..a2a5b12 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -66,17 +66,17 @@ if test "x$ac_cv_have_endian_h" = "xno"; then | |||
| 66 | fi | 66 | fi |
| 67 | 67 | ||
| 68 | # Check for operating system | 68 | # Check for operating system |
| 69 | AC_MSG_CHECKING([whether we need platform-specific build settings]) | 69 | AC_MSG_CHECKING([for platform-specific build settings]) |
| 70 | case ${host_os} in | 70 | case ${host_os} in |
| 71 | *mingw32*|*cygwin*) | 71 | *mingw32*|*cygwin*) |
| 72 | AC_MSG_RESULT([yes]) | 72 | AC_MSG_RESULT([${host_os}]) |
| 73 | win32=true | 73 | win32=true |
| 74 | ;; | 74 | ;; |
| 75 | darwin*) | 75 | darwin*) |
| 76 | AC_MSG_RESULT([no]) | 76 | AC_MSG_RESULT([${host_os}]) |
| 77 | ;; | 77 | ;; |
| 78 | *) | 78 | *) |
| 79 | AC_MSG_RESULT([yes]) | 79 | AC_MSG_RESULT([${host_os}]) |
| 80 | AX_PTHREAD([], [AC_MSG_ERROR([pthread is required to build $PACKAGE_NAME])]) | 80 | AX_PTHREAD([], [AC_MSG_ERROR([pthread is required to build $PACKAGE_NAME])]) |
| 81 | AC_CHECK_LIB(pthread, [pthread_once], [], [AC_MSG_ERROR([pthread with pthread_once required to build $PACKAGE_NAME])]) | 81 | AC_CHECK_LIB(pthread, [pthread_once], [], [AC_MSG_ERROR([pthread with pthread_once required to build $PACKAGE_NAME])]) |
| 82 | ;; | 82 | ;; |
| @@ -89,9 +89,9 @@ AC_CHECK_MEMBER(struct dirent.d_type, AC_DEFINE(HAVE_DIRENT_D_TYPE, 1, [define i | |||
| 89 | AC_ARG_WITH([cython], | 89 | AC_ARG_WITH([cython], |
| 90 | [AS_HELP_STRING([--without-cython], | 90 | [AS_HELP_STRING([--without-cython], |
| 91 | [build Python bindings using Cython (default is yes)])], | 91 | [build Python bindings using Cython (default is yes)])], |
| 92 | [build_cython=false], | 92 | [build_cython=$withval], |
| 93 | [build_cython=true]) | 93 | [build_cython=yes]) |
| 94 | if test "$build_cython" = "true"; then | 94 | if test "$build_cython" = "yes"; then |
| 95 | AM_PATH_PYTHON(2.3) | 95 | AM_PATH_PYTHON(2.3) |
| 96 | AC_PROG_CYTHON(0.17.0) | 96 | AC_PROG_CYTHON(0.17.0) |
| 97 | CYTHON_PYTHON | 97 | CYTHON_PYTHON |
