Skip to content

Commit

Permalink
bump version number
Browse files Browse the repository at this point in the history
also a few pkgconfig fixes:
- update url
- automatically propagate version number from autoconf
- propagate pkgconfig dependencies from autoconf
- toggle if liburing is required or not depending on configuration
  • Loading branch information
carns committed Feb 29, 2024
1 parent ccaf0bb commit 05c9039
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.67])
AC_INIT([abt-io], [0.6.0], [],[],[])
AC_INIT([abt-io], [0.7.0], [],[],[])
AC_CONFIG_MACRO_DIRS([m4])
LT_INIT

Expand Down Expand Up @@ -148,9 +148,12 @@ if test "$enable_liburing" = "yes"; then
[AC_SEARCH_LIBS([io_uring_get_probe], [uring],
[], [AC_MSG_ERROR(mochi-abt-io requires a version of liburing with io_uring_get_probe support)])]
)
PC_REQUIRES="argobots json-c liburing"
else
PC_REQUIRES="argobots json-c"
USE_LIBURING=0
fi
AC_SUBST([PC_REQUIRES], ["$PC_REQUIRES"])
AC_SUBST(USE_LIBURING)
AM_CONDITIONAL([BUILD_LIBURING], [test "x${build_liburing}" = xyes])

Expand Down
6 changes: 3 additions & 3 deletions maint/abt-io.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ includedir=@includedir@

Name: abt-io
Description: Argobots bindings for common POSIX I/O functions
Version: 0.2
URL: https://xgitlab.cels.anl.gov/sds/abt-io
Requires: argobots json-c
Version: @PACKAGE_VERSION@
URL: https://github.com/mochi-hpc/mochi-abt-io/
Requires: @PC_REQUIRES@
Libs: -L${libdir} -labt-io
Cflags: -I${includedir}

0 comments on commit 05c9039

Please sign in to comment.