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
commit7509c70d1cec14c8977b6a049fd7fec74d2eacb7 (patch)
tree7fbe01697e464d29173eeb68cedc63de90eb4a39 /lib/rpmatch.c
parent5591b1ab18345b4ec37df47fea367a6845dbb166 (diff)
downloadgnulib-7509c70d1cec14c8977b6a049fd7fec74d2eacb7.tar.gz
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 bdbff6d7c7..bf8219514d 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