mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
018add0280
By switching to the "any" architecture, we no longer need to template the debian/control file. This simply claims that the package can be built on any known debian arch - which we currently think is true - so it will help future portability.
40 lines
845 B
Plaintext
40 lines
845 B
Plaintext
AC_INIT([Makefile.in], 1.0)
|
|
|
|
AC_ARG_WITH(edgex, [ --with-edgex Build for Ubiquity-X])
|
|
|
|
# NOTE: this file is not actually used. You need to edit configure as well!
|
|
N2N_VERSION=$(../../scripts/version.sh)
|
|
|
|
if test "${EXTN+set}" != set; then
|
|
MACHINE=`uname -m`
|
|
SHORT_MACHINE=`echo $MACHINE | cut -b1-3`
|
|
|
|
if test $MACHINE = "x86_64"; then
|
|
EXTN="amd64"
|
|
else
|
|
if test $SHORT_MACHINE = "aar"; then
|
|
EXTN="arm64"
|
|
else
|
|
if test $SHORT_MACHINE = "arm"; then
|
|
EXTN="armhf"
|
|
else
|
|
if test $SHORT_MACHINE = "mip"; then
|
|
EXTN="mips"
|
|
else
|
|
EXTN="i386"
|
|
fi
|
|
fi
|
|
fi
|
|
fi
|
|
fi
|
|
|
|
if test "${with_edgex+set}" = set; then
|
|
EXTN="mipsel"
|
|
fi
|
|
|
|
AC_SUBST(N2N_VERSION)
|
|
AC_SUBST(EXTN)
|
|
|
|
AC_CONFIG_FILES(Makefile)
|
|
AC_OUTPUT
|