]> git.sur5r.net Git - openocd/commitdiff
build: correctly quote m4 parameters
authorSpencer Oliver <spen@spen-soft.co.uk>
Fri, 30 Mar 2012 15:10:37 +0000 (16:10 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 30 Mar 2012 16:03:01 +0000 (16:03 +0000)
Change-Id: I8fbef892caa78dba5324a8bc28d2a4a4854b1f48
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/544
Tested-by: jenkins
configure.ac

index 0a9a658676dd83daf79586f778e494df152e9cee..7b82be10e215040e26959bcf6863d9b44b347169 100644 (file)
@@ -772,15 +772,15 @@ else
 fi
 
 if test $build_stlink = yes; then
-  AC_DEFINE(BUILD_STLINK, 1, [1 if you want the ST-Link JTAG driver.])
+  AC_DEFINE([BUILD_STLINK], [1], [1 if you want the ST-Link JTAG driver.])
 else
-  AC_DEFINE(BUILD_STLINK, 0, [0 if you don't want the ST-Link JTAG driver.])
+  AC_DEFINE([BUILD_STLINK], [0], [0 if you don't want the ST-Link JTAG driver.])
 fi
 
 if test $build_osbdm = yes; then
-  AC_DEFINE(BUILD_OSBDM, 1, [1 if you want the OSBDM driver.])
+  AC_DEFINE([BUILD_OSBDM], [1], [1 if you want the OSBDM driver.])
 else
-  AC_DEFINE(BUILD_OSBDM, 0, [0 if you don't want the OSBDM driver.])
+  AC_DEFINE([BUILD_OSBDM], [0], [0 if you don't want the OSBDM driver.])
 fi
 
 if test "$use_internal_jimtcl" = yes; then