[PD-cvs] externals/pidip configure.ac,1.15,1.16
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Wed Apr 18 02:06:50 CEST 2007
Update of /cvsroot/pure-data/externals/pidip
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17910
Modified Files:
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.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** configure.ac 14 Dec 2006 06:03:30 -0000 1.15
--- configure.ac 18 Apr 2007 00:06:48 -0000 1.16
***************
*** 2,5 ****
--- 2,6 ----
AC_INIT
+ AC_CANONICAL_HOST
AC_CONFIG_HEADER(include/pidip_config.h)
***************
*** 19,22 ****
--- 20,42 ----
enable_mpeg4ip=no
+ # Check for DarwinPorts and/or Fink on Mac OS X/Darwin
+ 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_ARG_WITH(pdsources, [ --with-pd=PATH pd source tree])
if ! test -z "${with_pd}"
More information about the Pd-cvs
mailing list