Fixed some type redefinitons
#endif
#endif
-#ifndef HAVE_PID_T
-#if defined(_MSC_VER) /* Microsoft C Compiler ONLY */
-typedef long pid_t;
-#else
-typedef int pid_t;
-#endif
-#endif
-
-#ifndef HAVE_SIZE_T
-typedef unsigned int size_t;
-#endif
-
-#ifndef HAVE_SSIZE_T
-typedef int ssize_t;
-#endif
-
-#ifndef HAVE_OFF_T
-#if defined(_MSC_VER) /* Microsoft C Compiler ONLY */
-#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64
-typedef int64_t off_t;
-#else
-typedef long off_t;
-#endif
-#else
-typedef int off_t;
-#endif
-#endif
-
#ifndef HAVE_MODE_T
typedef unsigned short mode_t;
#endif
# and it was forced on: error
if "x$with_libcap" = "yes" ; then
AC_MSG_ERROR([libcap forced enabled but not available or not usable, requires libcap-2.09 or later])
+ else
+ # with_libcap is "auto"; it can't be supported. Disable.
+ with_libcap=no
fi
- # with_libcap is "auto"; it can't be supported. Disable.
- with_libcap=no
else
# header and lib are ok, we support
with_libcap=yes