Overview
Comment: | Check for pthreads. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
7d050bfb2db3cd10d31f58ed4a4d418d |
User & Date: | js on 2008-12-22 03:00:38 |
Other Links: | manifest | tags |
Context
2008-12-22
| ||
03:05 | Don't try to use madvise on win32. check-in: ab9eb34112 user: js tags: trunk | |
03:00 | Check for pthreads. check-in: 7d050bfb2d user: js tags: trunk | |
2008-12-21
| ||
20:17 | This looked nicer, but GCC couldn't optimize it. check-in: 74af3973f8 user: js tags: trunk | |
Changes
Modified configure.ac from [fd700cf72b] to [feef7340bd].
1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - - - + - - | AC_INIT(objfw, 0.1, js-objfw@webkeks.org) AC_CONFIG_SRCDIR(src) AC_CANONICAL_HOST AC_CANONICAL_TARGET AC_PROG_CC AC_PROG_OBJC AC_PROG_CPP AC_PROG_LN_S AC_PATH_PROG(AR, ar) CFLAGS="$CFLAGS -Wall" |
︙ | |||
41 42 43 44 45 46 47 48 49 50 51 52 53 54 | 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | + + | ac_cv_snprintf_useful_ret="yes", ac_cv_snprintf_useful_ret="no", ac_cv_snprintf_useful_ret="no")]) AC_MSG_RESULT($ac_cv_snprintf_useful_ret) test x"$have_asprintf" != x"yes" -a x"$ac_cv_snprintf_useful_ret" != x"yes" && \ AC_MSG_ERROR(No asprintf and no snprintf returning required space!) ACX_PTHREAD AC_MSG_CHECKING(whether we have IPv6 support) AC_CACHE_VAL(ac_cv_have_ipv6, [ AC_TRY_RUN([ #include <stdlib.h> #include <string.h> |
︙ | |||
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | + + | ac_cv_have_ipv6="yes", ac_cv_have_ipv6="no", ac_cv_have_ipv6="no")]) AC_MSG_RESULT($ac_cv_have_ipv6) test x"$ac_cv_have_ipv6" = x"yes" && \ AC_DEFINE(HAVE_IPV6, 1, "Whether we have IPv6 support") test x"$GCC" = x"yes" && CFLAGS="$CFLAGS -Werror -pipe -g" test x"$GCC" = x"yes" && OBJCFLAGS="$OBJCFLAGS -Werror -pipe -g" test x"$cross_compiling" != x"yes" && AC_SUBST(TESTS, "tests") BUILDSYS_TOUCH_DEPS AC_SUBST(PACKAGE, objfw) AC_CONFIG_FILES([buildsys.mk extra.mk]) AC_CONFIG_HEADERS(config.h) AC_OUTPUT |
Modified extra.mk.in from [6bf1c1cbe4] to [cb6751f56f].
1 2 | 1 2 3 4 | + + | ASPRINTF = @ASPRINTF@ TESTS = @TESTS@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ |
Added m4/acx_pthread.m4 version [8a9dbf4783].