diff --git a/ChangeLog b/ChangeLog
index 8138d02d6a295092580849129ce695f2d8934a1d..36f779aad589aa245f421e6cf17e5978f876a29f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-01  Niels Möller  <nisse@lysator.liu.se>
+
+	* config.make.in: Added a default target.
+
 2004-11-29  Niels Möller  <nisse@lysator.liu.se>
 
 	* testsuite/Makefile.in: Use .$(OBJEXT). Explicitly set .SUFFIXES.
diff --git a/config.make.in b/config.make.in
index 24a305f446ea76bf6a2b48794296b772a57e49d0..fde420899ae8b78ab3a6c58bc6b47f7254c679bc 100644
--- a/config.make.in
+++ b/config.make.in
@@ -60,6 +60,10 @@ infodir =	@infodir@
 COMPILE = $(CC) $(PRE_CPPFLAGS) $(CPPFLAGS) $(DEFS) $(CFLAGS) $(CCPIC) $(DEP_FLAGS)
 LINK = $(CC) $(CFLAGS) $(PRE_LDFLAGS) $(LDFLAGS)
 
+# Default rule. Must be here, since config.make is included before the
+# usual targets.
+default: all
+
 # Disable builtin rule
 %$(EXEEXT) : %.c