diff options
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 "$@" |
