forked from enlightenment/enlightenment
autotools: install .pc files to the correct directory on FreeBSD
This commit is contained in:
parent
4e7c44d534
commit
076aa56b9b
|
@ -74,7 +74,12 @@ include src/Makefile.mk
|
|||
filesdir = $(datadir)/enlightenment/
|
||||
files_DATA = AUTHORS COPYING
|
||||
|
||||
if HAVE_FREEBSD
|
||||
pkgconfigdir = $(libdir)data/pkgconfig
|
||||
else
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
endif
|
||||
|
||||
pkgconfig_DATA = enlightenment.pc
|
||||
|
||||
include doc/Makefile.mk
|
||||
|
|
|
@ -659,6 +659,7 @@ define([CHECK_MODULE_BATTERY],
|
|||
])
|
||||
|
||||
have_openbsd="no"
|
||||
have_freebsd="no"
|
||||
BATTERY_LDFLAGS=
|
||||
case "$host_os" in
|
||||
darwin*)
|
||||
|
@ -667,10 +668,14 @@ case "$host_os" in
|
|||
openbsd*)
|
||||
have_openbsd="yes"
|
||||
;;
|
||||
freebsd*)
|
||||
have_freebsd="yes"
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST([BATTERY_LDFLAGS])
|
||||
AM_CONDITIONAL([HAVE_OPENBSD], [test "x${have_openbsd}" = "xyes"])
|
||||
AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = "xyes"])
|
||||
|
||||
AM_CONDITIONAL(HAVE_TEMPERATURE, false)
|
||||
define([CHECK_MODULE_TEMPERATURE],
|
||||
|
|
Loading…
Reference in New Issue