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

Bug#2500: emacs and architecture dependencies



On Fri, 15 Mar 1996, Ian Jackson wrote:
>
> The control file architecture name should be the one printed by
> `dpkg --print-architecture'.

well, it would make things a little easier. nevertheless for some
packages the value might get corrected for the configuration.

so the relevant portion in emacs might be:
  # uname returns i[345]86. only one of them is known by ./configure
  ConfigIntelArch=i486

  # get the config architecture name
  ConfigArch=`dpkg --print-architecture | sed -e 's/i386/$(ConfigIntelArch)/'`
  # get the control file architecture name
  ControlArch=`dpkg --print-architecture`

and even further: since AFAIK the difference between i386 and i486
in emacs is only in the different name of the directory
   .../lib/emacs/19.xx/386-linux
one might even directly take dpkg --print-architecture for
configuring.

jjm

--
Juergen Menden                   | Disclaimer: The opinions expressed by me,
tel:    +49 (89) 2051 - 2387     +-----------+ are (usually) not the opinions
e-mail: menden@informatik.tu-muenchen.de     | of anyone else on this planet.

Hi! I'm a .signature virus!  Add me to your .signature and join in the fun!





Reply to: