File tree Expand file tree Collapse file tree 5 files changed +8
-9
lines changed
Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ AC_SUBST(LTVER)
4141# Capture c flags
4242CZMQ_ORIG_CFLAGS="${CFLAGS:-none}"
4343
44- # Checks for programs.
44+ # Checks for programs
4545AC_PROG_CC
4646AC_PROG_CC_C99
4747AM_PROG_CC_C_O
@@ -50,9 +50,11 @@ AC_PROG_LIBTOOL
5050AC_PROG_SED
5151AC_PROG_AWK
5252
53- # Checks for libraries.
53+ # Checks for libraries
5454AC_CHECK_LIB ( [ pthread] , [ pthread_create] )
55+ AC_CHECK_LIB ( [ sodium] , [ sodium_init] )
5556
57+ # Code coverage
5658AC_ARG_WITH ( gcov , [ AS_HELP_STRING ( [ --with-gcov=yes/no] ,
5759 [ With GCC Code Coverage reporting.] ) ] ,
5860 [ CZMQ_GCOV="$withval"] )
@@ -209,9 +211,6 @@ AC_HEADER_TIME
209211AC_TYPE_UINT32_T
210212AC_C_VOLATILE
211213
212- # Math libraries
213- AC_CHECK_LIB ( [ m] , [ pow] )
214-
215214# These options are GNU compiler specific.
216215if test "x$GCC" = "xyes"; then
217216 CPPFLAGS="-pedantic -Werror -Wall ${CPPFLAGS}"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ extern "C" {
3232#endif
3333
3434// Opaque class structure
35- typedef struct _zhash zhash_t ;
35+ typedef struct _zhash_t zhash_t ;
3636
3737// @interface
3838// Callback function for zhash_foreach method
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ extern "C" {
3232#endif
3333
3434// Opaque class structure
35- typedef struct _zlist zlist_t ;
35+ typedef struct _zlist_t zlist_t ;
3636
3737// @interface
3838// Comparison function for zlist_sort method
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ typedef struct _item_t {
5757// ---------------------------------------------------------------------
5858// Structure of our class
5959
60- struct _zhash {
60+ struct _zhash_t {
6161 size_t size ; // Current size of hash table
6262 size_t limit ; // Current hash table limit
6363 item_t * * items ; // Array of items
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ typedef struct _node_t {
4646// ---------------------------------------------------------------------
4747// Structure of our class
4848
49- struct _zlist {
49+ struct _zlist_t {
5050 node_t * head ; // First item in list, if any
5151 node_t * tail ; // Last item in list, if any
5252 node_t * cursor ; // Current cursors for iteration
You can’t perform that action at this time.
0 commit comments