jani Wed Jul 11 08:47:45 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/snmp config.m4 Log: MFH: Changed AC_ARG_ENABLE to PHP_ARG_ENABLE http://cvs.php.net/viewvc.cgi/php-src/ext/snmp/config.m4?r1=1.32.2.1.2.1&r2=1.32.2.1.2.2&diff_format=u Index: php-src/ext/snmp/config.m4 diff -u php-src/ext/snmp/config.m4:1.32.2.1.2.1 php-src/ext/snmp/config.m4:1.32.2.1.2.2 --- php-src/ext/snmp/config.m4:1.32.2.1.2.1 Tue Jul 3 17:25:35 2007 +++ php-src/ext/snmp/config.m4 Wed Jul 11 08:47:45 2007 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.32.2.1.2.1 2007/07/03 17:25:35 sniper Exp $ +dnl $Id: config.m4,v 1.32.2.1.2.2 2007/07/11 08:47:45 jani Exp $ dnl PHP_ARG_WITH(snmp,for SNMP support, @@ -8,6 +8,9 @@ PHP_ARG_WITH(openssl-dir,OpenSSL dir for SNMP, [ --with-openssl-dir[=DIR] SNMP: openssl install prefix], no, no) +PHP_ARG_ENABLE(ucd-snmp-hack, whether to enable UCD SNMP hack, +[ --enable-ucd-snmp-hack SNMP: Enable UCD SNMP hack], no, no) + if test "$PHP_SNMP" != "no"; then dnl @@ -119,19 +122,10 @@ $SNMP_SHARED_LIBADD ]) + if test "$PHP_UCD_SNMP_HACK" = "yes" ; then + AC_DEFINE(UCD_SNMP_HACK, 1, [ ]) + fi + PHP_NEW_EXTENSION(snmp, snmp.c, $ext_shared) PHP_SUBST(SNMP_SHARED_LIBADD) fi - -AC_MSG_CHECKING(whether to enable UCD SNMP hack) -AC_ARG_ENABLE(ucd-snmp-hack, -[ --enable-ucd-snmp-hack SNMP: Enable UCD SNMP hack],[ - if test "$enableval" = "yes" ; then - AC_DEFINE(UCD_SNMP_HACK, 1, [ ]) - AC_MSG_RESULT(yes) - else - AC_MSG_RESULT(no) - fi -],[ - AC_MSG_RESULT(no) -])
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php