Regex, clitar.c and Autoconf

Richard Sharpe (sharpe@ns.aus.com)
Sun, 19 Apr 1998 20:46:22 +0900

Message-Id: <3.0.5.32.19980419204622.00869210@mail.adelaide.on.net>
Date:	Sun, 19 Apr 1998 20:46:22 +0900
To:	samba-technical@samba.anu.edu.au
From:	Richard Sharpe <sharpe@ns.aus.com>
Subject: Regex, clitar.c and Autoconf

Hi,

I am modifying clitar.c to use the following approach with respect to
regex.h and friends:

If CLITAR_USE_REGEX is defined, then the code will use regcomp and regexec
for doing regular expression matches, otherwise mask_match will be used.

CLITAR_USE_REGEX will be off by default.

This brings up a issue with respect to autoconf.

We need a way of specifying the names of defines that autoconf will set
based on what it finds in the OS. Perhaps the person/people doing the
autoconf work should be the keeper of these names and should specify the
naming convention.

Perhaps the define above is wrong, and should simply be HAS_REGEX.

Regards
-------
Richard Sharpe, sharpe@ns.aus.com, NIC-Handle:RJS96
NS Computer Software and Services P/L,
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080,
Linux, AIX, Digital UNIX, ULTRIX, SunOS, Samba, Apache, NetScape, ICSS,
Perl, C, C++ ...