syntax: Fully bracket m4 macro arguments.
authorRichard Jones <rjones@redhat.com>
Fri, 10 Sep 2010 21:56:22 +0000 (22:56 +0100)
committerRichard Jones <rjones@redhat.com>
Fri, 10 Sep 2010 21:57:52 +0000 (22:57 +0100)
php/extension/config.m4

index 2bac2ea..ee19971 100644 (file)
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-PHP_ARG_ENABLE(guestfs_php, enable libguestfs PHP bindings,
+PHP_ARG_ENABLE([guestfs_php], [enable libguestfs PHP bindings],
                [ --enable-guestfs-php   Enable libguestfs support])
 
 if test "$PHP_GUESTFS_PHP" = "yes"; then
                [ --enable-guestfs-php   Enable libguestfs support])
 
 if test "$PHP_GUESTFS_PHP" = "yes"; then
-  AC_DEFINE(HAVE_GUESTFS_PHP, 1, [Whether you have libguestfs PHP bindings])
-  PHP_NEW_EXTENSION(guestfs_php, guestfs_php.c, $ext_shared)
+  AC_DEFINE([HAVE_GUESTFS_PHP], [1], [Whether you have libguestfs PHP bindings])
+  PHP_NEW_EXTENSION([guestfs_php], [guestfs_php.c], [$ext_shared])
 fi
 fi