mirror of
https://github.com/fltk/fltk.git
synced 2026-05-29 04:26:27 +08:00
Add an autogen.sh script as is customary for autoconf based
projects. Also update the documentation to steer people to use this scripts. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -214,12 +214,11 @@ in my dev directory:
|
|||||||
Configuring FLTK
|
Configuring FLTK
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
If you got FLTK via subversion then you need two extra steps. Otherwise skip
|
If you got FLTK via subversion then you need one extra step. Otherwise skip
|
||||||
over this part. Stay in your FLTK source-code directory. Type the following
|
over this part. Stay in your FLTK source-code directory and type the
|
||||||
but ignore any errors from the second command:
|
following:
|
||||||
|
|
||||||
autoconf
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
automake --add-missing
|
|
||||||
|
|
||||||
Now configure your FLTK installation:
|
Now configure your FLTK installation:
|
||||||
|
|
||||||
|
|||||||
+5
-6
@@ -91,12 +91,11 @@ dev directory:
|
|||||||
2.3 Configuring FLTK
|
2.3 Configuring FLTK
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
If you got FLTK via subversion then you need two extra steps. Otherwise skip
|
If you got FLTK via subversion then you need one extra step. Otherwise skip
|
||||||
over this part. Stay in your FLTK source-code directory. Type the following
|
over this part. Stay in your FLTK source-code directory and type the
|
||||||
but ignore any errors from the second command:
|
following:
|
||||||
|
|
||||||
autoconf
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
automake --add-missing
|
|
||||||
|
|
||||||
Now configure your FLTK installation:
|
Now configure your FLTK installation:
|
||||||
|
|
||||||
|
|||||||
+5
-6
@@ -293,12 +293,11 @@ dev directory:
|
|||||||
3.2 Configuring FLTK
|
3.2 Configuring FLTK
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
If you got FLTK via subversion then you need two extra steps. Otherwise skip
|
If you got FLTK via subversion then you need one extra step. Otherwise skip
|
||||||
over this part. Stay in your FLTK source-code directory. Type the following
|
over this part. Stay in your FLTK source-code directory and type the
|
||||||
but ignore any errors from the second command:
|
following:
|
||||||
|
|
||||||
autoconf
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
automake --add-missing
|
|
||||||
|
|
||||||
Now configure your FLTK installation:
|
Now configure your FLTK installation:
|
||||||
|
|
||||||
|
|||||||
Executable
+16
@@ -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 "$@"
|
||||||
Reference in New Issue
Block a user