Changeset 2870a4 in git


Ignore:
Timestamp:
Mar 5, 2014, 1:41:05 PM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
31bb7ae2c801c87834b44c6005072547758c3278
Parents:
2dcd2472263aa4dc28eef2ff6149980cf8c3bc88
git-author:
Martin Lee <martinlee84@web.de>2014-03-05 13:41:05+01:00
git-committer:
Martin Lee <martinlee84@web.de>2014-03-06 11:04:14+01:00
Message:
fix: standalone build of factory
Location:
factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/Makefile.am

    r2dcd24 r2870a4  
    33SUBDIRS=include/factory libfac
    44
    5 AM_CPPFLAGS = -I${builddir}/include -I${srcdir}/include $(FLINT_CFLAGS) ${GMP_CFLAGS} ${NTL_CFLAGS} ${OMALLOC_CFLAGS}
     5AM_CPPFLAGS = -I${builddir}/include -I${srcdir}/include $(FLINT_CFLAGS) $(GMP_CFLAGS) $(NTL_CFLAGS) $(OMALLOC_CFLAGS)
    66
    77lib_LTLIBRARIES = libfactory.la
    88
    99libfactory_la_LIBADD     = ${builddir}/libfac/libfac.la \
    10 ${builddir}/../omalloc/libomalloc.la ${builddir}/../resources/libresources.la \
    11 $(FLINT_LIBS) ${GMP_LIBS} ${NTL_LIBS}
     10$(OMALLOC_LDFLAGS) $(OMALLOC_R_LDADD) $(FLINT_LIBS) $(GMP_LIBS) $(NTL_LIBS)
    1211
    1312libfactory_la_LDFLAGS    = -release ${PACKAGE_VERSION}
  • factory/configure.ac

    r2dcd24 r2870a4  
    340340AH_TEMPLATE([HAVE_OMALLOC], [define if build with OMALLOC])
    341341
    342 if test "x$with_Singular" = xyes; then
    343 
    344342AC_MSG_CHECKING([whether to use omalloc/omalloc.h])
    345343if test "x$ENABLE_OMALLOC" = xyes; then
     
    351349  if test "x$with_omalloc_extra_dir" != "x"; then
    352350    OMALLOC_CFLAGS="$OMALLOC_CFLAGS -I${with_omalloc_extra_dir}"
    353     OMALLOC_LDFLAGS="$OMALLOC_LDFLAGS -L${with_omalloc_extra_dir}/omalloc -L${with_omalloc_extra_dir}/resources"
     351    OMALLOC_LDFLAGS="$OMALLOC_LDFLAGS -L${with_omalloc_extra_dir}/omalloc"
     352    if test "x$with_Singular" = xyes; then
     353      OMALLOC_LDFLAGS="$OMALLOC_LDFLAGS -L${with_omalloc_extra_dir}/resources"
     354    fi
    354355  fi
    355356 
     
    365366
    366367#  OMALLOC_G_LDADD="-lresources_g -lomalloc_g"
    367   OMALLOC_R_LDADD="-lresources -lomalloc"
    368  
     368  OMALLOC_R_LDADD="-lomalloc"
     369  if test "x$with_Singular" = xyes; then
     370    OMALLOC_R_LDADD="$OMALLOC_R_LDADD -lresources"
     371  fi
     372
    369373  AC_DEFINE(HAVE_OMALLOC, 1, [omalloc support])
    370374 
     
    376380else
    377381  AC_MSG_RESULT(no)
    378 fi
    379 
    380382fi
    381383
Note: See TracChangeset for help on using the changeset viewer.