mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
release of tvmet (inactive for 2 years and developer unreachable) as the basis for eigen2, because it provides seemingly good expression template mechanisms, we want that, and it would take years to reinvent that wheel. We'll see. So this commit imports the last tvmet release.
22 lines
651 B
Plaintext
22 lines
651 B
Plaintext
dnl $Id: ac_set_compiler.m4,v 1.2 2004/04/23 23:41:52 opetzold Exp $
|
|
dnl
|
|
dnl AC_SET_COMPILER: borrowed from blitz++
|
|
dnl
|
|
|
|
AC_DEFUN([AC_SET_COMPILER],
|
|
[cxxwith=`echo $1 | sed -e 's/ /@/'`
|
|
case "$cxxwith" in
|
|
*:*@*) # Full initialization syntax
|
|
CXX=`echo "$cxxwith" | sed -n -e 's/.*:\(.*\)@.*/\1/p'`
|
|
CXXFLAGS=`echo "$cxxwith" | sed -n -e 's/.*:.*@\(.*\)/\1/p'`
|
|
;;
|
|
*:*) # Simple initialization syntax
|
|
CXX=`echo "$cxxwith" | sed -n -e 's/.*:\(.*\)/\1/p'`
|
|
CXXFLAGS=$3
|
|
;;
|
|
*) # Default values
|
|
CXX=$2
|
|
CXXFLAGS=$3
|
|
;;
|
|
esac])
|