mirror of
https://gitlab.com/scemama/EZFIO.git
synced 2024-11-19 04:22:25 +01:00
Added support for Ninja
This commit is contained in:
parent
a823ea208e
commit
1ca62e5352
11
configure.ac
11
configure.ac
@ -62,6 +62,17 @@ if [[ "$PYTHON" = no ]] ; then
|
|||||||
AC_MSG_ERROR([Please install Python.])
|
AC_MSG_ERROR([Please install Python.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Test Ninja
|
||||||
|
# -----------
|
||||||
|
|
||||||
|
if [[ -z "$NINJA" ]] ; then
|
||||||
|
AC_CHECK_PROG([NINJA],[ninja],[yes],[no])
|
||||||
|
if [[ "$NINJA" = no ]] ; then
|
||||||
|
NINJA=
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
AC_SUBST[[NINJA]]
|
||||||
|
|
||||||
# Test AR
|
# Test AR
|
||||||
# -------
|
# -------
|
||||||
|
|
||||||
|
@ -3,3 +3,4 @@ FC = @FC@ -fPIC
|
|||||||
FCFLAGS= @FCFLAGS@
|
FCFLAGS= @FCFLAGS@
|
||||||
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
||||||
AR = @AR@
|
AR = @AR@
|
||||||
|
NINJA = @NINJA@
|
||||||
|
@ -27,6 +27,7 @@ DEFAULT_TARGET: python
|
|||||||
../make.config:
|
../make.config:
|
||||||
make -C .. make.config
|
make -C .. make.config
|
||||||
include ../make.config
|
include ../make.config
|
||||||
|
export
|
||||||
|
|
||||||
include irpf90.make
|
include irpf90.make
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user