Home GnuPG

build: Prepare building a Qt6 version of pinentry

Description

build: Prepare building a Qt6 version of pinentry

* m4/qt.m4: Rename to m4/qt5.m4.
* m4/qt5.m4 (FIND_QT): Rename function to FIND_QT5.
(PINENTRY_QT): Rename module variable to PINENTRY_QT5 and associated
variables to PINENTRY_QT5_*.
(MOC): Rename tool variable to MOC5.
(RCC): Rename tool variable to RCC5.
* configure.ac: Rename local variable pinentry_qt to pinentry_qt5. Call
FIND_QT5 instead of FIND_QT. Update variables to substitute to new names.
(BUILD_PINENTRY_QT): Rename conditional to BUILD_PINENTRY_QT5.
(PINENTRY_QT): Rename define to PINENTRY_QT5.
* Makefile.am, qt/Makefile.am: Update renamed variables.
* m4/Makefile.am (EXTRA_DIST): Update renamed file.

In preparation for allowing to build pinentry for Qt5 and Qt6 a few
autotools variables are versionized for Qt5.

Details

Provenance
ikloeckerAuthored on Aug 26 2022, 4:11 PM
Parents
rPda3144a702ac: qt4: Add missing qt4.m4 to tarball
Branches
Unknown
Tags
Unknown