Skip to content

Commit

Permalink
Better support for alternative tool names.
Browse files Browse the repository at this point in the history
  • Loading branch information
megastep committed Jul 25, 2008
1 parent afdfcea commit aa6ac52
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PACKAGE = setup-$(SETUP_VERSION)
DATADIR = .
LOCALEDIR = locale

@SET_MAKE@
# @SET_MAKE@
arch := @ARCH@
libc := @LIBC@
os := @OS@
Expand All @@ -15,6 +15,7 @@ UNINSTALL_VERSION = 1.0.4

CC = @CC@
CXX = @CXX@
AR = @AR@

# This indicates where the 'setupdb' CVS module is checked out
SETUPDB = @SETUPDB@
Expand Down
2 changes: 2 additions & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ AC_PROG_RANLIB
AC_PROG_MAKE_SET
AC_PROG_INSTALL

AC_PATH_PROGS(AR, [ar gar])

AC_PATH_XTRA
AC_CHECK_HEADERS(unistd.h)
AC_CHECK_HEADERS(strings.h)
Expand Down
5 changes: 3 additions & 2 deletions dialog/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $Id: Makefile.in,v 1.5 2002-12-07 00:57:32 megastep Exp $
# $Id: Makefile.in,v 1.6 2008-07-25 22:56:53 megastep Exp $
# template makefile for DIALOG
#
SHELL = /bin/sh
Expand All @@ -11,6 +11,7 @@ CC = @CC@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
RANLIB = @RANLIB@
AR = @AR@

RM = rm -f
LINT = lint
Expand Down Expand Up @@ -51,7 +52,7 @@ all :: $(ALL)
dialog.o $(OBJS) : dialog.h

$(LIB) : $(OBJS)
ar crv $(LIB) $(OBJS)
$(AR) crv $(LIB) $(OBJS)
$(RANLIB) $@

clean:
Expand Down
7 changes: 4 additions & 3 deletions plugins/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#
# Makefile for the setup plugins
# $Id: Makefile.in,v 1.6 2002-12-07 00:57:32 megastep Exp $
# $Id: Makefile.in,v 1.7 2008-07-25 22:56:53 megastep Exp $
#

@SET_MAKE@
STATICS = cpio.c
PLUGINS = @PLUGINS@
CFLAGS = -fPIC @CFLAGS@ -I..
CC = @CC@
CC = @CC@
AR = @AR@
DYN_PLUGINS = @DYN_PLUGINS@

arch := @ARCH@
Expand Down Expand Up @@ -51,7 +52,7 @@ install.dbg:
endif

libplugins.a: $(OBJS)
ar rcs libplugins.a $(OBJS)
$(AR) rcs libplugins.a $(OBJS)

.c.so:
$(CC) -shared -o $@ $*.c $(CFLAGS)
Expand Down

0 comments on commit aa6ac52

Please sign in to comment.