diff options
author | 2024-12-03 02:31:03 +0100 | |
---|---|---|
committer | 2024-12-03 02:31:03 +0100 | |
commit | 44099d4b79c8d6a7d599d652ebef62db8dae6696 (patch) | |
tree | 402e253465032f72fe6af2fa62816360abf273a2 /configure.ac | |
parent | e3ca6af2c580c0b748a5635c15b973094765abbf (diff) | |
download | libplist-44099d4b79c8d6a7d599d652ebef62db8dae6696.tar.gz libplist-44099d4b79c8d6a7d599d652ebef62db8dae6696.tar.bz2 |
Remove pthread dependency
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 ;; *) AC_MSG_RESULT([${host_os}]) - AX_PTHREAD([], [AC_MSG_ERROR([pthread is required to build libplist])]) - AC_CHECK_LIB(pthread, [pthread_once], [], [AC_MSG_ERROR([pthread with pthread_once required to build libplist])]) ;; esac AM_CONDITIONAL(WIN32, test x$win32 = xtrue) @@ -155,8 +153,8 @@ AC_ARG_WITH([tools], AS_IF([test "x$build_tools" = "xyes"], [AC_DEFINE(BUILD_TOOLS, 1, [Define if we are building plist tools])]) AM_CONDITIONAL(BUILD_TOOLS, test "x$build_tools" = "xyes") -AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing $PTHREAD_CFLAGS") -GLOBAL_LDFLAGS="$PTHREAD_LIBS" +AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing") +GLOBAL_LDFLAGS="" AC_ARG_ENABLE(debug, AS_HELP_STRING([--enable-debug], |