* remove Carbon dependency of Darwin, if configured with no option

This commit is contained in:
Suzuki, Toshiya (鈴木俊哉) 2006-05-19 22:11:50 +00:00
parent 4720060553
commit 8cfa8bd51a
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-05-19 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* build/unix/configure.raw: Add a fallback to disable Carbon
dependency, if configured with no options on Mac OS X.
2006-05-19 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* src/base/ftmac.c (open_face_from_buffer): Deallocate stream when

View File

@ -150,6 +150,14 @@ if test x$with_old_mac_fonts = xyes; then
[AC_MSG_RESULT([not found])
LDFLAGS="${orig_LDFLAGS}"
CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"])
else
case x$target_os in
xdarwin*)
dnl AC_MSG_WARN([target system is MacOS but configured to build without Carbon])
CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"
;;
*) ;;
esac
fi