blob: 74308c117eed2dbe391f0bf81faa25b9c3aad0a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
dnl withenable.ac: --with and --enable options.
# Check if the user wants to use Ghostscript, DPS or NeWS to
# display PostScript.
AC_ARG_WITH(ps,
[ --with-ps=PS use PostScript; default gs (PS=no/yes/gs/dps/news)],
[case $withval in
yes|gs) PS_DEF="$PS_DEF -DPS_GS";;
no) PS_DEF=no;;
dps) PS_DEF="$PS_DEF -DPS_DPS";;
news) PS_DEF="$PS_DEF -DPS_NEWS";;
*)] AC_MSG_WARN(Unknown --with-ps argument \`$withval'; using gs.);;
esac)
AC_ARG_ENABLE(grey,
[ --disable-grey disable greyscale anti-aliasing for shrunken bitmaps]
,
[if test "$enableval" = yes; then
AC_DEFINE(GREY)
fi],
AC_DEFINE(GREY))
AC_ARG_ENABLE(buttons,
[ --disable-buttons disable buttons on the side of the window],
[if test "$enableval" = yes; then
AC_DEFINE(BUTTONS)
fi],
AC_DEFINE(BUTTONS))
AC_ARG_ENABLE(gf,
[ --enable-gf enable gf format pixel files (in addition to pk)],
[if test "$enableval" != no; then
AC_DEFINE(USE_GF)
OPT_SRCS="$OPT_SRCS gf.c"
OPT_OBJS="$OPT_OBJS gf.o"
fi])
AC_ARG_ENABLE(a4,
[ --enable-a4 set default paper size to A4 and default unit to cm],
[if test "$enableval" != no; then
AC_DEFINE(A4)
fi])
|