summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-12-20 15:03:18 +0000
committerjbj <devnull@localhost>2002-12-20 15:03:18 +0000
commitc346c3e69f15104de5b653b8d1657731bc6edc6c (patch)
tree9634ce83e65e663e8e9f9985b0065082aa6f0c38 /autogen.sh
parente7f55c20f5c7ae0eac290dd7f9d3a948e1f6ab26 (diff)
downloadlibrpm-tizen-c346c3e69f15104de5b653b8d1657731bc6edc6c.tar.gz
librpm-tizen-c346c3e69f15104de5b653b8d1657731bc6edc6c.tar.bz2
librpm-tizen-c346c3e69f15104de5b653b8d1657731bc6edc6c.zip
- dynamically link /bin/rpm, link against good old -lpthread.
CVS patchset: 5951 CVS date: 2002/12/20 15:03:18
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 898e8f506..1ffd855a9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -55,7 +55,12 @@ if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then
mandir=/usr/man
infodir=/usr/info
fi
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=${infodir} --mandir=${mandir} "$@"
+ if [ -d /usr/lib/nptl ]; then
+ enable_posixmutexes="--enable-posixmutexes"
+ else
+ enable_posixmutexes=
+ fi
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=${infodir} --mandir=${mandir} ${enable_posixmutexes} "$@"
else
./configure "$@"
fi