1694 |
esac |
esac |
1695 |
fi |
fi |
1696 |
|
|
1697 |
|
HAVE_CARBON=no |
1698 |
|
if test "${HAVE_X11}" != "yes"; then |
1699 |
|
if test "${with_carbon}" != "no"; then |
1700 |
|
AC_CHECK_HEADER(Carbon/Carbon.h, HAVE_CARBON=yes) |
1701 |
|
fi |
1702 |
|
fi |
1703 |
|
|
1704 |
### Compute the unexec source name from the object name. |
### Compute the unexec source name from the object name. |
1705 |
UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" |
UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" |
1706 |
|
|
2162 |
elif test "${HAVE_GTK}" = "yes"; then |
elif test "${HAVE_GTK}" = "yes"; then |
2163 |
AC_DEFINE(USE_TOOLKIT_SCROLL_BARS) |
AC_DEFINE(USE_TOOLKIT_SCROLL_BARS) |
2164 |
USE_TOOLKIT_SCROLL_BARS=yes |
USE_TOOLKIT_SCROLL_BARS=yes |
2165 |
|
elif test "${HAVE_CARBON}" = "yes"; then |
2166 |
|
AC_DEFINE(USE_TOOLKIT_SCROLL_BARS) |
2167 |
|
USE_TOOLKIT_SCROLL_BARS=yes |
2168 |
fi |
fi |
2169 |
fi |
fi |
2170 |
|
|
2318 |
fi |
fi |
2319 |
fi |
fi |
2320 |
|
|
|
### Use Mac OS X Carbon API to implement GUI. |
|
|
HAVE_CARBON=no |
|
|
if test "${with_carbon}" != "no"; then |
|
|
AC_CHECK_HEADER(Carbon/Carbon.h, HAVE_CARBON=yes) |
|
|
fi |
|
|
|
|
2321 |
dnl Check for malloc/malloc.h on darwin |
dnl Check for malloc/malloc.h on darwin |
2322 |
AC_CHECK_HEADER(malloc/malloc.h, AC_DEFINE(HAVE_MALLOC_MALLOC_H, 1, [Define to 1 if you have the <malloc/malloc.h> header file.])) |
AC_CHECK_HEADER(malloc/malloc.h, AC_DEFINE(HAVE_MALLOC_MALLOC_H, 1, [Define to 1 if you have the <malloc/malloc.h> header file.])) |
2323 |
|
|
2324 |
|
### Use Mac OS X Carbon API to implement GUI. |
2325 |
if test "${HAVE_CARBON}" = "yes"; then |
if test "${HAVE_CARBON}" = "yes"; then |
2326 |
AC_DEFINE(HAVE_CARBON, 1, [Define to 1 if you are using the Carbon API on Mac OS X.]) |
AC_DEFINE(HAVE_CARBON, 1, [Define to 1 if you are using the Carbon API on Mac OS X.]) |
2327 |
window_system=mac |
window_system=mac |