Add possibility to build everything needed for an AppImage of Kleopatra
* Makefile.am (SUBDIRS): Add po and doc only if gpg4win is built. * acinclude.m4: New. (based on same file in gnupg) * configure.ac: Add possibility to build gpg4win and/or appimage. Check for rsync. Check for required tools depending on what to build. Check for some tools, libraries, etc. only if gpg4win is built. Define packages for gpg4win only if gpg4win is built. Define packages for appimage if appimage is built. Configure new files src/appimage/Makefile and src/appimage/appimage.mk. * m4/appimage.m4: New. (based on gpg4win.m4) * src/Makefile.am (SUBDIRS): Add appimage if appimage is built. Include gpg4win.mk only if gpg4win is built. Define all_full only if gpg4win is built. * src/appimage/Makefile.am, src/appimage/appimage.mk.in: New.
This change makes it possible to build Gpg4Win and/or everything needed
for an AppImage of Kleopatra. To build Gpg4Win pass --enable-gpg4win
to configure. To build everything for an AppImage pass --enable-appimage
to configure. By default, neither is built. Building both may work, but
it isn't supported.
- GnuPG-bug-id: T5592