Alexandre Julliard : configure: Define AS_VAR_APPEND if necessary for older autoconf versions.

Alexandre Julliard julliard at winehq.org
Mon Feb 22 08:46:47 CST 2010


Module: wine
Branch: master
Commit: bc82a78635e924c8cd49bf5eff39b2e143036dc0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bc82a78635e924c8cd49bf5eff39b2e143036dc0

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Feb 20 10:59:04 2010 +0100

configure: Define AS_VAR_APPEND if necessary for older autoconf versions.

---

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index ba54bcd..d5649f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,6 +11,10 @@ AC_CONFIG_SRCDIR(server/atom.c)
 AC_CONFIG_HEADERS(include/config.h)
 AC_CONFIG_AUX_DIR(tools)
 
+dnl autoconf versions before 2.63b don't have AS_VAR_APPEND
+m4_ifdef([AS_VAR_APPEND],,[as_fn_append () { eval $[1]=\$$[1]\$[2]; }
+AC_DEFUN([AS_VAR_APPEND],[as_fn_append $1 $2])])dnl
+
 dnl **** Command-line arguments ****
 
 AC_ARG_ENABLE(win16, AS_HELP_STRING([--disable-win16],[do not include Win16 support]))




More information about the wine-cvs mailing list