Update of /cvsroot/pure-data/externals/zexy/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29513
Modified Files: Make.config configure.ac Log Message: try to use -fPIC when compiling
Index: configure.ac =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/configure.ac,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** configure.ac 27 Oct 2005 21:13:29 -0000 1.9 --- configure.ac 19 Nov 2005 16:18:18 -0000 1.10 *************** *** 128,131 **** --- 128,146 ----
+ AC_MSG_CHECKING("PIC") + cat > conftest.c << EOF + int main(){ + return 0; + } + EOF + if ${CC} ${INCLUDES} ${DFLAGS} -o conftest.o conftest.c ${CFLAGS} -fPIC > /dev/null 2>&1 + then + echo "yes" + CFLAGS="${CFLAGS} -fPIC" + else + echo "no" + fi + +
dnl if we don't have $LD set, we set it to $(CC)
Index: Make.config =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/Make.config,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Make.config 27 Oct 2005 21:13:29 -0000 1.1 --- Make.config 19 Nov 2005 16:18:18 -0000 1.2 *************** *** 22,26 ****
# ICCFLAGS=-march=pentiumiii -axK ! Z_CFLAGS = $(DEFS) $(IFLAGS) $(WFLAGS) -g -O2 -mms-bitfields -DPD $(CFLAGS)
MAKEDEP_FLAGS = -MM --- 22,26 ----
# ICCFLAGS=-march=pentiumiii -axK ! Z_CFLAGS = $(DEFS) $(IFLAGS) $(WFLAGS) -g -O2 -mms-bitfields -fPIC -DPD $(CFLAGS)
MAKEDEP_FLAGS = -MM