]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 28 Oct 2011 16:32:29 +0000 (16:32 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 28 Oct 2011 16:32:29 +0000 (16:32 +0000)
MagickCore/configure.c
MagickCore/magick-config.h
MagickCore/version.h
config/config.h.in
config/configure.xml
configure
configure.ac

index 3e2cfda11ae7b0b31695f518df8b77f2adf6f1b8..3971eae1271bda93dccb6f58f16204b715d9e999 100644 (file)
@@ -676,6 +676,10 @@ MagickExport LinkedListInfo *GetConfigurePaths(const char *filename,
   (void) AppendValueToLinkedList(paths,ConstantString(
     MAGICKCORE_CONFIGURE_PATH));
 #endif
+#if defined(MAGICKCORE_CONFIGDIR_ARCH)
+  (void) AppendValueToLinkedList(paths,ConstantString(
+    MAGICKCORE_CONFIGDIR_ARCH));
+#endif
 #if defined(MAGICKCORE_DOCUMENTATION_PATH)
   (void) AppendValueToLinkedList(paths,ConstantString(
     MAGICKCORE_DOCUMENTATION_PATH));
index bd6180dae1cd2c61fd7051cd6de1433667de14fb..46a194b7716b95f14a5f9cf9e1ba12e2fea6fc50 100644 (file)
 #define MAGICKCORE_CODER_RELATIVE_PATH "ImageMagick-7.0.0/modules-Q16/coders"
 #endif
 
+/* ARCH specific config directory */
+#ifndef MAGICKCORE_CONFIGDIR_ARCH
+#define MAGICKCORE_CONFIGDIR_ARCH "/usr/local/lib/ImageMagick-7.0.0"
+#endif
+
 /* Directory where architecture-dependent configuration files live. */
 #ifndef MAGICKCORE_CONFIGURE_PATH
 #define MAGICKCORE_CONFIGURE_PATH "/usr/local/etc/ImageMagick/"
 /* Define if you have umem memory allocation library */
 /* #undef HasUMEM */
 
+/* ARCH specific include directory */
+#ifndef MAGICKCORE_INCLUDEDIR_ARCH
+#define MAGICKCORE_INCLUDEDIR_ARCH "/usr/local/include"
+#endif
+
 /* ImageMagick is formally installed under prefix */
 #ifndef MAGICKCORE_INSTALLED_SUPPORT
 #define MAGICKCORE_INSTALLED_SUPPORT 1
index eb94b4cdc92031e5f56bdfcae3f9a4dfc4b6a14b..2949c45d7d3f6ebf3429cd02622f1a1b166debf9 100644 (file)
@@ -27,7 +27,7 @@ extern "C" {
 */
 #define MagickPackageName "ImageMagick"
 #define MagickCopyright  "Copyright (C) 1999-2011 ImageMagick Studio LLC"
-#define MagickSVNRevision  "5750"
+#define MagickSVNRevision  "5778"
 #define MagickLibVersion  0x700
 #define MagickLibVersionText  "7.0.0"
 #define MagickLibVersionNumber  7,0,0
index ea5cf288fbe311f98ff87a4bdcb682f12d008cc4..3761604f5112089a409e7f016adabca94d961890 100644 (file)
@@ -27,6 +27,9 @@
 /* Subdirectory of lib where coder modules are installed */
 #undef CODER_RELATIVE_PATH
 
+/* ARCH specific config directory */
+#undef CONFIGDIR_ARCH
+
 /* Directory where architecture-dependent configuration files live. */
 #undef CONFIGURE_PATH
 
 /* Define if you have umem memory allocation library */
 #undef HasUMEM
 
+/* ARCH specific include directory */
+#undef INCLUDEDIR_ARCH
+
 /* ImageMagick is formally installed under prefix */
 #undef INSTALLED_SUPPORT
 
index 02e4e8fd67ebe0a3c4698b6440394a9c6d6d9d63..09db7bf033bc78f60193d0edb8c7c2eec1c03c7f 100644 (file)
@@ -10,7 +10,7 @@
   <configure name="VERSION" value="7.0.0"/>
   <configure name="LIB_VERSION" value="0x700"/>
   <configure name="LIB_VERSION_NUMBER" value="7,0,0,0"/>
-  <configure name="SVN_REVISION" value="5750" />
+  <configure name="SVN_REVISION" value="5778" />
   <configure name="RELEASE_DATE" value="2011-10-28"/>
   <configure name="CONFIGURE" value="./configure "/>
   <configure name="PREFIX" value="/usr/local"/>
index 757e3abb7cafd8bbdbabd4cf72fb3625faffb3be..78752d3ee016bf6e050ff8ff00ffad50ba547eb8 100755 (executable)
--- a/configure
+++ b/configure
@@ -1083,6 +1083,8 @@ with_gnu_ld
 with_dmalloc
 enable_bounds_checking
 enable_osx_universal_binary
+with_includedir_arch
+with_configdir_arch
 with_threads
 enable_openmp
 enable_opencl
@@ -1850,6 +1852,8 @@ Optional Packages:
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-dmalloc          use dmalloc, as in
                          http://www.dmalloc.com/dmalloc.tar.gz
+  --includedir-arch=DIR   ARCH specific include directory
+  --configdir-arch=DIR    ARCH specific config directory
   --without-threads       disable threads support
   --with-pic              try to use only PIC/non-PIC objects [default=use
                           both]
@@ -3596,7 +3600,7 @@ MAGICK_LIBRARY_CURRENT_MIN=`expr $MAGICK_LIBRARY_CURRENT - $MAGICK_LIBRARY_AGE`
 
 MAGICK_LIBRARY_VERSION_INFO=$MAGICK_LIBRARY_CURRENT:$MAGICK_LIBRARY_REVISION:$MAGICK_LIBRARY_AGE
 
-MAGICK_SVN_REVISION=5750
+MAGICK_SVN_REVISION=5778
 
 
 
@@ -8249,6 +8253,43 @@ Please re-run configure with these options:
   ;;
 esac
 
+#
+# ARCH specific include directory
+#
+
+# Check whether --with-includedir-arch was given.
+if test "${with_includedir_arch+set}" = set; then :
+  withval=$with_includedir_arch; includedir_arch=$withval
+else
+  includedir_arch=$INCLUDE_DIR
+fi
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define INCLUDEDIR_ARCH "$includedir_arch"
+_ACEOF
+
+
+#
+# ARCH specific configuration directory
+#
+
+# Check whether --with-configdir-arch was given.
+if test "${with_configdir_arch+set}" = set; then :
+  withval=$with_configdir_arch; configdir_arch=$withval
+else
+  configdir_arch="${LIB_DIR}/${PACKAGE_NAME}-${PACKAGE_VERSION}"
+fi
+
+
+
+cat >>confdefs.h <<_ACEOF
+#define CONFIGDIR_ARCH "$configdir_arch"
+_ACEOF
+
+
+#
 # Enable support for threads
 
 # Check whether --with-threads was given.
@@ -9712,7 +9753,6 @@ fi
 fi
 
 
-#
 # Configure libtool
 enable_dlopen=yes
 
index bd73a1e02228f3ff804191030dbfcb53395c1d60..0826a07cd6dbb4c3689a4517b804d1cecc8c3168 100755 (executable)
@@ -376,6 +376,29 @@ Please re-run configure with these options:
   ;;
 esac
 
+#
+# ARCH specific include directory
+#
+AC_ARG_WITH([includedir-arch],
+    [AC_HELP_STRING([--includedir-arch=DIR],
+                    [ARCH specific include directory])],
+                    [includedir_arch=$withval],
+                    [includedir_arch=$INCLUDE_DIR])
+
+AC_DEFINE_UNQUOTED(INCLUDEDIR_ARCH,"$includedir_arch",[ARCH specific include directory])
+
+#
+# ARCH specific configuration directory
+#
+AC_ARG_WITH([configdir-arch],
+    [AC_HELP_STRING([--configdir-arch=DIR],
+                    [ARCH specific config directory])],
+                    [configdir_arch=$withval],
+                    [configdir_arch="${LIB_DIR}/${PACKAGE_NAME}-${PACKAGE_VERSION}"])
+
+AC_DEFINE_UNQUOTED(CONFIGDIR_ARCH,"$configdir_arch",[ARCH specific config directory])
+
+#
 # Enable support for threads
 AC_ARG_WITH([threads],
     [AC_HELP_STRING([--without-threads], [disable threads support])],
@@ -459,7 +482,6 @@ if test "$enable_largefile" != no; then
 fi
 AC_SUBST(LFS_CPPFLAGS)
 
-#
 # Configure libtool
 AC_LIBTOOL_DLOPEN
 LT_INIT([win32-dll])