about summary refs log tree commit diff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-04-23T15·16+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-04-23T15·16+0000
commitd4779abc042710638fb4afe419f83d4627c94004 (patch)
treead414112513128b6f5216af4b4c03466a83ef7b0 /src/libutil
parent759c953196c75b7728bb2d946227f1597b99a4a2 (diff)
* Pass SYSTEM through config.h, and allow spaces.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/Makefile.am2
-rw-r--r--src/libutil/util.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libutil/Makefile.am b/src/libutil/Makefile.am
index d5d4fcfad7ee..bd19bfa83a15 100644
--- a/src/libutil/Makefile.am
+++ b/src/libutil/Makefile.am
@@ -3,7 +3,7 @@ noinst_LIBRARIES = libutil.a
 libutil_a_SOURCES = util.cc util.hh hash.cc hash.hh \
  archive.cc archive.hh md5.c md5.h aterm.cc aterm.hh
 
-AM_CXXFLAGS = -DSYSTEM=\"@system@\" -Wall -I.. ${aterm_include}
+AM_CXXFLAGS = -Wall -I.. ${aterm_include}
 
 check_PROGRAMS = test-aterm
 
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 87b2ef236365..354165432c49 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -1,3 +1,5 @@
+#include "config.h"
+
 #include <iostream>
 #include <cerrno>
 #include <cstdio>