libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

print -r --mode=compile


From: Albert Chin
Subject: print -r --mode=compile
Date: Thu, 23 Sep 2004 21:25:16 -0500
User-agent: Mutt/1.5.6i

config/ltmain.in has:
      -dlopen=*|--mode=*|--tag=*)
                        arg=`$ECHO "$opt" | $SED "$my_sed_long_arg"`
                        opt=`$ECHO "$opt" | $SED "$my_sed_long_opt"`
                        set -- "$opt" "$arg" ${1+"$@"}
                        ;;

On systems where ECHO='print -r', I get:
  $ uname -a
  AIX luna 2 5 0043880C4C00
  $ print -r --mode=compile
  ksh: print: 0403-010 A specified flag is not valid for this command.

  $ uname -a
  SunOS poog 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-V250
  $ print -r --mode=compile
  ksh: print: bad option(s)

  $ uname -a
  IRIX64 puar 6.5 01080747 IP30
  $ print -r --mode=compile
  ksh: print: bad option(s)

So, we either need to extend our tests for an $ECHO alternative or
use $ECHO only where needed. I think the change above breaks *every*
system where print is available.

-- 
albert chin (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]