dsdreamer wrote: 
> Another way to copy in the latest, known config.guess file without
> risking a broken automake would be to use: wget -O config.guess
> 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
> or curl
> 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
> > config.guess
> 
As 'mentioned'
(http://forums.slimdevices.com/showthread.php?108166-Building-LMS-for-64-bit-Debian-running-on-ARM-Single-Board-Computers&p=897624&viewfull=1#post897624)
that's how my script does it:

Code:
--------------------
    
  function refresh_config {
  [ -f /tmp/config.guess ] || wget -O /tmp/config.guess 
'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
  [ -f /tmp/config.sub ] || wget -O /tmp/config.sub 
'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
        cp -vf /tmp/config.guess .
        cp -vf /tmp/config.sub .
  }
  
--------------------


dsdreamer wrote: 
> 
> The only assumptions used here a working wget (or curl) and an Internet
> connection.  These extra build steps would be protected by an if [
> "`uname -m`" == "aarch64" ]; then conditional, so the probability of
> breaking the script for existing platforms for which it works would be
> minimal. 
> 
If you wanted to check for arch, then one would just put the test into
the refresh_config function. Same approach could be used to check for
availability of wget/curl/network.
dsdreamer wrote: 
> 
> Any thoughts on why the above is not a good change to propose?
> 
Except for the caveats already mentioned by you (which I think are minor
- wget is available everywhere and usually already installed and if
there is not net connection, one couldn't download the modules/script in
any case), no.



SW: extGUI4LMS - new web UI: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'LMSlib2go'
(http://forums.slimdevices.com/showthread.php?107704-Announce-LMSlib2go-library-information-on-mobile-devices)
| 'music visualizer'
(http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite)
for squeezelite
HowTos: 'build a self-contained LMS'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS)
| 'Ogg Opus support'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files)
| 'Bluetooth with ALSA'
(http://forums.slimdevices.com/showthread.php?107230-Howto-Bluetooth-streaming-to-from-LMS-(ALSA-only-no-PulseAudio))
| ' update bundled perl modules'
(http://forums.slimdevices.com/showthread.php?107040-Howto-update-perl-modules-bundled-with-LMS)
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=108166

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to