-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.ac
26 lines (20 loc) · 839 Bytes
/
configure.ac
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
# PACKAGE=Printer-Application-Snaps
# VERSION=0.0.1
AC_INIT([Printer-Application-Snaps],[0.0.1],[])
AC_CONFIG_FILES(snap/local/snapcraft.yaml,[mv snap/local/snapcraft.yaml snap/snapcraft.yaml])
# AC_CONFIG_FILES([build],[chmod u+x build])
pwgpatch=""
AC_ARG_ENABLE([pwgconv],[ --disable-pwgconv Remove pwg-raster to cups-raster conv.],
[case "${enableval}" in
yes) pwgpatch="";;
no) pwgpatch="#";;
*) AC_MSG_ERROR([bad value ${enableval} for --disable-pwgconv]);;esac],[patch=""])
ippbranch="master"
AC_ARG_ENABLE([pwgonly],[ --disable-pwgonly Accept other file formats along with pwg-raster.],
[case "${enableval}" in
yes) ippbranch="master";;
no) ippbranch="all_docformat";;
*) AC_MSG_ERROR([bad value ${enableval} for --disable-pwgonly]);;esac])
AC_SUBST([pwgpatch])
AC_SUBST([ippbranch])
AC_OUTPUT