-
Notifications
You must be signed in to change notification settings - Fork 6
/
configure.ac
52 lines (41 loc) · 1.14 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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([docker-alpine], [0.1], [[email protected]])
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE
AM_EXTRA_RECURSIVE_TARGETS([build pull push])
# Checks for programs.
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_CHECK_PROG(DOCKER, docker, yes, no)
if test x"$DOCKER" != x"yes" ; then
AC_MSG_ERROR([required program 'docker' not found])
fi
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_ARG_VAR(TAG, tag of docker images)
AC_MSG_CHECKING([tag of docker images])
if test "x${TAG}" = "x"; then
AC_SUBST(TAG, latest)
fi
AC_MSG_RESULT([${TAG}])
AC_ARG_VAR(CLEAN_OPTIONS, clean options)
AC_ARG_VAR(BUILD_OPTIONS, build options)
AC_ARG_VAR(PULL_OPTIONS, pull options)
AC_CONFIG_FILES([
Makefile
mariadb/Makefile
mongodb/Makefile
nginx/Makefile
nodejs/Makefile
postgresql/Makefile
python/Makefile
redis/Makefile
ruby/Makefile
vim/Makefile
application/Makefile
])
AC_OUTPUT