Closed cburstedde closed 11 months ago
I'm wondering whether the have* variables etc. in the pkgconfig file should be prefixed with sc?
This looks good to me!
I'm wondering whether the have* variables etc. in the pkgconfig file should be prefixed with sc?
Since we already use libsc_CC
and libsc_CFLAGS
in pkgconf.pc.in
it may be more consistent to also use prefixes for the remaining variables. If we use prefixes for all variables, we may want to decide whether we use sc_
or libsc_
throughout the pkgconf.pc.in
file.
This looks good to me!
Thanks for checking!
I'm wondering whether the have* variables etc. in the pkgconfig file should be prefixed with sc?
Since we already use
libsc_CC
andlibsc_CFLAGS
inpkgconf.pc.in
it may be more consistent to also use prefixes for the remaining variables. If we use prefixes for all variables, we may want to decide whether we usesc_
orlibsc_
throughout thepkgconf.pc.in
file.
I agree, a common libsc_
prefix would be nice. @scivision, would there be consequences to prefix have_mpi, have_json, build_zlib and debug_build that we'd need to catch elsewhere?
Merging for now. It seems we have little test coverage and user feedback wrt. pkgconfig. Any experts out there?
Use prefix for HAVE_JSON shell variable
Proposed changes: in the autoconf code, move the AC_SUBST macro into the JSON check macro itself.