diff options
Diffstat (limited to 'acinclude.m4.in')
| -rw-r--r-- | acinclude.m4.in | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/acinclude.m4.in b/acinclude.m4.in index 88486b9..e0e7bb8 100644 --- a/acinclude.m4.in +++ b/acinclude.m4.in @@ -714,9 +714,6 @@ support]) # more headers that need to be explicitly included on darwin AC_CHECK_HEADERS(sys/types.h stdint.h) - # sys/bitypes.h is needed for uint32_t and friends on Tru64 - AC_CHECK_HEADERS(sys/bitypes.h) - # darwin requires a poll emulation library AC_CHECK_LIB(poll, poll, LIB_POLL="-lpoll") @@ -779,29 +776,6 @@ AH_VERBATIM(_AIX_STRINGS_H_BZERO, AC_CHECK_FUNCS([vsnprintf snprintf]) -AH_VERBATIM(_TRU64,[ -/* - * On HP-UX, the declaration of vsnprintf() is needed every time ! - */ - -#if !defined(HAVE_VSNPRINTF) || defined(hpux) -#if __STDC__ -#include <stdarg.h> -#include <stdlib.h> -#else -#include <varargs.h> -#endif -#ifdef __cplusplus -extern "C" -#endif -int vsnprintf(char *str, size_t n, char const *fmt, va_list ap); -#ifdef __cplusplus -extern "C" -#endif -int snprintf(char *str, size_t n, char const *fmt, ...); -#endif -]) - ]) dnl ------------------------------------------------------------------------ @@ -4296,23 +4270,11 @@ AC_DEFUN([KDE_CHECK_LIBPTHREAD], fi fi - dnl Is this test really needed, in the face of the Tru64 test below? + dnl Is this test really needed? if test -z "$LIBPTHREAD"; then AC_CHECK_LIB(pthread, pthread_create, [LIBPTHREAD="-lpthread"]) fi - dnl This is a special Tru64 check, see BR 76171 issue #18. - if test -z "$LIBPTHREAD" ; then - AC_MSG_CHECKING([for pthread_create in -lpthread]) - kde_safe_libs=$LIBS - LIBS="$LIBS -lpthread" - AC_TRY_LINK([#include <pthread.h>],[(void)pthread_create(0,0,0,0);],[ - AC_MSG_RESULT(yes) - LIBPTHREAD="-lpthread"],[ - AC_MSG_RESULT(no)]) - LIBS=$kde_safe_libs - fi - dnl Un-special-case for FreeBSD. if test "x$LIBPTHREAD" = "xPTHREAD" ; then LIBPTHREAD="" |
