Commit 75a4dd0d authored by David Lawrence's avatar David Lawrence
Browse files

set AR and ARFLAGS

parent 5f007faa
This diff is collapsed.
......@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE.
AC_REVISION($Revision: 1.56 $)
AC_REVISION($Revision: 1.57 $)
AC_PREREQ(2.13)
......@@ -33,6 +33,11 @@ AC_SUBST(STD_CINCLUDES)
AC_SUBST(STD_CDEFINES)
AC_SUBST(STD_CWARNINGS)
AC_PATH_PROG(AR, ar)
ARFLAGS="cruv"
AC_SUBST(AR)
AC_SUBST(ARFLAGS)
dnl
dnl On these hosts, we really want to use cc, not gcc, even if it is
dnl found. The gcc that these systems have will not correctly handle
......
......@@ -87,7 +87,7 @@ STD_CDEFINES = @STD_CDEFINES@
STD_CWARNINGS = @STD_CWARNINGS@
.SUFFIXES:
.SUFFIXES: .c .o .lo
.SUFFIXES: .c .@O@ .lo
ALWAYS_INCLUDES = -I${top_builddir}
ALWAYS_DEFINES = -D_REENTRANT
......@@ -101,7 +101,7 @@ ALL_CFLAGS = ${CFLAGS} \
${ALL_CPPFLAGS} \
${ALWAYS_WARNINGS} ${STD_CWARNINGS} ${CWARNINGS}
.c.o:
.c.@O@:
${CC} ${ALL_CFLAGS} -c $<
SHELL = @SHELL@
......@@ -113,7 +113,7 @@ MKDEP = ${SHELL} ${top_builddir}/make/mkdep
${LIBTOOL} ${CC} ${ALL_CFLAGS} -c $<
clean distclean::
rm -f *.o *.lo *.la core *.core
rm -f *.@O@ *.lo *.la core *.core
rm -rf .libs
distclean::
......@@ -145,7 +145,8 @@ FORCE:
### Libraries
###
AR = ar
AR = @AR@
ARFLAGS = @ARFLAGS@
RANLIB = @RANLIB@
###
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment