Change guard on <regex.h> inclusion to use new
authorJim Meyering <jim@meyering.net>
Sat, 4 Jul 1998 00:15:37 +0000 (00:15 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 4 Jul 1998 00:15:37 +0000 (00:15 +0000)
symbol `! HAVE_LIBC_REGEX' defined in m4/regex.m4.

lib/rpmatch.c

index bdbff6d..bf82195 100644 (file)
@@ -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
 #endif
 
 #include <sys/types.h>
-#if WITH_REGEX
+#if ! HAVE_LIBC_REGEX
 # include <regex.h>
-#else
-# include <rx.h>
 #endif
 
 #if ENABLE_NLS