From 77559a7b8947197aaf2085003be6d9c7d8801eaf Mon Sep 17 00:00:00 2001 From: cristy Date: Fri, 4 Nov 2011 18:38:30 +0000 Subject: [PATCH] --- MagickCore/configure.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MagickCore/configure.c b/MagickCore/configure.c index 9fc26f02d..5c8814447 100644 --- a/MagickCore/configure.c +++ b/MagickCore/configure.c @@ -673,8 +673,14 @@ MagickExport LinkedListInfo *GetConfigurePaths(const char *filename, (void) AppendValueToLinkedList(paths,ConstantString(MAGICKCORE_SHARE_PATH)); #endif #if defined(MAGICKCORE_SHAREARCH_PATH) +#if !defined(MAGICKCORE_SHARE_PATH) (void) AppendValueToLinkedList(paths,ConstantString( MAGICKCORE_SHAREARCH_PATH)); +#else + if (LocaleCompare(MAGICKCORE_SHARE_PATH,MAGICKCORE_SHAREARCH_PATH) != 0) + (void) AppendValueToLinkedList(paths,ConstantString( + MAGICKCORE_SHAREARCH_PATH)); +#endif #endif #if defined(MAGICKCORE_CONFIGURE_PATH) (void) AppendValueToLinkedList(paths,ConstantString( -- 2.40.0