- acinclude.m4: align to neutrino's acinclude.m4; fix exec_prefix variable in cdk-mode too

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-04-16 23:21:39 +02:00
committed by Thilo Graf
parent 1b89f9241f
commit 351c377966

View File

@@ -36,11 +36,9 @@ if test "$TARGET" = "native"; then
if test "$prefix" = "NONE"; then if test "$prefix" = "NONE"; then
prefix=/usr/local prefix=/usr/local
fi fi
TARGET_PREFIX=$prefix
if test "$exec_prefix" = "NONE"; then
exec_prefix=$prefix
fi
targetprefix=$prefix targetprefix=$prefix
TARGET_PREFIX=$prefix
AC_DEFINE_UNQUOTED(TARGET_PREFIX, "$TARGET_PREFIX", [The targets prefix])
elif test "$TARGET" = "cdk"; then elif test "$TARGET" = "cdk"; then
AC_MSG_RESULT(cdk) AC_MSG_RESULT(cdk)
@@ -65,6 +63,10 @@ else
AC_MSG_ERROR([invalid target $TARGET, choose on from native,cdk]); AC_MSG_ERROR([invalid target $TARGET, choose on from native,cdk]);
fi fi
if test "$exec_prefix" = "NONE"; then
exec_prefix=$prefix
fi
AC_CANONICAL_BUILD AC_CANONICAL_BUILD
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_SYS_LARGEFILE AC_SYS_LARGEFILE