diff options
| author | Spacedio <spacedio@thernusen.net> | 2026-02-26 19:20:14 -0500 |
|---|---|---|
| committer | Spacedio <spacedio@thernusen.net> | 2026-02-26 19:20:14 -0500 |
| commit | db657412e6ae93341ed42d59df6aef564a739a1f (patch) | |
| tree | 6f67f55f6dc61fb0afa8829a950f0dbf1a0aeadf /configure.ac | |
| download | lightdm-mini-greeter-master.tar.gz | |
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..a71ba3a --- /dev/null +++ b/configure.ac @@ -0,0 +1,31 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ([2.69]) +AC_INIT([lightdm-mini-greeter], [0.6.0], [http://github.com/prikhi]) +AC_CONFIG_SRCDIR([src/main.c]) +AC_CONFIG_HEADERS([defines.h]) + +# Checks for programs. +AC_PROG_CC +AM_INIT_AUTOMAKE([subdir-objects]) + +# Checks for libraries. +PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.14) +PKG_CHECK_MODULES(LIGHTDM, liblightdm-gobject-1 >= 1.12) + +# Checks for header files. +AC_CHECK_HEADERS([stdlib.h]) + +# Checks for typedefs, structures, and compiler characteristics. + +# Checks for library functions. + +# Check if liblightdm is v1.19.1 or below for debian builds +LDM_CHECK=$(pkg-config --max-version=1.19.1 liblightdm-gobject-1) +AS_IF([test $? = 0], + [AC_DEFINE([LIGHTDM_1_19_1_LOWER], [], [Defined if liblightdm is version 1.19.1 or lower])] + ) + +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT |
