From 41433b803c5f9c8f6cd0f74890296314d354f840 Mon Sep 17 00:00:00 2001 From: Steve Slaven Date: Tue, 5 Nov 2019 22:20:45 -0800 Subject: Add a list of options for --enable-regex diff --git a/configure.ac b/configure.ac index a27f2df..9e019dd 100644 --- a/configure.ac +++ b/configure.ac @@ -14,8 +14,13 @@ AS_IF([ test "${enable_vt100}" = yes ], [ AC_DEFINE(USE_VT100) ]) AC_ARG_ENABLE(regex, - AS_HELP_STRING([--enable-regex], - [Enable regular expressions [[default=yes]]]), + + AS_HELP_STRING([--enable-regex], + [Enable regular expressions [[default=yes]]]) + [] + [yes - find first available: pcreposix, libc] + [pcreposix - use pcreposix] + [libc - use libc] , [enable_regex="yes"] ) -- cgit v0.10.2