ALT Linux repos
Group :: System/Servers
RPM: openldap
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: openldap-2.3.12-autoconf-2.5-alt.patch
Download
Download
--- openldap-2.3.12/aclocal.m4.orig 2005-11-24 19:07:16 +0200
+++ openldap-2.3.12/aclocal.m4 2005-11-24 19:08:28 +0200
@@ -17,6 +17,21 @@
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
+# From Ulrich Drepper.
+
+# serial 1
+
+AC_DEFUN([AM_TYPE_PTRDIFF_T],
+ [AC_CACHE_CHECK([for ptrdiff_t], am_cv_type_ptrdiff_t,
+ [AC_TRY_COMPILE([#include <stddef.h>], [ptrdiff_t p],
+ am_cv_type_ptrdiff_t=yes, am_cv_type_ptrdiff_t=no)])
+ if test $am_cv_type_ptrdiff_t = yes; then
+ AC_DEFINE(HAVE_PTRDIFF_T,1,[Define if system has ptrdiff_t type])
+ fi
+])
+
+m4_pattern_allow(LIBOBJS)
+
# AM_AUTOMAKE_VERSION(VERSION)
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been