cosmetics and small tweaks to pkg-config
This commit is contained in:
parent
86bb6fa93a
commit
04aa8245d0
2 changed files with 3 additions and 1 deletions
|
@ -53,7 +53,7 @@ double VmHWM(void)
|
||||||
if (!strncmp(word, "VmHWM:", 6))
|
if (!strncmp(word, "VmHWM:", 6))
|
||||||
{
|
{
|
||||||
if (fscanf(f,"%lf%2s",&res,word)<0)
|
if (fscanf(f,"%lf%2s",&res,word)<0)
|
||||||
{ fclose(f); return -1.0; }
|
{ fclose(f); return -1.0; }
|
||||||
if (strncmp(word, "kB", 2))
|
if (strncmp(word, "kB", 2))
|
||||||
{ fclose(f); return -1.0; }
|
{ fclose(f); return -1.0; }
|
||||||
res *=1024;
|
res *=1024;
|
||||||
|
|
|
@ -30,6 +30,8 @@ AC_PROG_LIBTOOL
|
||||||
tmpval=`echo $CFLAGS | grep -c '\-DMULTIARCH'`
|
tmpval=`echo $CFLAGS | grep -c '\-DMULTIARCH'`
|
||||||
AM_CONDITIONAL([HAVE_MULTIARCH], [test $tmpval -gt 0])
|
AM_CONDITIONAL([HAVE_MULTIARCH], [test $tmpval -gt 0])
|
||||||
|
|
||||||
|
PACKAGE_LIBS="-lsharp"
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Create pkgconfig .pc file.
|
dnl Create pkgconfig .pc file.
|
||||||
dnl
|
dnl
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue