[PD-cvs] externals/iem/iemmatrix/src Makefile.in, 1.7, 1.8 configure.ac, 1.6, 1.7

IOhannes m zmölnig zmoelnig at users.sourceforge.net
Thu Oct 13 13:56:38 CEST 2005


Update of /cvsroot/pure-data/externals/iem/iemmatrix/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26043

Modified Files:
	Makefile.in configure.ac 
Log Message:
better check for strip and friends


Index: Makefile.in
===================================================================
RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/src/Makefile.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Makefile.in	7 Oct 2005 09:54:22 -0000	1.7
--- Makefile.in	13 Oct 2005 11:56:36 -0000	1.8
***************
*** 13,17 ****
  CC = @CC@
  LD = @LD@
! STRIP = @STRIP@
  
  AFLAGS = 
--- 13,17 ----
  CC = @CC@
  LD = @LD@
! STRIP = @STRIP@ @STRIPFLAGS@
  
  AFLAGS = 
***************
*** 35,39 ****
  $(LIBNAME): $(TARGETS)
  	$(LD) $(LFLAGS) -o $(LIBNAME).$(EXT) *.o $(LIBS)
! 	$(STRIP) @STRIPFLAGS@ $(LIBNAME).$(EXT)
  
  ## dependencies: as proposed by the GNU-make documentation
--- 35,39 ----
  $(LIBNAME): $(TARGETS)
  	$(LD) $(LFLAGS) -o $(LIBNAME).$(EXT) *.o $(LIBS)
! 	$(STRIP) $(LIBNAME).$(EXT)
  
  ## dependencies: as proposed by the GNU-make documentation

Index: configure.ac
===================================================================
RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/src/configure.ac,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** configure.ac	7 Oct 2005 09:54:22 -0000	1.6
--- configure.ac	13 Oct 2005 11:56:36 -0000	1.7
***************
*** 112,130 ****
  
  dnl if we don't have $STRIP set, we set it to ${host}-strip or strip
! if test "x$STRIP" = "x"
! then
!  if test "x$host" != "x"
!  then
!   STRIP=${host}-strip
!  else
! # we need a method to check arguments for arbitrary commands like strip
!   STRIP="strip"
!  fi
! fi
! if $(which ${STRIP} > /dev/null)
  then
!   STRIPFLAGS="--strip-uneeded"
  else
!   STRIP="echo fake strip"
  fi
  
--- 112,124 ----
  
  dnl if we don't have $STRIP set, we set it to ${host}-strip or strip
! AC_CHECK_TOOL([STRIP], [strip], [true])
! AC_MSG_CHECKING([if strip is GNU strip])
! if $STRIP -V 2>&1 | grep GNU > /dev/null
  then
!     AC_SUBST(STRIPFLAGS, "--strip-unneeded")
!     AC_MSG_RESULT([yes])
  else
!     AC_SUBST(STRIPFLAGS,"-x")
!     AC_MSG_RESULT([no])
  fi
  
***************
*** 139,143 ****
    CFLAGS="-fPIC $CFLAGS"
    EXT=pd_linux	
-   STRIPFLAGS="--strip-unneeded"
  fi
  
--- 133,136 ----
***************
*** 149,153 ****
    LFLAGS="-bundle -undefined suppress -flat_namespace"
    EXT=pd_darwin
-   STRIPFLAGS=
  fi
  
--- 142,145 ----
***************
*** 170,174 ****
    EXT=pd_irix6
    dnl DFLAGS="-DUNIX -DIRIX6"
-   STRIPFLAGS="--strip-unneeded"
  fi
  
--- 162,165 ----
***************
*** 179,183 ****
    EXT=pd_irix5
    dnl DFLAGS="-DUNIX -DIRIX5"
-   STRIPFLAGS="--strip-unneeded"
  fi
  
--- 170,173 ----





More information about the Pd-cvs mailing list