diff --git a/c_utils/memusage.c b/c_utils/memusage.c index fd0c331..7fe5fa3 100644 --- a/c_utils/memusage.c +++ b/c_utils/memusage.c @@ -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; diff --git a/configure.ac b/configure.ac index 7f6b5d8..3871ffc 100644 --- a/configure.ac +++ b/configure.ac @@ -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