-
Notifications
You must be signed in to change notification settings - Fork 7
/
configure.ac.local
84 lines (73 loc) · 2.85 KB
/
configure.ac.local
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
dnl -- include additional autoconf commands here
dnl -- do not include AC_OUTPUT, this is called for you
AC_CONFIG_FILES([fw/Makefile
fw/build/Makefile
fw/build/automake/Makefile
fw/build/automake/fw-pkgin/Makefile
fw/m4/Makefile
fw/package/Makefile
fw/package/deb/Makefile
fw/package/rpm/Makefile
fw/revision/Makefile
fw/revision/git/Makefile
fw/revision/none/Makefile
fw/revision/see-vee-ess/Makefile
fw/revision/svn/Makefile
fw/sh/Makefile
fw/template/Makefile
fw/template/fw-build/Makefile
fw/template/fw-build/fw.local/Makefile
fw/template/fw-build/fw.local/build/Makefile
fw/template/fw-build/fw.local/build/NAME/Makefile
fw/template/fw-template/Makefile
fw/template/fw-template/fw.local/Makefile
fw/template/fw-template/fw.local/template/Makefile
fw/template/fw-template/fw.local/template/NAME/Makefile
fw/template/fw-template/tests/Makefile
fw/template/meta/Makefile
fw/template/none/Makefile
fw/template/script/Makefile
fw/template/script/bin/Makefile
fw/template/script/tests/Makefile
fw.local/Makefile
fw.local/build/Makefile
fw.local/build/automake/Makefile
fw.local/package/Makefile
fw.local/package/deb/Makefile
fw.local/package/rpm/Makefile])
AC_CONFIG_FILES([bin/fw-init],
[chmod +x bin/fw-init])
AC_CONFIG_FILES([bin/fw-reset-to-base],
[chmod +x bin/fw-reset-to-base])
AC_CONFIG_FILES([tests/test-cvs],
[chmod +x tests/test-cvs])
AC_CONFIG_FILES([tests/test-svn],
[chmod +x tests/test-svn])
AC_CONFIG_FILES([tests/test-git],
[chmod +x tests/test-git])
AC_CONFIG_FILES([tests/test-template-fw-build],
[chmod +x tests/test-template-fw-build])
AC_CONFIG_FILES([tests/test-template-fw-template],
[chmod +x tests/test-template-fw-template])
AC_CONFIG_FILES([tests/test-template-script],
[chmod +x tests/test-template-script])
AC_CONFIG_FILES([tests/test-template-none],
[chmod +x tests/test-template-none])
AC_PATH_PROG([GMAKE], [gmake], [make])
AC_MSG_CHECKING([whether '$GMAKE' is gnu make])
cat <<EOD > testmak.$$
.BEGIN:
@exit 1
nop:
echo "" >/dev/null 2>/dev/null
EOD
$GMAKE -f testmak.$$ nop >/dev/null 2>/dev/null
rv=$?
rm -f testmak.$$
if test $rv = 0
then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([can't find gnu make])
fi