summaryrefslogtreecommitdiff
path: root/lib/rpmatch.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-04 00:15:37 +0000
committerJim Meyering <jim@meyering.net>1998-07-04 00:15:37 +0000
commitbcfa9cbbd78cdccb7c9ca1fa54e0fe7e70fb40fc (patch)
treee45f7498393e9650f287770995bc82c9c9519689 /lib/rpmatch.c
parent6c934891712c08121c0196d82c47bad1c7980499 (diff)
downloadcoreutils-bcfa9cbbd78cdccb7c9ca1fa54e0fe7e70fb40fc.tar.xz
Change guard on <regex.h> inclusion to use new
symbol `! HAVE_LIBC_REGEX' defined in m4/regex.m4.
Diffstat (limited to 'lib/rpmatch.c')
-rw-r--r--lib/rpmatch.c6
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