diff options
| author | Glenn Morris | 2010-04-28 00:01:43 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-04-28 00:01:43 -0700 |
| commit | 294c50a065cb7aa8486b592bb641742a8d0ed11c (patch) | |
| tree | 8ac6094f7092e3e3ce4160c5f346f36f6a213f59 /src | |
| parent | e6ec4e99210e02fddacec7ec9badc48f5db08272 (diff) | |
| download | emacs-294c50a065cb7aa8486b592bb641742a8d0ed11c.tar.gz emacs-294c50a065cb7aa8486b592bb641742a8d0ed11c.zip | |
Move LIBXMU from cpp to configure.
* configure.in (LIBXMU): New output variable.
* src/Makefile.in (LIBXMU): Set with configure, not cpp.
* src/s/aix4-2.h (LIBXMU):
* src/s/hpux10-20.h (LIBXMU):
Remove definition, now set in configure.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/Makefile.in | 8 | ||||
| -rw-r--r-- | src/s/aix4-2.h | 6 | ||||
| -rw-r--r-- | src/s/hpux10-20.h | 6 |
4 files changed, 10 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 283507680de..b045fa9b4e1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2010-04-28 Glenn Morris <rgm@gnu.org> | 1 | 2010-04-28 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (LIBXMU): Set with configure, not cpp. | ||
| 4 | * s/aix4-2.h (LIBXMU): | ||
| 5 | * s/hpux10-20.h (LIBXMU): | ||
| 6 | Remove definition, now set in configure. | ||
| 7 | |||
| 3 | * Makefile.in (NS_OBJ, NS_SUPPORT): Set with configure, not cpp. | 8 | * Makefile.in (NS_OBJ, NS_SUPPORT): Set with configure, not cpp. |
| 4 | 9 | ||
| 5 | * m/amdx86-64.h [i386]: Move this test to configure.in. | 10 | * m/amdx86-64.h [i386]: Move this test to configure.in. |
diff --git a/src/Makefile.in b/src/Makefile.in index 15cb6fed79c..256662a4029 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -86,6 +86,8 @@ GCONF_LIBS = @GCONF_LIBS@ | |||
| 86 | 86 | ||
| 87 | GTK_OBJ=@GTK_OBJ@ | 87 | GTK_OBJ=@GTK_OBJ@ |
| 88 | 88 | ||
| 89 | LIBXMU=@LIBXMU@ | ||
| 90 | |||
| 89 | LIBXSM=@LIBXSM@ | 91 | LIBXSM=@LIBXSM@ |
| 90 | 92 | ||
| 91 | LIBXTR6=@LIBXTR6@ | 93 | LIBXTR6=@LIBXTR6@ |
| @@ -261,11 +263,7 @@ LIBXMENU= | |||
| 261 | #ifdef USE_X_TOOLKIT | 263 | #ifdef USE_X_TOOLKIT |
| 262 | LIBW=$(TOOLKIT_LIBW) | 264 | LIBW=$(TOOLKIT_LIBW) |
| 263 | 265 | ||
| 264 | #ifndef LIBXMU | 266 | LIBXT= $(LIBW) $(LIBXMU) -lXt $(LIBXTR6) -lXext |
| 265 | #define LIBXMU -lXmu | ||
| 266 | #endif | ||
| 267 | |||
| 268 | LIBXT= $(LIBW) LIBXMU -lXt $(LIBXTR6) -lXext | ||
| 269 | 267 | ||
| 270 | #else /* not USE_X_TOOLKIT */ | 268 | #else /* not USE_X_TOOLKIT */ |
| 271 | 269 | ||
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index c14835531df..b6ef00a1fdb 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -136,8 +136,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 136 | #undef sigmask | 136 | #undef sigmask |
| 137 | 137 | ||
| 138 | #ifndef HAVE_LIBXMU | 138 | #ifndef HAVE_LIBXMU |
| 139 | #define LIBXMU | ||
| 140 | |||
| 141 | /* Unfortunately without libXmu we cannot support EditRes. */ | 139 | /* Unfortunately without libXmu we cannot support EditRes. */ |
| 142 | #define NO_EDITRES | 140 | #define NO_EDITRES |
| 143 | #endif | 141 | #endif |
| @@ -153,8 +151,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 153 | It is possible to completely override the malloc implementation on | 151 | It is possible to completely override the malloc implementation on |
| 154 | AIX, but that involves putting the malloc functions in a shared | 152 | AIX, but that involves putting the malloc functions in a shared |
| 155 | library and setting the MALLOCTYPE environment variable to point to | 153 | library and setting the MALLOCTYPE environment variable to point to |
| 156 | tha shared library. | 154 | that shared library. |
| 157 | 155 | ||
| 158 | Emacs currently calls xrealloc on the results of get_current_dir name, | 156 | Emacs currently calls xrealloc on the results of get_current_dir name, |
| 159 | to avoid a crash just use the Emacs implementation for that function. | 157 | to avoid a crash just use the Emacs implementation for that function. |
| 160 | */ | 158 | */ |
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index 28030de8897..6573c6f4ad4 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -105,12 +105,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 105 | /* This triggers a conditional in xfaces.c. */ | 105 | /* This triggers a conditional in xfaces.c. */ |
| 106 | #define XOS_NEEDS_TIME_H | 106 | #define XOS_NEEDS_TIME_H |
| 107 | 107 | ||
| 108 | #ifndef HAVE_LIBXMU | ||
| 109 | /* HP-UX doesn't supply Xmu. */ | ||
| 110 | #define LIBXMU | ||
| 111 | |||
| 112 | #endif | ||
| 113 | |||
| 114 | /* Assar Westerlund <assar@sics.se> says this is necessary for | 108 | /* Assar Westerlund <assar@sics.se> says this is necessary for |
| 115 | HP-UX 10.20, and that it works for HP-UX 0 as well. */ | 109 | HP-UX 10.20, and that it works for HP-UX 0 as well. */ |
| 116 | #define NO_EDITRES | 110 | #define NO_EDITRES |