diff options
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index fc0d8c4..b6bf2e2 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -71,8 +71,6 @@ case ${host_os} in | |||
| 71 | ;; | 71 | ;; |
| 72 | *) | 72 | *) |
| 73 | AC_MSG_RESULT([${host_os}]) | 73 | AC_MSG_RESULT([${host_os}]) |
| 74 | AX_PTHREAD([], [AC_MSG_ERROR([pthread is required to build libplist])]) | ||
| 75 | AC_CHECK_LIB(pthread, [pthread_once], [], [AC_MSG_ERROR([pthread with pthread_once required to build libplist])]) | ||
| 76 | ;; | 74 | ;; |
| 77 | esac | 75 | esac |
| 78 | AM_CONDITIONAL(WIN32, test x$win32 = xtrue) | 76 | AM_CONDITIONAL(WIN32, test x$win32 = xtrue) |
| @@ -155,8 +153,8 @@ AC_ARG_WITH([tools], | |||
| 155 | AS_IF([test "x$build_tools" = "xyes"], [AC_DEFINE(BUILD_TOOLS, 1, [Define if we are building plist tools])]) | 153 | AS_IF([test "x$build_tools" = "xyes"], [AC_DEFINE(BUILD_TOOLS, 1, [Define if we are building plist tools])]) |
| 156 | AM_CONDITIONAL(BUILD_TOOLS, test "x$build_tools" = "xyes") | 154 | AM_CONDITIONAL(BUILD_TOOLS, test "x$build_tools" = "xyes") |
| 157 | 155 | ||
| 158 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing $PTHREAD_CFLAGS") | 156 | AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing") |
| 159 | GLOBAL_LDFLAGS="$PTHREAD_LIBS" | 157 | GLOBAL_LDFLAGS="" |
| 160 | 158 | ||
| 161 | AC_ARG_ENABLE(debug, | 159 | AC_ARG_ENABLE(debug, |
| 162 | AS_HELP_STRING([--enable-debug], | 160 | AS_HELP_STRING([--enable-debug], |
