Changeset 1479 for trunk/build_support


Ignore:
Timestamp:
Sep 9, 2008, 1:11:27 PM (13 years ago)
Author:
Peter
Message:

fixes #405

Setting AM_*FLAGS in configure. There are two paths to end up in
AM_*FLAGS. 1) you are set through corresponding *FLAGS, then swapped
into EXTRA_*FLAGS, and finally concatenated into AM_*FLAGS. These
flags are also stored in EXTRA_*FLAGS and are used in yat-config to
let the user of yat know which flags are important when using
yat. Flags that are not important for using yat, but mostly useful
when building yat, are set directly to AM_*FLAGS.

It is, of course, an open question which flags should be propagated to
a user, but for now I chose to propagate, on top of those that are
essential, gsl flags -DHAVE_INLINE and -DGSL_RANGE_CHECK_OFF.

This probably makes yat.am obsolete, but I keep it for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build_support/yat.am

    r1469 r1479  
    2525##
    2626
    27 AM_CPPFLAGS = -I$(top_srcdir) $(EXTRA_CPPFLAGS)
    28 AM_CXXFLAGS = $(EXTRA_CXXFLAGS)
    29 AM_LDFLAGS = $(EXTRA_LDFLAGS)
     27#AM_CPPFLAGS = -I$(top_srcdir) $(EXTRA_CPPFLAGS)
     28#AM_CXXFLAGS = $(EXTRA_CXXFLAGS)
     29#AM_LDFLAGS = $(EXTRA_LDFLAGS)
Note: See TracChangeset for help on using the changeset viewer.