You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
868 B
Plaintext
36 lines
868 B
Plaintext
dnl Configure template for the pm-inhibit package
|
|
|
|
AC_INIT([Power Management Inhibition Tool], [0.1.0],
|
|
[dgouttegattat@incenp.org], [pm-inhibit])
|
|
AC_CONFIG_SRCDIR([configure.ac])
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
AC_CONFIG_AUX_DIR([config])
|
|
AC_CONFIG_HEADERS([config.h])
|
|
AC_USE_SYSTEM_EXTENSIONS
|
|
AM_INIT_AUTOMAKE([foreign subdir-objects silent-rules])
|
|
|
|
dnl Check for development tools
|
|
AC_PROG_CXX
|
|
AC_PROG_INSTALL
|
|
|
|
dnl Check for Qt
|
|
PKG_CHECK_MODULES([QT], [Qt5Core >= 5.2 Qt5DBus],
|
|
[CPPFLAGS="$CPPFLAGS $QT_CFLAGS"
|
|
LIBS="$LIBS $QT_LIBS"],
|
|
[AC_MSG_ERROR([Qt libraries not found])])
|
|
|
|
dnl Output files
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|
|
|
|
dnl Summary
|
|
echo "
|
|
|
|
${PACKAGE_NAME} version ${PACKAGE_VERSION}
|
|
Configuration complete
|
|
|
|
Prefix: '${prefix}'
|
|
Compiler: '${CXX} ${CXXFLAGS} ${CPPFLAGS}
|
|
|
|
"
|