n2n/packages/debian/configure.in

40 lines
845 B
Plaintext
Raw Normal View History

2018-06-20 20:23:28 +02:00
AC_INIT([Makefile.in], 1.0)
AC_ARG_WITH(edgex, [ --with-edgex Build for Ubiquity-X])
2019-07-06 14:40:16 +02:00
# NOTE: this file is not actually used. You need to edit configure as well!
N2N_VERSION=$(../../scripts/version.sh)
2019-07-06 14:40:16 +02:00
if test "${EXTN+set}" != set; then
MACHINE=`uname -m`
SHORT_MACHINE=`echo $MACHINE | cut -b1-3`
if test $MACHINE = "x86_64"; then
EXTN="amd64"
2019-01-26 09:33:24 +01:00
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
2018-06-20 20:23:28 +02:00
fi
if test "${with_edgex+set}" = set; then
EXTN="mipsel"
fi
AC_SUBST(N2N_VERSION)
2018-06-20 20:23:28 +02:00
AC_SUBST(EXTN)
2018-08-17 10:17:09 +02:00
AC_CONFIG_FILES(Makefile)
2018-06-20 20:23:28 +02:00
AC_OUTPUT