Commit ae6b4bcb71ffc44cede334b64f5a0ab97aa613fd

Authored by Georg Hopp
1 parent 451375a5

Check existence of required tr headers

Showing 1 changed file with 8 additions and 1 deletions
... ... @@ -41,7 +41,14 @@ 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 +])
  49 +AC_CHECK_HEADER(trio.h, [], [
  50 + AC_MSG_ERROR([unable to find the trio header])
  51 +])
45 52
46 53 # Checks for typedefs, structures, and compiler characteristics.
47 54 AC_HEADER_STDBOOL
... ...
Please register or login to post a comment