Skip to content

Commit c3b723a

Browse files
committed
update configure
1 parent 1bf738a commit c3b723a

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: nanonext
22
Type: Package
33
Title: NNG (Nanomsg Next Gen) Lightweight Messaging Library
4-
Version: 0.8.3.9020
4+
Version: 0.8.3.9021
55
Description: R binding for NNG (Nanomsg Next Gen), a successor to ZeroMQ. NNG is
66
a socket library providing high-performance scalability protocols, a
77
cross-platform standard for messaging and communications. Serves as a

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# nanonext 0.8.3.9020 (development)
1+
# nanonext 0.8.3.9021 (development)
22

33
*The package is now compatible (again) with currently released 'libnng' versions. It will attempt to use system 'libnng' versions >= 1.5 where detected, and only compile the bundled library where necessary.*
44

configure

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,14 @@ int main() {
5858
#if MBEDTLS_VERSION_MAJOR >= 2
5959
return 0;
6060
#else
61-
return
61+
void *err;
62+
return *err;
6263
#endif
6364
}" | ${CC} ${PKG_CFLAGS} -xc - -o /dev/null > /dev/null 2>&1
6465

6566
else
6667
echo "NANONEXT_LIBS is set... skipping detection"
67-
build-all-nanonext-libs > /dev/null 2>&1
68+
false
6869
fi
6970

7071
if [ $? -ne 0 ]
@@ -131,13 +132,14 @@ int main() {
131132
#if NNG_MAJOR_VERSION == 1 && NNG_MINOR_VERSION >= 5 || NNG_MAJOR_VERSION > 1
132133
return 0;
133134
#else
134-
return
135+
void *err;
136+
return *err;
135137
#endif
136138
}" | ${CC} ${NNG_CFLAGS} -xc - -o /dev/null > /dev/null 2>&1
137139

138140
else
139141
echo "NANONEXT_LIBS is set... skipping detection"
140-
build-all-nanonext-libs > /dev/null 2>&1
142+
false
141143
fi
142144

143145
if [ $? -ne 0 ]

0 commit comments

Comments
 (0)