-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfigure.ac
40 lines (28 loc) · 1 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
37
38
39
40
AC_INIT([nix-exec], m4_normalize(esyscmd(git describe --tags | cut -c 2-)))
AM_INIT_AUTOMAKE([foreign -Wall subdir-objects dist-xz no-dist-gzip])
AM_PROG_AR
LT_INIT([disable-static])
AC_CONFIG_SRCDIR([LICENSE])
AC_LANG([C++])
AC_PROG_CXX
PKG_CHECK_MODULES([NIX], [nix-main nix-expr nix-store])
AC_SEARCH_LIBS([dlopen], [dl], [], AC_MSG_ERROR([unable to find the dlopen() function]))
AC_PATH_PROG([git], git, git)
AC_PATH_PROG([sed], sed, sed)
AC_PATH_PROG([cut], cut, cut)
AC_PATH_PROG([printf], printf, printf)
AC_PATH_PROG([rmdir], rmdir, rmdir)
AC_PATH_PROG([cp], cp, cp)
AC_PATH_PROG([mktemp], mktemp, mktemp)
AC_PATH_PROG([chmod], chmod, chmod)
AC_PATH_PROG([tar], tar, tar)
AC_PATH_PROG([sync], sync, sync)
AC_PATH_PROG([mv], mv, mv)
AC_PATH_PROG([basename], basename, basename)
AC_PATH_PROG([dirname], dirname, dirname)
AC_PATH_PROG([awk], awk, awk)
AC_PATH_PROG([sh], sh, sh)
AC_PATH_PROG([mkdir], mkdir, mkdir)
AC_SUBST([SHREXT], ["$shrext_cmds"])
AC_CONFIG_FILES([Makefile scripts/fetchgit.sh])
AC_OUTPUT