From 489a328487ce544ed3ae37e93e81f495954a8bd4 Mon Sep 17 00:00:00 2001 From: Joshua Kordani Date: Thu, 3 Feb 2022 09:53:08 -0500 Subject: [PATCH] Addition of .pc file to autotools process --- config/hdf5.pc.in | 11 +++++++++++ configure.ac | 1 + 2 files changed, 12 insertions(+) create mode 100644 config/hdf5.pc.in diff --git a/config/hdf5.pc.in b/config/hdf5.pc.in new file mode 100644 index 00000000000..0af2a996ff9 --- /dev/null +++ b/config/hdf5.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: hdf5 +Description: HDF5 (Hierarchical Data Format 5) Software Library +Version: 1.13.1-1 + +Cflags: -I@includedir@ +Libs: -L@libdir@ -lm -ldl -lhdf5 \ No newline at end of file diff --git a/configure.ac b/configure.ac index 4cf329c2f13..1f2260669e2 100644 --- a/configure.ac +++ b/configure.ac @@ -4240,6 +4240,7 @@ AC_CONFIG_FILES([src/libhdf5.settings examples/testh5cc.sh bin/h5cc bin/Makefile + config/hdf5.pc c++/Makefile c++/src/Makefile c++/src/h5c++