Fix for configure
Andreas Schwab
schwab@suse.de
Mon Mar 6 09:05:00 GMT 2000
Square brackets are special in configure.in.
Andreas.
2000-03-06 Andreas Schwab <schwab@suse.de>
* configure.in: Fix check for perl API.
Index: configure.in
===================================================================
RCS file: /cvs/glibc/libc/configure.in,v
retrieving revision 1.273
diff -u -a -u -r1.273 configure.in
--- configure.in 2000/03/04 03:36:14 1.273
+++ configure.in 2000/03/06 16:56:56
@@ -630,9 +630,9 @@
AC_PROG_AWK
AC_PATH_PROG(PERL, perl, no)
-if [ -n "$PERL" ] ; then
+if test -n "$PERL"; then
eval $($PERL -V:apiversion)
- if expr $apiversion \< "5" ; then
+ if expr $apiversion \< "5" >/dev/null; then
PERL=no
fi
unset apiversion
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
More information about the Libc-hacker
mailing list