File tree 3 files changed +3
-0
lines changed
3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ if test "$PHP_LEXBOR" != "no" || test "$PHP_LEXBOR_ENABLED" = "yes"; then
11
11
LEXBOR_DIR="lexbor"
12
12
13
13
AC_DEFINE ( [ HAVE_LEXBOR] , [ 1] , [ Define to 1 if the PHP extension 'lexbor' is available.] )
14
+ AC_DEFINE ( [ LEXBOR_VERSION] , [ "2.5.0"] , [ Define the main Lexbor version] )
14
15
15
16
PHP_NEW_EXTENSION([ lexbor] , m4_normalize ( [
16
17
php_lexbor.c
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ if (PHP_LEXBOR == "yes") {
25
25
ADD_FLAG ( "CFLAGS_LEXBOR" , "/D LEXBOR_STATIC /utf-8" ) ;
26
26
27
27
AC_DEFINE ( "HAVE_LEXBOR" , 1 , "Define to 1 if the PHP extension 'lexbor' is available." ) ;
28
+ AC_DEFINE ( "LEXBOR_VERSION" , "2.5.0" , "Define the main Lexbor version" )
28
29
29
30
PHP_INSTALL_HEADERS ( "ext/lexbor" , "php_lexbor.h lexbor/" ) ;
30
31
}
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ static PHP_MINFO_FUNCTION(lexbor)
39
39
{
40
40
php_info_print_table_start ();
41
41
php_info_print_table_row (2 , "Lexbor support" , "active" );
42
+ php_info_print_table_row (2 , "Lexbor version" , LEXBOR_VERSION );
42
43
php_info_print_table_end ();
43
44
}
44
45
You can’t perform that action at this time.
0 commit comments