From e7a6573a208e3f277987eb87122e971e2ead0683 Mon Sep 17 00:00:00 2001 From: Vincent St-Amour Date: Fri, 28 Oct 2016 13:29:24 -0500 Subject: [PATCH] Fix configure.ac for NetBSD. From Aleksej Saushev. C.f. http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/racket/patches/ --- racket/src/configure | 8 ++++---- racket/src/racket/configure.ac | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/racket/src/configure b/racket/src/configure index 24b1245bf4..8525112370 100755 --- a/racket/src/configure +++ b/racket/src/configure @@ -3129,7 +3129,7 @@ if test "${enable_sysroot}" != "" ; then fi if test "${enable_racket}" != "" ; then - if test "${enable_racket}" == "auto" ; then + if test "${enable_racket}" = "auto" ; then echo "=== Creating and using local Racket executable" else echo "=== Using Racket executable ${enable_racket}" @@ -4694,7 +4694,7 @@ case "$host_os" in skip_iconv_check=yes check_for_mprotect=no # ".a" is typically not useful, since we always build a DLL: - if test "${enable_libs}" == "" ; then + if test "${enable_libs}" = "" ; then INSTALL_LIBS_ENABLE=no-install fi @@ -4749,7 +4749,7 @@ else has_winpthread=no fi - if test "${has_winpthread}" == "yes" ; then + if test "${has_winpthread}" = "yes" ; then LIBS="${LIBS} -Wl,-Bstatic -lwinpthread" fi case "$build_os" in @@ -4836,7 +4836,7 @@ fi try_no_nullability_completeness=yes # ".a" is typically not useful, since we always build a ".dylib": - if test "${enable_libs}" == "" ; then + if test "${enable_libs}" = "" ; then INSTALL_LIBS_ENABLE=no-install fi diff --git a/racket/src/racket/configure.ac b/racket/src/racket/configure.ac index 085c450650..a646cae7af 100644 --- a/racket/src/racket/configure.ac +++ b/racket/src/racket/configure.ac @@ -385,7 +385,7 @@ if test "${enable_sysroot}" != "" ; then fi if test "${enable_racket}" != "" ; then - if test "${enable_racket}" == "auto" ; then + if test "${enable_racket}" = "auto" ; then echo "=== Creating and using local Racket executable" else echo "=== Using Racket executable ${enable_racket}" @@ -803,7 +803,7 @@ case "$host_os" in skip_iconv_check=yes check_for_mprotect=no # ".a" is typically not useful, since we always build a DLL: - if test "${enable_libs}" == "" ; then + if test "${enable_libs}" = "" ; then INSTALL_LIBS_ENABLE=no-install fi AC_DEFINE(HAVE_STDINT_H,1,[Have stdint.h]) @@ -815,7 +815,7 @@ case "$host_os" in fi AC_CHECK_LIB(winpthread, pthread_create, has_winpthread=yes, has_winpthread=no) - if test "${has_winpthread}" == "yes" ; then + if test "${has_winpthread}" = "yes" ; then LIBS="${LIBS} -Wl,-Bstatic -lwinpthread" fi case "$build_os" in @@ -902,7 +902,7 @@ case "$host_os" in try_no_nullability_completeness=yes # ".a" is typically not useful, since we always build a ".dylib": - if test "${enable_libs}" == "" ; then + if test "${enable_libs}" = "" ; then INSTALL_LIBS_ENABLE=no-install fi