... and make it also compiling again on Solaris
authorFabian Groffen <grobian@gentoo.org>
Mon, 22 Oct 2007 09:33:02 +0000 (09:33 -0000)
committerFabian Groffen <grobian@gentoo.org>
Mon, 22 Oct 2007 09:33:02 +0000 (09:33 -0000)
svn path=/main/branches/prefix/; revision=8228

configure.in

index 87643d31d4b54dab3f746fc7bb0f1a8a33b17e3c..64a4ae1bebb172e232a1787e03bd67fdcb7ba7ea 100644 (file)
@@ -86,9 +86,9 @@ AC_TRY_LINK([
                         s.st_atim.tv_sec = 0;
                         s.st_mtim.tv_sec = 0;
                 ], [
-                        AC_DEFINE(ATIME_SEC, st_atim, [atime seconds for this platform])
+                        AC_DEFINE(ATIME_SEC, st_atim.tv_sec, [atime seconds for this platform])
                         AC_DEFINE(ATIME_NSEC, st_atim.tv_nsec, [atime nanoseconds for this platform])
-                        AC_DEFINE(MTIME_SEC, st_mtim, [mtime seconds for this platform])
+                        AC_DEFINE(MTIME_SEC, st_mtim.tv_sec, [mtime seconds for this platform])
                         AC_DEFINE(MTIME_NSEC, st_mtim.tv_nsec, [mtime nanoseconds for this platform])
                         AC_MSG_RESULT([st_*tim])
                 ], [