Skip to content

Commit

Permalink
build: remove --enable-exampledir
Browse files Browse the repository at this point in the history
This is no longer used with the recent config example removal.

Signed-off-by: David Lamparter <equinox@diac24.net>
  • Loading branch information
eqvinox committed Jun 24, 2021
1 parent 7bee25f commit 2ee5fdb
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 24 deletions.
3 changes: 0 additions & 3 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ CLEANFILES =
DISTCLEANFILES =
SUFFIXES =

examplesdir = $(exampledir)

bin_PROGRAMS =
sbin_PROGRAMS =
sbin_SCRIPTS =
Expand All @@ -122,7 +120,6 @@ lib_LTLIBRARIES =
module_LTLIBRARIES =
pkginclude_HEADERS =
nodist_pkginclude_HEADERS =
dist_examples_DATA =
dist_yangmodels_DATA =
man_MANS =
vtysh_scan =
Expand Down
2 changes: 1 addition & 1 deletion buildtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# builds some git commit of FRR in some different configurations
# usage: buildtest.sh [commit [configurations...]]

basecfg="--prefix=/usr --enable-user=frr --enable-group=frr --enable-vty-group=frr --enable-configfile-mask=0660 --enable-logfile-mask=0640 --enable-vtysh --sysconfdir=/etc/frr --enable-exampledir=/etc/frr/samples --localstatedir=/var/run/frr --libdir=/usr/lib64/frr --enable-rtadv --disable-static --enable-isisd --enable-multipath=0 --enable-pimd --enable-werror"
basecfg="--prefix=/usr --enable-user=frr --enable-group=frr --enable-vty-group=frr --enable-configfile-mask=0660 --enable-logfile-mask=0640 --enable-vtysh --sysconfdir=/etc/frr --localstatedir=/var/run/frr --libdir=/usr/lib64/frr --enable-rtadv --disable-static --enable-isisd --enable-multipath=0 --enable-pimd --enable-werror"

configs_base="gcc|$basecfg"

Expand Down
10 changes: 0 additions & 10 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,6 @@ AC_CONFIG_HEADERS([config.h])
AC_PATH_PROG([PERL], [perl])
PKG_PROG_PKG_CONFIG

dnl default is to match previous behavior
exampledir=${sysconfdir}
AC_ARG_ENABLE([exampledir],
AS_HELP_STRING([--enable-exampledir],
[specify alternate directory for examples]),
exampledir="$enableval",)
dnl XXX add --exampledir to autoconf standard directory list somehow
AC_SUBST([exampledir])

dnl default is to match previous behavior
pkgsrcrcdir=""
AC_ARG_ENABLE([pkgsrcrcdir],
Expand Down Expand Up @@ -2693,7 +2684,6 @@ make : ${MAKE-make}
linker flags : ${LDFLAGS} ${SAN_FLAGS} ${LIBS} ${LIBCAP} ${LIBREADLINE} ${LIBM}
state file directory : ${frr_statedir}
config file directory : `eval echo \`echo ${sysconfdir}\``
example directory : `eval echo \`echo ${exampledir}\``
module directory : ${CFG_MODULE}
script directory : ${CFG_SCRIPT}
user to run as : ${enable_user}
Expand Down
1 change: 0 additions & 1 deletion doc/developer/building-frr-for-centos6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ an example.)
--enable-user=frr \
--enable-group=frr \
--enable-vty-group=frrvty \
--disable-exampledir \
--disable-ldpd \
--enable-fpm \
--with-pkg-git-version \
Expand Down
1 change: 0 additions & 1 deletion doc/developer/building-frr-for-centos7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ an example.)
--enable-group=frr \
--enable-vty-group=frrvty \
--enable-systemd=yes \
--disable-exampledir \
--disable-ldpd \
--enable-fpm \
--with-pkg-git-version \
Expand Down
1 change: 0 additions & 1 deletion doc/developer/building-frr-for-centos8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ an example.)
--enable-group=frr \
--enable-vty-group=frrvty \
--enable-systemd=yes \
--disable-exampledir \
--disable-ldpd \
--enable-fpm \
--with-pkg-git-version \
Expand Down
1 change: 0 additions & 1 deletion doc/developer/building-frr-for-debian8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ an example.)
cd frr
./bootstrap.sh
./configure \
--enable-exampledir=/usr/share/doc/frr/examples/ \
--localstatedir=/var/run/frr \
--sbindir=/usr/lib/frr \
--sysconfdir=/etc/frr \
Expand Down
1 change: 0 additions & 1 deletion doc/developer/building-frr-for-debian9.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ an example.)
cd frr
./bootstrap.sh
./configure \
--enable-exampledir=/usr/share/doc/frr/examples/ \
--localstatedir=/var/opt/frr \
--sbindir=/usr/lib/frr \
--sysconfdir=/etc/frr \
Expand Down
1 change: 0 additions & 1 deletion doc/developer/building-frr-for-netbsd6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ an example)
export CPPFLAGS="-I/usr/pkg/include"
./configure \
--sysconfdir=/usr/pkg/etc/frr \
--enable-exampledir=/usr/pkg/share/examples/frr \
--enable-pkgsrcrcdir=/usr/pkg/share/examples/rc.d \
--localstatedir=/var/run/frr \
--enable-multipath=64 \
Expand Down
1 change: 0 additions & 1 deletion doc/developer/building-frr-for-netbsd7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ an example)
export CPPFLAGS="-I/usr/pkg/include"
./configure \
--sysconfdir=/usr/pkg/etc/frr \
--enable-exampledir=/usr/pkg/share/examples/frr \
--enable-pkgsrcrcdir=/usr/pkg/share/examples/rc.d \
--localstatedir=/var/run/frr \
--enable-multipath=64 \
Expand Down
1 change: 0 additions & 1 deletion doc/developer/include-compile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ obtained by running ``./configure -h``. The options shown below are examples.
./configure \
--prefix=/usr \
--includedir=\${prefix}/include \
--enable-exampledir=\${prefix}/share/doc/frr/examples \
--bindir=\${prefix}/bin \
--sbindir=\${prefix}/lib/frr \
--libdir=\${prefix}/lib/frr \
Expand Down
1 change: 0 additions & 1 deletion doc/developer/topotests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ for ``master`` branch:
--prefix=/usr/lib/frr --sysconfdir=/etc/frr \
--localstatedir=/var/run/frr \
--sbindir=/usr/lib/frr --bindir=/usr/lib/frr \
--enable-exampledir=/usr/lib/frr/examples \
--with-moduledir=/usr/lib/frr/modules \
--enable-multipath=0 --enable-rtadv \
--enable-tcp-zebra --enable-fpm --enable-pimd \
Expand Down
1 change: 0 additions & 1 deletion doc/user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,6 @@ the options you chose:
./configure \
--prefix=/usr \
--enable-exampledir=/usr/share/doc/frr/examples/ \
--localstatedir=/var/run/frr \
--sbindir=/usr/lib/frr \
--sysconfdir=/etc/frr \
Expand Down

0 comments on commit 2ee5fdb

Please sign in to comment.