cvs: pecl /hyperwave config.m4

From: Date: Tue, 15 Jul 2003 05:25:29 +0000
Subject: cvs: pecl /hyperwave config.m4
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-360@lists.php.net to get a copy of this message
steinm Tue Jul 15 01:25:29 2003 EDT Modified files: /pecl/hyperwave config.m4 Log: - Updated and simplyfied Index: pecl/hyperwave/config.m4 diff -u pecl/hyperwave/config.m4:1.4 pecl/hyperwave/config.m4:1.5 --- pecl/hyperwave/config.m4:1.4 Tue Mar 12 11:47:14 2002 +++ pecl/hyperwave/config.m4 Tue Jul 15 01:25:29 2003 @@ -1,20 +1,18 @@ dnl -dnl $Id: config.m4,v 1.4 2002/03/12 16:47:14 sas Exp $ +dnl $Id: config.m4,v 1.5 2003/07/15 05:25:29 steinm Exp $ dnl -AC_MSG_CHECKING(for Hyperwave support) -AC_ARG_WITH(hyperwave, -[ --with-hyperwave Include Hyperwave support], -[ - if test "$withval" != "no"; then - AC_DEFINE(HYPERWAVE,1,[ ]) - AC_MSG_RESULT(yes) - PHP_NEW_EXTENSION(hyperwave, hw.c hg_comm.c) - else - AC_DEFINE(HYPERWAVE,0,[ ]) - AC_MSG_RESULT(no) - fi -],[ - AC_DEFINE(HYPERWAVE,0,[ ]) - AC_MSG_RESULT(no) -]) +PHP_ARG_ENABLE(hyperwave, whether to enable Hyperwave support, +[ --enable-hyperwave Enable Hyperwave support], no) + + + case "$PHP_HYPERWAVE" in + yes) + PHP_NEW_EXTENSION(hyperwave, hw.c hg_comm.c, $ext_shared) + ;; + no) + ;; + *) + PHP_NEW_EXTENSION(hyperwave, hw.c hg_comm.c, $ext_shared) + ;; + esac

« previous php.pecl.cvs (#360) next »