2 Copyright 2012 ImageMagick Studio LLC, a non-profit organization
3 dedicated to making software imaging solutions freely available.
5 You may not use this file except in compliance with the License.
6 obtain a copy of the License at
8 http://www.imagemagick.org/script/license.php
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
16 MagickConfig not autogenerated (fixed stuff)
18 #ifndef _MAGICKCORE_MAGICK_CONFIG_H
19 #define _MAGICKCORE_MAGICK_CONFIG_H
21 #if defined(__cplusplus) || defined(c_plusplus)
25 #include "magick/magick-baseconfig.h"
27 #if defined __CYGWIN32__ && !defined __CYGWIN__
28 /* For backwards compatibility with Cygwin b19 and
29 earlier, we define __CYGWIN__ here, so that
30 we can rely on checking just for that macro. */
31 # define __CYGWIN__ __CYGWIN32__
35 #define MAGICKCORE_STRING_QUOTE(str) #str
36 #define MAGICKCORE_STRING_XQUOTE(str) MAGICKCORE_STRING_QUOTE(str)
40 #define MAGICKCORE_ABISUFFIX "Q" MAGICKCORE_STRING_XQUOTE(MAGICKCORE_QUANTUM_DEPTH)
42 #define MAGICKCORE_ABISUFFIX "QHDRI" MAGICKCORE_STRING_XQUOTE(MAGICKCORE_QUANTUM_DEPTH)
46 #if !defined __CYGWIN__
47 # if defined (_WIN32) || defined (_WIN64) || defined (__MSDOS__) || defined (__DJGPP__) || defined (__OS2__)
48 /* Use Windows separators on all _WIN32 defining
49 environments, except Cygwin. */
50 # define MAGICKCORE_DIR_SEPARATOR_CHAR '\\'
51 # define MAGICKCORE_DIR_SEPARATOR "\\"
52 # define MAGICKCORE_PATH_SEPARATOR_CHAR ';'
53 # define MAGICKCORE_PATH_SEPARATOR ";"
58 #ifndef MAGICKCORE_DIR_SEPARATOR_CHAR
59 /* Assume that not having this is an indicator that all
61 # define MAGICKCORE_DIR_SEPARATOR_CHAR '/'
62 # define MAGICKCORE_DIR_SEPARATOR "/"
63 # define MAGICKCORE_PATH_SEPARATOR_CHAR ':'
64 # define MAGICKCORE_PATH_SEPARATOR ":"
65 #endif /* !DIR_SEPARATOR_CHAR */
68 #ifndef MAGICKCORE_MODULES_DIRNAME
69 # define MAGICKCORE_MODULES_DIRNAME MAGICKCORE_MODULES_BASEDIRNAME "-" MAGICKCORE_ABISUFFIX
72 #ifndef MAGICKCORE_MODULES_PATH
73 # define MAGICKCORE_MODULES_PATH MAGICKCORE_LIBRARY_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_MODULES_DIRNAME
76 #ifndef MAGICKCORE_MODULES_RELATIVE_PATH
77 #define MAGICKCORE_MODULES_RELATIVE_PATH MAGICKCORE_LIBRARY_RELATIVE_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_MODULES_DIRNAME
80 /* Subdirectory under lib to place ImageMagick coder module files */
81 #ifndef MAGICKCORE_CODER_PATH
83 # define MAGICKCORE_CODER_PATH "sys$login:"
85 # define MAGICKCORE_CODER_PATH MAGICKCORE_MODULES_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_CODER_DIRNAME
89 #ifndef MAGICKCORE_CODER_RELATIVE_PATH
90 # define MAGICKCORE_CODER_RELATIVE_PATH MAGICKCORE_MODULES_RELATIVE_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_CODER_DIRNAME
93 /* subdirectory under lib to place ImageMagick filter module files */
94 #ifndef MAGICKCORE_FILTER_PATH
96 # define MAGICKCORE_FILTER_PATH "sys$login:"
98 # define MAGICKCORE_FILTER_PATH MAGICKCORE_MODULES_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_FILTER_DIRNAME
102 #ifndef MAGICKCORE_FILTER_RELATIVE_PATH
103 # define MAGICKCORE_FILTER_RELATIVE_PATH MAGICKCORE_MODULES_RELATIVE_PATH MAGICKCORE_DIR_SEPARATOR MAGICKCORE_FILTER_DIRNAME
106 #if defined(__cplusplus) || defined(c_plusplus)