ImagingDataCommons / libdicom

C library for reading DICOM files
https://libdicom.readthedocs.io
MIT License
16 stars 7 forks source link

Consider supporting building with an external copy of uthash #16

Closed bgilbert closed 1 year ago

bgilbert commented 1 year ago

Many Linux distributions discourage packages from including bundled copies of other packages (e.g. Debian policy, Fedora policy). However, there's often a formal or informal exception for libraries that are designed to be copied directly into another codebase ("copylibs"). uthash is such a package.

Nevertheless, it would be nice to optionally allow building with an external copy of uthash, rather than the one provided with libdicom. Both Debian and Fedora provide such a package.

hackermd commented 1 year ago

Agreed! Detecting and using existing uthash headers would be a good idea.