(This really shouldn't be here at all, but is the expedient way to
deal with lack of labs().)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5047
dc483132-0cff-0310-8789-
dd5450dbe970
Wed Mar 1 17:45:13 1995 Theodore Y. Ts'o <tytso@dcl>
+ * configure.in, k5-config.h: Only define labs(x) -> abs(x) if
+ labs() is not defined elsewhere. (This really shouldn't
+ be here at all, but is the expedient way to deal with lack
+ of labs().)
+
* Makefile.in: Change config.h -> k5-config.h and free.h ->
k5-free.h to reflect renamed header files for Mac/PC port.
AC_PROG_INSTALL
HAVE_YYLINENO
AC_FUNC_CHECK(strdup,AC_DEFINE(HAS_STRDUP))
+AC_FUNC_CHECK(labs,AC_DEFINE(HAS_LABS))
CHECK_DIRENT
CHECK_FCNTL
CHECK_WAIT_TYPE
#define INTERFACE
#define INTERFACE_C
#define FAR
+
+#ifndef HAS_LABS
#define labs(x) abs(x)
+#endif
#endif /* __windows__ */