mirror of
https://github.com/TREX-CoE/trexio.git
synced 2024-08-25 06:31:43 +02:00
Fixed 'warning: cannot check for file existence when cross compiling'
This commit is contained in:
parent
1fde6f9aa1
commit
cd48a74fd7
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user