2024-11-08 22:17:50 +00: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 19:10:12 +00:00
|
|
|
CFLAGS="$SLKCFLAGS -Wno-error=implicit-function-declaration" \
|
2010-05-19 08:58:23 +00:00
|
|
|
CXXFLAGS=$SLKCFLAGS \
|
2024-11-08 22:17:50 +00:00
|
|
|
$CONFIGURE \
|
2010-05-19 08:58:23 +00:00
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--infodir=/usr/info \
|
|
|
|
--mandir=/usr/man \
|
2016-06-30 20:26:57 +00:00
|
|
|
--docdir=/usr/doc/${PKGNAME}-${MODULAR_PACKAGE_VERSION} \
|
2010-05-19 08:58:23 +00:00
|
|
|
--disable-static \
|
2024-03-26 22:24:59 +00:00
|
|
|
--enable-year2038 \
|
2010-05-19 08:58:23 +00:00
|
|
|
--build=$ARCH-slackware-linux
|