Get on FreeBSD pkgconfigdir=.../libdata , on Linux and others: .../lib

This commit is contained in:
Thomas Schmitt 2009-03-16 19:07:45 +00:00
parent e065a42a80
commit 4571648878
4 changed files with 10 additions and 2 deletions

View File

@ -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)/libburn libincludedir=$(includedir)/libburn
lib_LTLIBRARIES = libburn/libburn.la lib_LTLIBRARIES = libburn/libburn.la

View File

@ -1,9 +1,11 @@
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])
case $target in case $target in
*-*-linux*) *-*-linux*)
ARCH=linux ARCH=linux
@ -12,6 +14,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=

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2009.03.13.135818" #define Cdrskin_timestamP "2009.03.16.190745"

View File

@ -162,6 +162,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 ts A90303 dnl ts A90303