Merge pull request #2612 from Ericson2314/remove-dead-dynlib_suffix
[Needs testing and review] Remove dead code
This commit is contained in:
		
						commit
						85488a93ec
					
				
					 9 changed files with 5 additions and 26 deletions
				
			
		| 
						 | 
					@ -18,7 +18,6 @@ LIBBROTLI_LIBS = @LIBBROTLI_LIBS@
 | 
				
			||||||
EDITLINE_LIBS = @EDITLINE_LIBS@
 | 
					EDITLINE_LIBS = @EDITLINE_LIBS@
 | 
				
			||||||
bash = @bash@
 | 
					bash = @bash@
 | 
				
			||||||
bindir = @bindir@
 | 
					bindir = @bindir@
 | 
				
			||||||
brotli = @brotli@
 | 
					 | 
				
			||||||
lsof = @lsof@
 | 
					lsof = @lsof@
 | 
				
			||||||
datadir = @datadir@
 | 
					datadir = @datadir@
 | 
				
			||||||
datarootdir = @datarootdir@
 | 
					datarootdir = @datarootdir@
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -127,8 +127,6 @@ NEED_PROG(bzip2, bzip2)
 | 
				
			||||||
NEED_PROG(gzip, gzip)
 | 
					NEED_PROG(gzip, gzip)
 | 
				
			||||||
NEED_PROG(xz, xz)
 | 
					NEED_PROG(xz, xz)
 | 
				
			||||||
AC_PATH_PROG(dot, dot)
 | 
					AC_PATH_PROG(dot, dot)
 | 
				
			||||||
AC_PATH_PROG(pv, pv, pv)
 | 
					 | 
				
			||||||
AC_PATH_PROGS(brotli, brotli bro, bro)
 | 
					 | 
				
			||||||
AC_PATH_PROG(lsof, lsof, lsof)
 | 
					AC_PATH_PROG(lsof, lsof, lsof)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -253,11 +251,6 @@ if test "$(uname)" = "Darwin"; then
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Figure out the extension of dynamic libraries.
 | 
					 | 
				
			||||||
eval dynlib_suffix=$shrext_cmds
 | 
					 | 
				
			||||||
AC_SUBST(dynlib_suffix)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Do we have GNU tar?
 | 
					# Do we have GNU tar?
 | 
				
			||||||
AC_MSG_CHECKING([if you have a recent GNU tar])
 | 
					AC_MSG_CHECKING([if you have a recent GNU tar])
 | 
				
			||||||
