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:
Pierre Ossman
2013-09-24 09:10:04 +00:00
parent 1029debb66
commit e1df29b852
8 changed files with 3502 additions and 155 deletions
+7 -2
View File
@@ -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
+5 -2
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
File diff suppressed because it is too large Load Diff
+3
View File
@@ -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
Vendored Executable
+1558
View File
File diff suppressed because it is too large Load Diff
Vendored Executable
+1788
View File
File diff suppressed because it is too large Load Diff