summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/withenable.ac
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/xdvik/withenable.ac')
-rw-r--r--Build/source/texk/xdvik/withenable.ac24
1 files changed, 12 insertions, 12 deletions
diff --git a/Build/source/texk/xdvik/withenable.ac b/Build/source/texk/xdvik/withenable.ac
index a6bb7495cc5..8a1f6c32f42 100644
--- a/Build/source/texk/xdvik/withenable.ac
+++ b/Build/source/texk/xdvik/withenable.ac
@@ -16,20 +16,20 @@ AC_ARG_ENABLE([grey],
[ --disable-grey Disable greyscale anti-aliasing for shrunken bitmaps]
,
[if test "$enableval" = yes; then
- AC_DEFINE(GREY)
+ AC_DEFINE([GREY], 1, [Define to enable greyscale anti-aliasing for shrunken bitmaps.])
else
echo DISABLED grey
fi],
-[AC_DEFINE(GREY)])
+[AC_DEFINE([GREY], 1)])
AC_ARG_ENABLE([color],
[ --disable-color Disable support for color specials],
[if test "$enableval" = yes; then
- AC_DEFINE(COLOR)
+ AC_DEFINE([COLOR], 1, [Define to enable support for color specials.])
else
echo DISABLED color
fi],
-[AC_DEFINE(COLOR)])
+[AC_DEFINE([COLOR], 1)])
dnl OBSOLETE AC_ARG_ENABLE([buttons],
dnl OBSOLETE [ --disable-buttons Disable buttons on the side of the window],
@@ -54,8 +54,8 @@ AC_ARG_ENABLE([t1lib],
[if test "$enableval" = yes; then
T1LIB=1
LDT1LIB=../../libs/t1lib/lib/.libs/libt1.a
- AC_DEFINE(LDT1LIB)
- AC_DEFINE(T1LIB)
+ AC_DEFINE([LDT1LIB], 1, [Define to compile in t1lib (libtool)])
+ AC_DEFINE([T1LIB], 1, [Define to compile in t1lib])
else
T1LIB=
LDT1LIB=
@@ -63,13 +63,13 @@ else
fi],
[T1LIB=1
LDT1LIB=../../libs/t1lib/lib/.libs/libt1.a
-AC_DEFINE(LDT1LIB)
-AC_DEFINE(T1LIB)])
+AC_DEFINE([LDT1LIB], 1)
+AC_DEFINE([T1LIB], 1)])
AC_ARG_ENABLE([gf],
[ --enable-gf Enable gf format pixel files (in addition to pk)],
[if test "$enableval" != no; then
- AC_DEFINE(USE_GF)
+ AC_DEFINE([USE_GF], 1, [Define to enable gf format files (in addition to pk format).])
OPT_SRCS="$OPT_SRCS gf.c"
OPT_OBJS="$OPT_OBJS gf.o"
fi])
@@ -77,11 +77,11 @@ fi])
AC_ARG_ENABLE([a4],
[ --disable-a4 Set default paper size to letter and default unit to inch],
[if test "$enableval" = yes; then
- AC_DEFINE(A4)
+ AC_DEFINE([A4], 1, [Define to use A4 as the default paper size.])
else
echo Disabled a4/cm, using letter/in instead
fi],
-[AC_DEFINE(A4)])
+[AC_DEFINE([A4], 1)])
AC_ARG_ENABLE([magick],
[ --enable-magick Use ImageMagick to load/render image files.
@@ -113,7 +113,7 @@ AC_ARG_ENABLE([magick],
X_EXTRA_LIBS="$X_EXTRA_LIBS $MAGIC_LIBDIR $MAGICK_LD"
X_CFLAGS="$X_CFLAGS $MAGIC_INCLUDE $MAGICK_CPP"
- AC_DEFINE(MAGICK)
+ AC_DEFINE([MAGICK], 1, [Define to use ImageMagick])
#echo MAGICK_DEF=\"$MAGICK_DEF\"
else
echo "ImageMagick version too old - ImageMagick support disabled"