Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libsharp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Reinecke
libsharp
Commits
04aa8245
Commit
04aa8245
authored
6 years ago
by
Martin Reinecke
Browse files
Options
Downloads
Patches
Plain Diff
cosmetics and small tweaks to pkg-config
parent
86bb6fa9
No related branches found
No related tags found
2 merge requests
!19
Put most recent version onto mater
,
!18
Cleanup
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
c_utils/memusage.c
+1
-1
1 addition, 1 deletion
c_utils/memusage.c
configure.ac
+2
-0
2 additions, 0 deletions
configure.ac
with
3 additions
and
1 deletion
c_utils/memusage.c
+
1
−
1
View file @
04aa8245
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
2
−
0
View file @
04aa8245
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment