summaryrefslogtreecommitdiff
path: root/src/config.in
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-06-29 20:43:30 -0700
committerGlenn Morris <rgm@gnu.org>2010-06-29 20:43:30 -0700
commita46007e939dcdb94301d4ea6eb94539cfa580e1d (patch)
treec27b46af22c17368b54715c8d05c9d4d7be7b466 /src/config.in
parente7586c7a671ea10004afc3d8e48718eed8c7ce26 (diff)
downloademacs-a46007e939dcdb94301d4ea6eb94539cfa580e1d.tar.gz
* configure.in (HAVE_SOUND, HAVE_X_I18N, HAVE_X11R6_XIM):
Set with AC_DEFINE rather than AH_BOTTOM. * src/s/sol2-6.h (INHIBIT_X11R6_XIM): Remove, handled by configure now. * admin/CPP-DEFINES: Remove INHIBIT_X11R6_XIM. * configure, src/config.in: Regenerate.
Diffstat (limited to 'src/config.in')
-rw-r--r--src/config.in49
1 files changed, 13 insertions, 36 deletions
diff --git a/src/config.in b/src/config.in
index 098edeafd4a..e796e30b79d 100644
--- a/src/config.in
+++ b/src/config.in
@@ -588,6 +588,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Define to 1 if the system has the type `size_t'. */
#undef HAVE_SIZE_T
+/* Define to 1 if you have sound support. */
+#undef HAVE_SOUND
+
/* Define to 1 if you have the <soundcard.h> header file. */
#undef HAVE_SOUNDCARD_H
@@ -765,6 +768,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Define to 1 if you have the X11R6 or newer version of Xlib. */
#undef HAVE_X11R6
+/* Define if you have usable X11R6-style XIM support. */
+#undef HAVE_X11R6_XIM
+
/* Define to 1 if you have the X11R6 or newer version of Xt. */
#undef HAVE_X11XTR6
@@ -795,6 +801,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Define to 1 if you have the `XSetWMProtocols' function. */
#undef HAVE_XSETWMPROTOCOLS
+/* Define if you have usable i18n support. */
+#undef HAVE_X_I18N
+
/* Define to 1 if you have the SM library (-lSM). */
#undef HAVE_X_SM
@@ -1036,25 +1045,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Turned on June 1996 supposing nobody will mind it. */
#define AMPERSAND_FULL_NAME
-/* Define HAVE_SOUND if we have sound support. We know it works
- and compiles only on the specified platforms. For others,
- it probably doesn't make sense to try. */
-
-#if defined __FreeBSD__ || defined __NetBSD__ || defined __linux__
-#ifdef HAVE_MACHINE_SOUNDCARD_H
-#define HAVE_SOUND 1
-#endif
-#ifdef HAVE_SYS_SOUNDCARD_H
-#define HAVE_SOUND 1
-#endif
-#ifdef HAVE_SOUNDCARD_H
-#define HAVE_SOUND 1
-#endif
-#ifdef HAVE_ALSA
-#define HAVE_SOUND 1
-#endif
-#endif /* __FreeBSD__ || __NetBSD__ || __linux__ */
-
/* If using GNU, then support inline function declarations. */
/* Don't try to switch on inline handling as detected by AC_C_INLINE
generally, because even if non-gcc compilers accept `inline', they
@@ -1083,9 +1073,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
parallel this exactly since GNUstep is multi-OS. */
#ifdef HAVE_NS
# ifdef NS_IMPL_GNUSTEP
-/* GNUstep needs a bit more pure memory. Of the existing knobs,
+ /* GNUstep needs a bit more pure memory. Of the existing knobs,
SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */
-# define SYSTEM_PURESIZE_EXTRA 30000
+ # define SYSTEM_PURESIZE_EXTRA 30000
# endif /* NS_IMPL_GNUSTEP */
#endif /* HAVE_NS */
@@ -1145,9 +1135,8 @@ extern char *getenv ();
#endif
#endif
-/* Define if the compiler supports function prototypes. It may do so
- but not define __STDC__ (e.g. DEC C by default) or may define it as
- zero. */
+/* Define if the compiler supports function prototypes. It may do so but
+ not define __STDC__ (e.g. DEC C by default) or may define it as zero. */
#undef PROTOTYPES
/* For mktime.c: */
#ifndef __P
@@ -1188,18 +1177,6 @@ void *alloca (size_t);
typedef unsigned size_t;
#endif
-/* Define HAVE_X_I18N if we have usable i18n support. */
-
-#ifdef HAVE_X11R6
-#define HAVE_X_I18N
-#endif
-
-/* Define HAVE_X11R6_XIM if we have usable X11R6-style XIM support. */
-
-#if defined HAVE_X11R6 && !defined INHIBIT_X11R6_XIM
-#define HAVE_X11R6_XIM
-#endif
-
#if defined __GNUC__ && (__GNUC__ > 2 \
|| (__GNUC__ == 2 && __GNUC_MINOR__ >= 5))
#define NO_RETURN __attribute__ ((__noreturn__))