mirror of
https://gitlab.com/scemama/EZFIO.git
synced 2024-12-22 12:23:34 +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.])
|
||||
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
|
||||
# -------
|
||||
|
||||
|
@ -3,3 +3,4 @@ FC = @FC@ -fPIC
|
||||
FCFLAGS= @FCFLAGS@
|
||||
RANLIB = @RANLIB@
|
||||
AR = @AR@
|
||||
NINJA = @NINJA@
|
||||
|
@ -27,6 +27,7 @@ DEFAULT_TARGET: python
|
||||
../make.config:
|
||||
make -C .. make.config
|
||||
include ../make.config
|
||||
export
|
||||
|
||||
include irpf90.make
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user