* [Bug 2845] Harden memory allocation in ntpd.
* [Bug 2852] 'make check' can't find unity.h. Hal Murray.
* [Bug 2854] Missing brace in libntp/strdup.c. Masanari Iida.
+* Fixes to sntp/tests/fileHandlingTest.h.in. Harlan Stenn.
* Report select() debug messages at debug level 3 now.
* sntp/scripts/genLocInfo: treat raspbian as debian.
* Unity test framework fixes.
AC_CONFIG_FILES([include/Makefile])
AC_CONFIG_FILES([scripts/Makefile])
AC_CONFIG_FILES([tests/Makefile])
+AC_CONFIG_FILES([tests/fileHandlingTest.h])
AC_CONFIG_FILES([unity/Makefile])
AC_OUTPUT
if (getcwd(cwd, sizeof(cwd)) != NULL)
printf("Current working dir: %s\n", cwd);
- if(strstr(cwd,"sub/") == NULL){
- strcpy(path,"../../../sntp/tests/data/");
- }
- else
- if(strstr(cwd,"_build") == NULL){ //if it's run as make distcheck, it's in a different directory!
- strcpy(path,"../../../sntp/tests/data/");
- }
-
- else {
- strcpy(path,"../../../../sntp/tests/data/");
- }
+ printf("builddir is <@builddir@>\n");
+ printf("srcdir is <@srcdir@>\n");
+ strcpy(path,"@srcdir@/data/");
//strcpy(path,"");
strcat(path,filename);