-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#serial 1000 | ||
dnl @synopsis AX_CHECK_QT5(version, action-if, action-if-not) | ||
dnl | ||
dnl @summary check for Qt5 of sufficient version. | ||
dnl | ||
dnl Defines QT5_LIBS, QT5_CFLAGS, QT5_UIC | ||
dnl | ||
dnl @category InstalledPackages | ||
dnl @author Sven Hesse <drmccoy@drmccoy.de> | ||
dnl @version 2017-02-02 | ||
dnl @license Creative Commons CC0 1.0 Universal Public Domain Dedication | ||
|
||
AC_DEFUN([AX_CHECK_QT5], [ | ||
PKG_CHECK_MODULES([QT5], [Qt5Core >= $1 Qt5Gui >= $1 Qt5Widgets >= $1 Qt5Multimedia >= $1], [$2], [$3]) | ||
# Qt5 needs -fPIC... | ||
QT5_CFLAGS="$QT5_CFLAGS -fPIC" | ||
AC_SUBST(QT5_CFLAGS) | ||
AC_SUBST(QT5_LIBS) | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters