File no-static.diff of Package reiser4progs

Date: 2017-09-02 13:14:23.021280169 +0200
From: Jan Engelhardt <jengelh@inai.de>

build: make the build work with just shared libs
---
 configure.ac           |    6 ------
 libreiser4/Makefile.am |    1 -
 2 files changed, 7 deletions(-)

Index: reiser4progs-1.2.1/configure.ac
===================================================================
--- reiser4progs-1.2.1.orig/configure.ac
+++ reiser4progs-1.2.1/configure.ac
@@ -70,9 +70,6 @@ libaal_config_minor_version=`echo $2 | \
 libaal_config_micro_version=`echo $2 | \
     sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
 
-OLD_CFLAGS=$CFLAGS
-CFLAGS="$CFLAGS -static"
-    
 # Compare MINIMUM-VERSION with libaal version
 AC_TRY_RUN([
 #include <stdio.h>
@@ -116,8 +113,6 @@ int main() {
     	AC_MSG_RESULT(no) ; $4,
     	[echo $ac_n "cross compiling; assumed OK... $ac_c"])
 
-CFLAGS=$OLD_CFLAGS
-
 # Execute ACTION-IF-FOUND
 $3])
 
@@ -126,7 +121,6 @@ AC_ARG_WITH(libaal,
 )
 
 LIBS=""
-CFLAGS="$CFLAGS"
 
 if test x$with_libaal != x; then
     	LIBS="-L$with_libaal/lib"
Index: reiser4progs-1.2.1/libreiser4/Makefile.am
===================================================================
--- reiser4progs-1.2.1.orig/libreiser4/Makefile.am
+++ reiser4progs-1.2.1/libreiser4/Makefile.am
@@ -30,7 +30,6 @@ libreiser4_static_la_LIBADD  = $(top_bui
 
 libreiser4_static_la_SOURCES = $(libreiser4_sources)
 libreiser4_static_la_CFLAGS  = @GENERIC_CFLAGS@
-libreiser4_static_la_LDFLAGS = -static
 
 if ENABLE_MINIMAL
 libreiser4_minimal_la_LIBADD   = $(top_builddir)/libaux/libaux-minimal.la \