From c6ecb46bcb690b87f662f1142520be075d401932 Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Tue, 6 Oct 1998 06:19:40 +0000 Subject: [PATCH] Add check for motifs that have builtin Xpm support (such as solaris 2.6). --- config/mkdetect/detect_motif.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/mkdetect/detect_motif.sh b/config/mkdetect/detect_motif.sh index ac019aa9ab7..ed09896c238 100755 --- a/config/mkdetect/detect_motif.sh +++ b/config/mkdetect/detect_motif.sh @@ -426,7 +426,12 @@ motif_check_xpm() then if [ -f $_lib ] then - _count=`strings $_lib | grep Xpm | wc -l` + # Solaris 2.6's motif has builtin Xpm support. + # Its a dumbass hack... Why not ship libXpm to avoid + # the confusion ? Anyway, do 'grep -v XmXpm' to catch this + # problem. In this case Xpm is not needed, since the symbols + # are builtin to the libXm library. + _count=`strings $_lib | grep Xpm | grep -v XmXpm wc -l` fi fi