Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

also build pkgconfig with autotools #2219

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,6 @@ $(top_builddir)/config.status:

# Don't include conclude.am in root Makefile; tests target needs to
# recurse into reguar subdirs.
#
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = hdf5.pc
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -4203,6 +4203,7 @@ AM_CONDITIONAL([HAVE_SHARED_CONDITIONAL], [test "X$enable_shared" = "Xyes"])

AC_CONFIG_FILES([src/libhdf5.settings
Makefile
hdf5.pc
doxygen/Doxyfile
src/Makefile
test/Makefile
Expand Down
11 changes: 11 additions & 0 deletions hdf5.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
prefix=@prefix@
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file already exists in config/cmake/libhdf5.pc.in. Also a fortran one. Both could be moved up into the config folder.

exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: hdf5
Description: HDF5 (Hierarchical Data Format 5) Software Library
Version: @VERSION@

Cflags: -I@includedir@
Libs: -L@libdir@ -lhdf5