1
Fork 0
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:
Mikael Djurfeldt 1997-08-24 15:33:49 +00:00
parent 68aed3ea96
commit a46d5ff2dd
2 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,9 @@
Sun Aug 24 01:25:35 1997 Mikael Djurfeldt <mdj@kenneth> 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.c (scm_ra_matchp, scm_array_fill_int, racp, ramap_1,
ramap_2o, scm_array_index_map_x, raeql_1, scm_array_equal_p), ramap_2o, scm_array_index_map_x, raeql_1, scm_array_equal_p),
unif.c (scm_vector_set_length_x, scm_uniform_vector_length, unif.c (scm_vector_set_length_x, scm_uniform_vector_length,

View file

@ -58,8 +58,18 @@
the file is CPP'able (for dependency scanning) even on systems that the file is CPP'able (for dependency scanning) even on systems that
don't have a <regex.h> header. */ don't have a <regex.h> header. */
#ifdef HAVE_REGCOMP #ifdef HAVE_REGCOMP
#ifdef HAVE_REGEX_H
#include <regex.h> #include <regex.h>
#endif #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" #include "smob.h"
#include "symbols.h" #include "symbols.h"