installed to a different prefix.
This needs to be added to "%files devel" in libzypp.spec:
%{_libdir}/pkgconfig/libzypp.pc
#ACLOCAL_AMFLAGS = -I m4
ACLOCAL_AMFLAGS =
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libzypp.pc
+
EXTRA_DIST = mkinstalldirs
#config.rpath
dnl AC_CONFIG_FILES([FILE...])
AC_OUTPUT( po/Makefile.in\
Makefile \
+ libzypp.pc \
devel/Makefile \
devel/genclass \
devel/devel.jsrain/Makefile \
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: @PACKAGE_NAME@
+Version: @PACKAGE_VERSION@
+Description: Package, Patch, Pattern, and Product Management
+
+Libs: -L${libdir} -lzypp
+Cflags: -I${includedir}