|
Last change
on this file since 97 was 2, checked in by dmik, 20 years ago |
|
Imported xplatform parts of the official release 3.3.1 from Trolltech
|
|
File size:
675 bytes
|
| Line | |
|---|
| 1 | # autogen.sh
|
|---|
| 2 | #
|
|---|
| 3 | # invoke the auto* tools to create the configureation system
|
|---|
| 4 |
|
|---|
| 5 | # move out configure.in
|
|---|
| 6 | if ! test -f configure.in; then
|
|---|
| 7 | echo "copying out configure.in"
|
|---|
| 8 | ln -s makefiles/configure.in
|
|---|
| 9 | fi
|
|---|
| 10 |
|
|---|
| 11 | # move out the macros and run aclocal
|
|---|
| 12 | if ! test -f acinclude.m4; then
|
|---|
| 13 | echo "copying configure macros"
|
|---|
| 14 | ln -s makefiles/acinclude.m4 .
|
|---|
| 15 | fi
|
|---|
| 16 | aclocal
|
|---|
| 17 |
|
|---|
| 18 | # build the configure script
|
|---|
| 19 | autoconf
|
|---|
| 20 |
|
|---|
| 21 | # set up libtool
|
|---|
| 22 | libtoolize --force
|
|---|
| 23 |
|
|---|
| 24 | # copy up our Makefile template and invoke automake
|
|---|
| 25 | if ! test -f Makefile.am; then
|
|---|
| 26 | echo "copying automake template"
|
|---|
| 27 | ln -s makefiles/Makefile.am .
|
|---|
| 28 | fi
|
|---|
| 29 | automake --foreign --add-missing
|
|---|
| 30 |
|
|---|
| 31 | # and finally invoke our new configure
|
|---|
| 32 | ./configure $*
|
|---|
| 33 |
|
|---|
| 34 | # end
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.