diff options
| author | Glenn Morris | 2008-02-06 07:57:33 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-02-06 07:57:33 +0000 |
| commit | 86dc59b0f79fcb6ddf8a8623bc3733f81a7cd127 (patch) | |
| tree | e80af6d8c2af92a8a8bf110725884ab870c51eaf | |
| parent | 02f35af2461cbdf5666f3a4fce4e73a891540cb2 (diff) | |
| download | emacs-86dc59b0f79fcb6ddf8a8623bc3733f81a7cd127.tar.gz emacs-86dc59b0f79fcb6ddf8a8623bc3733f81a7cd127.zip | |
(--with-gcc): Give an error saying this option has been removed.
(--with-gtk): Remove this option.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | configure.in | 30 |
2 files changed, 19 insertions, 17 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-02-06 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.in (--with-gcc): Give an error saying this option has | ||
| 4 | been removed. | ||
| 5 | (--with-gtk): Remove this option. | ||
| 6 | |||
| 1 | 2008-02-06 Tom Tromey <tromey@redhat.com> | 7 | 2008-02-06 Tom Tromey <tromey@redhat.com> |
| 2 | 8 | ||
| 3 | * configure.in (--with-gcc): Remove. | 9 | * configure.in (--with-gcc): Remove. |
diff --git a/configure.in b/configure.in index d9124150c3b..57aa340544f 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -135,7 +135,6 @@ OPTION_DEFAULT_ON([xft],[don't use XFT for anti aliased fonts]) | |||
| 135 | OPTION_DEFAULT_ON([libotf],[don't use libotf for OpenType font support]) | 135 | OPTION_DEFAULT_ON([libotf],[don't use libotf for OpenType font support]) |
| 136 | OPTION_DEFAULT_ON([m17n-flt],[don't use m17n-flt for text shaping]) | 136 | OPTION_DEFAULT_ON([m17n-flt],[don't use m17n-flt for text shaping]) |
| 137 | 137 | ||
| 138 | OPTION_DEFAULT_OFF([gtk],[use GTK toolkit]) | ||
| 139 | OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif or Xaw3d scroll bars]) | 138 | OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif or Xaw3d scroll bars]) |
| 140 | OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d]) | 139 | OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d]) |
| 141 | OPTION_DEFAULT_ON([xim],[don't use X11 XIM]) | 140 | OPTION_DEFAULT_ON([xim],[don't use X11 XIM]) |
| @@ -144,6 +143,15 @@ OPTION_DEFAULT_OFF([carbon],[use Carbon GUI on Mac OS X. This is unsupported!]) | |||
| 144 | OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console]) | 143 | OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console]) |
| 145 | OPTION_DEFAULT_ON([dbus],[don't compile with D-Bus support]) | 144 | OPTION_DEFAULT_ON([dbus],[don't compile with D-Bus support]) |
| 146 | 145 | ||
| 146 | dnl Can remove these in Emacs 24. | ||
| 147 | AC_ARG_WITH([gtk],, | ||
| 148 | AC_MSG_ERROR([--with-gtk has been removed. Use --with-x-toolkit to | ||
| 149 | specify a toolkit.]),,) | ||
| 150 | |||
| 151 | AC_ARG_WITH([gcc],, | ||
| 152 | AC_MSG_ERROR([--with-gcc has been removed. Set the `CC' environment | ||
| 153 | variable to specify a compiler.]),,) | ||
| 154 | |||
| 147 | AC_ARG_WITH([pkg-config-prog],dnl | 155 | AC_ARG_WITH([pkg-config-prog],dnl |
| 148 | [AS_HELP_STRING([--with-pkg-config-prog=PATH], | 156 | [AS_HELP_STRING([--with-pkg-config-prog=PATH], |
| 149 | [Path to pkg-config for finding GTK and librsvg])]) | 157 | [Path to pkg-config for finding GTK and librsvg])]) |
| @@ -821,6 +829,7 @@ test -n "$CC" && cc_specified=yes | |||
| 821 | # Save the value of CFLAGS that the user specified. | 829 | # Save the value of CFLAGS that the user specified. |
| 822 | SPECIFIED_CFLAGS="$CFLAGS" | 830 | SPECIFIED_CFLAGS="$CFLAGS" |
| 823 | 831 | ||
| 832 | dnl Sets GCC=yes if using gcc. | ||
| 824 | AC_PROG_CC | 833 | AC_PROG_CC |
| 825 | 834 | ||
| 826 | # On Suns, sometimes $CPP names a directory. | 835 | # On Suns, sometimes $CPP names a directory. |
| @@ -1422,7 +1431,7 @@ fi | |||
| 1422 | if test "${window_system}" = x11 && test "${HAVE_CARBON}" = yes; then | 1431 | if test "${window_system}" = x11 && test "${HAVE_CARBON}" = yes; then |
| 1423 | if test "${with_carbon+set}" != set \ | 1432 | if test "${with_carbon+set}" != set \ |
| 1424 | && test "${carbon_appdir_x+set}" != set; then | 1433 | && test "${carbon_appdir_x+set}" != set; then |
| 1425 | for var in with_x with_x_toolkit with_gtk with_xim \ | 1434 | for var in with_x with_x_toolkit with_xim \ |
| 1426 | with_xpm with_jpeg with_tiff with_gif with_png; do | 1435 | with_xpm with_jpeg with_tiff with_gif with_png; do |
| 1427 | if eval test \"\${$var+set}\" = set; then | 1436 | if eval test \"\${$var+set}\" = set; then |
| 1428 | HAVE_CARBON=no | 1437 | HAVE_CARBON=no |
| @@ -1449,13 +1458,7 @@ dnl USE_X_TOOLKIT is set. | |||
| 1449 | no ) USE_X_TOOLKIT=none ;; | 1458 | no ) USE_X_TOOLKIT=none ;; |
| 1450 | dnl If user did not say whether to use a toolkit, make this decision later: | 1459 | dnl If user did not say whether to use a toolkit, make this decision later: |
| 1451 | dnl use the toolkit if we have gtk, or X11R5 or newer. | 1460 | dnl use the toolkit if we have gtk, or X11R5 or newer. |
| 1452 | * ) | 1461 | * ) USE_X_TOOLKIT=maybe ;; |
| 1453 | if test x"$with_gtk" = xyes; then | ||
| 1454 | USE_X_TOOLKIT=none | ||
| 1455 | else | ||
| 1456 | USE_X_TOOLKIT=maybe | ||
| 1457 | fi | ||
| 1458 | ;; | ||
| 1459 | esac | 1462 | esac |
| 1460 | ;; | 1463 | ;; |
| 1461 | mac | none ) | 1464 | mac | none ) |
| @@ -1683,14 +1686,7 @@ fi | |||
| 1683 | 1686 | ||
| 1684 | 1687 | ||
| 1685 | HAVE_GTK=no | 1688 | HAVE_GTK=no |
| 1686 | if test "${with_gtk}" = "yes" && test "$USE_X_TOOLKIT" = "gtk"; then | 1689 | if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then |
| 1687 | USE_X_TOOLKIT=none | ||
| 1688 | fi | ||
| 1689 | if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk" || \ | ||
| 1690 | test "$USE_X_TOOLKIT" = "maybe"; then | ||
| 1691 | if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then | ||
| 1692 | AC_MSG_ERROR([Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}]); | ||
| 1693 | fi | ||
| 1694 | GLIB_REQUIRED=2.6 | 1690 | GLIB_REQUIRED=2.6 |
| 1695 | GTK_REQUIRED=2.6 | 1691 | GTK_REQUIRED=2.6 |
| 1696 | GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" | 1692 | GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" |