Removed
Link Here
|
1 |
--- configure.ac.orig 2019-04-07 07:54:18 UTC |
2 |
+++ configure.ac |
3 |
@@ -37,31 +37,31 @@ AC_SUBST(prefix) |
4 |
|
5 |
# AC_PROG_CXX *before* AC_PROG_CC, otherwise configure won't error out |
6 |
# when a c++ compiler is not found. Weird, huh? |
7 |
-AC_PROG_CXX |
8 |
-AC_PROG_CC |
9 |
-AC_PROG_CC_STDC |
10 |
-AC_PROG_CC_C99 |
11 |
+#AC_PROG_CXX |
12 |
+#AC_PROG_CC |
13 |
+#AC_PROG_CC_STDC |
14 |
+#AC_PROG_CC_C99 |
15 |
AC_PROG_INSTALL |
16 |
-AC_HEADER_STDC |
17 |
+#AC_HEADER_STDC |
18 |
|
19 |
extra_flags="-Wformat-security \ |
20 |
-Wstack-protector \ |
21 |
-Wstack-protector-all \ |
22 |
-Wno-cast-function-type" |
23 |
|
24 |
-AX_CXX_COMPILE_STDCXX_14 |
25 |
-m4_ifdef([AX_COMPILER_FLAGS],[AX_COMPILER_FLAGS(,,[yes],${extra_flags})]) |
26 |
-AX_VALGRIND_CHECK |
27 |
+#AX_CXX_COMPILE_STDCXX_14 |
28 |
+#m4_ifdef([AX_COMPILER_FLAGS],[AX_COMPILER_FLAGS(,,[yes],${extra_flags})]) |
29 |
+#AX_VALGRIND_CHECK |
30 |
|
31 |
# for now, use AM_PROG_LIBTOOL, as we don't want to require |
32 |
# a too new setup for autotools/libtool |
33 |
-AM_PROG_LIBTOOL |
34 |
+#AM_PROG_LIBTOOL |
35 |
#LT_INIT([disable-shared]) |
36 |
|
37 |
AC_PROG_AWK |
38 |
AC_CHECK_PROG(SORT,sort,sort) |
39 |
|
40 |
-AC_CHECK_HEADERS([wordexp.h]) |
41 |
+#AC_CHECK_HEADERS([wordexp.h]) |
42 |
|
43 |
# use the 64-bit versions |
44 |
AC_SYS_LARGEFILE |
45 |
@@ -150,19 +150,19 @@ AS_IF([test "x$PKG_CONFIG" = "xno"],[ |
46 |
|
47 |
# glib2? |
48 |
# we pick some late-2012 version |
49 |
-PKG_CHECK_MODULES(GLIB,glib-2.0 >= 2.32 gobject-2.0 gio-2.0) |
50 |
+# PKG_CHECK_MODULES(GLIB,glib-2.0 >= 2.32 gobject-2.0 gio-2.0) |
51 |
AC_SUBST(GLIB_CFLAGS) |
52 |
AC_SUBST(GLIB_LIBS) |
53 |
glib_version="`$PKG_CONFIG --modversion glib-2.0`" |
54 |
|
55 |
# gmime, version 3.0 or higher |
56 |
-PKG_CHECK_MODULES(GMIME,gmime-3.0) |
57 |
+# PKG_CHECK_MODULES(GMIME,gmime-3.0) |
58 |
AC_SUBST(GMIME_CFLAGS) |
59 |
AC_SUBST(GMIME_LIBS) |
60 |
gmime_version="`$PKG_CONFIG --modversion gmime-3.0`" |
61 |
|
62 |
# gmime, version 3.0 or higher |
63 |
-PKG_CHECK_MODULES(JSON_GLIB,json-glib-1.0 >= 1.4,[have_json_glib=yes],[have_json_glib=no]) |
64 |
+# PKG_CHECK_MODULES(JSON_GLIB,json-glib-1.0 >= 1.4,[have_json_glib=yes],[have_json_glib=no]) |
65 |
AS_IF([test "x$have_json_glib" = "xyes"],[ |
66 |
AC_SUBST(JSON_GLIB_CFLAGS) |
67 |
AC_SUBST(JSON_GLIB_LIBS) |
68 |
@@ -172,21 +172,21 @@ AS_IF([test "x$have_json_glib" = "xyes"],[ |
69 |
AM_CONDITIONAL(HAVE_JSON_GLIB,[test "x$have_json_glib" = "xyes"]) |
70 |
|
71 |
# xapian checking - we need 1.4 at least |
72 |
-AC_CHECK_PROG(XAPIAN_CONFIG,xapian-config,xapian-config,no) |
73 |
-AM_CONDITIONAL(HAVE_XAPIAN,test "x$XAPIAN_CONFIG" != "xno") |
74 |
-AS_IF([test "x$XAPIAN_CONFIG" = "xno"],[ |
75 |
- AC_MSG_ERROR([ |
76 |
- *** xapian could not be found; please install it |
77 |
- *** e.g., in debian/ubuntu the package would be 'libxapian-dev' |
78 |
- *** If you compiled it yourself, you should ensure that xapian-config |
79 |
- *** is in your PATH.])], |
80 |
- [xapian_version=$($XAPIAN_CONFIG --version | sed -e 's/.* //')]) |
81 |
- |
82 |
-AS_CASE([$xapian_version], |
83 |
- [1.[[4-9]].[[0-9]]*], |
84 |
- [AC_DEFINE([XAPIAN_HAVE_OP_WILDCARD],[1],[Xapian::Query::OP_WILDCARD?])], |
85 |
- [AC_MSG_ERROR([*** xapian version >= 1.4 needed, but version $xapian_version found.])]) |
86 |
- |
87 |
+# AC_CHECK_PROG(XAPIAN_CONFIG,xapian-config,xapian-config,no) |
88 |
+# AM_CONDITIONAL(HAVE_XAPIAN,test "x$XAPIAN_CONFIG" != "xno") |
89 |
+# AS_IF([test "x$XAPIAN_CONFIG" = "xno"],[ |
90 |
+# AC_MSG_ERROR([ |
91 |
+# *** xapian could not be found; please install it |
92 |
+# *** e.g., in debian/ubuntu the package would be 'libxapian-dev' |
93 |
+# *** If you compiled it yourself, you should ensure that xapian-config |
94 |
+# *** is in your PATH.])], |
95 |
+# [xapian_version=$($XAPIAN_CONFIG --version | sed -e 's/.* //')]) |
96 |
+# |
97 |
+#AS_CASE([$xapian_version], |
98 |
+# [1.[[4-9]].[[0-9]]*], |
99 |
+# [AC_DEFINE([XAPIAN_HAVE_OP_WILDCARD],[1],[Xapian::Query::OP_WILDCARD?])], |
100 |
+# [AC_MSG_ERROR([*** xapian version >= 1.4 needed, but version $xapian_version found.])]) |
101 |
+# |
102 |
XAPIAN_CXXFLAGS="$($XAPIAN_CONFIG --cxxflags)" |
103 |
XAPIAN_LIBS="$($XAPIAN_CONFIG --libs)" |
104 |
have_xapian="yes" |
105 |
@@ -261,37 +261,19 @@ AC_SUBST(MU_DOC_DIR, "${prefix}/share/doc/mu") |
106 |
|
107 |
############################################################################### |
108 |
# check for pmccabe |
109 |
-AC_PATH_PROG([PMCCABE],[pmccabe],[no]) |
110 |
-AS_IF([test "x$PMCCABE" = "xno"],[ |
111 |
- have_pmccabe="no" |
112 |
- AC_MSG_WARN([ |
113 |
- *** Developers: you do not seem to have the pmccabe tool installed. |
114 |
- *** Please install it if you want to run the automated code checks]) |
115 |
-],[have_pmccabe="yes"]) |
116 |
+#AC_PATH_PROG([PMCCABE],[pmccabe],[no]) |
117 |
+#AS_IF([test "x$PMCCABE" = "xno"],[ |
118 |
+# have_pmccabe="no" |
119 |
+# AC_MSG_WARN([ |
120 |
+# *** Developers: you do not seem to have the pmccabe tool installed. |
121 |
+# *** Please install it if you want to run the automated code checks]) |
122 |
+#],[have_pmccabe="yes"]) |
123 |
############################################################################### |
124 |
|
125 |
AC_CONFIG_FILES([ |
126 |
Makefile |
127 |
-mu/Makefile |
128 |
-mu/tests/Makefile |
129 |
-lib/Makefile |
130 |
-lib/doxyfile |
131 |
-lib/parser/Makefile |
132 |
-lib/tests/Makefile |
133 |
mu4e/Makefile |
134 |
mu4e/mu4e-meta.el |
135 |
-guile/Makefile |
136 |
-guile/texi.texi |
137 |
-guile/mu/Makefile |
138 |
-guile/examples/Makefile |
139 |
-guile/tests/Makefile |
140 |
-guile/scripts/Makefile |
141 |
-toys/Makefile |
142 |
-toys/mug/Makefile |
143 |
-toys/msg2pdf/Makefile |
144 |
-man/Makefile |
145 |
-m4/Makefile |
146 |
-contrib/Makefile |
147 |
]) |
148 |
AC_OUTPUT |
149 |
|