1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
# !/bin/sh
#
# Copyright 2004 ImageMagick Studio LLC
# Copyright 2003 GraphicsMagick Group
#
top_srcdir='@abs_top_srcdir@'
top_builddir='@abs_top_builddir@'
MAGICK_CODER_MODULE_PATH="${top_builddir}/coders"
MAGICK_CONFIGURE_SRC_PATH="${top_srcdir}/config"
MAGICK_CONFIGURE_BUILD_PATH="${top_builddir}/config"
MAGICK_FILTER_MODULE_PATH="${top_builddir}/filters"
PATH="${top_builddir}/utilities:${PATH}"
dirsep=':'
case @host_os@
in
mingw32)
dirsep=';'
MAGICK_CODER_MODULE_PATH=`$WinPathScript "${MAGICK_CODER_MODULE_PATH}" 0`
MAGICK_CONFIGURE_SRC_PATH=`$WinPathScript "${MAGICK_CONFIGURE_SRC_PATH}" 0`
MAGICK_CONFIGURE_BUILD_PATH=`$WinPathScript "${MAGICK_CONFIGURE_BUILD_PATH}" 0`
MAGICK_FILTER_MODULE_PATH=`$WinPathScript "${MAGICK_FILTER_MODULE_PATH}" 0`
;;
esac
echo "$@"
env \
LD_LIBRARY_PATH="${top_builddir}/magick/.libs:${LD_LIBRARY_PATH}" \
MAGICK_CODER_MODULE_PATH="${MAGICK_CODER_MODULE_PATH}" \
MAGICK_CONFIGURE_PATH="${MAGICK_CONFIGURE_BUILD_PATH}${dirsep}${MAGICK_CONFIGURE_SRC_PATH}" \
MAGICK_FILTER_MODULE_PATH="${MAGICK_FILTER_MODULE_PATH}" \
PATH="${PATH}" \
"$@"
|