diff options
| author | Glenn Morris | 2010-04-27 01:09:01 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-04-27 01:09:01 -0700 |
| commit | 8fdac2c337db94e64bbb679cac3efdc533168e9a (patch) | |
| tree | c721dc94ac52088e3dd43599073722e676fe23e8 /src | |
| parent | c82a724450cefb1fb095eec7b229186ab13d3dce (diff) | |
| download | emacs-8fdac2c337db94e64bbb679cac3efdc533168e9a.tar.gz emacs-8fdac2c337db94e64bbb679cac3efdc533168e9a.zip | |
Move LIBXTR6 from cpp to autoconf.
* configure.in (LIBXTR6): New output variable. Move unixware special
case here from src/s/unixware.h.
* src/Makefile.in (LIBXTR6): Set with configure, not cpp.
* src/s/unixware.h (NEED_LIBW): Remove definition.
* admin/CPP-DEFINES: Remove NEED_LIBW.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/Makefile.in | 10 | ||||
| -rw-r--r-- | src/s/unixware.h | 3 |
3 files changed, 5 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cb9fefea39b..98a93855adc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-04-27 Glenn Morris <rgm@gnu.org> | 1 | 2010-04-27 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (LIBXTR6): Set with configure, not cpp. | ||
| 4 | * s/unixware.h (NEED_LIBW): Remove definition. | ||
| 5 | |||
| 3 | * Makefile.in (LUCID_LIBW, MOTIF_LIBW): Remove, replacing by... | 6 | * Makefile.in (LUCID_LIBW, MOTIF_LIBW): Remove, replacing by... |
| 4 | (TOOLKIT_LIBW): New, set by configure. | 7 | (TOOLKIT_LIBW): New, set by configure. |
| 5 | (@X_TOOLKIT_TYPE@): No longer define it. | 8 | (@X_TOOLKIT_TYPE@): No longer define it. |
diff --git a/src/Makefile.in b/src/Makefile.in index 9c55ebbb96b..9e505741524 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -88,6 +88,8 @@ GTK_OBJ=@GTK_OBJ@ | |||
| 88 | 88 | ||
| 89 | LIBXSM=@LIBXSM@ | 89 | LIBXSM=@LIBXSM@ |
| 90 | 90 | ||
| 91 | LIBXTR6=@LIBXTR6@ | ||
| 92 | |||
| 91 | XMENU_OBJ=@XMENU_OBJ@ | 93 | XMENU_OBJ=@XMENU_OBJ@ |
| 92 | XOBJ=@XOBJ@ | 94 | XOBJ=@XOBJ@ |
| 93 | 95 | ||
| @@ -256,14 +258,6 @@ LIBXMENU= | |||
| 256 | #ifdef USE_X_TOOLKIT | 258 | #ifdef USE_X_TOOLKIT |
| 257 | LIBW=$(TOOLKIT_LIBW) | 259 | LIBW=$(TOOLKIT_LIBW) |
| 258 | 260 | ||
| 259 | #ifdef HAVE_X11XTR6 | ||
| 260 | #ifdef NEED_LIBW | ||
| 261 | LIBXTR6 = -lSM -lICE -lw | ||
| 262 | #else | ||
| 263 | LIBXTR6 = -lSM -lICE | ||
| 264 | #endif | ||
| 265 | #endif | ||
| 266 | |||
| 267 | #ifndef LIBXMU | 261 | #ifndef LIBXMU |
| 268 | #define LIBXMU -lXmu | 262 | #define LIBXMU -lXmu |
| 269 | #endif | 263 | #endif |
diff --git a/src/s/unixware.h b/src/s/unixware.h index d019b8bba80..d1e8748d913 100644 --- a/src/s/unixware.h +++ b/src/s/unixware.h | |||
| @@ -56,9 +56,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 56 | pty_name[sizeof(pty_name) - 1] = 0; \ | 56 | pty_name[sizeof(pty_name) - 1] = 0; \ |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | /* Use libw.a along with X11R6 Xt. */ | ||
| 60 | #define NEED_LIBW | ||
| 61 | |||
| 62 | /* Data type of load average, as read out of kmem. */ | 59 | /* Data type of load average, as read out of kmem. */ |
| 63 | 60 | ||
| 64 | #define LOAD_AVE_TYPE long | 61 | #define LOAD_AVE_TYPE long |