Revision: 351
http://hdrflow.svn.sourceforge.net/hdrflow/?rev=351&view=rev
Author: glslang
Date: 2007-10-08 14:33:45 -0700 (Mon, 08 Oct 2007)
Log Message:
-----------
+build fix
Modified Paths:
--------------
trunk/lib/extras/m4/maya.m4
Modified: trunk/lib/extras/m4/maya.m4
===================================================================
--- trunk/lib/extras/m4/maya.m4 2007-10-07 21:32:23 UTC (rev 350)
+++ trunk/lib/extras/m4/maya.m4 2007-10-08 21:33:45 UTC (rev 351)
@@ -22,15 +22,18 @@
CXXFLAGS="$CXXFLAGS ${MAYA_CXXFLAGS}"
AC_LANG(C++)
- AC_CHECK_HEADER(maya/IMF.h,
+ AC_CHECK_HEADER(maya/MFnPlugin.h,
[ac_have_maya="yes" AC_DEFINE(HAVE_MAYA,1,[Define this if you have Maya devkit])],
- [AC_MSG_WARN([*** Maya development headers not available. Please check your Maya installation ***])])
+ [AC_MSG_WARN([*** Maya development headers not available. Please check your Maya installation ***])],
+ [[#ifdef __APPLE__
+ # include <maya/OpenMayaMac.h>
+ #endif]])
if test x$ac_have_maya = "xyes"; then
case $host in
*-apple-darwin*)
MAYA_LDFLAGS="${MAYA_LDFLAGS} -Wl,-executable_path,${with_mayadir}/Maya.app/Contents/MacOS"
- MAYA_LIBS="-Xlinker -lIMFbase -Xlinker -lOpenMaya -Xlinker -lOpenMayaUI -Xlinker -lFoundation -Xlinker -framework -Xlinker AGL -Xlinker -framework -Xlinker OpenGL"
+ MAYA_LIBS="-Xlinker -lOpenMaya -Xlinker -lOpenMayaUI -Xlinker -lFoundation -Xlinker -framework -Xlinker AGL -Xlinker -framework -Xlinker OpenGL"
;;
esac
ac_use_maya=yes
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|