summaryrefslogtreecommitdiff
path: root/make.h
diff options
context:
space:
mode:
Diffstat (limited to 'make.h')
-rw-r--r--make.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/make.h b/make.h
index 139054f..5c0d4c7 100644
--- a/make.h
+++ b/make.h
@@ -21,7 +21,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#pragma alloca
#endif
-#include "config.h"
+/* We use <config.h> instead of "config.h" so that a compilation
+ using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
+ (which it would do because make.h was found in $srcdir). */
+#include <config.h>
#undef HAVE_CONFIG_H
#define HAVE_CONFIG_H