This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix for configure


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]