diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-26 20:29:58 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-26 20:29:58 -0400 |
commit | f0238fdd065ace9edbb65a45875f2f47a7a932d6 (patch) | |
tree | 7d6ec764907624d3439b9e36dfe93f4f0effd3d8 /acprep | |
parent | 84e01c3b21435241e36350e0198ef7b88b698612 (diff) | |
download | fork-ledger-f0238fdd065ace9edbb65a45875f2f47a7a932d6.tar.gz fork-ledger-f0238fdd065ace9edbb65a45875f2f47a7a932d6.tar.bz2 fork-ledger-f0238fdd065ace9edbb65a45875f2f47a7a932d6.zip |
use libtool, for making shared libraries
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ #!/bin/sh +libtoolize -f aclocal autoheader touch AUTHORS ChangeLog @@ -15,10 +16,10 @@ autoconf INCDIRS="-I/sw/include -I/usr/include/httpd/xml" if [ "$1" = "--debug" ]; then ./configure CPPFLAGS="$INCDIRS" LDFLAGS=-L/sw/lib \ - CXXFLAGS="-g" --enable-debug + CXXFLAGS="-g" --enable-debug --disable-shared elif [ "$1" = "--opt" ]; then ./configure CPPFLAGS="$INCDIRS" LDFLAGS=-L/sw/lib \ - CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450" --enable-standalone + CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450 -fPIC" --enable-standalone elif [ "$1" = "--perf" ]; then ./configure CPPFLAGS="$INCDIRS" LDFLAGS=-L/sw/lib \ CXXFLAGS="-g -pg" |