]> git.eshelyaron.com Git - emacs.git/commitdiff
Fixed --with-gtk
authorJan Djärv <jan.h.d@swipnet.se>
Mon, 20 Jan 2003 05:35:31 +0000 (05:35 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Mon, 20 Jan 2003 05:35:31 +0000 (05:35 +0000)
ChangeLog
configure
configure.in

index 98fb59e3356fc28e76fa0dc51f3863d743109f5b..ca6d9c0b5dc48b5c1e5e698792bd0ea08cd4d4da 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-20  Jan D.  <jan.h.d@swipnet.se>
+
+       * configure.in: Fix --with-gtk.
+
 2003-01-19  Jan D.  <jan.h.d@swipnet.se>
 
        * configure.in: Add --with-gtk, --with-x-toolkit=gtk
index 58c410a7c220164de78f1a525d61d9cadb667e54..d6a030904b93cd50099523bb75161d95313e198e 100755 (executable)
--- a/configure
+++ b/configure
@@ -1890,7 +1890,22 @@ case "${canonical}" in
     machine=pmax opsys=mach-bsd4-3
   ;;
 
-  ## Motorola Delta m88k
+  ## Motorola Delta machines
+  m68k-motorola-sysv* | m68000-motorola-sysv* )
+    machine=delta opsys=usg5-3
+    if test -z "`type gnucc | grep 'not found'`"
+    then
+      if test -s /etc/167config
+      then CC="gnucc -m68040"
+      else CC="gnucc -m68881"
+      fi
+    else
+      if test -z "`type gcc | grep 'not found'`"
+      then CC=gcc
+      else CC=cc
+      fi
+    fi
+  ;;
   m88k-motorola-sysv4* )
     # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
     # needs POSIX_SIGNALS and therefore needs usg5-4-2.
@@ -8080,7 +8095,7 @@ fi
 
 HAVE_GTK=no
 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then
-  if test "$USE_X_TOOLKIT" != "none"; then
+  if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
     { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5
 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;}
    { (exit 1); exit 1; }; };
index e73ce2e3717bad2871409768a1edef36f4c60155..b3c517fc8beaae211fe7ad0f826e839d19ea991e 100644 (file)
@@ -1849,7 +1849,7 @@ AC_DEFUN(PKG_CHECK_MODULES, [
 
 HAVE_GTK=no
 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then
-  if test "$USE_X_TOOLKIT" != "none"; then
+  if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then
     AC_MSG_ERROR([Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}]);
   fi
   GLIB_REQUIRED=2.0.1