[Date Prev][Date Next] [Chronological] [Thread] [Top]

libraries cannot be built with gar (ITS#1460)



Full_Name: Stephan Siano
Version: 2.0.18
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (213.95.15.201)


With Solaris the GNU-tools traditionally have a name beginning with the letter
"g".If the GNU tools but not the Solaris development tools are installed a build
is not possible, because ar does not exist (and GNU ar is called gar) but is
hardcoded in "top.mk" the following patch will add a search for a "ar" tool in
configure.


diff -C 2 -r openldap-2.0.18.org/aclocal.m4 openldap-2.0.18/aclocal.m4
*** openldap-2.0.18.org/aclocal.m4      Wed Aug 29 19:58:57 2001
--- openldap-2.0.18/aclocal.m4  Wed Nov 21 14:06:55 2001
***************
*** 62,65 ****
--- 62,67 ----
  dnl we can find it.  If we can't find a tar, it doesn't really matter.
  AC_CHECK_PROGS(AMTAR, gnutar gtar tar)
+ dnl We also need to check for the correct ar command
+ AC_CHECK_PROGS(AR, ar gar)
  dnl We need awk for the "check" target.  The system "awk" is bad on
  dnl some platforms.
diff -C 2 -r openldap-2.0.18.org/build/top.mk openldap-2.0.18/build/top.mk
*** openldap-2.0.18.org/build/top.mk    Thu Oct 25 17:12:17 2001
--- openldap-2.0.18/build/top.mk        Wed Nov 21 14:08:08 2001
***************
*** 67,71 ****

  # Misc UNIX commands used in build environment
! AR = ar
  AWK = @AWK@
  BASENAME = basename
--- 67,71 ----

  # Misc UNIX commands used in build environment
! AR = @AR@
  AWK = @AWK@
  BASENAME = basename