diff options
author | Steve Slaven <bpk@hoopajoo.net> | 2019-11-05 04:52:27 (GMT) |
---|---|---|
committer | Steve Slaven <bpk@hoopajoo.net> | 2019-11-05 04:52:27 (GMT) |
commit | bb301bfb0fec3d5e229367aca74cfe422c23f62c (patch) | |
tree | 37372786c995bcca846fea5be6e7986d0fa093de /main.c | |
parent | fe6a1869fe48b00325860380c182019f62096aaf (diff) | |
download | powwow-bb301bfb0fec3d5e229367aca74cfe422c23f62c.zip powwow-bb301bfb0fec3d5e229367aca74cfe422c23f62c.tar.gz powwow-bb301bfb0fec3d5e229367aca74cfe422c23f62c.tar.bz2 |
Move configured regex lib in to a common header
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -75,14 +75,9 @@ extern int errno; extern int select(); -#ifdef USE_PCREPOSIX -# include <pcreposix.h> -#elif defined(USE_REGEXP) -# include <regex.h> -#endif - #include "defines.h" #include "main.h" +#include "feature/regex.h" #include "utils.h" #include "beam.h" #include "cmd.h" @@ -435,12 +430,15 @@ void printver(void) " termios," #endif #ifdef USE_REGEXP - " regexp," + " regexp " + #ifdef USE_REGEXP_PCREPOSIX + "(pcreposix)" + #else + "(libc)" + #endif + "," #else - " no regexp," -#endif -#ifdef USE_PCREPOSIX - " pcreposix," + " no regexp," #endif #ifdef USE_LOCALE " locale," |