Re: Regex, clitar.c and Autoconf

David Collier-Brown (david.collier-brown@Canada.Sun.COM)
Mon, 20 Apr 1998 12:19:53 -0400 (EDT)

Message-Id: <199804201619.MAA00601@elsbeth.canada.sun.com>
Date:	Mon, 20 Apr 1998 12:19:53 -0400 (EDT)
From:	David Collier-Brown <david.collier-brown@Canada.Sun.COM>
Subject: Re: Regex, clitar.c and Autoconf
To:	samba-technical@samba.anu.edu.au, wildfire@progsoc.uts.edu.au

| That would be me; is it enough to know that the headers files exist? If so
| the Autoconf convention is HAVE_<headername>; e.g. HAVE_REGEX_H if
| <regex.h> was found on the system.
|
| If you also need to do feature tests (e.g. check and see that the regcomp
| works in some particular way) then there isn't any (current) standard
| feature tests for the regex stuff. It is easy enough to write one though.

The latter is usually necessary: reg* is implemented
differently by **many** vendors. Is there a convention
about how feature-test-names are written?


--dave( spoiled by qef) c-b

David Collier-Brown, | Always do right. This will gratify some people
185 Ellerslie Ave., | and astonish the rest. -- Mark Twain
Willowdale, Ontario | davecb@hobbes.ss.org, canada.sun.com
M2N 1Y3. 416-223-8968 | http://java.science.yorku.ca/~davecb