Commit eb51fc746b88fdae40ac9ce448cdc27347a58baa
1 parent
1faa9b61
Check existence of required tr headers
Showing
1 changed file
with
18 additions
and
2 deletions
| @@ -12,7 +12,7 @@ AM_SILENT_RULES([yes]) | @@ -12,7 +12,7 @@ AM_SILENT_RULES([yes]) | ||
| 12 | AC_COPYRIGHT([Copyright © 2014 Georg Hopp]) | 12 | AC_COPYRIGHT([Copyright © 2014 Georg Hopp]) |
| 13 | AC_REVISION([0.0.0]) | 13 | AC_REVISION([0.0.0]) |
| 14 | AC_CONFIG_SRCDIR([src/comm_end_point.c]) | 14 | AC_CONFIG_SRCDIR([src/comm_end_point.c]) |
| 15 | -AC_CONFIG_HEADERS([trcomm.h]) | 15 | +AC_CONFIG_HEADERS([config.h]) |
| 16 | AC_CONFIG_MACRO_DIR([m4]) | 16 | AC_CONFIG_MACRO_DIR([m4]) |
| 17 | 17 | ||
| 18 | m4_include([m4/gcov.m4]) | 18 | m4_include([m4/gcov.m4]) |
| @@ -41,7 +41,23 @@ AM_COND_IF([HAVE_DOXYGEN], | @@ -41,7 +41,23 @@ AM_COND_IF([HAVE_DOXYGEN], | ||
| 41 | [AC_CONFIG_FILES([docs/Doxyfile])]) | 41 | [AC_CONFIG_FILES([docs/Doxyfile])]) |
| 42 | 42 | ||
| 43 | # Checks for header files. | 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 | +]) | ||
| 49 | +AC_CHECK_HEADER(trio.h, [], [ | ||
| 50 | + AC_MSG_ERROR([unable to find the trio header]) | ||
| 51 | +]) | ||
| 52 | +AC_CHECK_HEADER(trhash.h, [], [ | ||
| 53 | + AC_MSG_ERROR([unable to find the trhash header]) | ||
| 54 | +]) | ||
| 55 | +AC_CHECK_HEADER(trdata.h, [], [ | ||
| 56 | + AC_MSG_ERROR([unable to find the trdata header]) | ||
| 57 | +]) | ||
| 58 | +AC_CHECK_HEADER(trevent.h, [], [ | ||
| 59 | + AC_MSG_ERROR([unable to find the trevent header]) | ||
| 60 | +]) | ||
| 45 | 61 | ||
| 46 | # Checks for typedefs, structures, and compiler characteristics. | 62 | # Checks for typedefs, structures, and compiler characteristics. |
| 47 | AC_HEADER_STDBOOL | 63 | AC_HEADER_STDBOOL |
Please
register
or
login
to post a comment