emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r101862: * configure.in: Combine some


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101862: * configure.in: Combine some conditionals.
Date: Fri, 08 Oct 2010 19:16:38 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101862
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2010-10-08 19:16:38 -0700
message:
  * configure.in: Combine some conditionals.
modified:
  ChangeLog
  configure.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2010-10-09 01:41:21 +0000
+++ b/ChangeLog 2010-10-09 02:16:38 +0000
@@ -1,5 +1,7 @@
 2010-10-09  Glenn Morris  <address@hidden>
 
+       * configure.in: Combine some conditionals.
+
        * configure.in (AC_OUTPUT): Add doc/emacs/emacsver.texi.
        * make-dist: Include doc/emacs/*.texi.in.
 

=== modified file 'configure.in'
--- a/configure.in      2010-10-09 01:41:21 +0000
+++ b/configure.in      2010-10-09 02:16:38 +0000
@@ -850,14 +850,12 @@
 
 dnl Add our options to ac_link now, after it is set up.
 
-if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
-then
-  ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
-fi
-
-if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x
-then
-  ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
+if test x$GCC = xyes; then
+  test "x$GCC_LINK_TEST_OPTIONS" != x && \
+    ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
+else
+  test "x$NON_GCC_LINK_TEST_OPTIONS" != x && \
+    ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
 fi
 
 dnl We need -znocombreloc if we're using a relatively recent GNU ld.
@@ -867,7 +865,7 @@
 dnl if not built to support GNU ld.
 
 late_LDFLAGS=$LDFLAGS
-if test "$GCC" = yes; then
+if test x$GCC = xyes; then
   LDFLAGS="$LDFLAGS -Wl,-znocombreloc"
 else
   LDFLAGS="$LDFLAGS -znocombreloc"
@@ -3540,17 +3538,14 @@
 #include config_opsysfile
 #include config_machfile
 
-/* Set up some defines, C and LD flags for NeXTstep interface on GNUstep.
-  (There is probably a better place to do this, but right now the Cocoa
-   side does this in s/darwin.h and we cannot
-   parallel this exactly since GNUstep is multi-OS.  */
-#ifdef HAVE_NS
-# ifdef NS_IMPL_GNUSTEP
 /* GNUstep needs a bit more pure memory.  Of the existing knobs,
-SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.  */
+   SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems.
+  (There is probably a better place to do this, but right now the
+   Cocoa side does this in s/darwin.h and we cannot parallel this
+   exactly since GNUstep is multi-OS.  */
+#if defined HAVE_NS && defined NS_IMPL_GNUSTEP
 #  define SYSTEM_PURESIZE_EXTRA 30000
-# endif /* NS_IMPL_GNUSTEP */
-#endif /* HAVE_NS */
+#endif
 
 /* SIGTYPE is the macro we actually use.  */
 #ifndef SIGTYPE


reply via email to

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