[geany/geany-plugins] e07cba: Define AS_VAR_COPY for old Autoconf

Colomban Wendling git-noreply at xxxxx
Sun Feb 2 20:11:07 UTC 2020

Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 02 Feb 2020 20:11:07 UTC
Commit:      e07cba1e1a8b13ab70afe69bd4b0d55a5aa3a60a

Log Message:
Define AS_VAR_COPY for old Autoconf

Implementation shamelessly copied over from Autoconf's m4sh.m4, GPLv3+.

Modified Paths:

Modified: build/compat.m4
6 lines changed, 6 insertions(+), 0 deletions(-)
@@ -1,3 +1,9 @@
+dnl taken from Autoconf's m4sh.m4, GPLv3+
+m4_ifndef([AS_VAR_COPY], [
+[AS_LITERAL_WORD_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])])
 dnl taken from pkg-config's pkg.m4, GPLv2+
 m4_ifndef([PKG_CHECK_VAR], [

This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).

More information about the Plugins-Commits mailing list