diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/Makefile.in | 8 | ||||
| -rw-r--r-- | src/config.in | 68 |
3 files changed, 42 insertions, 40 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0675257abd3..dbcb185deb8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-04-27 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | Reduce CPP usage. | ||
| 4 | * Makefile.in (LIB_X11_LIB): Remove, inline in the only user. | ||
| 5 | (obj): Use autoconf for unexec instead of cpp. | ||
| 6 | |||
| 1 | 2010-04-27 Glenn Morris <rgm@gnu.org> | 7 | 2010-04-27 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around, | 9 | * m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around, |
diff --git a/src/Makefile.in b/src/Makefile.in index 2f1029cf70c..45a3031a0f2 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -252,10 +252,6 @@ ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@ | |||
| 252 | #endif | 252 | #endif |
| 253 | $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< | 253 | $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< |
| 254 | 254 | ||
| 255 | #ifndef LIB_X11_LIB | ||
| 256 | #define LIB_X11_LIB -lX11 | ||
| 257 | #endif | ||
| 258 | |||
| 259 | #ifdef HAVE_X_WINDOWS | 255 | #ifdef HAVE_X_WINDOWS |
| 260 | #ifdef HAVE_MENUS | 256 | #ifdef HAVE_MENUS |
| 261 | 257 | ||
| @@ -318,7 +314,7 @@ LIBXT=$(LIBW) $(LIBXSM) | |||
| 318 | /* LD_SWITCH_X_DEFAULT comes after everything else that specifies | 314 | /* LD_SWITCH_X_DEFAULT comes after everything else that specifies |
| 319 | options for where to find X libraries, but before those libraries. */ | 315 | options for where to find X libraries, but before those libraries. */ |
| 320 | X11_LDFLAGS = LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT | 316 | X11_LDFLAGS = LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT |
| 321 | LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) $(LIBTIFF) $(LIBJPEG) $(LIBPNG) $(LIBGIF) $(LIBXPM) LIB_X11_LIB $(XFT_LIBS) | 317 | LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) $(LIBTIFF) $(LIBJPEG) $(LIBPNG) $(LIBGIF) $(LIBXPM) -lX11 $(XFT_LIBS) |
| 322 | #else /* not HAVE_X11 */ | 318 | #else /* not HAVE_X11 */ |
| 323 | LIBX= $(LIBXMENU) LD_SWITCH_X_SITE | 319 | LIBX= $(LIBXMENU) LD_SWITCH_X_SITE |
| 324 | #endif /* not HAVE_X11 */ | 320 | #endif /* not HAVE_X11 */ |
| @@ -438,7 +434,7 @@ obj= dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ | |||
| 438 | cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \ | 434 | cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o \ |
| 439 | alloc.o data.o doc.o editfns.o callint.o \ | 435 | alloc.o data.o doc.o editfns.o callint.o \ |
| 440 | eval.o floatfns.o fns.o font.o print.o lread.o \ | 436 | eval.o floatfns.o fns.o font.o print.o lread.o \ |
| 441 | syntax.o UNEXEC bytecode.o \ | 437 | syntax.o @unexec@ bytecode.o \ |
| 442 | process.o callproc.o \ | 438 | process.o callproc.o \ |
| 443 | region-cache.o sound.o atimer.o \ | 439 | region-cache.o sound.o atimer.o \ |
| 444 | doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \ | 440 | doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \ |
diff --git a/src/config.in b/src/config.in index 25b45f8ca97..8c4b81a189e 100644 --- a/src/config.in +++ b/src/config.in | |||
| @@ -318,10 +318,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 318 | /* Define to 1 if you have the <kerberos/krb.h> header file. */ | 318 | /* Define to 1 if you have the <kerberos/krb.h> header file. */ |
| 319 | #undef HAVE_KERBEROS_KRB_H | 319 | #undef HAVE_KERBEROS_KRB_H |
| 320 | 320 | ||
| 321 | /* Define to 1 if `e_text' is member of `krb5_error'. */ | 321 | /* Define to 1 if `e_text' is a member of `krb5_error'. */ |
| 322 | #undef HAVE_KRB5_ERROR_E_TEXT | 322 | #undef HAVE_KRB5_ERROR_E_TEXT |
| 323 | 323 | ||
| 324 | /* Define to 1 if `text' is member of `krb5_error'. */ | 324 | /* Define to 1 if `text' is a member of `krb5_error'. */ |
| 325 | #undef HAVE_KRB5_ERROR_TEXT | 325 | #undef HAVE_KRB5_ERROR_TEXT |
| 326 | 326 | ||
| 327 | /* Define to 1 if you have the <krb5.h> header file. */ | 327 | /* Define to 1 if you have the <krb5.h> header file. */ |
| @@ -609,25 +609,25 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 609 | /* Define to 1 if you have the `strsignal' function. */ | 609 | /* Define to 1 if you have the `strsignal' function. */ |
| 610 | #undef HAVE_STRSIGNAL | 610 | #undef HAVE_STRSIGNAL |
| 611 | 611 | ||
| 612 | /* Define to 1 if `ifr_addr' is member of `struct ifreq'. */ | 612 | /* Define to 1 if `ifr_addr' is a member of `struct ifreq'. */ |
| 613 | #undef HAVE_STRUCT_IFREQ_IFR_ADDR | 613 | #undef HAVE_STRUCT_IFREQ_IFR_ADDR |
| 614 | 614 | ||
| 615 | /* Define to 1 if `ifr_broadaddr' is member of `struct ifreq'. */ | 615 | /* Define to 1 if `ifr_broadaddr' is a member of `struct ifreq'. */ |
| 616 | #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR | 616 | #undef HAVE_STRUCT_IFREQ_IFR_BROADADDR |
| 617 | 617 | ||
| 618 | /* Define to 1 if `ifr_flags' is member of `struct ifreq'. */ | 618 | /* Define to 1 if `ifr_flags' is a member of `struct ifreq'. */ |
| 619 | #undef HAVE_STRUCT_IFREQ_IFR_FLAGS | 619 | #undef HAVE_STRUCT_IFREQ_IFR_FLAGS |
| 620 | 620 | ||
| 621 | /* Define to 1 if `ifr_hwaddr' is member of `struct ifreq'. */ | 621 | /* Define to 1 if `ifr_hwaddr' is a member of `struct ifreq'. */ |
| 622 | #undef HAVE_STRUCT_IFREQ_IFR_HWADDR | 622 | #undef HAVE_STRUCT_IFREQ_IFR_HWADDR |
| 623 | 623 | ||
| 624 | /* Define to 1 if `ifr_netmask' is member of `struct ifreq'. */ | 624 | /* Define to 1 if `ifr_netmask' is a member of `struct ifreq'. */ |
| 625 | #undef HAVE_STRUCT_IFREQ_IFR_NETMASK | 625 | #undef HAVE_STRUCT_IFREQ_IFR_NETMASK |
| 626 | 626 | ||
| 627 | /* Define to 1 if `n_un.n_name' is member of `struct nlist'. */ | 627 | /* Define to 1 if `n_un.n_name' is a member of `struct nlist'. */ |
| 628 | #undef HAVE_STRUCT_NLIST_N_UN_N_NAME | 628 | #undef HAVE_STRUCT_NLIST_N_UN_N_NAME |
| 629 | 629 | ||
| 630 | /* Define to 1 if `tm_zone' is member of `struct tm'. */ | 630 | /* Define to 1 if `tm_zone' is a member of `struct tm'. */ |
| 631 | #undef HAVE_STRUCT_TM_TM_ZONE | 631 | #undef HAVE_STRUCT_TM_TM_ZONE |
| 632 | 632 | ||
| 633 | /* Define to 1 if `struct utimbuf' is declared by <utime.h>. */ | 633 | /* Define to 1 if `struct utimbuf' is declared by <utime.h>. */ |
| @@ -854,6 +854,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 854 | /* Define to the one symbol short name of this package. */ | 854 | /* Define to the one symbol short name of this package. */ |
| 855 | #undef PACKAGE_TARNAME | 855 | #undef PACKAGE_TARNAME |
| 856 | 856 | ||
| 857 | /* Define to the home page for this package. */ | ||
| 858 | #undef PACKAGE_URL | ||
| 859 | |||
| 857 | /* Define to the version of this package. */ | 860 | /* Define to the version of this package. */ |
| 858 | #undef PACKAGE_VERSION | 861 | #undef PACKAGE_VERSION |
| 859 | 862 | ||
| @@ -901,9 +904,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 901 | <sys/cpustats.h>. */ | 904 | <sys/cpustats.h>. */ |
| 902 | #undef UMAX4_3 | 905 | #undef UMAX4_3 |
| 903 | 906 | ||
| 904 | /* Define to the unexec source file name. */ | ||
| 905 | #undef UNEXEC_SRC | ||
| 906 | |||
| 907 | /* Define to 1 if using GTK. */ | 907 | /* Define to 1 if using GTK. */ |
| 908 | #undef USE_GTK | 908 | #undef USE_GTK |
| 909 | 909 | ||
| @@ -913,6 +913,28 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 913 | /* Define to 1 if using the Motif X toolkit. */ | 913 | /* Define to 1 if using the Motif X toolkit. */ |
| 914 | #undef USE_MOTIF | 914 | #undef USE_MOTIF |
| 915 | 915 | ||
| 916 | /* Enable extensions on AIX 3, Interix. */ | ||
| 917 | #ifndef _ALL_SOURCE | ||
| 918 | # undef _ALL_SOURCE | ||
| 919 | #endif | ||
| 920 | /* Enable GNU extensions on systems that have them. */ | ||
| 921 | #ifndef _GNU_SOURCE | ||
| 922 | # undef _GNU_SOURCE | ||
| 923 | #endif | ||
| 924 | /* Enable threading extensions on Solaris. */ | ||
| 925 | #ifndef _POSIX_PTHREAD_SEMANTICS | ||
| 926 | # undef _POSIX_PTHREAD_SEMANTICS | ||
| 927 | #endif | ||
| 928 | /* Enable extensions on HP NonStop. */ | ||
| 929 | #ifndef _TANDEM_SOURCE | ||
| 930 | # undef _TANDEM_SOURCE | ||
| 931 | #endif | ||
| 932 | /* Enable general extensions on Solaris. */ | ||
| 933 | #ifndef __EXTENSIONS__ | ||
| 934 | # undef __EXTENSIONS__ | ||
| 935 | #endif | ||
| 936 | |||
| 937 | |||
| 916 | /* Define to 1 if we should use toolkit scroll bars. */ | 938 | /* Define to 1 if we should use toolkit scroll bars. */ |
| 917 | #undef USE_TOOLKIT_SCROLL_BARS | 939 | #undef USE_TOOLKIT_SCROLL_BARS |
| 918 | 940 | ||
| @@ -948,28 +970,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 948 | /* Define to 1 if you need to in order for `stat' and other things to work. */ | 970 | /* Define to 1 if you need to in order for `stat' and other things to work. */ |
| 949 | #undef _POSIX_SOURCE | 971 | #undef _POSIX_SOURCE |
| 950 | 972 | ||
| 951 | /* Enable extensions on AIX 3, Interix. */ | ||
| 952 | #ifndef _ALL_SOURCE | ||
| 953 | # undef _ALL_SOURCE | ||
| 954 | #endif | ||
| 955 | /* Enable GNU extensions on systems that have them. */ | ||
| 956 | #ifndef _GNU_SOURCE | ||
| 957 | # undef _GNU_SOURCE | ||
| 958 | #endif | ||
| 959 | /* Enable threading extensions on Solaris. */ | ||
| 960 | #ifndef _POSIX_PTHREAD_SEMANTICS | ||
| 961 | # undef _POSIX_PTHREAD_SEMANTICS | ||
| 962 | #endif | ||
| 963 | /* Enable extensions on HP NonStop. */ | ||
| 964 | #ifndef _TANDEM_SOURCE | ||
| 965 | # undef _TANDEM_SOURCE | ||
| 966 | #endif | ||
| 967 | /* Enable general extensions on Solaris. */ | ||
| 968 | #ifndef __EXTENSIONS__ | ||
| 969 | # undef __EXTENSIONS__ | ||
| 970 | #endif | ||
| 971 | |||
| 972 | |||
| 973 | /* Define to rpl_ if the getopt replacement functions and variables should be | 973 | /* Define to rpl_ if the getopt replacement functions and variables should be |
| 974 | used. */ | 974 | used. */ |
| 975 | #undef __GETOPT_PREFIX | 975 | #undef __GETOPT_PREFIX |