wmhdplop: Modernize autotools.
In particular, fix the following errors and warnings: configure.ac:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:2: http://www.gnu.org/software/automake/manual/automake.html #Modernize-AM_005fINIT_005fAUTOMAKE-invocation Makefile.am:21: error: linker flags such as '-shared' belong in 'gkhdplop_so_LDFLAGS' ./configure: line 2910: syntax error near unexpected token `build_old_libs,' ./configure: line 2910: ` _LT_DECL(build_old_libs, enable_static, 0,' ./configure: line 2908: syntax error near unexpected token `build_libtool_libs,' ./configure: line 2908: ` _LT_DECL(build_libtool_libs, enable_shared, 0, https://sources.debian.net/src/wmhdplop/0.9.9-5/debian/patches/ modernize_autotools.patch/
This commit is contained in:
parent
8c43b61e0d
commit
7ab8a56465
|
@ -18,6 +18,7 @@ LIBTOOLSUX_GKHDPLOP_SRC=wmhdplop.c util.c util.h procstat.c procstat.h devnames.
|
||||||
|
|
||||||
gkhdplop_so_SOURCES=$(LIBTOOLSUX_GKHDPLOP_SRC)
|
gkhdplop_so_SOURCES=$(LIBTOOLSUX_GKHDPLOP_SRC)
|
||||||
gkhdplop_so_CFLAGS=-DGKRELLM -fPIC $(GTK2_CFLAGS) $(IMLIB2_CFLAGS)
|
gkhdplop_so_CFLAGS=-DGKRELLM -fPIC $(GTK2_CFLAGS) $(IMLIB2_CFLAGS)
|
||||||
gkhdplop_so_LDADD=-shared $(IMLIB2_LIBS) -lm
|
gkhdplop_so_LDADD=$(IMLIB2_LIBS) -lm
|
||||||
|
gkhdplop_so_LDFLAGS=-shared
|
||||||
|
|
||||||
all: @GKHDPLOP@
|
all: @GKHDPLOP@
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
AC_INIT(wmhdplop.c)
|
AC_INIT(wmhdplop, 0.9.9)
|
||||||
AM_INIT_AUTOMAKE(wmhdplop, 0.9.9)
|
AC_CONFIG_SRCDIR(wmhdplop.c)
|
||||||
|
AM_INIT_AUTOMAKE
|
||||||
AM_CONFIG_HEADER(config.h)
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
|
||||||
AC_SUBST(VERSION)
|
AC_SUBST(VERSION)
|
||||||
|
@ -9,9 +10,6 @@ AC_SUBST(ISODATE)
|
||||||
|
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
|
|
||||||
AM_DISABLE_STATIC
|
|
||||||
AM_ENABLE_SHARED
|
|
||||||
|
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
|
|
Loading…
Reference in a new issue