2024-11-08 23:17:50 +01:00
|
|
|
if [ -x ./configure ]; then
|
|
|
|
CONFIGURE="./configure"
|
|
|
|
elif [ -x ./autogen.sh ]; then
|
|
|
|
CONFIGURE="./autogen.sh"
|
|
|
|
else
|
|
|
|
echo "ERROR: neither ./configure nor ./autogen.sh found."
|
|
|
|
sleep 5
|
|
|
|
exit 1
|
|
|
|
fi
|
2024-05-12 21:10:12 +02:00
|
|
|
CFLAGS="$SLKCFLAGS -Wno-error=implicit-function-declaration" \
|
2010-05-19 10:58:23 +02:00
|
|
|
CXXFLAGS=$SLKCFLAGS \
|
2024-11-08 23:17:50 +01:00
|
|
|
$CONFIGURE \
|
2010-05-19 10:58:23 +02:00
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--infodir=/usr/info \
|
|
|
|
--mandir=/usr/man \
|
2016-06-30 22:26:57 +02:00
|
|
|
--docdir=/usr/doc/${PKGNAME}-${MODULAR_PACKAGE_VERSION} \
|
2010-05-19 10:58:23 +02:00
|
|
|
--disable-static \
|
2024-03-26 23:24:59 +01:00
|
|
|
--enable-year2038 \
|
2010-05-19 10:58:23 +02:00
|
|
|
--build=$ARCH-slackware-linux
|