2001-01-24 17:26:20 +00:00
|
|
|
--- configure.in.orig Mon Dec 4 13:28:07 2000
|
|
|
|
+++ configure.in Thu Jan 11 21:05:07 2001
|
|
|
|
@@ -183,6 +183,16 @@
|
2000-09-04 15:33:43 +00:00
|
|
|
if test "$xpdf_cv_func_mkstemp" = yes; then
|
|
|
|
AC_DEFINE(HAVE_MKSTEMP)
|
2001-01-24 17:26:20 +00:00
|
|
|
fi
|
2000-09-04 15:33:43 +00:00
|
|
|
+dnl # Ditto mkstemps()
|
|
|
|
+AC_CACHE_CHECK([for mkstemps],
|
|
|
|
+xpdf_cv_func_mkstemps,
|
2001-01-24 17:26:20 +00:00
|
|
|
+[AC_TRY_LINK([#include <stdlib.h>
|
|
|
|
+#include <unistd.h>],
|
2000-09-04 15:33:43 +00:00
|
|
|
+[mkstemps("foo", 0);],
|
|
|
|
+xpdf_cv_func_mkstemps=yes, xpdf_cv_func_mkstemps=no)])
|
|
|
|
+if test "$xpdf_cv_func_mkstemps" = yes; then
|
|
|
|
+ AC_DEFINE(HAVE_MKSTEMPS)
|
2001-01-24 17:26:20 +00:00
|
|
|
+fi
|
1999-11-23 03:35:29 +00:00
|
|
|
|
2000-09-04 15:33:43 +00:00
|
|
|
dnl ##### Check select argument type: on HP-UX before version 10, select
|
2001-01-24 17:26:20 +00:00
|
|
|
dnl ##### takes (int *) instead of (fd_set *).
|