From 78267162fa994229c02ca319182da0951d681575 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 28 May 2008 13:38:15 +0000 Subject: [PATCH] Refinements: added check for /usr/include/tiffio.h and added compiler flag -g3. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8139 --- exp-drd/scripts/download-and-build-splash2 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/exp-drd/scripts/download-and-build-splash2 b/exp-drd/scripts/download-and-build-splash2 index c557e42fad..16848f82b1 100755 --- a/exp-drd/scripts/download-and-build-splash2 +++ b/exp-drd/scripts/download-and-build-splash2 @@ -2,6 +2,14 @@ downloads="$HOME/software/downloads" +if [ ! -e /usr/include/tiffio.h ]; then + echo "Error: could not find file tiffio.h. Please install libtiff4-dev." +fi + +export LC_ALL=C + +mkdir -p "${downloads}" + if [ -e splash2 ]; then echo "Error: a directory with the name splash2 already exists. Please" echo "remove it before running this script, or run this script in another" @@ -70,6 +78,13 @@ patch -p1 -s <