gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 59a03fb: bootstrap.conf: no more need to fix i


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 59a03fb: bootstrap.conf: no more need to fix in ax_pthread.m4
Date: Wed, 14 Apr 2021 19:50:23 -0400 (EDT)

branch: master
commit 59a03fbfa81cd0eb42b703f576a94883e5cf016a
Author: Mohammad Akhlaghi <mohammad@akhlaghi.org>
Commit: Mohammad Akhlaghi <mohammad@akhlaghi.org>

    bootstrap.conf: no more need to fix in ax_pthread.m4
    
    Until now, the 'ax_pthread.m4' check of Autoconf Archives used 'as_echo'
    that would create trouble with the newer versions of GNU Autoconf. In a
    recent pull of their commits, I noticed that this issue has been fixed and
    there is no more need for the manual correction here.
    
    With this commit, that part of 'bootstrap.conf' has been removed.
---
 bootstrap.conf | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index bbf7318..e2f2630 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -123,14 +123,6 @@ bootstrap_post_import_hook()
     done
   fi
 
-  # With Autoconf 2.70, the 'as_echo' has been depreciated and will cause
-  # an error with autoreconf. But unfortunately the ax_pthread test still
-  # uses it. So until it is fixed there, we need to manually correct it
-  # here.
-  sed -e's|\$as_echo \"\$ac_link\"|AS_ECHO([\"\$ac_link\"])|' \
-      $m4_base/ax_pthread.m4 > $m4_base/ax_pthread_tmp.m4
-  mv $m4_base/ax_pthread_tmp.m4 $m4_base/ax_pthread.m4
-
   # Hack in 'AC_LIB_HAVE_LINKFLAGS' so it doesn't search for shared
   # libraries when '--disable-shared' is used.
   sed 's|if test -n \"$acl_shlibext\"; then|if test -n \"\$acl_shlibext\" -a 
\"X$enable_shared\" = \"Xyes\"; then|' bootstrapped/m4/lib-link.m4 > 
bootstrapped/m4/lib-link_tmp.m4



reply via email to

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