Update of /cvsroot/pure-data/externals/pidip
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13568/pidip
Modified Files:
Tag: branch-v0-39-2-extended
configure.ac
Log Message:
added checking for Fink and DarwinPorts so PiDiP can find it's deps
Index: configure.ac
===================================================================
RCS file: /cvsroot/pure-data/externals/pidip/configure.ac,v
retrieving revision 1.13.2.1
retrieving revision 1.13.2.2
diff -C2 -d -r1.13.2.1 -r1.13.2.2
*** configure.ac 11 Dec 2006 16:34:51 -0000 1.13.2.1
--- configure.ac 17 Apr 2007 23:56:21 -0000 1.13.2.2
***************
*** 3,6 ****
--- 3,7 ----
AC_INIT
AC_CONFIG_HEADER(include/pidip_config.h)
+ AC_CANONICAL_HOST
PDP_PIDIP_VERSION="0.12.20"
***************
*** 84,87 ****
--- 85,108 ----
AM_WITH_DMALLOC
+ # Check for DarwinPorts and/or Fink on Mac OS X/Darwin
+ echo "host $host"
+ case "$host" in
+ *-darwin* | *-macos10*)
+ if test -d /sw ; then
+ # Fink
+ PATH="/sw/bin:/sw/sbin:$PATH"
+ CFLAGS="$CFLAGS -I/sw/include"
+ CPPFLAGS="$CPPFLAGS -I/sw/include"
+ LDFLAGS="$LDFLAGS -L/sw/lib"
+ elif test -d /opt/local ; then
+ # DarwinPorts
+ PATH="/opt/local/bin:/opt/local/sbin:$PATH"
+ CFLAGS="$CFLAGS -I/opt/local/include"
+ CPPFLAGS="$CPPFLAGS -I/opt/local/include"
+ LDFLAGS="$LDFLAGS -L/opt/local/lib"
+ fi
+ ;;
+ esac
+
AC_PATH_GENERIC(imlib2, 1.0.0, [
AC_SUBST(IMLIB_LIBS)
***************
*** 98,102 ****
AC_SUBST(CAIRO_CFLAGS)
! AC_CHECK_LIB(Magick, XWindowByProperty, , AC_MSG_ERROR(screen captures requires ImageMagick library!!), -I/usr/X11R6/include -L/usr/X11R6/lib )
AC_CHECK_LIB(bz2, BZ2_bzBuffToBuffCompress, , AC_MSG_ERROR(streaming requires bz2 library!!))
AC_CHECK_LIB(z, deflate, , AC_MSG_ERROR(streaming requires compress library!!))
--- 119,123 ----
AC_SUBST(CAIRO_CFLAGS)
! AC_CHECK_LIB(Magick, XWindowByProperty, , AC_MSG_ERROR(screen captures requires ImageMagick library!!), -I/usr/X11R6/include -I/sw/include -L/usr/X11R6/lib -L/sw/lib )
AC_CHECK_LIB(bz2, BZ2_bzBuffToBuffCompress, , AC_MSG_ERROR(streaming requires bz2 library!!))
AC_CHECK_LIB(z, deflate, , AC_MSG_ERROR(streaming requires compress library!!))