-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.ac
36 lines (29 loc) · 1.06 KB
/
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([guile-ts], [m4_normalize(m4_include([version]))], [[email protected]],
[guile-ts],
[https://github.com/Z572/guile-ts])
AC_CONFIG_SRCDIR([ts/init.c])
AC_CONFIG_HEADERS([ts/config.h])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIRS([m4])
AM_INIT_AUTOMAKE([color-tests subdir-objects gnu])
AC_CONFIG_FILES([Makefile doc/Makefile])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
PKG_CHECK_MODULES([GUILE], [guile-3.0])
PKG_CHECK_MODULES([TREE_SITTER], [tree-sitter])
# Checks for header files.
AC_CHECK_HEADERS([libguile.h])
AC_CHECK_HEADERS([tree_sitter/api.h])
LT_INIT([dlopen disable-static])
GUILE_PKG([3.0])
GUILE_PROGS
GUILE_SITE_DIR
AM_CONDITIONAL([CROSS_COMPILING], [test "x$cross_compiling" = "xyes"])
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_OUTPUT