Skip to content

Commit 74554ef

Browse files
author
cristy
committed
1 parent ab3a50c commit 74554ef

File tree

7 files changed

+97
-5
lines changed

7 files changed

+97
-5
lines changed

MagickCore/magick-config.h

+10
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@
4242
#define MAGICKCORE_CODER_RELATIVE_PATH "ImageMagick-7.0.0/modules-Q16/coders"
4343
#endif
4444

45+
/* ARCH specific config directory */
46+
#ifndef MAGICKCORE_CONFIGDIR_ARCH
47+
#define MAGICKCORE_CONFIGDIR_ARCH "/usr/local/lib/ImageMagick-7.0.0"
48+
#endif
49+
4550
/* Directory where architecture-dependent configuration files live. */
4651
#ifndef MAGICKCORE_CONFIGURE_PATH
4752
#define MAGICKCORE_CONFIGURE_PATH "/usr/local/etc/ImageMagick/"
@@ -1165,6 +1170,11 @@
11651170
/* Define if you have umem memory allocation library */
11661171
/* #undef HasUMEM */
11671172

1173+
/* ARCH specific include directory */
1174+
#ifndef MAGICKCORE_INCLUDEDIR_ARCH
1175+
#define MAGICKCORE_INCLUDEDIR_ARCH "/usr/local/include"
1176+
#endif
1177+
11681178
/* ImageMagick is formally installed under prefix */
11691179
#ifndef MAGICKCORE_INSTALLED_SUPPORT
11701180
#define MAGICKCORE_INSTALLED_SUPPORT 1

MagickCore/version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extern "C" {
3434
#define MagickLibAddendum "-0"
3535
#define MagickLibInterface 7
3636
#define MagickLibMinInterface 7
37-
#define MagickReleaseDate "2011-10-26"
37+
#define MagickReleaseDate "2011-10-27"
3838
#define MagickChangeDate "20110801"
3939
#define MagickAuthoritativeURL "http://www.imagemagick.org"
4040
#if defined(MAGICKCORE_OPENMP_SUPPORT)

PerlMagick/Magick.pm

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
package Image::Magick;
22

3-
# Released Feb. 17, 1997 by Kyle Shorter (magick@wizards.dupont.com)
4-
# Public Domain
3+
# Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
4+
# dedicated to making software imaging solutions freely available.
5+
#
6+
# You may not use this file except in compliance with the License. You may
7+
# obtain a copy of the License at
8+
#
9+
# http://www.imagemagick.org/script/license.php
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# Initial version, written by Kyle Shorter.
18+
519

620
use strict;
721
use Carp;

config/config.h.in

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
/* Subdirectory of lib where coder modules are installed */
2828
#undef CODER_RELATIVE_PATH
2929

30+
/* ARCH specific config directory */
31+
#undef CONFIGDIR_ARCH
32+
3033
/* Directory where architecture-dependent configuration files live. */
3134
#undef CONFIGURE_PATH
3235

@@ -764,6 +767,9 @@
764767
/* Define if you have umem memory allocation library */
765768
#undef HasUMEM
766769

770+
/* ARCH specific include directory */
771+
#undef INCLUDEDIR_ARCH
772+
767773
/* ImageMagick is formally installed under prefix */
768774
#undef INSTALLED_SUPPORT
769775

config/configure.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<configure name="LIB_VERSION" value="0x700"/>
1212
<configure name="LIB_VERSION_NUMBER" value="7,0,0,0"/>
1313
<configure name="SVN_REVISION" value="5750" />
14-
<configure name="RELEASE_DATE" value="2011-10-26"/>
14+
<configure name="RELEASE_DATE" value="2011-10-27"/>
1515
<configure name="CONFIGURE" value="./configure "/>
1616
<configure name="PREFIX" value="/usr/local"/>
1717
<configure name="EXEC-PREFIX" value="/usr/local"/>

configure

+40
Original file line numberDiff line numberDiff line change
@@ -1087,6 +1087,8 @@ with_threads
10871087
enable_openmp
10881088
enable_opencl
10891089
enable_largefile
1090+
with_includedir_arch
1091+
with_configdir_arch
10901092
enable_shared
10911093
enable_static
10921094
with_pic
@@ -1851,6 +1853,8 @@ Optional Packages:
18511853
--with-dmalloc use dmalloc, as in
18521854
http://www.dmalloc.com/dmalloc.tar.gz
18531855
--without-threads disable threads support
1856+
--includedir-arch=DIR ARCH specific include directory
1857+
--configdir-arch=DIR ARCH specific config directory
18541858
--with-pic try to use only PIC/non-PIC objects [default=use
18551859
both]
18561860
--with-sysroot=DIR Search for dependent libraries within DIR
@@ -9712,6 +9716,42 @@ fi
97129716
fi
97139717

97149718

9719+
#
9720+
# ARCH specific include directory
9721+
#
9722+
9723+
# Check whether --with-includedir-arch was given.
9724+
if test "${with_includedir_arch+set}" = set; then :
9725+
withval=$with_includedir_arch; includedir_arch=$withval
9726+
else
9727+
includedir_arch=$INCLUDE_DIR
9728+
fi
9729+
9730+
9731+
9732+
cat >>confdefs.h <<_ACEOF
9733+
#define INCLUDEDIR_ARCH "$includedir_arch"
9734+
_ACEOF
9735+
9736+
9737+
#
9738+
# ARCH specific configuration directory
9739+
#
9740+
9741+
# Check whether --with-configdir-arch was given.
9742+
if test "${with_configdir_arch+set}" = set; then :
9743+
withval=$with_configdir_arch; configdir_arch=$withval
9744+
else
9745+
configdir_arch="${LIB_DIR}/${PACKAGE_NAME}-${PACKAGE_VERSION}"
9746+
fi
9747+
9748+
9749+
9750+
cat >>confdefs.h <<_ACEOF
9751+
#define CONFIGDIR_ARCH "$configdir_arch"
9752+
_ACEOF
9753+
9754+
97159755
#
97169756
# Configure libtool & libltdl
97179757
#

configure.ac

+23-1
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,28 @@ if test "$enable_largefile" != no; then
459459
fi
460460
AC_SUBST(LFS_CPPFLAGS)
461461

462+
#
463+
# ARCH specific include directory
464+
#
465+
AC_ARG_WITH([includedir-arch],
466+
[AC_HELP_STRING([--includedir-arch=DIR],
467+
[ARCH specific include directory])],
468+
[includedir_arch=$withval],
469+
[includedir_arch=$INCLUDE_DIR])
470+
471+
AC_DEFINE_UNQUOTED(INCLUDEDIR_ARCH,"$includedir_arch",[ARCH specific include directory])
472+
473+
#
474+
# ARCH specific configuration directory
475+
#
476+
AC_ARG_WITH([configdir-arch],
477+
[AC_HELP_STRING([--configdir-arch=DIR],
478+
[ARCH specific config directory])],
479+
[configdir_arch=$withval],
480+
[configdir_arch="${LIB_DIR}/${PACKAGE_NAME}-${PACKAGE_VERSION}"])
481+
482+
AC_DEFINE_UNQUOTED(CONFIGDIR_ARCH,"$configdir_arch",[ARCH specific config directory])
483+
462484
#
463485
# Configure libtool & libltdl
464486
#
@@ -2720,7 +2742,7 @@ dnl ===========================================================================
27202742
#
27212743
# Set Windows font directory.
27222744
#
2723-
AC_ARG_WITH(windows-font-dir,
2745+
AC_ARG_WITH([windows-font-dir],
27242746
[AC_HELP_STRING([--with-windows-font-dir=DIR],
27252747
[directory containing MS-Windows fonts])],
27262748
[with_windows_font_dir=$withval],

0 commit comments

Comments
 (0)