"Fossies" - the Fresh Open Source Software Archive

Member "n2n-3.1.1/packages/debian/configure.in" (31 Mar 2022, 1404 Bytes) of package /linux/misc/n2n-3.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure.in": 3.0_vs_3.1.1.

    1 AC_INIT([Makefile.in], 1.0)
    2 
    3 AC_ARG_WITH(edgex,    [  --with-edgex            Build for Ubiquity-X])
    4 
    5 # NOTE: this file is not actually used. You need to edit configure as well!
    6 N2N_VERSION=$(../../scripts/version.sh)
    7 
    8 DEBIAN_VERSION=`cat /etc/debian_version | grep "^8" | wc -l`
    9 
   10 EXTRA_DEP=""
   11 if test $DEBIAN_VERSION = "0"; then
   12 EXTRA_DEP=", libzstd1"
   13 fi
   14 
   15 if test "${EXTN+set}" != set; then
   16     MACHINE=`uname -m`
   17     SHORT_MACHINE=`echo $MACHINE | cut -b1-3`
   18 
   19     if test $MACHINE = "x86_64"; then
   20        EXTN="amd64"
   21     else
   22       if test $SHORT_MACHINE = "aar"; then
   23          EXTN="arm64"
   24       else
   25         if test $SHORT_MACHINE = "arm"; then
   26            EXTN="armhf"
   27         else
   28            if test $SHORT_MACHINE = "mip"; then
   29              EXTN="mips"
   30            else
   31              EXTN="i386"
   32            fi
   33          fi
   34       fi
   35     fi
   36 fi
   37 
   38 if test "${with_edgex+set}" = set; then
   39     EXTN="mipsel"
   40 fi
   41 
   42 APP=n2n
   43 DATE=`date -R`
   44 
   45 AC_SUBST(APP)
   46 AC_SUBST(N2N_VERSION)
   47 AC_SUBST(EXTN)
   48 AC_SUBST(DATE)
   49 AC_SUBST(EXTRA_DEP)
   50 
   51 AC_CONFIG_FILES(debian/changelog)
   52 AC_CONFIG_FILES(debian/files)
   53 AC_CONFIG_FILES(debian/control)
   54 AC_CONFIG_FILES(debian/rules)
   55 AC_CONFIG_FILES(../etc/systemd/system/edge.service)
   56 AC_CONFIG_FILES(../etc/systemd/system/edge@.service)
   57 AC_CONFIG_FILES(../etc/systemd/system/edge-ntopng@.service)
   58 AC_CONFIG_FILES(../etc/systemd/system/supernode.service)
   59 AC_CONFIG_FILES(Makefile)
   60 AC_OUTPUT