summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-10-03 00:06:46 +0000
committerTim Potter <tpot@samba.org>2003-10-03 00:06:46 +0000
commit89eb0f69188e6a536cfce02efb1a7256b53484f3 (patch)
treeef48236939b03704591181df7a93cb1272e629fc /source3
parentb914f2ab6c21eecfc5f1a9e5e80be5f40c1cc819 (diff)
downloadsamba-89eb0f69188e6a536cfce02efb1a7256b53484f3.tar.gz
samba-89eb0f69188e6a536cfce02efb1a7256b53484f3.tar.bz2
samba-89eb0f69188e6a536cfce02efb1a7256b53484f3.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in1
-rw-r--r--source3/configure.in2
2 files changed, 3 insertions, 0 deletions
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