diff options
author | Richard Jones <rjones@redhat.com> | 2010-09-03 12:15:00 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-09-04 13:38:03 +0100 |
commit | 2c61e04c4599536fee771431fb1ebc8384523b2a (patch) | |
tree | 4d09707b244ba16df45e3ee4a1a8e7d80546ae5f /configure.ac | |
parent | 2d8fd7dacd77361bc385be42112289faafb5c60d (diff) | |
download | libguestfs-2c61e04c4599536fee771431fb1ebc8384523b2a.tar.gz libguestfs-2c61e04c4599536fee771431fb1ebc8384523b2a.tar.xz libguestfs-2c61e04c4599536fee771431fb1ebc8384523b2a.zip |
PHP bindings.
Note that these are not complete on 32 bit architectures. PHP doesn't
offer any convenient 64 bit type (on 32 bit). Therefore you should
always use these PHP bindings on 64 bit.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 935abdc7..5a44d8bc 100644 --- a/configure.ac +++ b/configure.ac @@ -772,6 +772,11 @@ dnl po4a for translating man pages and POD files (optional). AC_CHECK_PROG([PO4A],[po4a],[po4a],[no]) AM_CONDITIONAL([HAVE_PO4A], [test "x$PO4A" != "xno"]) +dnl PHP +AC_CHECK_PROG([PHP],[php],[php],[no]) +AC_CHECK_PROG([PHPIZE],[phpize],[phpize],[no]) +AM_CONDITIONAL([HAVE_PHP], [test "x$PHP" != "xno" -a "x$PHPIZE" != "xno"]) + dnl Library versioning. MAX_PROC_NR=`cat $srcdir/src/MAX_PROC_NR` AC_SUBST(MAX_PROC_NR) @@ -808,6 +813,7 @@ AC_CONFIG_FILES([Makefile fuse/Makefile po-docs/Makefile po-docs/ja/Makefile + php/Makefile ocaml/META perl/Makefile.PL]) AC_OUTPUT @@ -834,6 +840,8 @@ echo -n "Java bindings ....................... " if test "x$HAVE_JAVA_TRUE" = "x"; then echo "yes"; else echo "no"; fi echo -n "Haskell bindings .................... " if test "x$HAVE_HASKELL_TRUE" = "x"; then echo "yes"; else echo "no"; fi +echo -n "PHP bindings ........................ " +if test "x$HAVE_PHP_TRUE" = "x"; then echo "yes"; else echo "no"; fi echo -n "virt-inspector ...................... " if test "x$HAVE_INSPECTOR_TRUE" = "x"; then echo "yes"; else echo "no"; fi echo -n "virt-* tools ........................ " |