fam
[Top] [All Lists]

[fam] fam - configure script bug

To: fam@xxxxxxxxxxx
Subject: [fam] fam - configure script bug
From: cec@xxxxxxxxxxxxxxxxxxxxx (Dr. Charles E. Campbell)
Date: Fri, 3 Mar 100 10:18:25 -0500 (EST)
Sender: owner-fam@xxxxxxxxxxx
Hello!

I've just gotten through configure, but it was a bit of a fight; the
following patch fixes the problem.

Problem: script would terminate on (Irix 5.3)

if test `$ECHO -e foo` = 'foo'; then

because it would expand to

if test -e foo = 'foo' ; then

and the test would terminate the script complaining of unknown
operator "foo".  The complaint was misleading, the real problem
appears to be that "-e" is an unsupported option to test.

Regards,
Charles E. Campbell, Jr.

 ---------------------------------------------------------------------
*** oconfigure  Fri Mar  3 10:15:17 2000
--- configure   Fri Mar  3 10:12:33 2000
***************
*** 2626,2632 ****
  
  echo $ac_n "checking for echo -e flag""... $ac_c" 1>&6
  echo "configure:2629: checking for $ECHO -e flag" >&5
! if test `$ECHO -e foo` = 'foo'; then
      ECHO="$ECHO -e"
  fi
  
--- 2626,2632 ----
  
  echo $ac_n "checking for echo -e flag""... $ac_c" 1>&6
  echo "configure:2629: checking for $ECHO -e flag" >&5
! if test "`$ECHO -e foo`" = 'foo'; then
      ECHO="$ECHO -e"
  fi
 ---------------------------------------------------------------------
  
-- 
        Charles E Campbell, Jr, PhD            _   __   __
        Goddard Space Flight Center           / /_/\_\_/ /
        cec@xxxxxxxxxxxxxxxxxxxxxxxxxxx      /_/  \/_//_/
  PGP public key: http://www.erols.com/astronaut/pgp.html/

--
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • [fam] fam - configure script bug, Dr. Charles E. Campbell <=