about summary refs log tree commit diff
path: root/configure.ac
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 /configure.ac
parent759c953196c75b7728bb2d946227f1597b99a4a2 (diff)
* Pass SYSTEM through config.h, and allow spaces.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 60f9e1ff3aef..90da6e8cc68d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,7 @@ sys_name=`uname -s | tr [A-Z] [a-z]`
 system="${machine_name}-${sys_name}"
 AC_MSG_RESULT($system)
 AC_SUBST(system)
+AC_DEFINE_UNQUOTED(SYSTEM, ["$system"], [platform identifier (`cpu-os')])
 
 AC_PROG_CC
 AC_PROG_CXX
@@ -43,7 +44,8 @@ AC_CHECK_HEADERS([locale])
 AC_LANG_POP(C++)
 
 AC_DEFUN([NEED_PROG],
-[AC_PATH_PROG($1, $2)
+[
+AC_PATH_PROG($1, $2)
 if test -z "$$1"; then
     AC_MSG_ERROR([$1 is required])
 fi