Skip to content

Commit

Permalink
bump pslib to 0.4.8
Browse files Browse the repository at this point in the history
now with -lm needed
  • Loading branch information
rurban committed Sep 29, 2024
1 parent 11d957f commit 5a46475
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build-aux/install-pslib
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/sh
set -e
VER=0.4.6
VER=0.4.8
wget -q -O pslib-$VER.tar.gz https://sourceforge.net/projects/pslib/files/pslib/$VER/pslib-$VER.tar.gz/download
tar xfz pslib-$VER.tar.gz
cd pslib-$VER
# sh autogen.sh
./configure --prefix=/usr
./configure --disable-nls --prefix=/usr
make
#make check
sudo make install
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ AC_C_RESTRICT
dnl Checks for libraries
AM_ICONV

AC_CHECK_LIB([ps],[PS_open_file],
AC_CHECK_LIB([ps -lm],[PS_open_file],
libredwg_have_libps=yes,
libredwg_have_libps=no)

Expand Down Expand Up @@ -227,6 +227,9 @@ if test x$ax_is_release = xyes; then
if test x$have_libxml2 != xyes; then
AC_MSG_WARN([libxml-2.0 for test/xmlsuite missing])
fi
if test x$libredwg_have_libps != xyes; then
AC_MSG_WARN([pslib for dwg2ps missing with release])
fi
AC_DEFINE([IS_RELEASE],1,[Define to 1 if this is a release,
skipping unstable DWG features, unknown DWG versions and objects.])
fi
Expand Down

0 comments on commit 5a46475

Please sign in to comment.