--- ImageMagick-5.5.7/configure.ac.orig 2003-05-31 16:41:34.000000000 +0200 +++ ImageMagick-5.5.7/configure.ac 2003-07-18 08:27:51.000000000 +0200 @@ -2194,7 +2194,7 @@ # Determine path to pick up Magick library from for use with building PerlMagick MAGICKLIBDIR="${LIB_DIR}" MAGICKLIB="-L${MAGICKLIBDIR} -lMagick" -if test $with_perl_static = 'yes'; then +if test $with_perl_static = 'yes' -o $with_perl_dynamic = 'yes'; then # Find out where libtool hides its uninstalled libraries (as libtool_objdir) libtool_objdir=$objdir