emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r109307: Remove src/s/hpux10-20.h


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109307: Remove src/s/hpux10-20.h
Date: Mon, 30 Jul 2012 21:32:19 -0400
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109307
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Mon 2012-07-30 21:32:19 -0400
message:
  Remove src/s/hpux10-20.h
  
  * configure.ac (opsysfile): Set to empty on hpux*.
  
  * src/conf_post.h [HPUX]: Move random, srandom here from s/hpux10-20.h.
  
  * src/s/hpux10-20.h: Remove file, which is now empty.
removed:
  src/s/hpux10-20.h
modified:
  ChangeLog
  configure.ac
  src/ChangeLog
  src/conf_post.h
=== modified file 'ChangeLog'
--- a/ChangeLog 2012-07-30 21:20:43 +0000
+++ b/ChangeLog 2012-07-31 01:32:19 +0000
@@ -1,3 +1,7 @@
+2012-07-31  Glenn Morris  <address@hidden>
+
+       * configure.ac (opsysfile): Set to empty on hpux*.
+
 2012-07-30  Glenn Morris  <address@hidden>
 
        * configure.ac (AH_BOTTOM): Use an include file, so that the

=== modified file 'configure.ac'
--- a/configure.ac      2012-07-30 21:20:43 +0000
+++ b/configure.ac      2012-07-31 01:32:19 +0000
@@ -3723,6 +3723,7 @@
     ;;
 
   hpux*)
+    opsysfile=
     AC_DEFINE(USG, [])
     AC_DEFINE(USG5, [])
     AC_DEFINE(HPUX, [], [Define if the system is HPUX.])
@@ -3773,8 +3774,6 @@
     AC_DEFINE(USG_SUBTTY_WORKS, 1, [Define for USG systems where it
       works to open a pty's tty in the parent process, then close and
       reopen it in the child.])
-
-    opsysfile="s/hpux10-20.h"
     ;;
 
   irix6-5)

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-07-30 21:20:43 +0000
+++ b/src/ChangeLog     2012-07-31 01:32:19 +0000
@@ -1,3 +1,8 @@
+2012-07-31  Glenn Morris  <address@hidden>
+
+       * conf_post.h [HPUX]: Move random, srandom here from s/hpux10-20.h.
+       * s/hpux10-20.h: Remove file, which is now empty.
+
 2012-07-30  Glenn Morris  <address@hidden>
 
        * conf_post.h: New, split from configure.ac's AH_BOTTOM.

=== modified file 'src/conf_post.h'
--- a/src/conf_post.h   2012-07-30 21:20:43 +0000
+++ b/src/conf_post.h   2012-07-31 01:32:19 +0000
@@ -51,6 +51,17 @@
 #endif
 #endif
 
+/* We have to go this route, rather than the old hpux9 approach of
+   renaming the functions via macros.  The system's stdlib.h has fully
+   prototyped declarations, which yields a conflicting definition of
+   srand48; it tries to redeclare what was once srandom to be srand48.
+   So we go with HAVE_LRAND48 being defined.  Note we also undef
+   HAVE_RANDOM via configure.  */
+#ifdef HPUX
+#undef srandom
+#undef random
+#endif
+
 /* Define AMPERSAND_FULL_NAME if you use the convention
    that & in the full name stands for the login id.  */
 /* Turned on June 1996 supposing nobody will mind it.  */

=== removed file 'src/s/hpux10-20.h'
--- a/src/s/hpux10-20.h 2012-07-14 00:04:10 +0000
+++ b/src/s/hpux10-20.h 1970-01-01 00:00:00 +0000
@@ -1,27 +0,0 @@
-/* System description file for hpux version 10.20.
-
-Copyright (C) 1999, 2001-2012  Free Software Foundation, Inc.
-
-This file is part of GNU Emacs.
-
-GNU Emacs is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-GNU Emacs is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
-
-/* We have to go this route, rather than hpux9's approach of renaming the
-   functions via macros.  The system's stdlib.h has fully prototyped
-   declarations, which yields a conflicting definition of srand48; it
-   tries to redeclare what was once srandom to be srand48.  So we go
-   with HAVE_LRAND48 being defined.
-   Note we also undef HAVE_RANDOM via configure.  */
-#undef srandom
-#undef random


reply via email to

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