source: project/release/3/regex-extras/trunk/regex-extras.setup @ 9129

Last change on this file since 9129 was 9129, checked in by Kon Lovett, 12 years ago

Update for PCRE 7.6

File size: 733 bytes
Line 
1(include "setup-header")
2
3(if (and (find-header "pcre.h")
4         (find-library "pcre" "pcre_malloc"))
5  (install-dynld regex-extras *version* (documentation "regex-extras.html"))
6  (error "cannot build without an installed PCRE 7.6 or better") )
7
8(if (and (find-header "pcre_internal.h")
9         (find-header "config.h")
10         (find-header "ucp.h"))
11    (begin
12      (print "*** Found PCRE source headers in C include path - Amazing! ***")
13      (install-dynld regex-chardefs *version* (documentation "regex-extras.html")) )
14    (begin
15      (newline)
16      (print "*** Building regex-chardefs with own PCRE 7.6 internal headers. ***")
17      (install-dynld regex-chardefs *version* -I. (documentation "regex-extras.html")) ) )
Note: See TracBrowser for help on using the repository browser.