aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-02-06 07:57:33 +0000
committerGlenn Morris2008-02-06 07:57:33 +0000
commit86dc59b0f79fcb6ddf8a8623bc3733f81a7cd127 (patch)
treee80af6d8c2af92a8a8bf110725884ab870c51eaf
parent02f35af2461cbdf5666f3a4fce4e73a891540cb2 (diff)
downloademacs-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--ChangeLog6
-rw-r--r--configure.in30
2 files changed, 19 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index a0069fdd505..60d9ac7598f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12008-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
12008-02-06 Tom Tromey <tromey@redhat.com> 72008-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])
135OPTION_DEFAULT_ON([libotf],[don't use libotf for OpenType font support]) 135OPTION_DEFAULT_ON([libotf],[don't use libotf for OpenType font support])
136OPTION_DEFAULT_ON([m17n-flt],[don't use m17n-flt for text shaping]) 136OPTION_DEFAULT_ON([m17n-flt],[don't use m17n-flt for text shaping])
137 137
138OPTION_DEFAULT_OFF([gtk],[use GTK toolkit])
139OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif or Xaw3d scroll bars]) 138OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif or Xaw3d scroll bars])
140OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d]) 139OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d])
141OPTION_DEFAULT_ON([xim],[don't use X11 XIM]) 140OPTION_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!])
144OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console]) 143OPTION_DEFAULT_ON([gpm],[don't use -lgpm for mouse support on a GNU/Linux console])
145OPTION_DEFAULT_ON([dbus],[don't compile with D-Bus support]) 144OPTION_DEFAULT_ON([dbus],[don't compile with D-Bus support])
146 145
146dnl Can remove these in Emacs 24.
147AC_ARG_WITH([gtk],,
148 AC_MSG_ERROR([--with-gtk has been removed. Use --with-x-toolkit to
149specify a toolkit.]),,)
150
151AC_ARG_WITH([gcc],,
152 AC_MSG_ERROR([--with-gcc has been removed. Set the `CC' environment
153 variable to specify a compiler.]),,)
154
147AC_ARG_WITH([pkg-config-prog],dnl 155AC_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.
822SPECIFIED_CFLAGS="$CFLAGS" 830SPECIFIED_CFLAGS="$CFLAGS"
823 831
832dnl Sets GCC=yes if using gcc.
824AC_PROG_CC 833AC_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
1422if test "${window_system}" = x11 && test "${HAVE_CARBON}" = yes; then 1431if 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 ;;
1450dnl If user did not say whether to use a toolkit, make this decision later: 1459dnl If user did not say whether to use a toolkit, make this decision later:
1451dnl use the toolkit if we have gtk, or X11R5 or newer. 1460dnl 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
1685HAVE_GTK=no 1688HAVE_GTK=no
1686if test "${with_gtk}" = "yes" && test "$USE_X_TOOLKIT" = "gtk"; then 1689if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then
1687 USE_X_TOOLKIT=none
1688fi
1689if 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"