diff options
author | Jim Meyering <jim@meyering.net> | 1998-07-04 00:15:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-07-04 00:15:37 +0000 |
commit | bcfa9cbbd78cdccb7c9ca1fa54e0fe7e70fb40fc (patch) | |
tree | e45f7498393e9650f287770995bc82c9c9519689 | |
parent | 6c934891712c08121c0196d82c47bad1c7980499 (diff) | |
download | coreutils-bcfa9cbbd78cdccb7c9ca1fa54e0fe7e70fb40fc.tar.xz |
Change guard on <regex.h> inclusion to use new
symbol `! HAVE_LIBC_REGEX' defined in m4/regex.m4.
-rw-r--r-- | lib/rpmatch.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/rpmatch.c b/lib/rpmatch.c index bdbff6d7c..bf8219514 100644 --- a/lib/rpmatch.c +++ b/lib/rpmatch.c @@ -1,6 +1,6 @@ /* Determine whether string value is affirmation or negative response according to current locale's data. - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1998 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,10 +30,8 @@ #endif #include <sys/types.h> -#if WITH_REGEX +#if ! HAVE_LIBC_REGEX # include <regex.h> -#else -# include <rx.h> #endif #if ENABLE_NLS |