Changeset b3cae5


Ignore:
Timestamp:
Feb 15, 2017, 4:39:24 PM (9 years ago)
Author:
Frederik Heber <heber@…>
Children:
dee3f2
Parents:
9cebf9
Message:

Made interface_fcs compilation depend on whether we are inside fcs.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r9cebf9 rb3cae5  
    224224
    225225# Set up information for FCS package if inside the FCS tree.
     226have_fcs="no"
    226227m4_ifdef([AX_FCS_PACKAGE_RESET],[
    227228AX_FCS_PACKAGE_RESET
     
    230231AX_FCS_PACKAGE_ADD([vmg_LDADD],[$VTK_LDFLAGS $VTK_LIBS $BOOST_SYSTEM_LDFLAGS $BOOST_SYSTEM_LIBS $BOOST_FILESYSTEM_LDFLAGS $BOOST_FILESYSTEM_LIBS $LAPACK_LIBS $BLAS_LIBS])
    231232AX_FCS_PACKAGE_ADD([CXXLIBS_USE],[yes])
    232 ])
     233have_fsc="yes"
     234])
     235AM_CONDITIONAL(COND_HAVE_FCS, [test x"have_fcs" = xyes])
    233236
    234237# Checks for structures.
  • src/Makefile.am

    r9cebf9 rb3cae5  
    8787        units/particle/bspline.cpp \
    8888        units/particle/comm_mpi_particle.cpp \
    89         units/particle/interface_fcs.cpp \
    90         units/particle/interface_fcs.h \
    9189        units/particle/interface_particles.cpp \
    9290        units/particle/interpolation.cpp \
     
    9492        units/particle/particle.cpp \
    9593        mg.cpp
     94       
     95VMGFCSSOURCES = \
     96        units/particle/interface_fcs.cpp
     97
     98VMGFCSHEADERS = \
     99        units/particle/interface_fcs.h
    96100
    97101VMGHEADERS =  \
     
    189193
    190194nobase_libvmg_la_include_HEADERS = ${VMGHEADERS}
     195if COND_HAVE_FCS
     196nobase_libvmg_la_include_HEADERS += ${VMGFCSHEADERS}
     197endif
    191198
    192199## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
     
    199206## which are already listed elsewhere in a _HEADERS variable assignment.
    200207libvmg_la_SOURCES = ${VMGSOURCES}
     208if COND_HAVE_FCS
     209libvmg_la_SOURCES += ${VMGFCSSOURCES}
     210endif
    201211
    202212## Instruct libtool to include ABI version information in the generated shared
Note: See TracChangeset for help on using the changeset viewer.