changeset 17030:b5404feec0ee

stat-time, timespec, u64: support naive out-of-dir builds * lib/stat-time.c, lib/timespec.c, lib/u64.c: Use '#include "foo.h"', not '#include <foo.h>', when including one's own interface. This works better when configuring with out-of-directory builds, since packages need not add an otherwise-unnecessary -I$(topdir_src)/lib to DEFAULT_INCLUDES.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 02 Aug 2012 14:17:33 -0700
parents a3c4b8128bde
children 8f51efda6717
files ChangeLog lib/stat-time.c lib/timespec.c lib/u64.c
diffstat 4 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Aug 01 14:51:19 2012 -0700
+++ b/ChangeLog	Thu Aug 02 14:17:33 2012 -0700
@@ -1,3 +1,12 @@
+2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+	stat-time, timespec, u64: support naive out-of-dir builds
+	* lib/stat-time.c, lib/timespec.c, lib/u64.c:
+	Use '#include "foo.h"', not '#include <foo.h>', when including
+	one's own interface.  This works better when configuring with
+	out-of-directory builds, since packages need not add an
+	otherwise-unnecessary -I$(topdir_src)/lib to DEFAULT_INCLUDES.
+
 2012-08-01  Paul Eggert  <eggert@cs.ucla.edu>
 
 	utimens: use extern-inline
--- a/lib/stat-time.c	Wed Aug 01 14:51:19 2012 -0700
+++ b/lib/stat-time.c	Thu Aug 02 14:17:33 2012 -0700
@@ -1,3 +1,3 @@
 #include <config.h>
 #define _GL_STAT_TIME_INLINE _GL_EXTERN_INLINE
-#include <stat-time.h>
+#include "stat-time.h"
--- a/lib/timespec.c	Wed Aug 01 14:51:19 2012 -0700
+++ b/lib/timespec.c	Thu Aug 02 14:17:33 2012 -0700
@@ -1,3 +1,3 @@
 #include <config.h>
 #define _GL_TIMESPEC_INLINE _GL_EXTERN_INLINE
-#include <timespec.h>
+#include "timespec.h"
--- a/lib/u64.c	Wed Aug 01 14:51:19 2012 -0700
+++ b/lib/u64.c	Thu Aug 02 14:17:33 2012 -0700
@@ -1,3 +1,3 @@
 #include <config.h>
 #define _GL_U64_INLINE _GL_EXTERN_INLINE
-#include <u64.h>
+#include "u64.h"