handle stdlib, malloc
authorMark Eichin <eichin@mit.edu>
Tue, 9 Aug 1994 17:12:29 +0000 (17:12 +0000)
committerMark Eichin <eichin@mit.edu>
Tue, 9 Aug 1994 17:12:29 +0000 (17:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4090 dc483132-0cff-0310-8789-dd5450dbe970

src/util/et/configure.in
src/util/et/error_table.y

index 09351125117978f39c27b34b90bc4a1f1a7aff55..f5200944c122c09d6102494d1230150d049a6296 100644 (file)
@@ -8,5 +8,6 @@ AC_PROG_RANLIB
 HAVE_YYLINENO
 DECLARE_SYS_ERRLIST
 CHECK_STDARG
+AC_HAVE_HEADERS(stdlib.h)
 CopySrcHeader(com_err.h,$(BUILDTOP)/include)
 AC_OUTPUT(Makefile,[EXTRA_RULES])
index 03e705653da6721cedf5a8df52235e6a640bcef2..f411d3ff8a612ddb00f8b3abf68b293501b83d42 100644 (file)
@@ -1,12 +1,8 @@
 %{
 #include <stdio.h>
 char *str_concat(), *ds(), *quote();
-#ifndef __STDC__
-#ifdef _AIX
+#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
-#else
-char *malloc(), *realloc(); 
-#endif
 #endif
 char *current_token = (char *)NULL;
 extern char *table_name;