Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
ad286d94
Commit
ad286d94
authored
Feb 03, 2016
by
Constantin Rack
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1763 from CommanderBubble/patch-1
configure doesn't correctly determine mingw64
parents
0329402d
f38062e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
acinclude.m4
acinclude.m4
+2
-2
configure.ac
configure.ac
+6
-6
No files found.
acinclude.m4
View file @
ad286d94
...
...
@@ -7,7 +7,7 @@ AC_DEFUN([LIBZMQ_CONFIG_LIBTOOL], [{
# Libtool configuration for different targets
case "${host_os}" in
*mingw
32
*|*cygwin*)
*mingw*|*cygwin*)
# Disable static build by default
AC_DISABLE_STATIC
;;
...
...
@@ -117,7 +117,7 @@ AC_DEFUN([LIBZMQ_CHECK_DOC_BUILD], [{
fi
# Do not install man pages if on mingw
if test "x$libzmq_on_mingw
32
" = "xyes"; then
if test "x$libzmq_on_mingw" = "xyes"; then
libzmq_install_man="no"
fi
fi
...
...
configure.ac
View file @
ad286d94
...
...
@@ -134,7 +134,7 @@ libzmq_werror="yes"
libzmq_dso_visibility="yes"
# Platform specific checks
libzmq_on_mingw
32
="no"
libzmq_on_mingw="no"
libzmq_on_cygwin="no"
libzmq_on_android="no"
libzmq_on_linux="no"
...
...
@@ -250,7 +250,7 @@ case "${host_os}" in
;;
*mingw*)
AC_DEFINE(ZMQ_HAVE_WINDOWS, 1, [Have Windows OS])
AC_DEFINE(ZMQ_HAVE_MINGW
32, 1, [Have MinGW32
])
AC_DEFINE(ZMQ_HAVE_MINGW
, 1, [Have MinGW
])
AC_CHECK_HEADERS(windows.h)
AC_CHECK_LIB(ws2_32, main, ,
[AC_MSG_ERROR([cannot link with ws2_32.dll.])])
...
...
@@ -258,11 +258,11 @@ case "${host_os}" in
[AC_MSG_ERROR([cannot link with rpcrt4.dll.])])
AC_CHECK_LIB(iphlpapi, main, ,
[AC_MSG_ERROR([cannot link with iphlpapi.dll.])])
# mingw
32
defines __int64_t as long long
# mingw defines __int64_t as long long
AC_LANG_PUSH([C++])
LIBZMQ_CHECK_LANG_FLAG_PREPEND([-Wno-long-long])
AC_LANG_POP([C++])
libzmq_on_mingw
32
="yes"
libzmq_on_mingw="yes"
libzmq_dso_visibility="no"
if test "x$enable_static" = "xyes"; then
...
...
@@ -301,7 +301,7 @@ AC_CHECK_LIB([pthread], [pthread_create])
AC_CHECK_LIB([rt], [clock_gettime])
#
# Check if the compiler supports -fvisibility=hidden flag. MinGW
32
uses __declspec
# Check if the compiler supports -fvisibility=hidden flag. MinGW uses __declspec
#
if test "x$libzmq_dso_visibility" = "xyes"; then
AC_LANG_PUSH([C++])
...
...
@@ -536,7 +536,7 @@ fi
AC_LANG_POP([C++])
AM_CONDITIONAL(BUILD_TIPC, test "x$libzmq_tipc_support" = "xyes")
AM_CONDITIONAL(ON_MINGW, test "x$libzmq_on_mingw
32
" = "xyes")
AM_CONDITIONAL(ON_MINGW, test "x$libzmq_on_mingw" = "xyes")
AM_CONDITIONAL(ON_CYGWIN, test "x$libzmq_on_cygwin" = "xyes")
AM_CONDITIONAL(ON_ANDROID, test "x$libzmq_on_android" = "xyes")
AM_CONDITIONAL(ON_LINUX, test "x$libzmq_on_linux" = "xyes")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment