File: configure.ac

package info (click to toggle)
wmshutdown 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 140 kB
  • ctags: 22
  • sloc: ansic: 184; makefile: 21
file content (19 lines) | stat: -rw-r--r-- 547 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
AC_INIT([wmshutdown], [1.4], [wmaker-dev@lists.windowmaker.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_HEADER([config.h])

AC_ARG_WITH([consolekit],
	[AS_HELP_STRING([--with-consolekit],
		[use ConsoleKit instead of logind])],
	[AC_DEFINE([CONSOLEKIT], 1,
		[Define to 1 if ConsoleKit is used instead of logind.])
	AC_MSG_NOTICE([use ConsoleKit])
	],
	[AC_MSG_NOTICE([use logind])])

AC_PROG_CC
PKG_CHECK_MODULES([gtk],[gtk+-3.0])
PKG_CHECK_MODULES([x11],[x11])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT