Commit f08b4f614d9b7f6b6a13661dc1d2814605016a17
1 parent
2e1486d4
Check existence of required tr headers
Showing
2 changed files
with
6 additions
and
4 deletions
... | ... | @@ -12,7 +12,7 @@ AM_SILENT_RULES([yes]) |
12 | 12 | AC_COPYRIGHT([Copyright © 2014 Georg Hopp]) |
13 | 13 | AC_REVISION([0.0.0]) |
14 | 14 | AC_CONFIG_SRCDIR([src/stream.c]) |
15 | -AC_CONFIG_HEADERS([trio.h]) | |
15 | +AC_CONFIG_HEADERS([config.h]) | |
16 | 16 | AC_CONFIG_MACRO_DIR([m4]) |
17 | 17 | |
18 | 18 | m4_include([m4/gcov.m4]) |
... | ... | @@ -41,7 +41,11 @@ AM_COND_IF([HAVE_DOXYGEN], |
41 | 41 | [AC_CONFIG_FILES([docs/Doxyfile])]) |
42 | 42 | |
43 | 43 | # Checks for header files. |
44 | -AC_CHECK_HEADERS([stdarg.h string.h stdlib.h stdio.h unistd.h syslog.h sys/types.h]) | |
44 | +AC_CHECK_HEADERS([stdarg.h string.h stdlib.h stdio.h unistd.h syslog.h \ | |
45 | + sys/types.h]) | |
46 | +AC_CHECK_HEADER(trbase.h, [], [ | |
47 | + AC_MSG_ERROR([unable to find the trbase header]) | |
48 | +]) | |
45 | 49 | |
46 | 50 | # Checks for typedefs, structures, and compiler characteristics. |
47 | 51 | AC_HEADER_STDBOOL | ... | ... |
Please
register
or
login
to post a comment