Mercurial > emacs
comparison configure.in @ 73821:9ba59a3beadd
Prefer X11 to Carbon only when some X-specific
option is specified (Thanks to Jan Dj? and Andreas Schwab).
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Wed, 08 Nov 2006 08:02:49 +0000 |
parents | 5e9b94d5f593 |
children | e64942376b6b |
comparison
equal
deleted
inserted
replaced
73820:9966f8bc610d | 73821:9ba59a3beadd |
---|---|
1777 AC_CHECK_HEADER(Carbon/Carbon.h, HAVE_CARBON=yes) | 1777 AC_CHECK_HEADER(Carbon/Carbon.h, HAVE_CARBON=yes) |
1778 fi | 1778 fi |
1779 if test "${window_system}" = x11 && test "${HAVE_CARBON}" = yes; then | 1779 if test "${window_system}" = x11 && test "${HAVE_CARBON}" = yes; then |
1780 if test "${with_carbon+set}" != set \ | 1780 if test "${with_carbon+set}" != set \ |
1781 && test "${carbon_appdir_x+set}" != set; then | 1781 && test "${carbon_appdir_x+set}" != set; then |
1782 HAVE_CARBON=no | 1782 for var in with_x with_x_toolkit with_gtk with_xim \ |
1783 with_xpm with_jpeg with_tiff with_gif with_png; do | |
1784 if eval test \"\${$var+set}\" = set; then | |
1785 HAVE_CARBON=no | |
1786 break | |
1787 fi | |
1788 done | |
1783 fi | 1789 fi |
1784 fi | 1790 fi |
1785 if test "${HAVE_CARBON}" = yes; then | 1791 if test "${HAVE_CARBON}" = yes; then |
1786 window_system=mac | 1792 window_system=mac |
1787 fi | 1793 fi |