emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/configure.in,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/configure.in,v
Date: Mon, 04 Aug 2008 21:57:15 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/08/04 21:57:15

Index: configure.in
===================================================================
RCS file: /sources/emacs/emacs/configure.in,v
retrieving revision 1.552
retrieving revision 1.553
diff -u -b -r1.552 -r1.553
--- configure.in        31 Jul 2008 02:47:25 -0000      1.552
+++ configure.in        4 Aug 2008 21:57:15 -0000       1.553
@@ -1236,6 +1236,14 @@
      LDFLAGS="$LDFLAGS -L${GNUSTEP_SYSTEM_LIBRARIES}"
   fi
   AC_CHECK_HEADER(AppKit/AppKit.h, HAVE_NS=yes)
+  NS_HAVE_INTEGER=yes
+  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <Foundation/NSObjCRuntime.h>],
+                                     [NSInteger i;])],
+                   ns_have_integer=yes,
+                   ns_have_integer=no)
+  if test $ns_have_integer = no; then
+    NS_HAVE_INTEGER=no
+  fi
 fi
 if test "${HAVE_NS}" = yes; then
   window_system=nextstep
@@ -2046,6 +2054,9 @@
   if test "${NS_IMPL_GNUSTEP}" = "yes"; then
     AC_DEFINE(NS_IMPL_GNUSTEP, 1, [Define to 1 if you are using NS windowing 
under GNUstep.])
   fi
+  dnl if test "${NS_HAVE_INTEGER}" = "yes"; then
+    AC_DEFINE(NS_HAVE_INTEGER, 1, [Define to 1 if `NSInteger' is defined.])
+  dnl fi
   # We also have mouse menus.
   HAVE_MENUS=yes
 fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]