1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-07-22 18:57:39 +02:00

Fixed 'warning: cannot check for file existence when cross compiling'

This commit is contained in:
Anthony Scemama 2022-09-06 17:19:38 +02:00
parent 1fde6f9aa1
commit cd48a74fd7

View File

@ -19,8 +19,8 @@ LT_INIT
# Activate developer mode when the source is the git repository.
# Otherwise, it is the source distribution and the developer mode should not be activated.
TEST_IFEXISTS=".git"
AC_CHECK_FILE([$TEST_IFEXISTS],
[enable_maintainer_mode="yes"],
AS_IF([test -d $TEST_IFEXISTS],
[enable_maintainer_mode="yes"]
)
VERSION_MAJOR=`echo ${PACKAGE_VERSION} | cut -d. -f1`