summaryrefslogtreecommitdiff
path: root/games-arcade/xgalaga/files/xgalaga-2.1.1.0-respect-AR.patch
blob: 8a4991d4299b48a508e9ae51ca31a98fcd6a13f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Allow user to specify AR. Derive ar from --host=.

Bug: https://bugs.gentoo.org/730796
--- a/configure.in
+++ b/configure.in
@@ -14,6 +14,7 @@ AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_MAKE_SET
 AC_PROG_RANLIB
+AC_CHECK_TOOL(AR, ar)
 
 AC_ARG_WITH(xpm-lib,[  --with-xpm-lib          Directory containing libXpm (may be autodetected)],xpm_lib=$withval)
 AC_ARG_WITH(sound,  [  --with-sound            Type of sound to use (native or nas)],sound_type=$withval)
--- a/libsprite/Makefile.in
+++ b/libsprite/Makefile.in
@@ -8,7 +8,7 @@ VPATH = @srcdir@
 .SUFFIXES:
 .SUFFIXES: .c .o
 
-AR = ar
+AR = @AR@
 AR_FLAGS = rc
 RANLIB = @RANLIB@