aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2013-09-09 20:37:03 +0300
committerLasse Collin <lasse.collin@tukaani.org>2013-09-09 20:37:03 +0300
commit72975df6c8c59aaf849138ab3606e8fb6970596a (patch)
tree58f60db6361188577769b0b7ebf87f0062c61d48 /configure.ac
parentFix the previous commit which broke the build. (diff)
downloadxz-72975df6c8c59aaf849138ab3606e8fb6970596a.tar.xz
Build: Create liblzma.pc in a src/liblzma/Makefile.am.
Previously it was done in configure, but doing that goes against the Autoconf manual. Autoconf requires that it is possible to override e.g. prefix after running configure and that doesn't work correctly if liblzma.pc is created by configure. A potential downside of this change is that now e.g. libdir in liblzma.pc is a standalone string instead of being defined via ${prefix}, so if one overrides prefix when running pkg-config the libdir won't get the new value. I don't know if this matters in practice. Thanks to Vincent Torri.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 0 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 186a39bb..fb0a52cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -720,7 +720,6 @@ AC_CONFIG_FILES([
po/Makefile.in
lib/Makefile
src/Makefile
- src/liblzma/liblzma.pc
src/liblzma/Makefile
src/liblzma/api/Makefile
src/xz/Makefile