Debian Codegraph @

misc/update_config_scripts

raw
1 #!/bin/sh
2 #
3 # Update the bundled scripts config.guess and config.sub
4 # for the Fast Light Tool Kit (FLTK).
5 #
6 # Copyright 1998-2023 by Bill Spitzak and others.
7 #
8 # This library is free software. Distribution and use rights are outlined in
9 # the file "COPYING" which should have been included with this file. If this
10 # file is missing or damaged, see the license at:
11 #
12 # https://www.fltk.org/COPYING.php
13 #
14 # Please see the following page on how to report bugs and issues:
15 #
16 # https://www.fltk.org/bugs.php
17 #
18
19 #
20 # Notes to developers:
21 #
22 # This script uses wget to download the scripts to the current working
23 # directory, and it overwrites existing files. You may also use your
24 # browser to view and download the files if wget is not installed on
25 # your system.
26 #
27 # After downloading the scripts, copy config.guess and config.sub to
28 # the FLTK root directory, test, and eventually commit the changes:
29 #
30 # # cd to FLTK root directory
31 #
32 # $ make distclean
33 # $ autoconf -f
34 # $ ./configure [options ...]
35 # $ make
36 # # test
37 # $ git add config.guess config.sub
38 # $ git commit
39 #
40
41 for FILE in config.guess config.sub; do
42 echo ""
43 echo "Downloading $FILE..."
44 echo ""
45 wget -O $FILE \
46 "https://git.savannah.gnu.org/cgit/config.git/plain/$FILE"
47 done
48
49 echo ""
50 echo "Download complete, please check for errors, test, and commit changes."
51 echo ""