mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 15:32:12 +08:00
Stop relying on uname and instead ask autoconf what platform
we are building for. This makes cross compiling things a lot easier. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -66,7 +66,7 @@ clean:
|
|||||||
done
|
done
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
$(RM) config.*
|
$(RM) config.h config.log config.status
|
||||||
$(RM) fltk-config fltk.list makeinclude
|
$(RM) fltk-config fltk.list makeinclude
|
||||||
$(RM) fltk.spec
|
$(RM) fltk.spec
|
||||||
$(RM) FL/Makefile
|
$(RM) FL/Makefile
|
||||||
@@ -90,7 +90,7 @@ fltk-config: configure configh.in fltk-config.in
|
|||||||
touch config.h
|
touch config.h
|
||||||
chmod +x fltk-config
|
chmod +x fltk-config
|
||||||
|
|
||||||
makeinclude: configure configh.in makeinclude.in
|
makeinclude: configure configh.in makeinclude.in config.guess config.sub
|
||||||
if test -f config.status; then \
|
if test -f config.status; then \
|
||||||
./config.status --recheck; \
|
./config.status --recheck; \
|
||||||
./config.status; \
|
./config.status; \
|
||||||
@@ -103,6 +103,11 @@ makeinclude: configure configh.in makeinclude.in
|
|||||||
configure: configure.in
|
configure: configure.in
|
||||||
autoconf
|
autoconf
|
||||||
|
|
||||||
|
config.guess config.sub:
|
||||||
|
-automake --add-missing 2> /dev/null
|
||||||
|
if [ ! -e config.sub ]; then echo NOTE: Using frozen copy of config.sub; cp misc/config.sub . ; fi
|
||||||
|
if [ ! -e config.guess ]; then echo NOTE: Using frozen copy of config.guess; cp misc/config.guess . ; fi
|
||||||
|
|
||||||
portable-dist:
|
portable-dist:
|
||||||
epm -v -s fltk.xpm fltk
|
epm -v -s fltk.xpm fltk
|
||||||
|
|
||||||
|
|||||||
@@ -214,9 +214,12 @@ in my dev directory:
|
|||||||
Configuring FLTK
|
Configuring FLTK
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
Stay in your FLTK source-code directory. Type:
|
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
|
autoconf
|
||||||
|
automake --add-missing
|
||||||
|
|
||||||
Now configure your FLTK installation:
|
Now configure your FLTK installation:
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -91,9 +91,12 @@ dev directory:
|
|||||||
2.3 Configuring FLTK
|
2.3 Configuring FLTK
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
Stay in your FLTK source-code directory. Type:
|
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
|
autoconf
|
||||||
|
automake --add-missing
|
||||||
|
|
||||||
Now configure your FLTK installation:
|
Now configure your FLTK installation:
|
||||||
|
|
||||||
|
|||||||
+4
-1
@@ -293,9 +293,12 @@ dev directory:
|
|||||||
3.2 Configuring FLTK
|
3.2 Configuring FLTK
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
Stay in your FLTK source-code directory. Type:
|
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
|
autoconf
|
||||||
|
automake --add-missing
|
||||||
|
|
||||||
Now configure your FLTK installation:
|
Now configure your FLTK installation:
|
||||||
|
|
||||||
|
|||||||
+133
-149
File diff suppressed because it is too large
Load Diff
@@ -61,6 +61,9 @@ sed -e '1,$s/@VERSION@/'$version'/' \
|
|||||||
echo Creating configure script...
|
echo Creating configure script...
|
||||||
autoconf -f
|
autoconf -f
|
||||||
|
|
||||||
|
echo Creating config.guess and config.sub \(ignore any other errors\)...
|
||||||
|
automake --add-missing --copy
|
||||||
|
|
||||||
echo Cleaning developer files...
|
echo Cleaning developer files...
|
||||||
rm -rf OpenGL autom4te* bc5 config forms glut images packages themes
|
rm -rf OpenGL autom4te* bc5 config forms glut images packages themes
|
||||||
rm -f makesrcdist
|
rm -f makesrcdist
|
||||||
|
|||||||
+1558
File diff suppressed because it is too large
Load Diff
+1788
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user