From 89eb0f69188e6a536cfce02efb1a7256b53484f3 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 3 Oct 2003 00:06:46 +0000 Subject: Explicitly initialise the value of AR for vendor makes that don't do this (HPUX 11). Currently it's initialised to 'ar' but this may have to be changed if any systems pop up that have archivers that aren't named 'ar'. Closes bug #552. (This used to be commit 6aada3bd3e08abedc4c043d1ceb667ca73f8cd62) --- source3/Makefile.in | 1 + source3/configure.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/source3/Makefile.in b/source3/Makefile.in index 4d2845cf6e..778b1c73fb 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -18,6 +18,7 @@ CFLAGS=@CFLAGS@ CPPFLAGS=@CPPFLAGS@ EXEEXT=@EXEEXT@ LDFLAGS=@LDFLAGS@ +AR=@AR@ LDSHFLAGS=@LDSHFLAGS@ @LDFLAGS@ WINBIND_NSS_LDSHFLAGS=@WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@ AWK=@AWK@ diff --git a/source3/configure.in b/source3/configure.in index 7bbbb2ab31..394bf2fb3e 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -206,6 +206,8 @@ AC_PROG_INSTALL AC_PROG_AWK AC_PATH_PROG(PERL, perl) +AC_CHECK_TOOL(AR, ar) + # compile with optimization and without debugging by default, but # allow people to set their own preference. if test "x$CFLAGS" = x -- cgit