mirror of https://github.com/ntop/n2n.git
Browse Source
Continuing to try and simplify the build system, calculate the remaining two autoconf variables from the existing config.mak. For the moment, leave a configure and configure.ac file in place to allow any old build systems to continue to function without errors.pull/1147/head
Hamish Coleman
1 year ago
5 changed files with 15 additions and 2963 deletions
File diff suppressed because it is too large
@ -0,0 +1,3 @@ |
|||||
|
AC_INIT([Makefile.in], 1.0) |
||||
|
# TODO: Remove this file before the next stable release |
||||
|
echo "This configure script is no longer needed, update your build system" |
@ -1,39 +0,0 @@ |
|||||
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 |
|
Loading…
Reference in new issue