Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use C++ when checking for eigen (autotools) #3690

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions M2/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,7 @@ found and $msolve_min_version is required; will build])
[AC_MSG_RESULT([no, will build])
BUILD_msolve=yes])])

AC_LANG([C++])
AS_IF([test $BUILD_eigen = no],
[AC_MSG_CHECKING([whether pkg-config provides flags for eigen])
AS_IF([$PKG_CONFIG --exists eigen3],
Expand Down
2 changes: 1 addition & 1 deletion M2/libraries/cddlib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ VERSION = 0.94m
# https://www.inf.ethz.ch/personal/fukudak/cdd_home/
URL = https://macaulay2.com/Downloads/OtherSourceCode
ALLOPTIONS = SUBDIRS="lib-src" gmpdir=/nowhere
CONFIGOPTIONS = $(ALLOPTIONS)
CONFIGOPTIONS = $(ALLOPTIONS) MAKE="$(MAKE)"

# we build mpir as gmp statically, so we can't make a shared library here
CONFIGOPTIONS += --disable-shared
Expand Down
2 changes: 1 addition & 1 deletion M2/libraries/givaro/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ LICENSEFILES = COPYRIGHT Licence_CeCILL-B_V1-en.txt Licence_CeCILL-B_V1-fr.txt
# linking givaro as a shared library is bad, because then under Mac OS X its static constructors
# get run before ours do, and it calls our "operator new", which calls GC_malloc, before we've
# had a chance to initialize it.
CONFIGOPTIONS += --disable-shared
CONFIGOPTIONS += --disable-shared MAKE="$(MAKE)"

include ../Makefile.library
Makefile: @srcdir@/Makefile.in ; cd ../.. && ./config.status libraries/givaro/Makefile
Expand Down