-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.ac
36 lines (27 loc) · 880 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([xsr1], [1.0], [almkglor@gmail.com])
AC_CONFIG_AUX_DIR([auxdir])
AM_INIT_AUTOMAKE([subdir-objects -Wall foreign])
AC_CONFIG_SRCDIR([xsr1-gtk.c])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES([WEBKIT2GTK4], [webkit2gtk-4.0], [:], [
AC_MSG_ERROR([dnl
Cannot find webkit2gtk-4.0 via pkg-config:
$WEBKIT2GTK4_PKG_ERRORS
Try installing libwebkit2gtk-4.0-dev for Debian-based distros.
])
])
# Checks for header files.
AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
# Checks for library functions.
AC_CHECK_FUNCS([getcwd])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT