From a46d5ff2dd478f2e67c999c830879906f416e249 Mon Sep 17 00:00:00 2001 From: Mikael Djurfeldt Date: Sun, 24 Aug 1997 15:33:49 +0000 Subject: [PATCH] * regex-posix.c: If can't be found, try or . (This is in order to accomodate for the GNU Rx library.) --- libguile/ChangeLog | 4 ++++ libguile/regex-posix.c | 12 +++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/libguile/ChangeLog b/libguile/ChangeLog index c3f6d3e57..d9dba2387 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,5 +1,9 @@ Sun Aug 24 01:25:35 1997 Mikael Djurfeldt + * regex-posix.c: If can't be found, try or + . (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, diff --git a/libguile/regex-posix.c b/libguile/regex-posix.c index 28afdd6b1..e941393d0 100644 --- a/libguile/regex-posix.c +++ b/libguile/regex-posix.c @@ -58,8 +58,18 @@ the file is CPP'able (for dependency scanning) even on systems that don't have a header. */ #ifdef HAVE_REGCOMP +#ifdef HAVE_REGEX_H #include -#endif +#else +#ifdef HAVE_RXPOSIX_H +#include /* GNU Rx library */ +#else +#ifdef HAVE_RX_RXPOSIX_H +#include /* GNU Rx library on Linux */ +#endif +#endif +#endif +#endif #include "smob.h" #include "symbols.h"