summaryrefslogtreecommitdiff
path: root/autogen
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-06-07 06:18:29 -0400
committerGlenn Morris <rgm@gnu.org>2011-06-07 06:18:29 -0400
commit0442dc7f7b592a37bd097ca450a02870f1155096 (patch)
tree879e5caa8b69a2d73291d750958d308d381766a3 /autogen
parentabde8f8c7b14b0a851dc0dec23e7444550a148cf (diff)
downloademacs-0442dc7f7b592a37bd097ca450a02870f1155096.tar.gz
Auto-commit of generated files.
Diffstat (limited to 'autogen')
-rw-r--r--autogen/config.in17
-rwxr-xr-xautogen/configure16
2 files changed, 33 insertions, 0 deletions
diff --git a/autogen/config.in b/autogen/config.in
index 24650ae7084..b3e14609845 100644
--- a/autogen/config.in
+++ b/autogen/config.in
@@ -1101,6 +1101,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
'wchar_t'. */
#undef WCHAR_T_SUFFIX
+/* Use long long for EMACS_INT if available. */
+#undef WIDE_EMACS_INT
+
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'wint_t'. */
#undef WINT_T_SUFFIX
@@ -1261,6 +1264,20 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
is a misnomer outside of parameter lists. */
#define _UNUSED_PARAMETER_ _GL_UNUSED
+/* The __pure__ attribute was added in gcc 2.96. */
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
+# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
+#else
+# define _GL_ATTRIBUTE_PURE /* empty */
+#endif
+
+/* The __const__ attribute was added in gcc 2.95. */
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
+# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
+#else
+# define _GL_ATTRIBUTE_CONST /* empty */
+#endif
+
/* Define as a macro for copying va_list variables. */
#undef va_copy
diff --git a/autogen/configure b/autogen/configure
index 534566359ee..63d0d9ee394 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -1249,6 +1249,7 @@ with_mailhost
with_sound
with_sync_input
with_x_toolkit
+with_wide_int
with_xpm
with_jpeg
with_tiff
@@ -1962,6 +1963,7 @@ Optional Packages:
--without-sync-input process async input synchronously
--with-x-toolkit=KIT use an X toolkit (KIT one of: yes or gtk, gtk3,
lucid or athena, motif, no)
+ --with-wide-int prefer wide Emacs integers (typically 62-bit)
--without-xpm don't compile with XPM image support
--without-jpeg don't compile with JPEG image support
--without-tiff don't compile with TIFF image support
@@ -3823,6 +3825,20 @@ fi
+# Check whether --with-wide-int was given.
+if test "${with_wide_int+set}" = set; then :
+ withval=$with_wide_int;
+else
+ with_wide_int=no
+fi
+
+if test "$with_wide_int" = yes; then
+
+$as_echo "#define WIDE_EMACS_INT 1" >>confdefs.h
+
+fi
+
+
# Check whether --with-xpm was given.
if test "${with_xpm+set}" = set; then :
withval=$with_xpm;