summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorjbj <jbj>1999-01-22 18:42:44 +0000
committerjbj <jbj>1999-01-22 18:42:44 +0000
commit6a09a5c6f0fbe67ed01b2151874c904766057935 (patch)
treeeb14dfbdf0b621036f29cfffc8b10d4adf9a8034 /autogen.sh
parentca42b3c4484d798262e68ee74382c347cdb26d93 (diff)
downloadlibpopt-6a09a5c6f0fbe67ed01b2151874c904766057935.tar.gz
Use libtool to build libraries, but force --disable-shared for now.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index fd0c14d..d5f4d10 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -7,4 +7,8 @@ if [ "$1" = "--noconfigure" ]; then
exit 0;
fi
-./configure "$@"
+if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then
+ ./configure --prefix=/usr --disable-shared
+else
+ ./configure "$@"
+fi