Opened 14 years ago

Closed 13 years ago

#283 closed enhancement (fixed)

m4 macro for users of yat

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.5
Component: build Version:
Keywords: Cc:

Description (last modified by Peter)

related to ticket:353

Write a small m4 macro that one can call from configure.ac.

Basic stuff:

  • Check that yat exists
  • check that GSL exists
  • check that CBLAS exists
  • and math as well

I suppose most of this code can be copied from yat's own configure.ac

Change History (9)

comment:1 Changed 13 years ago by Peter

Milestone: yat 0.x+

comment:2 Changed 13 years ago by Peter

also perhaps add some kind of flag for yat_assert.

comment:3 Changed 13 years ago by Peter

Description: modified (diff)

added relation to #253

comment:4 Changed 13 years ago by Peter

Milestone: yat 0.x+yat 0.5

comment:5 Changed 13 years ago by Peter

Owner: changed from Jari Häkkinen to Peter
Status: newassigned

comment:6 Changed 13 years ago by Peter

(In [1412]) yat autoconf macro For details on the macro see header in file.

In the description (refs #283) test was suggested to include tests for secondary libraries such as GSL. I haven't done that explicitely, but in the compilation test, I chose to include Vector.h because it uses both GSL and Boost. The linking requirements are also checked in an indirect fashion, because if the yat-config file is not manipulated it should give ldflags to all the required libs such as -lm, which implies failure if they are not present.

If anyone wants more detailed tests on these packages, I think one should use macro provided from these projects.

Should describe this and yat-config in README before closing this ticket.

comment:7 Changed 13 years ago by Peter

(In [1413]) refs #283 - added yat.m4 in "make install"

comment:8 Changed 13 years ago by Peter

(In [1414]) adding some docs on m4 macro. This info is for users and because README is merely on how to build and install the library, I decided to put this text within doxygen generated stuff (which should be more accessible for a user) - refs #283.

comment:9 Changed 13 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [1415]) added text on yat-config - closes #283

Note: See TracTickets for help on using tickets.