gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: configure: remove mingw con


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: configure: remove mingw conditions, replace one gcc with $CC.
Date: Wed, 11 Sep 2019 14:45:01 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new c4ae64d79 configure: remove mingw conditions, replace one gcc with $CC.
c4ae64d79 is described below

commit c4ae64d7988d03a10fd43cf8d0fa81399382fcb3
Author: ng0 <address@hidden>
AuthorDate: Wed Sep 11 12:42:35 2019 +0000

    configure: remove mingw conditions, replace one gcc with $CC.
---
 configure.ac | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index ef68f01ee..e11fee997 100644
--- a/configure.ac
+++ b/configure.ac
@@ -62,8 +62,9 @@ AC_FUNC_FSEEKO
 
 
 CFLAGS="-Wall $CFLAGS"
+AC_MSG_CHECKING(whether cc can use -fno-strict-aliasing)
 # use '-fno-strict-aliasing', but only if the compiler can take it
-AS_IF([gcc -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1],
+AS_IF([$CC -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1],
  [CFLAGS="-fno-strict-aliasing $CFLAGS"])
 
 # A helper which allows us to check cflags if compiler
@@ -197,6 +198,7 @@ AC_SUBST(UNIXONLY)
 AC_MSG_CHECKING([for build target])
 AM_CONDITIONAL(DARWIN,  test "$build_target" = "darwin")
 AM_CONDITIONAL(SOLARIS, test "$build_target" = "solaris")
+AM_CONDITIONAL(XNETBSD, test "$build_target" = "netbsd")
 AM_CONDITIONAL(XFREEBSD, test "$build_target" = "freebsd")
 AM_CONDITIONAL(OPENBSD, test "$build_target" = "openbsd")
 AM_CONDITIONAL(LINUX, test "$build_target" = "linux")
@@ -319,8 +321,6 @@ AC_CHECK_MEMBER(struct tm.tm_gmtoff,
      ,
      [#include <time.h>])
 
-AC_CHECK_DECLS([_stati64])
-
 # 'save' libs; only those libs found so far will be
 # linked against _everywhere_.  For the others, we
 # will be more selective!
@@ -593,8 +593,6 @@ AC_LANG_POP(C)
 # check for bluetooth library
 bluetooth=0
 CHECK_LIBHEADER(BLUETOOTH, bluetooth, ba2str, 
bluetooth/bluetooth.h,bluetooth=1,)
-AS_IF([test "$build_target" = "mingw"],
- [bluetooth=1])
 AM_CONDITIONAL(HAVE_LIBBLUETOOTH, [test "$bluetooth" = 1])
 AS_IF([test "$bluetooth" = 1],
  [AC_DEFINE([HAVE_LIBBLUETOOTH],[1],[Have bluetooth library])],
@@ -657,8 +655,6 @@ AS_IF([test "x$jansson" = x1],
 pulse=0
 libpulse_msg="no"
 CHECK_LIBHEADER(LIBPULSE, pulse, pa_stream_peek, pulse/simple.h,pulse=1,)
-AS_IF([test "$build_target" = "mingw"],
-      [pulse=0])
 AS_IF([test "$pulse" = 1],
       [AC_DEFINE([HAVE_PULSE],[1],[Have libpulse(audio) library])
        libpulse_msg="yes"])
@@ -1916,7 +1912,7 @@ AC_SUBST(features_msg)
 # TODO: reduce the length of the last message block ("the message")
 
 AC_MSG_NOTICE([
-GNUnet Configuration (incomplete!)
+GNUnet Configuration
 
 gnunet version:                 ${VERSION}
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]