1
# Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
2
# dedicated to making software imaging solutions freely available.
4
# You may not use this file except in compliance with the License. You may
5
# obtain a copy of the License at
7
# http://www.imagemagick.org/script/license.php
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.
15
# Copyright (C) 2003 - 2009 GraphicsMagick Group
17
# Check script for building PerlMagick.
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}'"
24
echo "MAKEFLAGS='${MAKEFLAGS}'"
25
echo "MEMCHECK='${MEMCHECK}'"
27
echo "SRCDIR='${SRCDIR}'"
28
echo "srcdir='${srcdir}'"
33
SRCDIR=`cd $SRCDIR && pwd`
34
TOPSRCDIR=`cd $srcdir && pwd`
36
cd PerlMagick || exit 1
38
if test -z "${MAKE}" ; then
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
49
echo 'PerlMagick has not been built!'