mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
wrlib: renamed compilation flags variables with a name less prone to clash
This commit is contained in:
committed by
Carlos R. Mafra
parent
c3139e9d0c
commit
79bad0d14c
12
configure.ac
12
configure.ac
@@ -568,22 +568,22 @@ dnl
|
||||
dnl libMagickWand
|
||||
dnl
|
||||
AC_MSG_CHECKING([for libmagickwand header])
|
||||
IMFLAGS=`$MAGICKWCONFIG --cflags`
|
||||
if test "x$IMFLAGS" = "x" ; then
|
||||
MAGICKFLAGS=`$MAGICKWCONFIG --cflags`
|
||||
if test "x$MAGICKFLAGS" = "x" ; then
|
||||
AC_MSG_RESULT([not found])
|
||||
else
|
||||
AC_MSG_RESULT([found])
|
||||
fi
|
||||
AC_SUBST(IMFLAGS)
|
||||
AC_SUBST(MAGICKFLAGS)
|
||||
|
||||
AC_MSG_CHECKING([for libmagickwand library])
|
||||
IMLIBS=`$MAGICKWCONFIG --ldflags`
|
||||
if test "x$IMLIBS" = "x" ; then
|
||||
MAGICKLIBS=`$MAGICKWCONFIG --ldflags`
|
||||
if test "x$MAGICKLIBS" = "x" ; then
|
||||
AC_MSG_RESULT([not found])
|
||||
else
|
||||
AC_MSG_RESULT([found])
|
||||
fi
|
||||
AC_SUBST(IMLIBS)
|
||||
AC_SUBST(MAGICKLIBS)
|
||||
|
||||
dnl Xft2 antialiased font support
|
||||
dnl =============================
|
||||
|
||||
@@ -259,8 +259,8 @@ AM_CONDITIONAL([USE_XPM], [test "x$enable_xpm" != "xno"])dnl
|
||||
# and MAGICKLIBS, and append info to the variable 'supported_gfx'
|
||||
# When not found, append info to variable 'unsupported'
|
||||
AC_DEFUN_ONCE([WM_IMGFMT_CHECK_MAGICK],
|
||||
[WM_LIB_CHECK([MAGICK], ["$IMLIBS"], [MagickGetImagePixels], [$XLFLAGS $XLIBS],
|
||||
[wm_save_CFLAGS="$CFLAGS $IMFLAGS"
|
||||
[WM_LIB_CHECK([MAGICK], ["$MAGICKLIBS"], [MagickGetImagePixels], [$XLFLAGS $XLIBS],
|
||||
[wm_save_CFLAGS="$CFLAGS $MAGICKLIBS"
|
||||
AS_IF([wm_fn_lib_try_compile "wand/magick_wand.h" "" "return 0" ""],
|
||||
[],
|
||||
[AC_MSG_ERROR([found $CACHEVAR but could not find appropriate header - are you missing libmagickwand package?])])
|
||||
|
||||
Reference in New Issue
Block a user