This web mail archive is frozen.
This page is part of a frozen web archive of this mailing list.
You can still navigate around this archive, but know that no new mails
have been added to it since July of 2016.
Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.
On Jan 19, 2008, at 3:38 AM, Ralf Wildenhues wrote:
> This patch will not work with Solaris sh. Please consider using this
> instead, it should avoid the issues with both shells. (Untested.)
Ralf -- the original patch changed both ompi_get_version.m4 and
ompi_get_version.sh; your patch only changes the m4.
Is there equivalent magic for the sh file as well?
> Index: config/ompi_get_version.m4
> --- config/ompi_get_version.m4 (Revision 17165)
> +++ config/ompi_get_version.m4 (Arbeitskopie)
> @@ -41,7 +41,7 @@
> dnl quote eval to suppress macro expansion with non-GNU m4
> if test -f "$1"; then
> - [eval] "`sed -n \"\
> + ompi_vers=`sed -n "
> t clear
> : clear
> @@ -53,7 +53,8 @@
> t print
> : print
> - p\" < \"\$1\"`"
> + p" < "$1"`
> + [eval] "$ompi_vers"
> # Only print release version if it isn't 0
> if test $$2_RELEASE_VERSION -ne 0 ; then