-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
63 lines (51 loc) · 1.5 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
########################################################################
AC_PREREQ([2.71])
m4_define([ngu_version],
m4_esyscmd([./build-helpers/package-version . version-stamp]))
AC_INIT([ndims git utilities],
[m4_defn([ngu_version])],
[https://github.com/ndim/ndim-git-utils/issues],
[ndim-git-utils],
[https://github.com/ndim/ndim-git-utils/])
AC_CONFIG_AUX_DIR([auto-aux])
AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_SRCDIR([git-amb/git-amb.in])
AC_CONFIG_MACRO_DIRS([auto-m4 m4])
AM_INIT_AUTOMAKE([
-Wall
-Werror
foreign
1.16.4
no-dist-gzip
dist-xz
subdir-objects
readme-alpha
std-options
tar-pax
])
########################################################################
AC_PROG_GREP
AC_PROG_SED
AC_PROG_CC
m4_pattern_forbid([NDIM_REQUIRE_POSIX_SH])dnl
NDIM_REQUIRE_POSIX_SH()dnl
m4_pattern_forbid([NDIM_DETECT_MAN2TXT])dnl
NDIM_DETECT_MAN2TXT()dnl
########################################################################
AC_ARG_VAR([GIT], [git revision control system])
AS_VAR_IF([GIT], [], [dnl
AC_PATH_PROG([GIT], [git], [no])
])
AM_CONDITIONAL([HAVE_GIT], [test "x$GIT" != xno])
m4_pattern_forbid([NDIM_GITEXECDIR])dnl
NDIM_GITEXECDIR()dnl
########################################################################
m4_pattern_forbid([NDIM_BUILD_RPMS])dnl
NDIM_BUILD_RPMS()dnl
########################################################################
AC_CONFIG_FILES([
GNUmakefile
Makefile
])
AC_OUTPUT
########################################################################