[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/s/darwin.h,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/src/s/darwin.h,v |
Date: |
Thu, 14 Aug 2008 00:51:41 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 08/08/14 00:51:41
Index: darwin.h
===================================================================
RCS file: /sources/emacs/emacs/src/s/darwin.h,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- darwin.h 7 Aug 2008 14:21:43 -0000 1.50
+++ darwin.h 14 Aug 2008 00:51:41 -0000 1.51
@@ -154,17 +154,20 @@
/* Definitions for how to compile & link. */
#ifdef HAVE_NS
-/* XXX: lresolv is here because configure when testing #undefs res_init,
- a macro in /usr/include/resolv.h for res_9_init, not in stdc lib. */
-#define LIBS_NSGUI -framework AppKit -lresolv
+#define LIBS_NSGUI -framework AppKit
#define SYSTEM_PURESIZE_EXTRA 200000
#define HEADERPAD_EXTRA 6C8
-
#else /* !HAVE_NS */
#define LIBS_NSGUI
#define HEADERPAD_EXTRA 690
#endif /* !HAVE_NS */
+/* On Darwin, res_init appears not to be useful: see bug#562 and
+ http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01467.html */
+
+#undef HAVE_RES_INIT
+#undef HAVE_LIBRESOLV
+
/* The -headerpad option tells ld (see man page) to leave room at the
end of the header for adding load commands. Needed for dumping.
0x690 is the total size of 30 segment load commands (at 56