AC_CANONICAL_HOST
+SLEXT="so"
SHARED="-shared"
MACOSX=
case $host_os in
CFLAGS="$CFLAGS"
CXXFLAGS="$CXXFLAGS -fno-rtti"
SHARED="-bundle"
+ SLEXT="bundle"
if test -d /opt/local/include && test -d /opt/local/lib; then
CPPFLAGS="${CPPFLAGS} -I/opt/local/include"
LDFLAGS="${LDFLAGS} -L/opt/local/lib"
RFX_CHECK_MING
-SLEXT="so"
if test "x${MINGW}" != "xyes"; then
# no mingW
AC_DEFINE([O_BINARY], [0], [Not defined on mingw])
# fail silently- the most users won't have any need for the
# ruby interface anyway
else
- rubygfx="lib/python/Makefile"
+ rubygfx="lib/ruby/Makefile"
fi
# ------------------------------------------------------------------
if test -f "release.in"; then release_in="./release"; fi
if test -f "Makefile.new.in"; then mk_in="./Makefile.new"; fi
-FILES="$release_in $mk_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythongfx} ${lame_makefile} lib/readers/Makefile"
+FILES="$release_in $mk_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile ${pythongfx} ${rubygfx} ${lame_makefile} lib/readers/Makefile"
AC_OUTPUT(${FILES})
dnl new autoconf