From: Alan W. I. <ir...@be...> - 2003-01-31 21:02:13
|
I have just committed a swig version check according to Rafael's detailed (private) suggestion to me. The result is $(SWIG) is a no-op if the developer does not have the correct version (1.3.17). This change should not affect ordinary users who won't be using swig in any case. Since I didn't completely understand Rafael's suggested syntax, I tested this both with swig version 1.3.17 and other versions, and it does what it is supposed to do. Actually, I didn't want an exact test for 1.3.17 since I am fairly sure that higher versions of 1.3.x will work as well (if/when they come out). However, I didn't know how to check for micro-version < 17 so I left that as a != "17" test for now. But, Rafael, if you have any ideas on how to change that test to < "17", by all means do so. (A test for < "17" does not work and gives an error message concerning an unknown file 17.) Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |