diff options
| -rw-r--r-- | README.MSWindows.txt | 11 | ||||
| -rw-r--r-- | README.OSX.txt | 11 | ||||
| -rw-r--r-- | README.Unix.txt | 11 | ||||
| -rwxr-xr-x | autogen.sh | 16 |
4 files changed, 31 insertions, 18 deletions
diff --git a/README.MSWindows.txt b/README.MSWindows.txt index b2356914d..4aefe5b46 100644 --- a/README.MSWindows.txt +++ b/README.MSWindows.txt @@ -214,12 +214,11 @@ in my dev directory: Configuring FLTK ------------------ -If you got FLTK via subversion then you need two extra steps. Otherwise skip -over this part. Stay in your FLTK source-code directory. Type the following -but ignore any errors from the second command: - - autoconf - automake --add-missing +If you got FLTK via subversion then you need one extra step. Otherwise skip +over this part. Stay in your FLTK source-code directory and type the +following: + + NOCONFIGURE=1 ./autogen.sh Now configure your FLTK installation: diff --git a/README.OSX.txt b/README.OSX.txt index 77ddf878b..ce720c3e4 100644 --- a/README.OSX.txt +++ b/README.OSX.txt @@ -91,12 +91,11 @@ dev directory: 2.3 Configuring FLTK ----------------------- -If you got FLTK via subversion then you need two extra steps. Otherwise skip -over this part. Stay in your FLTK source-code directory. Type the following -but ignore any errors from the second command: - - autoconf - automake --add-missing +If you got FLTK via subversion then you need one extra step. Otherwise skip +over this part. Stay in your FLTK source-code directory and type the +following: + + NOCONFIGURE=1 ./autogen.sh Now configure your FLTK installation: diff --git a/README.Unix.txt b/README.Unix.txt index 1e54e45ad..096d01726 100644 --- a/README.Unix.txt +++ b/README.Unix.txt @@ -293,12 +293,11 @@ dev directory: 3.2 Configuring FLTK ----------------------- -If you got FLTK via subversion then you need two extra steps. Otherwise skip -over this part. Stay in your FLTK source-code directory. Type the following -but ignore any errors from the second command: - - autoconf - automake --add-missing +If you got FLTK via subversion then you need one extra step. Otherwise skip +over this part. Stay in your FLTK source-code directory and type the +following: + + NOCONFIGURE=1 ./autogen.sh Now configure your FLTK installation: diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 000000000..e27ae85af --- /dev/null +++ b/autogen.sh @@ -0,0 +1,16 @@ +#! /bin/sh + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. +srcdir=`cd $srcdir && pwd` + +ORIGDIR=`pwd` +cd $srcdir + +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 "$@" |
