aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2008-04-16 19:53:06 +0000
committerStefan Monnier2008-04-16 19:53:06 +0000
commita51f4969027895470f93bc988a2bda3c7dee5ff1 (patch)
treef5277d3c1b6de4f6fdddad8dfa170f65a9be32fc /src
parent7316a2b57c54909629ecb6db0585a960a1fc2624 (diff)
downloademacs-a51f4969027895470f93bc988a2bda3c7dee5ff1.tar.gz
emacs-a51f4969027895470f93bc988a2bda3c7dee5ff1.zip
* configure.in (SYNC_INPUT): Use OPTION_DEFAULT_ON and AC_DEFINE
rather than change CPPFLAGS. (HAVE_GTK): Rename to USE_GTK. * Makefile.in: Don't use HAVE_GTK and don't -DUSE_GTK since it's now done in config.h.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/Makefile.in11
-rw-r--r--src/config.in30
3 files changed, 35 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b814ed3e57f..dd0d8cd266f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12008-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * Makefile.in: Don't use HAVE_GTK and don't -DUSE_GTK since it's now
4 done in config.h.
5
12008-04-16 Juanma Barranquero <lekktu@gmail.com> 62008-04-16 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * character.c (Fchar_bytes, Fchar_width, Fstring_width) 8 * character.c (Fchar_bytes, Fchar_width, Fstring_width)
diff --git a/src/Makefile.in b/src/Makefile.in
index 4ed0b19ed5f..8566848a434 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -240,11 +240,6 @@ STARTFILES = START_FILES
240#endif /* not ORDINARY_LINK */ 240#endif /* not ORDINARY_LINK */
241 241
242 242
243#if HAVE_GTK
244#define USE_GTK
245TOOLKIT_DEFINES = -DUSE_GTK
246#endif
247
248#ifdef USE_X_TOOLKIT 243#ifdef USE_X_TOOLKIT
249#define USE_@X_TOOLKIT_TYPE@ 244#define USE_@X_TOOLKIT_TYPE@
250TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@ 245TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@
@@ -980,7 +975,7 @@ temacs${EXEEXT}: $(LOCALCPP) $(STARTFILES) stamp-oldxmenu ${obj} ${otherobj} OBJ
980prefix-args${EXEEXT}: prefix-args.c $(config_h) 975prefix-args${EXEEXT}: prefix-args.c $(config_h)
981 $(CC) $(ALL_CFLAGS) $(LDFLAGS) ${srcdir}/prefix-args.c -o prefix-args 976 $(CC) $(ALL_CFLAGS) $(LDFLAGS) ${srcdir}/prefix-args.c -o prefix-args
982 977
983#if defined (HAVE_X_WINDOWS) && defined (HAVE_X11) && defined (HAVE_MENUS) && ! defined (HAVE_GTK) 978#if defined (HAVE_X_WINDOWS) && defined (HAVE_X11) && defined (HAVE_MENUS) && ! defined (USE_GTK)
984 979
985/* We use stamp-xmenu with these two deps 980/* We use stamp-xmenu with these two deps
986 to both ensure that lwlib gets remade based on its dependencies 981 to both ensure that lwlib gets remade based on its dependencies
@@ -1029,12 +1024,12 @@ really-oldXMenu:
1029 @true /* make -t should not create really-oldXMenu. */ 1024 @true /* make -t should not create really-oldXMenu. */
1030.PHONY: really-oldXMenu 1025.PHONY: really-oldXMenu
1031#endif /* not USE_X_TOOLKIT */ 1026#endif /* not USE_X_TOOLKIT */
1032#else /* not (HAVE_X_WINDOWS && HAVE_X11 && HAVE_MENUS && ! HAVE_GTK) */ 1027#else /* not (HAVE_X_WINDOWS && HAVE_X11 && HAVE_MENUS && ! USE_GTK) */
1033 1028
1034/* We don''t really need this, but satisfy the dependency. */ 1029/* We don''t really need this, but satisfy the dependency. */
1035stamp-oldxmenu: 1030stamp-oldxmenu:
1036 touch stamp-oldxmenu 1031 touch stamp-oldxmenu
1037#endif /* not (HAVE_X_WINDOWS && HAVE_X11 && HAVE_MENUS && ! HAVE_GTK) */ 1032#endif /* not (HAVE_X_WINDOWS && HAVE_X11 && HAVE_MENUS && ! USE_GTK) */
1038 1033
1039../config.status:: epaths.in 1034../config.status:: epaths.in
1040 @echo "The file epaths.h needs to be set up from epaths.in." 1035 @echo "The file epaths.h needs to be set up from epaths.in."
diff --git a/src/config.in b/src/config.in
index 83e58b0a401..b3fefc18853 100644
--- a/src/config.in
+++ b/src/config.in
@@ -244,9 +244,6 @@ Boston, MA 02110-1301, USA. */
244/* Define to 1 if you have the `grantpt' function. */ 244/* Define to 1 if you have the `grantpt' function. */
245#undef HAVE_GRANTPT 245#undef HAVE_GRANTPT
246 246
247/* Define to 1 if using GTK. */
248#undef HAVE_GTK
249
250/* Define to 1 if you have GTK and pthread (-lpthread). */ 247/* Define to 1 if you have GTK and pthread (-lpthread). */
251#undef HAVE_GTK_AND_PTHREAD 248#undef HAVE_GTK_AND_PTHREAD
252 249
@@ -837,6 +834,9 @@ Boston, MA 02110-1301, USA. */
837/* Define to 1 on System V Release 4. */ 834/* Define to 1 on System V Release 4. */
838#undef SVR4 835#undef SVR4
839 836
837/* Process async input synchronously. */
838#undef SYNC_INPUT
839
840/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 840/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
841#undef TIME_WITH_SYS_TIME 841#undef TIME_WITH_SYS_TIME
842 842
@@ -856,6 +856,9 @@ Boston, MA 02110-1301, USA. */
856/* Define to 1 if we should use font-backend. */ 856/* Define to 1 if we should use font-backend. */
857#undef USE_FONT_BACKEND 857#undef USE_FONT_BACKEND
858 858
859/* Define to 1 if using GTK. */
860#undef USE_GTK
861
859/* Define to 1 if we should use toolkit scroll bars. */ 862/* Define to 1 if we should use toolkit scroll bars. */
860#undef USE_TOOLKIT_SCROLL_BARS 863#undef USE_TOOLKIT_SCROLL_BARS
861 864
@@ -890,6 +893,27 @@ Boston, MA 02110-1301, USA. */
890/* Define for large files, on AIX-style hosts. */ 893/* Define for large files, on AIX-style hosts. */
891#undef _LARGE_FILES 894#undef _LARGE_FILES
892 895
896/* Define to 1 if on MINIX. */
897#undef _MINIX
898
899/* Define to 2 if the system does not provide POSIX.1 features except with
900 this defined. */
901#undef _POSIX_1_SOURCE
902
903/* Define to 1 if you need to in order for `stat' and other things to work. */
904#undef _POSIX_SOURCE
905
906/* Enable extensions on Solaris. */
907#ifndef __EXTENSIONS__
908# undef __EXTENSIONS__
909#endif
910#ifndef _POSIX_PTHREAD_SEMANTICS
911# undef _POSIX_PTHREAD_SEMANTICS
912#endif
913#ifndef _TANDEM_SOURCE
914# undef _TANDEM_SOURCE
915#endif
916
893/* Define to rpl_ if the getopt replacement functions and variables should be 917/* Define to rpl_ if the getopt replacement functions and variables should be
894 used. */ 918 used. */
895#undef __GETOPT_PREFIX 919#undef __GETOPT_PREFIX