summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2007-09-13 12:10:42 +0000
committerAlexander Larsson <alexl@src.gnome.org>2007-09-13 12:10:42 +0000
commit9eb4782ab3ce5f49400c099305699c68663c2485 (patch)
treedfad9a2702f8047550ab1b0baaadb760610298f4 /configure.ac
parent10f71781a3ebcb0e5df4212bf3a908a9043a461b (diff)
downloadgvfs-9eb4782ab3ce5f49400c099305699c68663c2485.tar.gz
Make GFileInfo into a pure key => value+type mapping.
Remove GFileInfoRequestFlags Add GFileGetInfoFlags and move FOLLOW_SYMLINKS to it Original git commit by Alexander Larsson <alex@greebo.(none)> at 1173704989 +0100 svn path=/trunk/; revision=379
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fec7e588..d63a22e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,16 @@ AC_TYPE_SIGNAL
AC_TYPE_SIZE_T
AC_TYPE_UID_T
+AH_VERBATIM([_GNU_SOURCE],
+[/* Enable GNU extensions on systems that have them. */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif])
+
+saved_CFLAGS=$CFLAGS
+AC_CHECK_MEMBERS([struct stat.st_mtimensec, struct stat.st_mtim.tv_nsec, struct stat.st_atimensec, struct stat.st_atim.tv_nsec, struct stat.st_ctimensec, struct stat.st_ctim.tv_nsec])
+CFLAGS=$saved_CFLAGS
+
GTK_DOC_CHECK
DISTCHECK_CONFIGURE_FLAGS="--enable-gtk-doc"
AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)