Skip to content

Commit d60fb0d

Browse files
committed
preconfigure with autotools 1.15 for binary compatibility
Signed-off-by: Vincent-FK <[email protected]>
1 parent 2f04a8f commit d60fb0d

File tree

23 files changed

+1403
-10426
lines changed

23 files changed

+1403
-10426
lines changed

Makefile.in

Lines changed: 32 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Makefile.in generated by automake 1.14.1 from Makefile.am.
1+
# Makefile.in generated by automake 1.15 from Makefile.am.
22
# @configure_input@
33

4-
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
4+
# Copyright (C) 1994-2014 Free Software Foundation, Inc.
55

66
# This Makefile.in is free software; the Free Software Foundation
77
# gives unlimited permission to copy and/or distribute it,
@@ -14,7 +14,17 @@
1414

1515
@SET_MAKE@
1616
VPATH = @srcdir@
17-
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
17+
am__is_gnu_make = { \
18+
if test -z '$(MAKELEVEL)'; then \
19+
false; \
20+
elif test -n '$(MAKE_HOST)'; then \
21+
true; \
22+
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23+
true; \
24+
else \
25+
false; \
26+
fi; \
27+
}
1828
am__make_running_with_option = \
1929
case $${target_option-} in \
2030
?) ;; \
@@ -78,13 +88,6 @@ POST_UNINSTALL = :
7888
build_triplet = @build@
7989
host_triplet = @host@
8090
subdir = .
81-
DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
82-
$(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83-
$(top_srcdir)/configure $(am__configure_deps) \
84-
$(top_srcdir)/include/config.h.in mkinstalldirs \
85-
$(top_srcdir)/intl/Makefile.in ABOUT-NLS COPYING TODO compile \
86-
config.guess config.rpath config.sub depcomp install-sh \
87-
missing
8891
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8992
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cflags_gcc_option.m4 \
9093
$(top_srcdir)/m4/codeset.m4 $(top_srcdir)/m4/fcntl-o.m4 \
@@ -106,6 +109,8 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/ax_cflags_gcc_option.m4 \
106109
$(top_srcdir)/configure.ac
107110
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
108111
$(ACLOCAL_M4)
112+
DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
113+
$(am__configure_deps) $(am__DIST_COMMON)
109114
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
110115
configure.lineno config.status.lineno
111116
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -170,6 +175,12 @@ ETAGS = etags
170175
CTAGS = ctags
171176
CSCOPE = cscope
172177
DIST_SUBDIRS = $(SUBDIRS)
178+
am__DIST_COMMON = $(srcdir)/Makefile.in \
179+
$(top_srcdir)/include/config.h.in \
180+
$(top_srcdir)/intl/Makefile.in ABOUT-NLS AUTHORS COPYING \
181+
ChangeLog INSTALL NEWS README TODO compile config.guess \
182+
config.rpath config.sub depcomp install-sh missing \
183+
mkinstalldirs
173184
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
174185
distdir = $(PACKAGE)-$(VERSION)
175186
top_distdir = $(distdir)
@@ -382,6 +393,7 @@ pdfdir = @pdfdir@
382393
prefix = @prefix@
383394
program_transform_name = @program_transform_name@
384395
psdir = @psdir@
396+
runstatedir = @runstatedir@
385397
sbindir = @sbindir@
386398
sharedstatedir = @sharedstatedir@
387399
srcdir = @srcdir@
@@ -411,7 +423,6 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
411423
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
412424
$(am__cd) $(top_srcdir) && \
413425
$(AUTOMAKE) --gnu Makefile
414-
.PRECIOUS: Makefile
415426
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
416427
@case '$?' in \
417428
*config.status*) \
@@ -635,15 +646,15 @@ dist-xz: distdir
635646
$(am__post_remove_distdir)
636647

637648
dist-tarZ: distdir
638-
@echo WARNING: "Support for shar distribution archives is" \
639-
"deprecated." >&2
649+
@echo WARNING: "Support for distribution archives compressed with" \
650+
"legacy program 'compress' is deprecated." >&2
640651
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
641652
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
642653
$(am__post_remove_distdir)
643654

644655
dist-shar: distdir
645-
@echo WARNING: "Support for distribution archives compressed with" \
646-
"legacy program 'compress' is deprecated." >&2
656+
@echo WARNING: "Support for shar distribution archives is" \
657+
"deprecated." >&2
647658
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
648659
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
649660
$(am__post_remove_distdir)
@@ -679,18 +690,18 @@ distcheck: dist
679690
esac
680691
chmod -R a-w $(distdir)
681692
chmod u+w $(distdir)
682-
mkdir $(distdir)/_build $(distdir)/_inst
693+
mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
683694
chmod a-w $(distdir)
684695
test -d $(distdir)/_build || exit 0; \
685696
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
686697
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
687698
&& am__cwd=`pwd` \
688-
&& $(am__cd) $(distdir)/_build \
689-
&& ../configure \
699+
&& $(am__cd) $(distdir)/_build/sub \
700+
&& ../../configure \
690701
--with-included-gettext \
691702
$(AM_DISTCHECK_CONFIGURE_FLAGS) \
692703
$(DISTCHECK_CONFIGURE_FLAGS) \
693-
--srcdir=.. --prefix="$$dc_install_base" \
704+
--srcdir=../.. --prefix="$$dc_install_base" \
694705
&& $(MAKE) $(AM_MAKEFLAGS) \
695706
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
696707
&& $(MAKE) $(AM_MAKEFLAGS) check \
@@ -865,6 +876,8 @@ uninstall-am:
865876
mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
866877
uninstall-am
867878

879+
.PRECIOUS: Makefile
880+
868881

869882
# Tell versions [3.59,3.63) of GNU make to not export all variables.
870883
# Otherwise a system limit (for SysV at least) may be exceeded.

acinclude.m4

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL
3838
no_sdl=yes
3939
else
4040
SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41-
SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs -lSDL_ttf -lSDL_image`
41+
SDL_CFLAGS="$SDL_CFLAGS -lSDL_ttf -lSDL_image"
42+
# SDL_CFLAGS="$SDL_CFLAGS -lX11" #needed when using or ouwn SDL modified lib
43+
SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs -lSDL_ttf -lSDL_image -lX11`
44+
SDL_LIBS="$SDL_LIBS -lSDL_ttf -lSDL_image"
45+
# SDL_LIBS="$SDL_LIBS -lX11" #needed when using or ouwn SDL modified lib
4246
4347
sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
4448
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`

0 commit comments

Comments
 (0)