annotate bootstrap @ 575:e587ba9d1c87 stable-1.0

Don't force quit in signal handler, since we might double-free things. Instead we set a flag and clean up normally. (transplanted from 7815c90ba55221f47a042339f872207904da0f5c)
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 24 Jan 2010 13:45:18 -0500
parents 365c3adc99c1
children
rev   line source
235
2b9131a7653c Took out some whitespace.
Ryan C. Gordon <icculus@icculus.org>
parents: 202
diff changeset
1 #!/bin/sh
68
0b53ace8b875 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
2
202
ace10a8e632b set -e and some more output.
Ryan C. Gordon <icculus@icculus.org>
parents: 100
diff changeset
3 set -e
ace10a8e632b set -e and some more output.
Ryan C. Gordon <icculus@icculus.org>
parents: 100
diff changeset
4 echo "Initial preparation...this can take awhile, so sit tight..."
68
0b53ace8b875 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
5 aclocal
476
365c3adc99c1 Fixed "bootstrap" script to work with MacOS X.
Ryan C. Gordon <icculus@icculus.org>
parents: 235
diff changeset
6
365c3adc99c1 Fixed "bootstrap" script to work with MacOS X.
Ryan C. Gordon <icculus@icculus.org>
parents: 235
diff changeset
7 # MacOS X renames GNU libtool to "glibtool", since they have something
365c3adc99c1 Fixed "bootstrap" script to work with MacOS X.
Ryan C. Gordon <icculus@icculus.org>
parents: 235
diff changeset
8 # else called "libtool" already...
365c3adc99c1 Fixed "bootstrap" script to work with MacOS X.
Ryan C. Gordon <icculus@icculus.org>
parents: 235
diff changeset
9 if [ -x /usr/bin/glibtoolize ]; then
365c3adc99c1 Fixed "bootstrap" script to work with MacOS X.
Ryan C. Gordon <icculus@icculus.org>
parents: 235
diff changeset
10 glibtoolize --automake --copy --force
365c3adc99c1 Fixed "bootstrap" script to work with MacOS X.
Ryan C. Gordon <icculus@icculus.org>
parents: 235
diff changeset
11 else
365c3adc99c1 Fixed "bootstrap" script to work with MacOS X.
Ryan C. Gordon <icculus@icculus.org>
parents: 235
diff changeset
12 libtoolize --automake --copy --force
365c3adc99c1 Fixed "bootstrap" script to work with MacOS X.
Ryan C. Gordon <icculus@icculus.org>
parents: 235
diff changeset
13 fi
365c3adc99c1 Fixed "bootstrap" script to work with MacOS X.
Ryan C. Gordon <icculus@icculus.org>
parents: 235
diff changeset
14
100
6d9fdec2f708 added config.h, added --enable-debug flag, various other changes to the build system
fingolfin
parents: 87
diff changeset
15 autoheader
75
a7f31634011a Commented out --force option to automake.
Ryan C. Gordon <icculus@icculus.org>
parents: 68
diff changeset
16 automake --foreign --add-missing --copy
68
0b53ace8b875 Initial add.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
17 autoconf
87
4d858e0f9213 Added a "you are now ready to run ./configure" message...
Ryan C. Gordon <icculus@icculus.org>
parents: 75
diff changeset
18
4d858e0f9213 Added a "you are now ready to run ./configure" message...
Ryan C. Gordon <icculus@icculus.org>
parents: 75
diff changeset
19 echo "You are now ready to run ./configure ..."
4d858e0f9213 Added a "you are now ready to run ./configure" message...
Ryan C. Gordon <icculus@icculus.org>
parents: 75
diff changeset
20