This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
grepjar and libregex
- From: Ranjit Mathew <rmathew at hotmail dot com>
- To: java at gcc dot gnu dot org
- Date: Fri, 17 Jan 2003 10:57:02 +0530
- Subject: grepjar and libregex
Hi,
The "grepjar" tool in "fastjar" needs the regex
functions, which seem to be there within glibc on Linux
but are not a part of the standard C library on Win32.
I've been using a separate libregex for this purpose
so far and just modifying the configure scripts to
do "LIBS="$LIBS -lregex" when MinGW was detected.
I'm not very familiar with autoconf scripts, but I feel
we should add configury checks that should add "-lregex"
to LIBS if the regex functions could not be located
in the C library and should die with an error if even
libregex could not be located.
Sincerely Yours,
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/