Install pkgconfig file and respect user vars

This commit is contained in:
Aric Belsito 2017-01-13 16:22:08 -08:00
parent 4b16ea8e7a
commit 32262ffdc0
No known key found for this signature in database
GPG key ID: AFA511A1D325651B
3 changed files with 8 additions and 4 deletions

View file

@ -4,3 +4,5 @@ libobstack_la_SOURCES = obstack.c
libobstack_la_HEADERS = obstack.h
libobstack_ladir = $(includedir)
ACLOCAL_AMFLAGS = -Im4
pkgconfig_DATA = musl-obstack.pc

View file

@ -12,5 +12,7 @@ AC_PROG_LIBTOOL
AC_CHECK_HEADERS(stddef.h stdio.h stdint.h inttypes.h)
PKG_INSTALLDIR
AC_CONFIG_FILES([Makefile musl-obstack.pc])
AC_OUTPUT

View file

@ -1,7 +1,7 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: musl-obstack
Description: Implementation of obstack functions for musl libc