Install pkgconfig file and respect user vars
This commit is contained in:
parent
4b16ea8e7a
commit
32262ffdc0
3 changed files with 8 additions and 4 deletions
|
@ -4,3 +4,5 @@ libobstack_la_SOURCES = obstack.c
|
||||||
libobstack_la_HEADERS = obstack.h
|
libobstack_la_HEADERS = obstack.h
|
||||||
libobstack_ladir = $(includedir)
|
libobstack_ladir = $(includedir)
|
||||||
ACLOCAL_AMFLAGS = -Im4
|
ACLOCAL_AMFLAGS = -Im4
|
||||||
|
|
||||||
|
pkgconfig_DATA = musl-obstack.pc
|
||||||
|
|
|
@ -12,5 +12,7 @@ AC_PROG_LIBTOOL
|
||||||
|
|
||||||
AC_CHECK_HEADERS(stddef.h stdio.h stdint.h inttypes.h)
|
AC_CHECK_HEADERS(stddef.h stdio.h stdint.h inttypes.h)
|
||||||
|
|
||||||
|
PKG_INSTALLDIR
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile musl-obstack.pc])
|
AC_CONFIG_FILES([Makefile musl-obstack.pc])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
prefix=/usr
|
prefix=@prefix@
|
||||||
exec_prefix=${prefix}
|
exec_prefix=@exec_prefix@
|
||||||
libdir=${prefix}/lib
|
libdir=@libdir@
|
||||||
includedir=${prefix}/include
|
includedir=@includedir@
|
||||||
|
|
||||||
Name: musl-obstack
|
Name: musl-obstack
|
||||||
Description: Implementation of obstack functions for musl libc
|
Description: Implementation of obstack functions for musl libc
|
||||||
|
|
Loading…
Reference in a new issue