diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-11-24 14:57:41 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2021-11-24 15:01:45 +0100 |
| commit | ef1c2d5b2686ee7812c4067ea199006e8df0f5da (patch) | |
| tree | 16121f1bfdf9d96d0160662d2d9f9d48c33d6417 /autogen.sh | |
| parent | 7e484c614c16f0a6580ba2c2efaa654ab4e08082 (diff) | |
Fix README files and remove stale config.guess and config.sub
README.Unix.txt and README.Windows.txt (MinGW, MSYS) instructed to
execute `NOCONFIGURE=1 ./autogen.sh` which is no longer necessary
(a simple `autoconf` does the job).
Remove files misc/config.guess and misc/config.sub because they are
no longer needed: these files are now in th FLTK root directory
available. Remove all references to these files.
Fix .gitattributes accordingly. Also exclude the .github folder
from exports, for instance when creating distribution tarballs.
Diffstat (limited to 'autogen.sh')
| -rwxr-xr-x | autogen.sh | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/autogen.sh b/autogen.sh index e27ae85af..fafb9f19b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,16 +1,20 @@ #! /bin/sh - -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. -srcdir=`cd $srcdir && pwd` - -ORIGDIR=`pwd` -cd $srcdir +# +# This file is no longer referred to in the documentation, it's kept +# for backwards compatibility only. +# +# Just run `autoconf` instead to generate `configure` and you're done. +# +# The old README.Unix.txt stated that it should be executed from within +# the "FLTK source-code directory", hence changing directories is not +# useful and would break if the user's home directory contained spaces. +# Changing directories has been removed in FLTK 1.4.0 and this file +# has been simplified substantially. +# +# Instead of executing it as documented in pre-1.4 README files the new docs +# instruct to just execute `autoconf` which is sufficient and equivalent to +# the old instructions. autoconf --force || exit 1 -automake --add-missing -if test ! -e config.sub; then echo NOTE: Using frozen copy of config.sub; cp misc/config.sub . ; fi -if test ! -e config.guess; then echo NOTE: Using frozen copy of config.guess; cp misc/config.guess . ; fi -cd $ORIGDIR || exit $? -test -n "$NOCONFIGURE" || $srcdir/configure "$@" +test -n "$NOCONFIGURE" || ./configure "$@" |
