Commit f08b4f614d9b7f6b6a13661dc1d2814605016a17

Authored by Georg Hopp
1 parent 2e1486d4

Check existence of required tr headers

Showing 2 changed files with 6 additions and 4 deletions
@@ -39,5 +39,3 @@ gmon.out @@ -39,5 +39,3 @@ gmon.out
39 test-driver 39 test-driver
40 /assets/html/_documentation.html 40 /assets/html/_documentation.html
41 tags 41 tags
42 -trio.h  
43 -trio.h.in  
@@ -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/stream.c]) 14 AC_CONFIG_SRCDIR([src/stream.c])
15 -AC_CONFIG_HEADERS([trio.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,11 @@ AM_COND_IF([HAVE_DOXYGEN], @@ -41,7 +41,11 @@ 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 +])
45 49
46 # Checks for typedefs, structures, and compiler characteristics. 50 # Checks for typedefs, structures, and compiler characteristics.
47 AC_HEADER_STDBOOL 51 AC_HEADER_STDBOOL
Please register or login to post a comment