Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--[en|dis]able-pcre2-[8|16|32] doesn't work! #145

Closed
AlexeiKharchev opened this issue Sep 4, 2022 · 0 comments
Closed

--[en|dis]able-pcre2-[8|16|32] doesn't work! #145

AlexeiKharchev opened this issue Sep 4, 2022 · 0 comments

Comments

@AlexeiKharchev
Copy link

At line 13991 in configure you checked options and restricted them in old-manner --[en|dis]able-pcre[8|16|32]

but when I compile in new-manner --enable-pcre-16 --enable-pcre-32, I see:

pcre2-10.41 configuration summary:

Install prefix ..................... : /tools/pcre2-8.45
C preprocessor ..................... : 
C compiler ......................... : gcc
Linker ............................. : /usr/bin/ld -m elf_x86_64
C preprocessor flags ............... : 
C compiler flags ................... : -O2 -fvisibility=hidden
Linker flags ....................... : 
Extra libraries .................... : 

Build 8-bit pcre2 library .......... : yes
Build 16-bit pcre2 library ......... : no
Build 32-bit pcre2 library ......... : no

It seems to me, instead of raising error, it is better to check variables enable_pcre[8|16|32] on existance
and define new variables:
enable_pcre2_8=enable_pcre8
enable_pcre2_16=enable_pcre16
enable_pcre2_32=enable_pcre32

@AlexeiKharchev AlexeiKharchev changed the title --[en|dis]able-pcre2-[8|16|32] doen't work! --[en|dis]able-pcre2-[8|16|32] doesn't work! Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant