autotools: install .pc files to the correct directory on FreeBSD

This commit is contained in:
Daniel Kolesa 2014-08-07 22:41:22 +01:00
parent fd3f5f4615
commit 236cdce358
2 changed files with 10 additions and 0 deletions

View File

@ -108,7 +108,12 @@ pkgbuild/efl.install \
po/xgettext_wrapper.sh \
po/Makevars.in
if HAVE_FREEBSD
pkgconfigdir = $(libdir)data/pkgconfig
else
pkgconfigdir = $(libdir)/pkgconfig
endif
pkgconfig_DATA =
if HAVE_WINDOWS

View File

@ -187,6 +187,7 @@ AC_SUBST(EFL_VERSION_MINOR)
have_systemd_pkg="no"
have_win32="no"
have_windows="no"
have_freebsd="no"
have_darwin="no"
have_linux="no"
have_ps3="no"
@ -197,6 +198,9 @@ case "$host_os" in
have_windows="yes"
EFL_CFLAGS="${EFL_CFLAGS} -D__USE_MINGW_ANSI_STDIO"
;;
freebsd*)
have_freebsd="yes"
;;
darwin*)
have_darwin="yes"
;;
@ -221,6 +225,7 @@ AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"])
AM_CONDITIONAL([HAVE_WINDOWS], [test "x${have_windows}" = "xyes"])
AM_CONDITIONAL([HAVE_PS3], [test "x${have_ps3}" = "xyes"])
AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = "xyes"])
AM_CONDITIONAL([HAVE_OSX], [test "x${have_darwin}" = "xyes"])
AM_CONDITIONAL([HAVE_X86_64], [test "x${host_cpu}" = "xx86_64"])