if $tar --version 2> /dev/null | grep -q GNU && tar cvf /dev/null --warning=no-timestamp ./config.log > /dev/null; then
 | 
					if $tar --version 2> /dev/null | grep -q GNU && tar cvf /dev/null --warning=no-timestamp ./config.log > /dev/null; then
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -95,15 +95,6 @@ those paths.  If this bothers you, use
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  </varlistentry>
 | 
					  </varlistentry>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <!--
 | 
					 | 
				
			||||||
  <varlistentry><term><option>- -show-progress</option></term>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    <listitem><para>Show the progress of each path's transfer as it's made.
 | 
					 | 
				
			||||||
    This requires the <command>pv</command> utility to be in <envar>PATH</envar>.</para></listitem>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  </varlistentry>
 | 
					 | 
				
			||||||
  -->
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  <varlistentry><term><option>--include-outputs</option></term>
 | 
					  <varlistentry><term><option>--include-outputs</option></term>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <listitem><para>Also copy the outputs of store derivations
 | 
					    <listitem><para>Also copy the outputs of store derivations
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,7 +6,7 @@ libexpr_DIR := $(d)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libexpr_SOURCES := $(wildcard $(d)/*.cc) $(wildcard $(d)/primops/*.cc) $(d)/lexer-tab.cc $(d)/parser-tab.cc
 | 
					libexpr_SOURCES := $(wildcard $(d)/*.cc) $(wildcard $(d)/primops/*.cc) $(d)/lexer-tab.cc $(d)/parser-tab.cc
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libexpr_LIBS = libutil libstore libformat
 | 
					libexpr_LIBS = libutil libstore
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libexpr_LDFLAGS =
 | 
					libexpr_LDFLAGS =
 | 
				
			||||||
ifneq ($(OS), FreeBSD)
 | 
					ifneq ($(OS), FreeBSD)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,7 +8,7 @@ libmain_SOURCES := $(wildcard $(d)/*.cc)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libmain_LDFLAGS = $(OPENSSL_LIBS)
 | 
					libmain_LDFLAGS = $(OPENSSL_LIBS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libmain_LIBS = libstore libutil libformat
 | 
					libmain_LIBS = libstore libutil
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libmain_ALLOW_UNDEFINED = 1
 | 
					libmain_ALLOW_UNDEFINED = 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,7 +6,7 @@ libstore_DIR := $(d)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libstore_SOURCES := $(wildcard $(d)/*.cc $(d)/builtins/*.cc)
 | 
					libstore_SOURCES := $(wildcard $(d)/*.cc $(d)/builtins/*.cc)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libstore_LIBS = libutil libformat
 | 
					libstore_LIBS = libutil
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libstore_LDFLAGS = $(SQLITE3_LIBS) -lbz2 $(LIBCURL_LIBS) $(SODIUM_LIBS) -pthread
 | 
					libstore_LDFLAGS = $(SQLITE3_LIBS) -lbz2 $(LIBCURL_LIBS) $(SODIUM_LIBS) -pthread
 | 
				
			||||||
ifneq ($(OS), FreeBSD)
 | 
					ifneq ($(OS), FreeBSD)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,7 +7,3 @@ libutil_DIR := $(d)
 | 
				
			||||||
libutil_SOURCES := $(wildcard $(d)/*.cc)
 | 
					libutil_SOURCES := $(wildcard $(d)/*.cc)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libutil_LDFLAGS = $(LIBLZMA_LIBS) -lbz2 -pthread $(OPENSSL_LIBS) $(LIBBROTLI_LIBS) -lboost_context
 | 
					libutil_LDFLAGS = $(LIBLZMA_LIBS) -lbz2 -pthread $(OPENSSL_LIBS) $(LIBBROTLI_LIBS) -lboost_context
 | 
				
			||||||
 | 
					 | 
				
			||||||
libutil_LIBS = libformat
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
libutil_CXXFLAGS = -DBROTLI=\"$(brotli)\"
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -15,7 +15,7 @@ nix_SOURCES := \
 | 
				
			||||||
  $(wildcard src/nix-prefetch-url/*.cc) \
 | 
					  $(wildcard src/nix-prefetch-url/*.cc) \
 | 
				
			||||||
  $(wildcard src/nix-store/*.cc) \
 | 
					  $(wildcard src/nix-store/*.cc) \
 | 
				
			||||||
 | 
					
 | 
				
			||||||
nix_LIBS = libexpr libmain libstore libutil libformat
 | 
					nix_LIBS = libexpr libmain libstore libutil
 | 
				
			||||||
 | 
					
 | 
				
			||||||
nix_LDFLAGS = -pthread $(SODIUM_LIBS) $(EDITLINE_LIBS)
 | 
					nix_LDFLAGS = -pthread $(SODIUM_LIBS) $(EDITLINE_LIBS)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,6 +6,6 @@ resolve-system-dependencies_DIR := $(d)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
resolve-system-dependencies_INSTALL_DIR := $(libexecdir)/nix
 | 
					resolve-system-dependencies_INSTALL_DIR := $(libexecdir)/nix
 | 
				
			||||||
 | 
					
 | 
				
			||||||
resolve-system-dependencies_LIBS := libstore libmain libutil libformat
 | 
					resolve-system-dependencies_LIBS := libstore libmain libutil
 | 
				
			||||||
 | 
					
 | 
				
			||||||
resolve-system-dependencies_SOURCES := $(d)/resolve-system-dependencies.cc
 | 
					resolve-system-dependencies_SOURCES := $(d)/resolve-system-dependencies.cc
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue