From 9d2dda92c49a3e1ce59f174ce4d62b670fb60295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Fri, 9 Mar 2007 23:29:11 +0000 Subject: Check for chost-specific strings command during ./configure rather than on makefile; also use -a option to scan the whole file, for Solaris compatibility. Suggested by patch from Albert Lee. CVS patchset: 8645 CVS date: 2007/03/09 23:29:11 --- Makefile.am | 4 +--- configure.ac | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index fcd4768d8..bdf854fab 100644 --- a/Makefile.am +++ b/Makefile.am @@ -78,11 +78,9 @@ slackbuild: PREFIX="/usr" misc/SlackBuild -STRINGS=$(shell which -- "${CHOST}-strings" 2>/dev/null || which strings 2>/dev/null || false) - install-exec-hook: find $(top_builddir) -name \*.so | \ - xargs $(STRINGS) | \ + xargs $(STRINGS) -a | \ egrep '^([-a-z]+/[-+.a-z0-9]+:[^:]+:[^;]+;[ \t]*)+' | \ sed -e 's/:[^;]\+;/\n/g' | \ sort -u | \ diff --git a/configure.ac b/configure.ac index 3969cedd2..4418cb841 100644 --- a/configure.ac +++ b/configure.ac @@ -131,6 +131,7 @@ AC_PROG_LN_S AC_PROG_AWK AC_C_INLINE +AC_CHECK_TOOL([STRINGS], [strings], [false]) dnl --------------------------------------------- dnl Check for assembler (ffmpeg need it), don't call this before LIBTOOL -- cgit v1.2.3