From: James Cox Date: Mon, 1 Jul 2002 01:01:06 +0000 (+0000) Subject: "-" is not acceptable in a #define (i have since discovered). converting all - to... X-Git-Tag: xmlrpc_epi_0_51_merge_pt~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=799cc612b40b4dbb6e1eb45f7884d66fcfe5c63c;p=php "-" is not acceptable in a #define (i have since discovered). converting all - to _ is the right thing to do. # should we issue a warning here too? --- diff --git a/acinclude.m4 b/acinclude.m4 index 1ab99126bf..f8fc1e7006 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1183,7 +1183,7 @@ dnl ---------------------------------------------- Static module dnl ---------------------------------------------- Shared module PHP_ADD_SOURCES_X(PHP_EXT_DIR($1),$2,$ac_extra,shared_objects_$1,yes) PHP_SHARED_MODULE($1,shared_objects_$1, $ext_builddir) - AC_DEFINE_UNQUOTED([COMPILE_DL_]translit($1,a-z_-,A-Z_-), 1, Whether to build $1 as dynamic module) + AC_DEFINE_UNQUOTED([COMPILE_DL_]translit($1,a-z_-,A-Z__), 1, Whether to build $1 as dynamic module) fi fi