Merge branch 'sxe_pc_check' into for-steve
authorNelson Ferreira <nelson.ferreira@ieee.org>
Sat, 15 Aug 2015 23:12:24 +0000 (19:12 -0400)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Sat, 15 Aug 2015 23:12:24 +0000 (19:12 -0400)
Makefile.am
configure.ac
info/Makefile.am

index d6e7cbf..1cefe3a 100644 (file)
@@ -55,7 +55,7 @@ sxe_subdirs += lib-src
 if DESCEND_MODULES
 sxe_subdirs += modules
 endif
-sxe_subdirs += src lisp src lisp info etc tests
+sxe_subdirs += src lisp info etc tests
 
 SUBDIRS =
 SUBDIRS += $(sxe_subdirs)
index 432db05..a680427 100644 (file)
@@ -3021,6 +3021,17 @@ fi
 ## Since almost any of the below tests uses pkgconfig we make a
 ## once-for-all-times check now
 SXE_SEARCH_CONFIG_PROG([pkg-config])
+if test "$have_pkg_config" = "yes" -a -n "$with_site_prefixes"; then
+       for dir in $with_site_prefixes; do
+               pkgcfg_dir="${dir}/lib/pkgconfig"
+               if test -n "$PKG_CONFIG_PATH"; then
+                  PKG_CONFIG_PATH="$PKG_CONFIG_PATH":"$pkgcfg_dir"
+               else
+                  PKG_CONFIG_PATH="$pkgcfg_dir"
+               fi
+       done
+       export PKG_CONFIG_PATH
+fi
 
 dnl libsndfile support
 if test "$with_media_sndfile" != "no"; then
index 7449556..12f2219 100644 (file)
 LANG=C
 LC_ALL=C
 
+builddir = @builddir@
+srcdir = @srcdir@
+
+SUBDIRS=
+
 info_TEXINFOS =
 info_TEXINFOS += cl.texi
 info_TEXINFOS += custom.texi