|
How do I check for something in the configure script? |
|
Tuesday, 13 September 2005 |
|
Check the current input script configure.ac and use trial and error to program m4. It is a terrible language, but in combination with some simple shell scripting you should be able to get the work done. The general idea of configure is to create a small test program and check whether the compilation fails or succeeds. Note that you should never write tests that depend on the execution of files; on many systems we can't execute MPI files on login nodes!
|