From: foobar Date: Sat, 12 Nov 2005 00:38:00 +0000 (+0000) Subject: - Fix the "php -v" output when neither --enable-debug or --enable-gcov X-Git-Tag: RELEASE_2_0_1~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a05a33f34dfc1dd14e49372200c9ac38f1d0ce81;p=php - Fix the "php -v" output when neither --enable-debug or --enable-gcov is used. # # Rasmus, now it should give proper output, please test. --- diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index e4ba746104..7f971345ea 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -744,6 +744,8 @@ int main(int argc, char *argv[]) "(DEBUG)", #elif defined(HAVE_GCOV) "(GCOV)", +#else + "", #endif get_zend_version() );