fix --with-old-mac-fonts option
This commit is contained in:
parent
54a79c8854
commit
458c34233d
@ -1,3 +1,8 @@
|
||||
2006-02-08 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
* builds/unix/configure.ac: Fix bug for "--with-old-mac-fonts"
|
||||
option on UNIX platform. It has been broken since 2006-01-11.
|
||||
|
||||
2006-02-01 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/otvalid/module.mk: s/otvalid_module_class/otv_module_class/.
|
||||
|
@ -140,10 +140,17 @@ AC_ARG_WITH([old-mac-fonts],
|
||||
AS_HELP_STRING([--with-old-mac-fonts],
|
||||
[allow Mac resource-based fonts to be used]))
|
||||
if test x$with_old_mac_fonts = xyes; then
|
||||
orig_LDFLAGS="${LDFLAGS}"
|
||||
AC_MSG_CHECKING([CoreServices & ApplicationServices of Mac OS X])
|
||||
LDFLAGS="$LDFLAGS -Xlinker -framework -Xlinker CoreServices \
|
||||
-Xlinker -framework -Xlinker ApplicationServices"
|
||||
else
|
||||
CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"
|
||||
AC_TRY_LINK([ ], [ ], [
|
||||
AC_MSG_RESULT([ok])
|
||||
], [
|
||||
AC_MSG_RESULT([not found])
|
||||
LDFLAGS="${orig_LDFLAGS}"
|
||||
CFLAGS="$CFLAGS -DDARWIN_NO_CARBON"
|
||||
])
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user