mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-30 06:50:31 +02:00
* regex-posix.c: If <regex.h> can't be found, try <rxposix.h> or
<rx/rxposix.h>. (This is in order to accomodate for the GNU Rx library.)
This commit is contained in:
parent
68aed3ea96
commit
a46d5ff2dd
2 changed files with 15 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
Sun Aug 24 01:25:35 1997 Mikael Djurfeldt <mdj@kenneth>
|
||||
|
||||
* regex-posix.c: If <regex.h> can't be found, try <rxposix.h> or
|
||||
<rx/rxposix.h>. (This is in order to accomodate for the GNU Rx
|
||||
library.)
|
||||
|
||||
* ramap.c (scm_ra_matchp, scm_array_fill_int, racp, ramap_1,
|
||||
ramap_2o, scm_array_index_map_x, raeql_1, scm_array_equal_p),
|
||||
unif.c (scm_vector_set_length_x, scm_uniform_vector_length,
|
||||
|
|
|
@ -58,7 +58,17 @@
|
|||
the file is CPP'able (for dependency scanning) even on systems that
|
||||
don't have a <regex.h> header. */
|
||||
#ifdef HAVE_REGCOMP
|
||||
#ifdef HAVE_REGEX_H
|
||||
#include <regex.h>
|
||||
#else
|
||||
#ifdef HAVE_RXPOSIX_H
|
||||
#include <rxposix.h> /* GNU Rx library */
|
||||
#else
|
||||
#ifdef HAVE_RX_RXPOSIX_H
|
||||
#include <rx/rxposix.h> /* GNU Rx library on Linux */
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "smob.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue