Mercurial > sdl-ios-xcode
annotate autogen.sh @ 855:aa4ac9e65d92
I noticed MacOSX SDL sets up working directory to parent of executable.
On BeOS is should setup it the same way, but it only does when Tracker
wasn't restarted.
I checked code and it looks like a hack to me :(
It looks for env variable and than comapres it to default when OpenTracker
was started after boot, and wasn't restarted. That's probably ok, for that
exact case. Unfortunetly that variable isn't always like that. For
example, after Tracker crashes and is restarted, env variable most
probably is different (depends on how Tracker was restarted, by what
application, etc... for example: i have launcher application from which i
can restart Tracker, and after that nev variable points to that
application's directory, not Tracker's).
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 24 Feb 2004 18:58:40 +0000 |
parents | 9430ba1a19f3 |
children | c7376efecdb5 |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2 # | |
3 echo "Generating build information using aclocal, automake and autoconf" | |
4 echo "This may take a while ..." | |
5 | |
6 # Touch the timestamps on all the files since CVS messes them up | |
7 directory=`dirname $0` | |
8 touch $directory/configure.in | |
9 | |
10 # Regenerate configuration files | |
11 aclocal | |
342 | 12 automake --foreign --include-deps --add-missing --copy |
0 | 13 autoconf |
343
9430ba1a19f3
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
342
diff
changeset
|
14 (cd test; aclocal; automake --foreign --include-deps --add-missing --copy; autoconf) |
0 | 15 |
16 # Run configure for this platform | |
17 #./configure $* | |
18 echo "Now you are ready to run ./configure" |