blob: 0dbdf9ed5f532d6637d735026639c6b78fdcd2f1 [file] [log] [blame]
Lev Walkinfa9bb6d2017-03-26 03:48:43 -07001AC_INIT([asn1c],[0.9.29],[vlm@lionet.info])
Lev Walkin1b03c792014-10-12 17:31:26 -07002
3AC_CONFIG_AUX_DIR(config)
Lev Walkine7c4b962010-11-09 03:10:36 -08004AC_CONFIG_HEADER([config.h])
Lev Walkinf7613202016-01-10 13:27:18 -08005AM_INIT_AUTOMAKE([foreign])
Lev Walkine7c4b962010-11-09 03:10:36 -08006AC_CONFIG_MACRO_DIR([m4])
Lev Walkinf15320b2004-06-03 03:38:44 +00007
Lev Walkinf15320b2004-06-03 03:38:44 +00008dnl Checks for programs.
9AC_PROG_CC
10AC_PROG_CPP
11AC_PROG_INSTALL
12AC_PROG_LN_S
13AC_PROG_MAKE_SET
14AC_PROG_YACC
15AM_PROG_LEX
theirixb577d4d2016-07-30 17:14:59 +030016dnl locate ar using standard macro (old automake 1.11 does not know about AM_PROG_AR)
17m4_ifdef([AM_PROG_AR],
18 [AM_PROG_AR],
19 [AC_PATH_PROG(AR, ar, ar, $PATH:/usr/ucb:/usr/ccs/bin)])
20
Lev Walkin5c600f42017-09-15 21:57:29 -070021AC_PROG_CXX
22CXXFLAGS="-std=c++11"
23
theirixb577d4d2016-07-30 17:14:59 +030024LT_INIT
Lev Walkinf15320b2004-06-03 03:38:44 +000025
Lev Walkin32789952014-10-12 18:51:52 -070026dnl If you need to see the details, just run make V=1.
27m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
Frank Morgnerfb63c012013-05-21 09:56:38 +020028
Lev Walkinbec70d82004-08-23 10:40:21 +000029case "$host_os" in
Lev Walkin19abe222006-03-18 06:39:12 +000030cygwin)
Lev Walkinbec70d82004-08-23 10:40:21 +000031 case "$target" in
32 *mingw*)
33 CC="$CC -mno-cygwin"
34 esac
35 ;;
Lev Walkin615a7fa2006-03-18 06:24:33 +000036esac
37
Lev Walkin58ecc7b2014-09-17 00:32:03 -070038AC_ARG_ENABLE([ASN_DEBUG],
Lev Walkin271131c2015-04-10 00:09:57 -070039 [AS_HELP_STRING([--enable-ASN_DEBUG],
40 [produce debug log during `make check` testing])],
41 [enable_asn_debug=$enableval], [enable_asn_debug=no])
42 AS_IF([test x$enable_asn_debug != xno], [
Lev Walkin9175a282017-10-24 00:58:42 -070043 TESTSUITE_CFLAGS="-DASN_EMIT_DEBUG"
44 SKELETONS_CFLAGS="-DASN_EMIT_DEBUG"
Lev Walkin271131c2015-04-10 00:09:57 -070045 ])
Lev Walkin58ecc7b2014-09-17 00:32:03 -070046
Lev Walkinf84cc012014-01-14 02:12:24 -080047AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"])
48AX_CHECK_COMPILE_FLAG([-Wcast-qual], [CFLAGS="$CFLAGS -Wcast-qual"])
49AX_CHECK_COMPILE_FLAG([-Wchar-subscripts],
Lev Walkin65907f02014-09-14 17:19:21 -070050 [CFLAGS="$CFLAGS -Wchar-subscripts"])
Lev Walkinf84cc012014-01-14 02:12:24 -080051AX_CHECK_COMPILE_FLAG([-Wmissing-prototypes],
Lev Walkin65907f02014-09-14 17:19:21 -070052 [CFLAGS="$CFLAGS -Wmissing-prototypes"])
Lev Walkinf84cc012014-01-14 02:12:24 -080053AX_CHECK_COMPILE_FLAG([-Wmissing-declarations],
Lev Walkin65907f02014-09-14 17:19:21 -070054 [CFLAGS="$CFLAGS -Wmissing-declarations"])
Lev Walkinf15320b2004-06-03 03:38:44 +000055
Lev Walkinf84cc012014-01-14 02:12:24 -080056dnl There are legitimate uses for these features, disable warnings/errors.
Lev Walkin84556d52017-09-26 23:13:10 -070057AX_CHECK_COMPILE_FLAG([-Wno-error=attributes],
58 [CFLAGS="$CFLAGS -Wno-error=attributes"])
Lev Walkinf84cc012014-01-14 02:12:24 -080059AX_CHECK_COMPILE_FLAG([-Wno-error=cast-align],
Lev Walkin65907f02014-09-14 17:19:21 -070060 [CFLAGS="$CFLAGS -Wno-error=cast-align"])
Lev Walkinf84cc012014-01-14 02:12:24 -080061AX_CHECK_COMPILE_FLAG([-Wno-error=visibility],
Lev Walkin65907f02014-09-14 17:19:21 -070062 [CFLAGS="$CFLAGS -Wno-error=visibility"])
Lev Walkinf84cc012014-01-14 02:12:24 -080063AX_CHECK_COMPILE_FLAG([-Wno-error=parentheses-equality],
Lev Walkin65907f02014-09-14 17:19:21 -070064 [CFLAGS="$CFLAGS -Wno-error=parentheses-equality"])
Lev Walkin3798f342016-03-14 04:07:45 -070065AX_CHECK_COMPILE_FLAG([-std=gnu99],
Lev Walkin62d95d22017-08-06 23:41:11 -070066 [CFLAGS="$CFLAGS -std=gnu99"
Lev Walkine0236da2017-09-17 22:03:57 -070067 TESTSUITE_CFLAGS="${TESTSUITE_CFLAGS} -std=gnu99"])
Lev Walkin65907f02014-09-14 17:19:21 -070068AX_CHECK_COMPILE_FLAG([-Wno-error=unused-variable],
Lev Walkine0236da2017-09-17 22:03:57 -070069 [TESTSUITE_CFLAGS="${TESTSUITE_CFLAGS} -Wno-error=unused-variable"])
70
71dnl Lower the optimization level in tests to aid debugging.
72dnl AX_CHECK_COMPILE_FLAG([-O1],
73dnl [TESTSUITE_CFLAGS="${TESTSUITE_CFLAGS} -O1"])
74dnl AX_CHECK_COMPILE_FLAG([-fno-inline],
75dnl [TESTSUITE_CFLAGS="${TESTSUITE_CFLAGS} -fno-inline"])
Lev Walkin65907f02014-09-14 17:19:21 -070076
Vasil Velichkove3187592016-07-18 22:46:36 +030077AX_CODE_COVERAGE
78AS_IF([test x$enable_code_coverage != xno], [
79 CFLAGS="$CFLAGS $CODE_COVERAGE_CFLAGS"
80 # The CODE_COVERAGE_CPPFLAGS contains -DNDEBUG flag
81 # which removes assert(...) macros from code coverage and improves the
82 # branches score. But when it is defined it results in few
83 # unsed-but-set-variable warnings that are treated as errors in the travis-ci
84 # build because these variables are only used inside assert macros.
85 # error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable]
86 #CPPFLAGS="$CPPFLAGS $CODE_COVERAGE_CPPFLAGS"
87 CXXFLAGS="$CXXFLAGS $CODE_COVERAGE_CXXFLAGS"
Lev Walkinefded512017-03-26 16:12:11 -070088 AC_SEARCH_LIBS(gcov_open, gcov, [LDFLAGS="$LDFLAGS $CODE_COVERAGE_LDFLAGS"])
Vasil Velichkove3187592016-07-18 22:46:36 +030089])
90
Lev Walkin97363482016-01-24 19:23:02 -080091dnl Skeletons should be very compatible with most of the compilers, hence
92dnl very strict backward compatibility flags.
Lev Walkin64dd70c2016-03-14 05:14:07 -070093SKELETONS_CFLAGS="${ADD_CFLAGS} ${SKELETONS_CFLAGS}"
Lev Walkin97363482016-01-24 19:23:02 -080094AX_CHECK_COMPILE_FLAG([-std=c89],
Lev Walkin104af192016-01-24 22:13:27 -080095 [SKELETONS_CFLAGS="$SKELETONS_CFLAGS -std=c89"])
Lev Walkin97363482016-01-24 19:23:02 -080096AX_CHECK_COMPILE_FLAG([-Wpedantic],
Vasil Velichkov1144b352016-07-19 19:09:33 +030097 [SKELETONS_CFLAGS="$SKELETONS_CFLAGS -Wpedantic"],
98 [
99 dnl When -Wpedantic is not supported try the -pedantic instead. (gcc-4.7)
100 dnl See https://gcc.gnu.org/gcc-4.8/changes.html
101 AX_CHECK_COMPILE_FLAG([-pedantic],
102 [SKELETONS_CFLAGS="$SKELETONS_CFLAGS -pedantic"], [], [-Werror])
103 ],
104 [-Werror]) #clang 3.0 prints warning when the flag is not supported
Lev Walkin0f5dd342017-09-13 22:52:39 +0000105
106AC_ARG_ENABLE(Werror,
107 [AS_HELP_STRING([--enable-Werror],
108 [abort compilation after any C compiler warning])],
109 [enable_werror=$enableval], [enable_werror=no])
110 AS_IF([test x$enable_werror != xno], [
111 ADD_CFLAGS="${ADD_CFLAGS} -Werror -W -Wall -Wpointer-arith"
112 SKELETONS_CFLAGS="${SKELETONS_CFLAGS} -Werror -W -Wall -Wpointer-arith"
113 AX_CHECK_COMPILE_FLAG([-Wgnu],
114 [SKELETONS_CFLAGS="${SKELETONS_CFLAGS} -Wgnu"])
115 ])
116
Lev Walkin9f470d62017-10-21 16:27:08 -0700117AX_CHECK_COMPILE_FLAG([-Wno-long-long],
118 [SKELETONS_CFLAGS="${SKELETONS_CFLAGS} -Wno-long-long"])
119
Lev Walkin0f5dd342017-09-13 22:52:39 +0000120AC_ARG_ENABLE(test-Werror,
121 [AS_HELP_STRING([--enable-test-Werror],
122 [abort compiling tests after any C compiler warning])],
123 [enable_test_werror=$enableval], [enable_test_werror=no])
124 AS_IF([test x$enable_test_werror != xno], [
125 TESTSUITE_CFLAGS="${TESTSUITE_CFLAGS} -Werror -W -Wpointer-arith"
126 ])
Lev Walkincb4eddb2017-09-15 19:12:24 -0700127
Lev Walkin0a3bf612017-10-19 00:33:54 -0700128dnl If requested and -m32 is available to create 32-bit code,
Lev Walkin249fd262017-10-18 10:05:26 -0700129dnl treat it like a special case to be checked.
130AC_ARG_ENABLE([test-32bit],
Lev Walkin0a3bf612017-10-19 00:33:54 -0700131 [AS_HELP_STRING([--enable-test-32bit],
Lev Walkin130cffe2017-10-19 04:18:12 -0700132 [enable tests for 32-bit compatibility])],
Lev Walkin0a3bf612017-10-19 00:33:54 -0700133 [enable_test_32bit=$enableval], [enable_test_32bit=no])
134AS_IF([test "x$enable_test_32bit" != xno], [
Lev Walkinbc09dd42017-10-19 02:16:35 -0700135 AX_CHECK_COMPILE_FLAG([-m32], [CFLAGS_M32="-m32 -DEXPLICIT_32BIT"],
Lev Walkin249fd262017-10-18 10:05:26 -0700136 [
137 CFLAGS_M32=""
Lev Walkin0a3bf612017-10-19 00:33:54 -0700138 AC_MSG_FAILURE([--enable-test-32bit=$enable_test_32bit is requested but not supported by the _AC_LANG compiler])
Lev Walkin249fd262017-10-18 10:05:26 -0700139 ])
140])
141AC_SUBST(CFLAGS_M32)
142AM_CONDITIONAL([EXPLICIT_M32], [test "x${CFLAGS_M32}" != "x"])
143
Lev Walkincb4eddb2017-09-15 19:12:24 -0700144SANITIZER_CFLAGS=""
145
146dnl Enable Undefined Behavior Sanitizer, if supported.
147AC_ARG_ENABLE([test-ubsan],
148 [AS_HELP_STRING([--disable-test-ubsan],
Lev Walkin130cffe2017-10-19 04:18:12 -0700149 [disable Undefined Behavior Sanitizer for tests])],
Lev Walkincb4eddb2017-09-15 19:12:24 -0700150 [disable_test_ubsan=$enableval], [disable_test_ubsan=maybe])
151AS_IF([test "x$disable_test_ubsan" != xno], [
Lev Walkin1fef87a2017-10-19 00:25:09 -0700152 AX_CHECK_COMPILE_AND_LINK_FLAG([-fsanitize=undefined],
Lev Walkincb4eddb2017-09-15 19:12:24 -0700153 [SANITIZER_CFLAGS="${SANITIZER_CFLAGS} -fsanitize=undefined"],
154 [
155 AS_IF([test "x$disable_test_ubsan" != xmaybe], [
156 AC_MSG_FAILURE(
Lev Walkin5c600f42017-09-15 21:57:29 -0700157[--disable-test-ubsan=$disable_test_ubsan is not supported on a target system.
Lev Walkincb4eddb2017-09-15 19:12:24 -0700158https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#how-to-build])])
Lev Walkinb2d896e2017-10-19 09:50:20 +0000159 ],
160 [],
161 [AC_LANG_PROGRAM([void test(int *);void test(int *n) { *n = 0; }])]
162 )
Lev Walkine0236da2017-09-17 22:03:57 -0700163 AX_CHECK_COMPILE_FLAG([-fno-sanitize-recover=undefined],
164 [SANITIZER_CFLAGS="${SANITIZER_CFLAGS} -fno-sanitize-recover=undefined"])
165
166 dnl Unsigned integer overflow is enabled separately.
Lev Walkinb2d896e2017-10-19 09:50:20 +0000167 AX_CHECK_COMPILE_AND_LINK_FLAG([-fsanitize=unsigned-integer-overflow],
168 [SANITIZER_CFLAGS="${SANITIZER_CFLAGS} -fsanitize=unsigned-integer-overflow"], [], [], [AC_LANG_PROGRAM([int test(unsigned); int test(unsigned n) { return n + 1; }])])
Lev Walkine0236da2017-09-17 22:03:57 -0700169 AX_CHECK_COMPILE_FLAG([-fno-sanitize-recover=unsigned-integer-overflow],
170 [SANITIZER_CFLAGS="${SANITIZER_CFLAGS} -fno-sanitize-recover=unsigned-integer-overflow"])
171
172 dnl Nullability is enabled separately.
Lev Walkinb2d896e2017-10-19 09:50:20 +0000173 AX_CHECK_COMPILE_AND_LINK_FLAG([-fsanitize=nullability],
Lev Walkine0236da2017-09-17 22:03:57 -0700174 [SANITIZER_CFLAGS="${SANITIZER_CFLAGS} -fsanitize=nullability"])
175 AX_CHECK_COMPILE_FLAG([-fno-sanitize-recover=nullability],
176 [SANITIZER_CFLAGS="${SANITIZER_CFLAGS} -fno-sanitize-recover=nullability"])
177
178 dnl Keep error messages nice. Also consider:
179 dnl export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer
180 dnl export UBSAN_OPTIONS=print_stacktrace=1
181 AX_CHECK_COMPILE_FLAG([-fno-omit-frame-pointer],
182 [SANITIZER_CFLAGS="${SANITIZER_CFLAGS} -fno-omit-frame-pointer"])
Lev Walkincb4eddb2017-09-15 19:12:24 -0700183])
184
Lev Walkina7d64002017-08-23 22:34:29 -0700185dnl Enable Address Sanitizer, if supported by gcc (4.8+) or clang.
186dnl http://clang.llvm.org/docs/AddressSanitizer.html
Lev Walkin33897e22017-09-26 21:17:39 -0700187ASAN_ENV_FLAGS=""
Lev Walkina7d64002017-08-23 22:34:29 -0700188AC_ARG_ENABLE([test-asan],
Lev Walkincb4eddb2017-09-15 19:12:24 -0700189 [AS_HELP_STRING([--disable-test-asan],
Lev Walkin130cffe2017-10-19 04:18:12 -0700190 [disable Address Sanitizer for tests])],
Lev Walkincb4eddb2017-09-15 19:12:24 -0700191 [disable_test_asan=$enableval], [disable_test_asan=maybe])
192AS_IF([test "x$disable_test_asan" != xno], [
Lev Walkin1fef87a2017-10-19 00:25:09 -0700193 AX_CHECK_COMPILE_AND_LINK_FLAG([-fsanitize=address],
Lev Walkincb4eddb2017-09-15 19:12:24 -0700194 [SANITIZER_CFLAGS="${SANITIZER_CFLAGS} -fsanitize=address"],
195 [
196 AS_IF([test "x$disable_test_asan" != xmaybe], [
197 AC_MSG_FAILURE(
Lev Walkin5c600f42017-09-15 21:57:29 -0700198[--disable-test-asan=$disable_test_asan is not supported on a target system.
Lev Walkincb4eddb2017-09-15 19:12:24 -0700199Check out https://clang.llvm.org/docs/AddressSanitizer.html#how-to-build])])
200 ])
Lev Walkin0afbd322017-10-19 03:21:21 -0700201
202 dnl Address sanitizer sometimes is equipped with the leak sanitizer.
Lev Walkin33897e22017-09-26 21:17:39 -0700203 dnl If address sanitizer is not equipped with a leak sanitizer,
204 dnl invoking programs with ASAN_OPTIONS=detect_leaks=1 will break them.
Lev Walkin0afbd322017-10-19 03:21:21 -0700205 ASAN_OPTIONS="detect_leaks=1"
206 export ASAN_OPTIONS
207 save_cflags="${CFLAGS}"
208 CFLAGS="${CFLAGS} ${SANITIZER_CFLAGS}"
209 AC_RUN_IFELSE([AC_LANG_PROGRAM()], [
Lev Walkin33897e22017-09-26 21:17:39 -0700210 ASAN_ENV_FLAGS="${ASAN_ENV_FLAGS} ASAN_OPTIONS=detect_leaks=1"
211 ])
Lev Walkin0afbd322017-10-19 03:21:21 -0700212 CFLAGS="${save_cflags}"
213 unset ASAN_OPTIONS
214
Lev Walkina7d64002017-08-23 22:34:29 -0700215 dnl Keep error messages nice. Also consider:
216 dnl export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer
217 dnl export ASAN_OPTIONS=symbolize=1
218 AX_CHECK_COMPILE_FLAG([-fno-omit-frame-pointer],
Lev Walkincb4eddb2017-09-15 19:12:24 -0700219 [SANITIZER_CFLAGS="${SANITIZER_CFLAGS} -fno-omit-frame-pointer"])
220])
221
Lev Walkin5c600f42017-09-15 21:57:29 -0700222dnl Enable LibFuzzer, if supported.
223LIBFUZZER_CFLAGS=""
224AC_ARG_ENABLE([test-fuzzer],
225 [AS_HELP_STRING([--enable-test-fuzzer],
Lev Walkin130cffe2017-10-19 04:18:12 -0700226 [enable LLVM LibFuzzer for randomized testing])],
Lev Walkin5c600f42017-09-15 21:57:29 -0700227 [enable_test_fuzzer=$enableval], [enable_test_fuzzer=no])
228AS_IF([test "x$enable_test_fuzzer" != xno], [
Lev Walkin03531df2017-10-19 00:23:12 -0700229 AX_CHECK_COMPILE_AND_LINK_FLAG([-fsanitize=fuzzer],
230 [LIBFUZZER_CFLAGS="-fsanitize=fuzzer -DENABLE_LIBFUZZER"],
231 [AC_MSG_FAILURE(
Lev Walkin5c600f42017-09-15 21:57:29 -0700232[--enable-test-fuzzer=$enable_test_fuzzer is not supported on a target system.
Lev Walkin03531df2017-10-19 00:23:12 -0700233Check out http://llvm.org/docs/LibFuzzer.html])],
234 [],
235 [AC_LANG_SOURCE([[
236 #include <sys/types.h>
237 int LLVMFuzzerTestOneInput(const unsigned char *Data, size_t Size);
238 int LLVMFuzzerTestOneInput(const unsigned char *Data, size_t Size) {
239 (void)Data;
240 (void)Size;
241 return 0;
242 }
243 ]])])
Lev Walkin5c600f42017-09-15 21:57:29 -0700244])
245
Lev Walkin85d7a1b2017-10-06 16:35:21 -0700246TESTSUITE_CFLAGS="${TESTSUITE_CFLAGS} ${SANITIZER_CFLAGS}"
Lev Walkincb4eddb2017-09-15 19:12:24 -0700247SKELETONS_CFLAGS="${SKELETONS_CFLAGS} ${SANITIZER_CFLAGS}"
Lev Walkina7d64002017-08-23 22:34:29 -0700248
249AC_SUBST(ADD_CFLAGS)
Lev Walkin5c600f42017-09-15 21:57:29 -0700250AC_SUBST(LIBFUZZER_CFLAGS)
Lev Walkincb4eddb2017-09-15 19:12:24 -0700251AC_SUBST(SANITIZER_CFLAGS)
Lev Walkina7d64002017-08-23 22:34:29 -0700252AC_SUBST(TESTSUITE_CFLAGS)
Lev Walkin97363482016-01-24 19:23:02 -0800253AC_SUBST(SKELETONS_CFLAGS)
Lev Walkin33897e22017-09-26 21:17:39 -0700254AC_SUBST(ASAN_ENV_FLAGS)
Lev Walkin97363482016-01-24 19:23:02 -0800255
Lev Walkinf15320b2004-06-03 03:38:44 +0000256dnl Checks for header files.
257AC_HEADER_STDC
Lev Walkin79f54952004-08-13 16:58:19 +0000258AC_CHECK_HEADERS(sys/param.h)
Lev Walkinf15320b2004-06-03 03:38:44 +0000259
260dnl Checks for typedefs, structures, and compiler characteristics.
261AC_C_BIGENDIAN
262AC_TYPE_OFF_T
263AC_TYPE_SIZE_T
264AC_STRUCT_TM
Lev Walkinda997b12017-08-04 01:38:41 -0700265AC_CHECK_TYPE([__int128],
266 [AC_DEFINE(HAVE_128_BIT_INT, 1, [Have 128-bit integer])])
Lev Walkinf15320b2004-06-03 03:38:44 +0000267AC_CHECK_TYPE(intmax_t, int64_t)
268
Lev Walkin1d84ea92017-08-02 12:40:13 -0700269dnl Test if we should test features that depend on 64-bitness.
270AC_CHECK_SIZEOF([void *])
271AM_CONDITIONAL([TEST_64BIT], [test "$ac_cv_sizeof_void_p" -eq 8])
Lev Walkinb40ec412014-02-24 00:57:18 -0800272
Lev Walkin058e2222007-12-04 00:27:38 +0000273dnl For mingw
274AC_SEARCH_LIBS(getopt, iberty)
275
Lev Walkinf15320b2004-06-03 03:38:44 +0000276AC_CHECK_FUNCS(strtoimax strtoll)
Lev Walkin49b0a3e2004-06-28 21:22:35 +0000277AC_CHECK_FUNCS(mergesort)
Lev Walkin27fd0b62007-08-27 23:57:45 +0000278AC_CHECK_FUNCS(mkstemps)
Lev Walkin04fbe622014-09-17 02:27:01 -0700279AC_CHECK_FUNCS(timegm)
Lev Walkina4f8e942017-10-08 19:28:20 -0700280AC_CHECK_DECLS(strcasecmp)
Lev Walkina06b1b42017-10-05 23:07:22 -0700281AC_CHECK_DECLS(vasprintf)
Frank Morgner8a759ad2013-05-16 13:32:49 +0200282AC_TRY_LINK_FUNC([symlink],[AC_DEFINE([HAVE_SYMLINK], 1, [Define to 1 if you have the symlink function.])])
Lev Walkin27fd0b62007-08-27 23:57:45 +0000283
Lev Walkinc6080fd2016-01-23 06:35:34 -0800284dnl Use pandoc to generate manual pages.
285AC_PATH_PROG([PANDOC], pandoc)
286AM_CONDITIONAL([HAVE_PANDOC], [test -n "$PANDOC"])
287
Lev Walkin327bab22016-03-14 02:36:27 -0700288AC_CONFIG_FILES([\
Lev Walkin700df492017-08-10 14:59:15 -0700289tests/tests-c-compiler/check-src/Makefile \
290tests/tests-asn1c-compiler/Makefile \
Lev Walkin30566d12017-11-12 15:27:36 -0800291tests/tests-asn1c-smoke/Makefile \
Lev Walkincb523912017-09-30 19:33:23 -0700292tests/tests-randomized/Makefile \
Lev Walkin700df492017-08-10 14:59:15 -0700293tests/tests-c-compiler/Makefile \
Lev Walkin56d59b42017-08-24 13:54:58 -0700294tests/tests-skeletons/Makefile \
Lev Walkinb47d1ad2019-01-21 14:54:50 -0800295asn1-tools/enber/Makefile \
296asn1-tools/unber/Makefile \
297asn1-tools/Makefile \
Lev Walkin700df492017-08-10 14:59:15 -0700298libasn1compiler/Makefile \
Lev Walkind9221842017-08-22 01:44:56 -0700299libasn1common/Makefile \
Lev Walkin700df492017-08-10 14:59:15 -0700300libasn1parser/Makefile \
301libasn1print/Makefile \
302libasn1fix/Makefile \
303doc/docsrc/Makefile \
304skeletons/Makefile \
305examples/Makefile \
306doc/man/Makefile \
307tests/Makefile \
308asn1c/Makefile \
309doc/Makefile \
310Makefile \
Lev Walkin327bab22016-03-14 02:36:27 -0700311])
312AC_OUTPUT
Lev Walkinf15320b2004-06-03 03:38:44 +0000313