diff options
| author | Glenn Morris | 2010-04-27 23:54:25 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-04-27 23:54:25 -0700 |
| commit | e6ec4e99210e02fddacec7ec9badc48f5db08272 (patch) | |
| tree | ed3cc805b17863fe98243cc5bfc3e9ded300d60b | |
| parent | f1e3642ad5b3ee400bc02af40509b6b011d92567 (diff) | |
| download | emacs-e6ec4e99210e02fddacec7ec9badc48f5db08272.tar.gz emacs-e6ec4e99210e02fddacec7ec9badc48f5db08272.zip | |
Move NS_OBJ, NS_SUPPORT from cpp to configure.
* configure.in (NS_OBJ, NS_SUPPORT): New output variables.
* src/Makefile.in (NS_OBJ, NS_SUPPORT): Set with configure, not cpp.
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | configure.in | 7 | ||||
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/Makefile.in | 15 |
4 files changed, 15 insertions, 11 deletions
| @@ -1,5 +1,7 @@ | |||
| 1 | 2010-04-28 Glenn Morris <rgm@gnu.org> | 1 | 2010-04-28 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * configure.in (NS_OBJ, NS_SUPPORT): New output variables. | ||
| 4 | |||
| 3 | * configure.in (machine, canonical): On amdx86-64, check for a 32-bit | 5 | * configure.in (machine, canonical): On amdx86-64, check for a 32-bit |
| 4 | userland and maybe change values to i386 (move test from s/amdx86-64.h). | 6 | userland and maybe change values to i386 (move test from s/amdx86-64.h). |
| 5 | 7 | ||
diff --git a/configure.in b/configure.in index 6233b7fe730..f7e03df4cdb 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1404,6 +1404,9 @@ if test "${with_ns}" != no; then | |||
| 1404 | NS_HAVE_NSINTEGER=no | 1404 | NS_HAVE_NSINTEGER=no |
| 1405 | fi | 1405 | fi |
| 1406 | fi | 1406 | fi |
| 1407 | |||
| 1408 | NS_OBJ= | ||
| 1409 | NS_SUPPORT= | ||
| 1407 | if test "${HAVE_NS}" = yes; then | 1410 | if test "${HAVE_NS}" = yes; then |
| 1408 | window_system=nextstep | 1411 | window_system=nextstep |
| 1409 | with_xft=no | 1412 | with_xft=no |
| @@ -1413,9 +1416,13 @@ if test "${HAVE_NS}" = yes; then | |||
| 1413 | if test "${EN_NS_SELF_CONTAINED}" = yes; then | 1416 | if test "${EN_NS_SELF_CONTAINED}" = yes; then |
| 1414 | prefix=${ns_appresdir} | 1417 | prefix=${ns_appresdir} |
| 1415 | fi | 1418 | fi |
| 1419 | NS_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o fontset.o fringe.o image.o" | ||
| 1420 | NS_SUPPORT="\${lispsource}emacs-lisp/easymenu.elc \${lispsource}term/ns-win.elc" | ||
| 1416 | fi | 1421 | fi |
| 1417 | CFLAGS="$tmp_CFLAGS" | 1422 | CFLAGS="$tmp_CFLAGS" |
| 1418 | CPPFLAGS="$tmp_CPPFLAGS" | 1423 | CPPFLAGS="$tmp_CPPFLAGS" |
| 1424 | AC_SUBST(NS_OBJ) | ||
| 1425 | AC_SUBST(NS_SUPPORT) | ||
| 1419 | 1426 | ||
| 1420 | case "${window_system}" in | 1427 | case "${window_system}" in |
| 1421 | x11 ) | 1428 | x11 ) |
diff --git a/src/ChangeLog b/src/ChangeLog index 041ea278974..283507680de 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2010-04-28 Glenn Morris <rgm@gnu.org> | 1 | 2010-04-28 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (NS_OBJ, NS_SUPPORT): Set with configure, not cpp. | ||
| 4 | |||
| 3 | * m/amdx86-64.h [i386]: Move this test to configure.in. | 5 | * m/amdx86-64.h [i386]: Move this test to configure.in. |
| 4 | 6 | ||
| 5 | 2010-04-27 Glenn Morris <rgm@gnu.org> | 7 | 2010-04-27 Glenn Morris <rgm@gnu.org> |
diff --git a/src/Makefile.in b/src/Makefile.in index 9e505741524..15cb6fed79c 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -104,6 +104,9 @@ RSVG_CFLAGS= @RSVG_CFLAGS@ | |||
| 104 | ## widget.o if USE_X_TOOLKIT, otherwise empty. | 104 | ## widget.o if USE_X_TOOLKIT, otherwise empty. |
| 105 | WIDGET_OBJ=@WIDGET_OBJ@ | 105 | WIDGET_OBJ=@WIDGET_OBJ@ |
| 106 | 106 | ||
| 107 | NS_OBJ=@NS_OBJ@ | ||
| 108 | NS_SUPPORT=@NS_SUPPORT@ | ||
| 109 | |||
| 107 | LIBSELINUX_LIBS = @LIBSELINUX_LIBS@ | 110 | LIBSELINUX_LIBS = @LIBSELINUX_LIBS@ |
| 108 | 111 | ||
| 109 | INTERVALS_H = dispextern.h intervals.h composite.h | 112 | INTERVALS_H = dispextern.h intervals.h composite.h |
| @@ -369,9 +372,6 @@ ns_appdir=@ns_appdir@/ | |||
| 369 | ns_appbindir=@ns_appbindir@/ | 372 | ns_appbindir=@ns_appbindir@/ |
| 370 | ns_appresdir=@ns_appresdir@/ | 373 | ns_appresdir=@ns_appresdir@/ |
| 371 | ns_appsrc=@ns_appsrc@ | 374 | ns_appsrc=@ns_appsrc@ |
| 372 | /* Object files for NeXTstep */ | ||
| 373 | NS_OBJ= nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o \ | ||
| 374 | fontset.o fringe.o image.o | ||
| 375 | #endif /* HAVE_NS */ | 375 | #endif /* HAVE_NS */ |
| 376 | 376 | ||
| 377 | #ifdef HAVE_WINDOW_SYSTEM | 377 | #ifdef HAVE_WINDOW_SYSTEM |
| @@ -504,13 +504,6 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(WIDGET_OBJ) $(LIBOBJS) | |||
| 504 | #define TOOLTIP_SUPPORT | 504 | #define TOOLTIP_SUPPORT |
| 505 | #endif | 505 | #endif |
| 506 | 506 | ||
| 507 | #ifdef HAVE_NS | ||
| 508 | #define NS_SUPPORT ${lispsource}emacs-lisp/easymenu.elc \ | ||
| 509 | ${lispsource}term/ns-win.elc | ||
| 510 | #else | ||
| 511 | #define NS_SUPPORT | ||
| 512 | #endif | ||
| 513 | |||
| 514 | /* This is the platform-specific list of Lisp files loaded into the | 507 | /* This is the platform-specific list of Lisp files loaded into the |
| 515 | dumped Emacs. It is arranged like this because it is easier to generate | 508 | dumped Emacs. It is arranged like this because it is easier to generate |
| 516 | it semi-mechanically from loadup.el this way. | 509 | it semi-mechanically from loadup.el this way. |
| @@ -611,7 +604,7 @@ lisp= \ | |||
| 611 | MSDOS_SUPPORT \ | 604 | MSDOS_SUPPORT \ |
| 612 | WINNT_SUPPORT \ | 605 | WINNT_SUPPORT \ |
| 613 | WINDOW_SUPPORT \ | 606 | WINDOW_SUPPORT \ |
| 614 | NS_SUPPORT \ | 607 | ${NS_SUPPORT} \ |
| 615 | ${lispsource}widget.elc \ | 608 | ${lispsource}widget.elc \ |
| 616 | ${lispsource}window.elc \ | 609 | ${lispsource}window.elc \ |
| 617 | ${lispsource}version.el | 610 | ${lispsource}version.el |