apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stri...@apache.org
Subject cvs commit: apr apr-config.in
Date Mon, 02 Jun 2003 12:50:53 GMT
striker     2003/06/02 05:50:53

  Modified:    .        apr-config.in
  Log:
  Add a check to see if the sourcedir actually exists.  If it doesn't,
  which is likely when installed by a package, don't try and expand
  the path using realpath.
  
  Revision  Changes    Path
  1.34      +3 -1      apr/apr-config.in
  
  Index: apr-config.in
  ===================================================================
  RCS file: /home/cvs/apr/apr-config.in,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- apr-config.in	21 Apr 2003 14:21:59 -0000	1.33
  +++ apr-config.in	2 Jun 2003 12:50:52 -0000	1.34
  @@ -134,7 +134,9 @@
   # Otherwise, being in a symlinked dir may result in incorrect output.
   if test -x "`which realpath 2>/dev/null`"; then
     thisdir="`realpath $thisdir`"
  -  APR_SOURCE_DIR="`realpath $APR_SOURCE_DIR`"
  +  if test -d "$APR_SOURCE_DIR"; then
  +    APR_SOURCE_DIR="`realpath $APR_SOURCE_DIR`"
  +  fi
     if test -n $tmpbindir; then
       tmpbindir="`realpath $tmpbindir`"
     fi
  
  
  

Mime
View raw message