summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ChangeLog4
-rw-r--r--src/include/configure.in2
-rw-r--r--src/include/k5-int.h6
-rw-r--r--src/include/win-mac.h2
4 files changed, 5 insertions, 9 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 45d284d248..5502f2e952 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,5 +1,9 @@
2003-08-26 Ken Raeburn <raeburn@mit.edu>
+ * configure.in: Don't test for labs, memmove or bcopy.
+ * k5-int.h (labs, HAVE_LABS): Never define.
+ * win-mac.h (HAVE_LABS): Don't define.
+
* configure.in: Check for some C99 headers and types.
* fake-addrinfo.h (inline): Supported by Sun Forte Developer 7
diff --git a/src/include/configure.in b/src/include/configure.in
index cfca33449b..788381342b 100644
--- a/src/include/configure.in
+++ b/src/include/configure.in
@@ -9,7 +9,7 @@ AC_PROG_INSTALL
AC_PROG_AWK
AC_PROG_LEX
AC_C_CONST
-AC_CHECK_FUNCS(strdup labs setvbuf memmove bcopy inet_ntoa inet_aton seteuid setresuid setreuid setegid setresgid setregid)
+AC_CHECK_FUNCS(strdup setvbuf inet_ntoa inet_aton seteuid setresuid setreuid setegid setresgid setregid)
dnl
dnl Check what the return types for gethostbyname_r and getservbyname_r are.
dnl
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 2be8ce5900..ba1674a7e6 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -97,7 +97,6 @@
#define INI_FILES "Files"
#define INI_KRB_CCACHE "krb5cc" /* Location of the ccache */
#define INI_KRB5_CONF "krb5.ini" /* Location of krb5.conf file */
-#define HAVE_LABS
#define ANSI_STDIO
#endif
@@ -111,7 +110,6 @@
#define SIZEOF_SHORT 2
#define HAVE_SRAND
#define NO_PASSWORD
-#define HAVE_LABS
/*#define ENOMEM -1*/
#define ANSI_STDIO
#include <size_t.h>
@@ -157,10 +155,6 @@ typedef unsigned char u_char;
#define O_BINARY 0
#endif
-#ifndef HAVE_LABS
-#define labs(x) abs(x)
-#endif
-
/* #define KRB5_OLD_CRYPTO is done in krb5.h */
#endif /* KRB5_CONFIG__ */
diff --git a/src/include/win-mac.h b/src/include/win-mac.h
index b6cf96dfa5..16d1062e87 100644
--- a/src/include/win-mac.h
+++ b/src/include/win-mac.h
@@ -31,8 +31,6 @@
#include <windows.h>
-#define HAVE_LABS
-
#ifndef KRB5_CALLCONV
# define KRB5_CALLCONV __stdcall
# define KRB5_CALLCONV_C __cdecl