Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Caitlin Ross
codes
Commits
3f7aa3d8
Commit
3f7aa3d8
authored
Jul 16, 2015
by
Jonathan Jenkins
Browse files
fix pkg-config usage
parent
6a6765c0
Changes
2
Show whitespace changes
Inline
Side-by-side
configure.ac
View file @
3f7aa3d8
...
...
@@ -78,12 +78,14 @@ PKG_CHECK_MODULES_STATIC([ROSS], [ross], [],
AC_ARG_WITH([darshan],[AS_HELP_STRING([--with-darshan],
[Build with the darshan workload support])],
[use_darshan=yes],[use_darshan=no])
DARSHAN_PKG=
if test "x${use_darshan}" = xyes ; then
PKG_CHECK_MODULES_STATIC([DARSHAN], [darshan-util], [],
[AC_MSG_ERROR([Could not find working darshan installation via pkg-config])])
DARSHAN_PKG=darshan-util
fi
AM_CONDITIONAL(USE_DARSHAN, [test "x${use_darshan}" = xyes])
AC_SUBST(DARSHAN_PKG)
# check for Recorder
AM_CONDITIONAL(USE_RECORDER, true)
...
...
maint/codes-base.pc.in
View file @
3f7aa3d8
...
...
@@ -2,18 +2,14 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
libdir=@libdir@
includedir=@includedir@
ross_cflags=@ROSS_CFLAGS@
ross_ldflags=@ROSS_LDFLAGS@
ross_libs=@ROSS_LIBS@
darshan_libs=@DARSHAN_LIBS@
darshan_cflags=@DARSHAN_CFLAGS@
dumpi_cflags=@DUMPI_CFLAGS@
dumpi_libs=@DUMPI_LIBS@
Name: codes-base
Description: Base functionality for CODES storage simulation
Version: @
CODES_BAS
E_VERSION@
Version: @
PACKAG
E_VERSION@
URL: http://trac.mcs.anl.gov/projects/CODES
Requires:
Libs: -L${libdir} -lcodes-base ${ross_ldflags} ${ross_libs} ${darshan_libs} ${dumpi_libs}
Cflags: -I${includedir} ${ross_cflags} ${darshan_cflags} ${dumpi_cflags}
Requires: ross
Requires.private: @DARSHAN_PKG@
Libs: -L${libdir} -lcodes-base ${dumpi_libs}
Cflags: -I${includedir} ${dumpi_cflags}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment