[PD-cvs] externals/zexy/src configure.ac,1.12,1.13
IOhannes m zmölnig
zmoelnig at users.sourceforge.net
Thu Dec 15 16:46:20 CET 2005
Update of /cvsroot/pure-data/externals/zexy/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6242/src
Modified Files:
configure.ac
Log Message:
added "--with-pd" flag (to specify paths for both INCLUDE and LIBS)
added "--disable-PIC" flag (to disable compilation with PIC (gives loads of warnings with mingw)
Index: configure.ac
===================================================================
RCS file: /cvsroot/pure-data/externals/zexy/src/configure.ac,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** configure.ac 14 Dec 2005 19:03:27 -0000 1.12
--- configure.ac 15 Dec 2005 15:46:18 -0000 1.13
***************
*** 24,30 ****
AC_SUBST(LIBNAME)
! AC_ARG_WITH(pdversion, [ --with-pdversion=<ver> enforce a certain pd-version (e.g. 0.37)])
! AC_ARG_WITH(version, [ --with-version=<ver> enforce a certain zexy-version (e.g. 2.0)])
! AC_ARG_WITH(extension, [ --with-extension=<ext> enforce a certain extension for the dynamic library (e.g. dll)])
AC_ARG_ENABLE(lpt, [ --enable-lpt enable parallelport-support])
AC_ARG_ENABLE(icc, [ --enable-icc enable ICC-support])
--- 24,32 ----
AC_SUBST(LIBNAME)
! AC_ARG_WITH(pdversion,[ --with-pdversion=<ver> enforce a certain pd-version (e.g. 0.37)])
! AC_ARG_WITH(version, [ --with-version=<ver> enforce a certain zexy-version (e.g. 2.0)])
! AC_ARG_WITH(extension,[ --with-extension=<ext> enforce a certain extension for the dynamic library (e.g. dll)])
! AC_ARG_WITH(pdpath, [ --with-pd=</path/to/pd> where to look for pd-headers and and -libs])
! AC_ARG_ENABLE(PIC, [ --disable-PIC disable compilation with PIC-flag])
AC_ARG_ENABLE(lpt, [ --enable-lpt enable parallelport-support])
AC_ARG_ENABLE(icc, [ --enable-icc enable ICC-support])
***************
*** 62,65 ****
--- 64,76 ----
fi
+ if test "x$with_pd" != "x"; then
+ if test -d "${with_pd}/src"; then
+ INCLUDES="-I${with_pd}/src ${INCLUDES}"
+ fi
+ if test -d "${with_pd}/bin"; then
+ LIBS="-L${with_pd}/bin ${LIBS}"
+ fi
+ fi
+
if test $includedir
then
***************
*** 126,130 ****
fi
!
AC_MSG_CHECKING("PIC")
cat > conftest.c << EOF
--- 137,141 ----
fi
! if test "x$enable_PIC" != "xno"; then
AC_MSG_CHECKING("PIC")
cat > conftest.c << EOF
***************
*** 140,144 ****
echo "no"
fi
!
--- 151,155 ----
echo "no"
fi
! fi
More information about the Pd-cvs
mailing list