Get on FreeBSD pkgconfigdir=.../libdata , on Linux and others: .../lib
This commit is contained in:
parent
50edfbea51
commit
cd427b269a
@ -1,4 +1,8 @@
|
|||||||
pkgconfigdir=$(libdir)/pkgconfig
|
|
||||||
|
# ts A90315 : LIBBURNIA_PKGCONFDIR is defined OS specific in acinclude.m4
|
||||||
|
# was: pkgconfigdir=$(libdir)/pkgconfig
|
||||||
|
pkgconfigdir=$(LIBBURNIA_PKGCONFDIR)
|
||||||
|
|
||||||
libincludedir=$(includedir)/libisofs
|
libincludedir=$(includedir)/libisofs
|
||||||
|
|
||||||
lib_LTLIBRARIES = libisofs/libisofs.la
|
lib_LTLIBRARIES = libisofs/libisofs.la
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
AC_DEFUN([TARGET_SHIZZLE],
|
AC_DEFUN([TARGET_SHIZZLE],
|
||||||
[
|
[
|
||||||
ARCH=""
|
ARCH=""
|
||||||
|
LIBBURNIA_PKGCONFDIR="$libdir"/pkgconfig
|
||||||
|
|
||||||
AC_MSG_CHECKING([target operating system])
|
AC_MSG_CHECKING([target operating system])
|
||||||
|
|
||||||
@ -12,6 +13,7 @@ AC_DEFUN([TARGET_SHIZZLE],
|
|||||||
*-*-freebsd*)
|
*-*-freebsd*)
|
||||||
ARCH=freebsd
|
ARCH=freebsd
|
||||||
LIBBURN_ARCH_LIBS=-lcam
|
LIBBURN_ARCH_LIBS=-lcam
|
||||||
|
LIBBURNIA_PKGCONFDIR=$(echo "$libdir" | sed 's/\/lib$/\/libdata/')/pkgconfig
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
ARCH=
|
ARCH=
|
||||||
|
@ -124,6 +124,7 @@ AC_SUBST(THREAD_LIBS)
|
|||||||
|
|
||||||
TARGET_SHIZZLE
|
TARGET_SHIZZLE
|
||||||
AC_SUBST(ARCH)
|
AC_SUBST(ARCH)
|
||||||
|
AC_SUBST(LIBBURNIA_PKGCONFDIR)
|
||||||
AC_SUBST(LIBBURN_ARCH_LIBS)
|
AC_SUBST(LIBBURN_ARCH_LIBS)
|
||||||
|
|
||||||
dnl Add compiler-specific flags
|
dnl Add compiler-specific flags
|
||||||
|
Loading…
Reference in New Issue
Block a user