-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfigure.ac
43 lines (35 loc) · 1.37 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
# This file is part of Installsystems.
#
# Installsystems is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Installsystems is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Installsystems. If not, see <http://www.gnu.org/licenses/>.
AC_INIT([installsystems], [9], [[email protected]])
AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip])
AM_PATH_PYTHON([2.6])
AC_CONFIG_FILES([
Makefile
doc/Makefile
])
AC_ARG_WITH([bashcompdir],
AS_HELP_STRING([--with-bashcompdir=DIR], [Bash completion directory]),
[], [with_bashcompdir=${datadir}/bash-completion/completions]
)
AC_SUBST([bashcompdir], [$with_bashcompdir])
AC_ARG_WITH([zshcompdir],
AS_HELP_STRING([--with-zshcompdir=DIR], [Zsh completion directory]),
[], [with_zshcompdir=${datadir}/zsh/site-functions]
)
AC_SUBST([zshcompdir], [$with_zshcompdir])
AC_PROG_SED
AM_CONDITIONAL([ISGIT],[test -d .git])
AM_COND_IF([ISGIT],[VERSION=$VERSION+git])
AC_OUTPUT