-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
43 lines (36 loc) · 903 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
37
38
39
40
41
42
43
dnl vim: set sw=4 sts=4 ts=4 noet ft=config foldmethod=marker foldmarker={{{,}}} :
dnl {{{ program, version
AC_PREREQ(2.59)
AC_INIT([pre_setup/dynusers.bash.in])
AC_CONFIG_AUX_DIR(config)
VERSION_MAJOR=0
VERSION_MINOR=2
VERSION_MICRO=0
VERSION_FULL="$VERSION_MAJOR.$VERSION_MINOR.$VERSION_MICRO"
VERSION="$VERSION_FULL"
AC_SUBST([VERSION_MAJOR])
AC_SUBST([VERSION_MINOR])
AC_SUBST([VERSION_MICRO])
AC_SUBST([VERSION_FULL])
AM_INIT_AUTOMAKE(dynusers-portage, [$VERSION_FULL])
dnl }}}
dnl {{{ basic toolchain checks
AC_PROG_INSTALL
AC_PROG_MAKE_SET
dnl }}}
dnl {{{ bash checks, stolen from eselect
unset BASH
AC_PATH_PROGS(BASH, bash)
if test x$BASH = "x" ; then
AC_MSG_ERROR([bash is required])
fi
dnl }}}
dnl {{{ Generate our final Makefiles as well as some scripts
AC_OUTPUT(
Makefile
pre_setup/Makefile
pre_setup/dynusers.bash
post_postrm/Makefile
post_postrm/dynusers.bash
)
dnl }}}