[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Tue Jun 16 18:37:47 UTC 2020


The branch, master has been updated
       via  38ecf188 Only complain about lack of g++ on linux for now.
      from  29be5edd Add configure check for md2man functioning; split long error lines.

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 38ecf188d91096ca383d115243f91fae70173ce5
Author: Wayne Davison <wayne at opencoder.net>
Date:   Tue Jun 16 11:35:54 2020 -0700

    Only complain about lack of g++ on linux for now.

-----------------------------------------------------------------------

Summary of changes:
 configure.ac | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/configure.ac b/configure.ac
index f70bbaea..c9e4256d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -197,10 +197,17 @@ if test x"$enable_simd" != x"no"; then
     # For x86-64 SIMD, g++ is also required
     if test x"$build_cpu" = x"x86_64"; then
 	if test x"$CXX" = x"g++"; then
+	    # AC_MSG_RESULT() called below
 	    SIMD="$SIMD x86_64"
 	else
 	    AC_MSG_RESULT(no)
-	    AC_MSG_ERROR(Failed to find g++ for SIMD speedups. Use --disable-simd to continue without it.)
+	    case "$host_os" in
+	    *linux*)
+		AC_MSG_ERROR(Failed to find g++ for SIMD speedups. Use --disable-simd to continue without it.)
+		;;
+	    *)
+		;;
+	    esac
 	fi
     fi
 fi
@@ -208,7 +215,7 @@ fi
 if test x"$SIMD" != x""; then
     SIMD=`echo "$SIMD" | sed -e 's/^ *//'`
     AC_MSG_RESULT([yes ($SIMD)])
-	AC_DEFINE(HAVE_SIMD, 1, [Define to 1 to enable SIMD optimizations])
+    AC_DEFINE(HAVE_SIMD, 1, [Define to 1 to enable SIMD optimizations])
     SIMD=`echo "$SIMD" | sed -e 's/[[^ ]]\+/$(SIMD_&)/g'`
     # We only use g++ for its target attribute dispatching, disable unneeded bulky features
     CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-rtti"


-- 
The rsync repository.



More information about the rsync-cvs mailing list