You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/04/06 04:28:30 UTC

cvs commit: apache-2.0/src/lib/apr configure.in aclocal.m4

trawick     00/04/05 19:28:30

  Modified:    src/lib/apr configure.in aclocal.m4
  Log:
  Change the test for ranlib so that we end up with RANLIB=true instead
  of RANLIB=: in our makefiles when there is no ranlib.  OS/390 make
  gets upset with RANLIB=:.
  
  Revision  Changes    Path
  1.65      +1 -1      apache-2.0/src/lib/apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/configure.in,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- configure.in	2000/04/04 03:55:25	1.64
  +++ configure.in	2000/04/06 02:28:29	1.65
  @@ -26,7 +26,7 @@
   
   dnl # Checks for programs.
   AC_PROG_CC
  -AC_PROG_RANLIB
  +AC_PROG_RANLIB_NC
   AC_PROG_MAKE_SET
   AC_CHECK_PROG(RM, rm, rm)
   AC_CHECK_PROG(AR, ar, ar)
  
  
  
  1.11      +8 -0      apache-2.0/src/lib/apr/aclocal.m4
  
  Index: aclocal.m4
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/aclocal.m4,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- aclocal.m4	2000/01/16 20:00:49	1.10
  +++ aclocal.m4	2000/04/06 02:28:29	1.11
  @@ -188,4 +188,12 @@
   fi
   ])
   
  +dnl Check for ranlib but, unlike the check provided with autoconf, set
  +dnl RANLIB to "true" if there is no ranlib instead of setting it to ":".
  +dnl OS/390 doesn't have ranlib and the make utility doesn't parse "RANLIB=:" 
  +dnl the way we might want it to.
  +
  +AC_DEFUN(AC_PROG_RANLIB_NC,
  +[AC_CHECK_PROG(RANLIB, ranlib, ranlib, true)])
  +
   sinclude(threads.m4)