Add gmodule-export-2.0.pc to AC_CONFIG_FILES.

2005-01-11  Owen Taylor <otaylor@redhat.com>

        * configure.in: Add gmodule-export-2.0.pc to AC_CONFIG_FILES.

        * glib/Makefile.am gobject/Makefile.am gthread/Makefile.am:
        Use grep | head -n 1 instead of grep -m 1 which doesn't work
        with slightly older versions of GNU grep in
        install-libtool-import-lib rule.
This commit is contained in:
Owen Taylor
2005-01-11 20:39:00 +00:00
committed by Owen Taylor
parent bb2a51ab7b
commit de67d93121
9 changed files with 241 additions and 86 deletions

View File

@@ -57,7 +57,7 @@ export_symbols = -export-symbols $(srcdir)/gmodule.def
install-libtool-import-lib:
# Don't put the binary compatibility entries in the import lib!
for entry in `grep PRIVATE gmodule.def | sed -e 's/PRIVATE//'`; do \
file=`nm -A .libs/libgmodule-2.0.dll.a | tr -d '\r' | grep -m 1 -E $$entry'$$' | cut -d: -f2`; \
file=`nm -A .libs/libgmodule-2.0.dll.a | tr -d '\r' | grep -E $$entry'$$' | head -n 1 | cut -d: -f2`; \
ar d .libs/libgmodule-2.0.dll.a $$file; \
done
$(INSTALL) .libs/libgmodule-2.0.dll.a $(DESTDIR)$(libdir)