diff options
author | Peter Simons <simons@cryp.to> | 2023-02-20 17:36:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-20 17:36:32 +0100 |
commit | 23b15c928fc7bf94169445ac463b2b28783e7b94 (patch) | |
tree | 61e3cf21a547345370230d0f0be9a4d78f794d43 | |
parent | ac2e553eee1eb831df43f3db40b7d77f0104e823 (diff) | |
parent | 1168996c4cbf6d529d90f66bbf6b06e412bc4452 (diff) | |
download | autoconf-archive-23b15c928fc7bf94169445ac463b2b28783e7b94.tar.gz |
Merge pull request #270 from rurban/swig
fix SWIG_LIB windows newline
-rw-r--r-- | m4/ax_pkg_swig.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/ax_pkg_swig.m4 b/m4/ax_pkg_swig.m4 index 4971738..7a4196f 100644 --- a/m4/ax_pkg_swig.m4 +++ b/m4/ax_pkg_swig.m4 @@ -36,6 +36,7 @@ # Copyright (c) 2008 Rafael Laboissiere <rafael@laboissiere.net> # Copyright (c) 2008 Andrew Collier # Copyright (c) 2011 Murray Cumming <murrayc@openismus.com> +# Copyright (c) 2018 Reini Urban <rurban@cpan.org> # Copyright (c) 2021 Vincent Danjean <Vincent.Danjean@ens-lyon.org> # # This program is free software; you can redistribute it and/or modify it @@ -64,7 +65,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 14 +#serial 15 AC_DEFUN([AX_PKG_SWIG],[ # Find path to the "swig" executable. @@ -124,7 +125,7 @@ AC_DEFUN([AX_PKG_SWIG],[ m4_ifval([$3],[$3],[]) else AC_MSG_CHECKING([for SWIG library]) - SWIG_LIB=`$SWIG -swiglib` + SWIG_LIB=`$SWIG -swiglib | tr '\r\n' ' '` AC_MSG_RESULT([$SWIG_LIB]) m4_ifval([$2],[$2],[]) fi |