[Libsysio-commit] cplant: libsysio configure.in
Brought to you by:
lward
|
From: Ruth K. <rk...@us...> - 2003-07-24 22:25:10
|
Update of /cvsroot/libsysio/libsysio
In directory sc8-pr-cvs1:/tmp/cvs-serv14747
Modified Files:
Tag: cplant
configure.in
Log Message:
Add check for existence of st_gen in stat struct
Index: configure.in
===================================================================
RCS file: /cvsroot/libsysio/libsysio/configure.in,v
retrieving revision 1.5.2.4
retrieving revision 1.5.2.5
diff -u -w -b -B -p -r1.5.2.4 -r1.5.2.5
--- configure.in 13 Jun 2003 01:02:22 -0000 1.5.2.4
+++ configure.in 24 Jul 2003 22:25:06 -0000 1.5.2.5
@@ -237,6 +237,19 @@ AC_MSG_RESULT($have__st_ino)
if test x$have__st_ino = xyes; then
AC_DEFINE(HAVE__ST_INO)
fi
+# Check for __st_ino
+#
+AC_MSG_CHECKING(for st_gen)
+AC_TRY_COMPILE([
+#include <sys/stat.h>],
+[struct stat st;
+st.st_gen = 0;],
+ have_st_gen=yes,
+ have_st_gen=no)
+AC_MSG_RESULT($have_st_gen)
+if test x$have_st_gen = xyes; then
+ AC_DEFINE(HAVE_GENERATION)
+fi
AC_MSG_CHECKING(whether .text pseudo-op must be used)
AC_CACHE_VAL(sysio_asm_dot_text, [dnl
|