You rock! I was literally just trying to figure out something exactly like this. Your version is much more elegant than my current attempt. :-)
Many thanks! On Sep 9, 2010, at 7:43 AM, Ralf Wildenhues wrote: > Hi Jeff, > > Yes, sorry for not making this clear earlier: AS_VAR_COPY is fairly new, > and was introduced because AS_VAR_GET has problems. You should be able > to workaround it by placing something like > > m4_ifndef([AS_VAR_COPY], > [m4_define([AS_VAR_COPY], > [AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])])]) > > early into the m4 stream (untested). > > Cheers, > Ralf > > * Jeff Squyres wrote on Thu, Sep 09, 2010 at 07:34:07AM CEST: >> I'm checking into this. >> >> I'm guessing that the problem is that the autoconf we use to build the 1.4 >> tarballs doesn't have AS_VAR_COPY. Arrgghhh... >> >> >> >> On Sep 9, 2010, at 3:02 AM, MPI Team wrote: >> >>> >>> ERROR: Command returned a non-zero exist status (v1.4): >>> ./autogen.sh >>> >>> Start time: Wed Sep 8 21:00:07 EDT 2010 >>> End time: Wed Sep 8 21:02:49 EDT 2010 >>> >>> ======================================================================= >>> [... previous lines snipped ...] >>> >>> *** Found configure.(in|ac) >>> *** >>> /home/mpiteam/openmpi/nightly-tarball-build-root/v1.4/create-r23733/ompi/ompi/contrib/vt/vt/extlib/otf >>> >>> *** Running GNU tools >>> [Running] libtoolize --automake --copy >>> [Running] aclocal >>> [Running] autoheader >>> [Running] autoconf >>> [Running] automake --foreign -a --copy --include-deps >>> ++ Patching configure for Libtool PGI 10 fortran compiler name >>> ++ Patching configure for Libtool PGI version number regexps >>> >>> <== Back in >>> /home/mpiteam/openmpi/nightly-tarball-build-root/v1.4/create-r23733/ompi/ompi/contrib/vt >>> <== autogen.sh continuing... >>> >>> *** Found configure.(in|ac) >>> *** >>> /home/mpiteam/openmpi/nightly-tarball-build-root/v1.4/create-r23733/ompi >>> >>> *** Running GNU tools >>> [Running] autom4te --language=m4sh ompi_get_version.m4sh -o >>> ompi_get_version.sh >>> [Running] libtoolize --automake --copy --ltdl >>> ** Adjusting libltdl for OMPI :-( >>> ++ patching for argz bugfix in libtool 1.5 >>> -- your libtool doesn't need this! yay! >>> ++ patching 64-bit OS X bug in ltmain.sh >>> -- your libtool doesn't need this! yay! >>> ++ RTLD_GLOBAL in libltdl >>> -- your libltdl doesn't need this! yay! >>> grep: configure: No such file or directory >>> ++ patching for ifort (LT 2.2.0-4) >>> -- your libltdl doesn't need this! yay! >>> [Running] aclocal -I config >>> [Running] autoheader >>> ** Adjusting libtool for OMPI :-( >>> ++ patching for pathscale multi-line output (LT 2.x) >>> ++ patching for ifort (LT 2.2.0-4) >>> -- your libltdl doesn't need this! yay! >>> ++ patching to remove solaris Cstd >>> ++ patching for Sun Studio Fortran compilers >>> [Running] autoconf >>> configure:36430: error: possibly undefined macro: AS_VAR_COPY >>> If this token and others are legitimate, please use m4_pattern_allow. >>> See the Autoconf documentation. >>> >>> ------------------------------------------------------------------------- >>> It seems that the execution of "autoconf" has failed. See above for >>> the specific error message that caused it to abort. >>> ------------------------------------------------------------------------- >>> >>> ======================================================================= >>> >>> Your friendly daemon, >>> Cyrador >>> _______________________________________________ >>> testing mailing list >>> test...@open-mpi.org >>> http://www.open-mpi.org/mailman/listinfo.cgi/testing > -- > Ralf Wildenhues Institut fuer Numerische Simulation, Universitaet Bonn > Wegelerstrasse 6, D-53115 Bonn > tel: +49 228 733178 mailto:wildenh...@ins.uni-bonn.de > fax: +49 228 737527 http://wissrech.ins.uni-bonn.de/people/wildenhues.html > _______________________________________________ > devel mailing list > de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/devel -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/