2
2
# Process this file with autoconf to produce a configure script.
3
3
4
4
AC_PREREQ ( [ 2.65] )
5
- AC_INIT ( [ ach] ,
[ 1.0.1 ] ,
[ [email protected] ] )
5
+ AC_INIT ( [ ach] ,
[ 1.0.2~GIT ] ,
[ [email protected] ] )
6
6
AM_INIT_AUTOMAKE ( [ -Wall] )
7
7
AC_CONFIG_SRCDIR ( [ src/ach.c] )
8
8
AC_CONFIG_HEADERS ( [ config.h] )
@@ -19,27 +19,27 @@ AC_C_INLINE
19
19
AC_C_CONST
20
20
21
21
# Checks for header files.
22
- AC_CHECK_HEADERS ( [ arpa/inet.h fcntl.h inttypes.h stdint.h stdlib.h string.h sys/socket.h syslog.h unistd.h time.h] )
22
+ dnl AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h stdint.h stdlib.h string.h sys/socket.h syslog.h unistd.h time.h])
23
23
24
24
# Checks for typedefs, structures, and compiler characteristics.
25
- AC_HEADER_STDBOOL
26
- AC_TYPE_INT32_T
27
- AC_TYPE_MODE_T
28
- AC_TYPE_OFF_T
29
- AC_TYPE_PID_T
30
- AC_TYPE_SIZE_T
31
- AC_TYPE_SSIZE_T
32
- AC_TYPE_UINT32_T
33
- AC_TYPE_UINT64_T
34
- AC_TYPE_UINT8_T
35
-
36
- AC_CHECK_SIZEOF ( void * )
37
- AC_CHECK_SIZEOF ( uint64_t )
38
- AC_CHECK_SIZEOF ( unsigned long )
39
- AC_CHECK_SIZEOF ( unsigned long long )
25
+ dnl AC_HEADER_STDBOOL
26
+ dnl AC_TYPE_INT32_T
27
+ dnl AC_TYPE_MODE_T
28
+ dnl AC_TYPE_OFF_T
29
+ dnl AC_TYPE_PID_T
30
+ dnl AC_TYPE_SIZE_T
31
+ dnl AC_TYPE_SSIZE_T
32
+ dnl AC_TYPE_UINT32_T
33
+ dnl AC_TYPE_UINT64_T
34
+ dnl AC_TYPE_UINT8_T
35
+
36
+ dnl AC_CHECK_SIZEOF(void *)
37
+ dnl AC_CHECK_SIZEOF(uint64_t)
38
+ dnl AC_CHECK_SIZEOF(unsigned long)
39
+ dnl AC_CHECK_SIZEOF(unsigned long long)
40
40
41
41
# Check 32/64 safe format specifiers
42
- AC_CHECK_DECLS ( [ PRIuPTR,PRIu64,PRIx64] )
42
+ dnl AC_CHECK_DECLS([PRIuPTR,PRIu64,PRIx64])
43
43
AC_CHECK_DECL ( [ PRIuPTR] ,
44
44
[ ] ,
45
45
[ AC_DEFINE ( [ PRIuPTR] , [ "ul"] , [ Assume this is unsigned long] ) ] )
@@ -51,14 +51,14 @@ AC_CHECK_DECL([CLOCK_REALTIME],
51
51
[ [ #include <time.h>] ] )
52
52
53
53
# check pthread decls
54
- AC_CHECK_DECL ( [ PTHREAD_MUTEX_ERRORCHECK_NP] ,
55
- [ ] , [ ] ,
56
- [ #include<pthread.h>] )
54
+ dnl AC_CHECK_DECL([PTHREAD_MUTEX_ERRORCHECK_NP],
55
+ dnl [], [],
56
+ dnl [#include<pthread.h>])
57
57
58
- AC_CHECK_DECL ( [ PTHREAD_PRIO_INHERIT] ,
59
- [ ] , [ ] , [ #include<pthread.h>] )
58
+ dnl AC_CHECK_DECL( [PTHREAD_PRIO_INHERIT],
59
+ dnl [], [], [#include<pthread.h>])
60
60
61
- AC_CHECK_DECL ( [ _POSIX_THREAD_PROCESS_SHARED] )
61
+ dnl AC_CHECK_DECL([_POSIX_THREAD_PROCESS_SHARED])
62
62
63
63
# # Checks for library functions.
64
64
@@ -70,7 +70,7 @@ AC_CHECK_DECL([_POSIX_THREAD_PROCESS_SHARED])
70
70
# AC_FUNC_REALLOC
71
71
# AC_FUNC_STRTOD
72
72
73
- AC_CHECK_FUNCS ( [ ftruncate isascii memmove memset munmap socket strcasecmp strchr strdup strerror strtol] )
73
+ dnl AC_CHECK_FUNCS([ftruncate isascii memmove memset munmap socket strcasecmp strchr strdup strerror strtol])
74
74
AC_SEARCH_LIBS ( [ pthread_create] ,[ pthread] )
75
75
AC_SEARCH_LIBS ( [ clock_gettime] ,[ rt] )
76
76
0 commit comments