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/05/18 21:30:09 UTC

cvs commit: apache-2.0/src/lib/apr/shmem/unix/mm aclocal.m4

trawick     00/05/18 12:30:07

  Modified:    src/lib/apr/shmem/unix/mm aclocal.m4
  Log:
  Fix some logic in mm's configuration that removes -g from CFLAGS.
  It incorrectly collapsed " -g " to "", which could lead to invalid
  CFLAGS.
  
  Example:
    input:      -DAPACHE_XLATE -g -Wall otherstuff
    old output: -DAPACHE_XLATE-Wall otherstuff
    new output: -DAPACHE_XLATE -Wall otherstuff
  
  (Note: This fix will also be sent to rse.)
  
  Revision  Changes    Path
  1.6       +1 -1      apache-2.0/src/lib/apr/shmem/unix/mm/aclocal.m4
  
  Index: aclocal.m4
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/shmem/unix/mm/aclocal.m4,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- aclocal.m4	2000/05/03 17:15:48	1.5
  +++ aclocal.m4	2000/05/18 19:30:05	1.6
  @@ -91,7 +91,7 @@
   ],[
   case "$CFLAGS" in
       *-g* ) CFLAGS=`echo "$CFLAGS" |\
  -                   sed -e 's/ -g //g' -e 's/ -g$//' -e 's/^-g //g' -e 's/^-g$//'` ;;
  +                   sed -e 's/ -g / /g' -e 's/ -g$//' -e 's/^-g //g' -e 's/^-g$//'` ;;
   esac
   msg=disabled
   ])dnl