File: remove_obsolete_variables.diff

package info (click to toggle)
libflorist 2017-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,216 kB
  • sloc: ada: 11,902; ansic: 7,195; makefile: 150; sh: 19
file content (67 lines) | stat: -rw-r--r-- 1,667 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Description: remove obsolete variables from Makefile.in and configure.in
Author: Nicolas Boulenguez <nicolas@debian.org>

--- a/Makefile.in
+++ b/Makefile.in
@@ -6,7 +6,6 @@
 .POSIX:
 
 VERSION=Florist-2017 (20170515)
-FLORIST_VERSION=$(VERSION)
 GNATPREPFLAGS = -c -r
 GCCFLAGS = -O2
 TARGET=@host_alias@
@@ -20,13 +19,9 @@
 TARGET_RUNNER=run-cross --target=ppc-elinos,5.1,qemu
 endif
 
-# How to invoke ranlib.
-RANLIB = ranlib
-
 # configure substitutions
 CC = @CC@
 LIBS = @LIBS@
-DEPS = @DEPS@
 SIGNALS_GENERATED = @SIGNALS_GENERATED@
 PREFIX = @prefix@
 
@@ -36,7 +31,7 @@
 
 GNATPREP = $(TARGET_PREFIX)gnatprep
 GPRBUILD = gprbuild
-GPRBUILD_FLAGS = $(GCCFLAGS) $(LIBRARY_TYPE_OPTION) $(PROJECT_FLAGS)
+GPRBUILD_FLAGS = $(GCCFLAGS) $(PROJECT_FLAGS)
 
 GENDIR = gensrc
 GENDIR_ON_TARGET=$(GENDIR)
@@ -166,7 +161,7 @@
 
 # remove all generated files, including configuration history
 distclean: clean
-	rm -f $(CONFIG_HISTORY) $(CONF_GENERATED)
+	rm -f $(CONFIG_HISTORY) $(CONFIG_GENERATED)
 
 # install floristlib
 # make all files read-only to prevent recompilation
--- a/configure.in
+++ b/configure.in
@@ -17,19 +17,16 @@
 AS_HELP_STRING([--disable-threads], [Do not try to build pthread support]),,
 [use_pthread=yes])
 if test "x$use_pthread" = "xyes" ; then
-  DEPS=deps
   SIGNALS_GENERATED=posix-implementation-ok_signals.ads
   THREADS_BOOL=True
 else
   AC_MSG_WARN(No pthread support.)
-  DEPS=deps_no_thread
   SIGNALS_GENERATED=
   THREADS_BOOL=False
 fi
 THREADS_OPTION=-XTHREADS=${THREADS_BOOL}
 AC_SUBST(SIGNALS_GENERATED)
 AC_SUBST(THREADS_OPTION)
-AC_SUBST(DEPS)
 
 AC_MSG_CHECKING([whether to build a shared library])
 AC_ARG_ENABLE(shared,