You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bj...@hyperreal.org on 1999/06/11 09:05:22 UTC

cvs commit: apache-apr/apr configure.in

bjh         99/06/11 00:05:22

  Modified:    apr      configure.in
  Log:
  It turns out AC_CHECK_PROGS doesn't like absolute paths so use another method
  do ensure /bin/sh is the prefered sh.
  
  Revision  Changes    Path
  1.19      +6 -1      apache-apr/apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apache-apr/apr/configure.in,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- configure.in	1999/06/10 16:55:57	1.18
  +++ configure.in	1999/06/11 07:05:21	1.19
  @@ -14,7 +14,12 @@
   AC_PROG_RANLIB
   AC_CHECK_PROG(RM, rm, rm)
   AC_CHECK_PROG(AR, ar, ar)
  -AC_CHECK_PROGS(SH, /bin/sh sh)
  +
  +# Use /bin/sh if it exists, otherwise go looking for sh in the path
  +if (test -z "$SH" -a -e /bin/sh); then
  +  SH="/bin/sh"
  +fi
  +AC_CHECK_PROG(SH, sh, sh)
   
   dnl Checks for libraries.