Wichert Akkerman лет назад: 26
Родитель
Сommit
d7c9284607
3 измененных файлов с 8 добавлено и 2 удалено
  1. 3 1
      ChangeLog
  2. 4 0
      config.h.bot
  3. 1 1
      configure.in

+ 3 - 1
ChangeLog

@@ -1,6 +1,8 @@
 Wed Dec 15 00:18:30 CET 1999 Wichert Akkerman <wakkerma@debian.org>
 
-  * Add option to disable building dselect
+  * configure.in: Add option to disable building dselect
+  * configure.in: Test for ptrdiff_t and stddef.h
+  * config.h.bot: iclude stddef.h if it exists
   * Add config.sub and config.guess
 
 Tue Dec 14 20:08:58 CET 1999 Wichert Akkerman <wakkerma@debian.org>

+ 4 - 0
config.h.bot

@@ -5,6 +5,10 @@
 #include <sys/cdefs.h>
 #endif
 
+#ifdef HAVE_STDDEF_H
+#include <stddef.h>
+#endif
+
 /* Use the definitions: */
 
 /* Give us an unsigned 32-bit data type. */

+ 1 - 1
configure.in

@@ -85,7 +85,7 @@ AC_CHECK_SIZEOF(unsigned long)
 AC_CHECK_SIZEOF(unsigned int)
 AC_CHECK_TYPE(ptrdiff_t,int)
 AC_CHECK_FUNCS(unsetenv alphasort scandir strerror strsignal strtoul vsnprintf lchown)
-AC_CHECK_HEADERS(sys/cdefs.h sys/sysinfo.h syslog.h)
+AC_CHECK_HEADERS(sys/cdefs.h sys/sysinfo.h syslog.h stddef.h)
 AC_CHECK_HEADERS(error.h hurd.h ps.h hurd/ihash.h)
 
 AC_CHECK_LIB(shouldbeinlibc, fmt_past_time)