~ubuntu-branches/ubuntu/quantal/imagemagick/quantal-updates

« back to all changes in this revision

Viewing changes to PerlMagick/check.sh.in

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-11-06 17:18:57 UTC
  • mfrom: (6.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20091106171857-dlpl0avgxsy4vohw
Tags: 7:6.5.5.3-1ubuntu1
* Merge from debian testing, remaining changes:
  - Don't build-dep on librsvg, it brings in excessive dependencies
  - Don't build-dep on liblqr-1-0-dev, it is in universe

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#  Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
 
2
#  dedicated to making software imaging solutions freely available.
 
3
#
 
4
#  You may not use this file except in compliance with the License.  You may
 
5
#  obtain a copy of the License at
 
6
#
 
7
#    http://www.imagemagick.org/script/license.php
 
8
#
 
9
#  Unless required by applicable law or agreed to in writing, software
 
10
#  distributed under the License is distributed on an "AS IS" BASIS,
 
11
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
12
#  See the License for the specific language governing permissions and
 
13
#  limitations under the License.
 
14
 
15
#  Copyright (C) 2003 - 2009 GraphicsMagick Group
 
16
#
 
17
#  Check script for building PerlMagick.
 
18
 
 
19
echo "LD_LIBRARY_PATH='${LD_LIBRARY_PATH}'"
 
20
echo "MAGICK_CODER_MODULE_PATH='${MAGICK_CODER_MODULE_PATH}'"
 
21
echo "MAGICK_CONFIGURE_PATH='${MAGICK_CONFIGURE_PATH}'"
 
22
echo "MAGICK_FILTER_MODULE_PATH='${MAGICK_FILTER_MODULE_PATH}'"
 
23
echo "MAKE='${MAKE}'"
 
24
echo "MAKEFLAGS='${MAKEFLAGS}'"
 
25
echo "MEMCHECK='${MEMCHECK}'"
 
26
echo "PATH='${PATH}'"
 
27
echo "SRCDIR='${SRCDIR}'"
 
28
echo "srcdir='${srcdir}'"
 
29
 
 
30
set -x
 
31
 
 
32
SRCDIR=`dirname $0`
 
33
SRCDIR=`cd $SRCDIR && pwd`
 
34
TOPSRCDIR=`cd $srcdir && pwd`
 
35
 
 
36
cd PerlMagick || exit 1
 
37
 
 
38
if test -z "${MAKE}" ; then
 
39
  MAKE=make
 
40
fi
 
41
 
 
42
if test -x PerlMagick -a -f Makefile.aperl ; then
 
43
  # Static build test incantation
 
44
  ${MAKE} -f Makefile.aperl CC='@CC@' test
 
45
elif test -f Makefile -a -f Magick.o; then
 
46
  # Shared build test incantation
 
47
  ${MAKE} CC='@CC@' test
 
48
else
 
49
  echo 'PerlMagick has not been built!'
 
50
  exit 1
 
51
fi