summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-26 20:29:58 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-26 20:29:58 -0400
commitf0238fdd065ace9edbb65a45875f2f47a7a932d6 (patch)
tree7d6ec764907624d3439b9e36dfe93f4f0effd3d8 /acprep
parent84e01c3b21435241e36350e0198ef7b88b698612 (diff)
downloadfork-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-xacprep5
1 files changed, 3 insertions, 2 deletions
diff --git a/acprep b/acprep
index e5520514..f2652dfd 100755
--- a/acprep
+++ b/acprep
@@ -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"