cosmetics and small tweaks to pkg-config

This commit is contained in:
Martin Reinecke 2019-02-20 10:06:06 +01:00
parent 86bb6fa93a
commit 04aa8245d0
2 changed files with 3 additions and 1 deletions

View file

@ -53,7 +53,7 @@ double VmHWM(void)
if (!strncmp(word, "VmHWM:", 6))
{
if (fscanf(f,"%lf%2s",&res,word)<0)
{ fclose(f); return -1.0; }
{ fclose(f); return -1.0; }
if (strncmp(word, "kB", 2))
{ fclose(f); return -1.0; }
res *=1024;

View file

@ -30,6 +30,8 @@ AC_PROG_LIBTOOL
tmpval=`echo $CFLAGS | grep -c '\-DMULTIARCH'`
AM_CONDITIONAL([HAVE_MULTIARCH], [test $tmpval -gt 0])
PACKAGE_LIBS="-lsharp"
dnl
dnl Create pkgconfig .pc file.
dnl