[uim-commit] r1613 - branches/r5rs/sigscheme
kzk at freedesktop.org
kzk at freedesktop.org
Tue Sep 27 09:35:30 PDT 2005
Author: kzk
Date: 2005-09-27 09:35:27 -0700 (Tue, 27 Sep 2005)
New Revision: 1613
Added:
branches/r5rs/sigscheme/config.h
Modified:
branches/r5rs/sigscheme/sigscheme.h
Log:
* sigscheme/config.h
* sigscheme/sigscheme.h
- (SCM_USE_EUCJP, SCM_USE_SRFI1,
SCM_USE_SRFI2, SCM_USE_SRFI8,
SCM_USE_SRFI23, SCM_USE_SRFI38,
SCM_USE_SRFI60, SCM_USE_NONSTD_FEATURES,
SCM_COMPAT_SIOD, SCM_COMPAT_SIOD_BUGS,
SCM_STRICT_R5RS, SCM_STRICT_ARGCHECK,
SCM_ACCESSOR_ASSERT, SCM_GCC4_READY_GC,
SCM_USE_VALUECONS, SCM_VOLATILE_OUTPUT)
: move to "config.h" from "sigscheme.h"
Added: branches/r5rs/sigscheme/config.h
===================================================================
--- branches/r5rs/sigscheme/config.h 2005-09-27 16:22:21 UTC (rev 1612)
+++ branches/r5rs/sigscheme/config.h 2005-09-27 16:35:27 UTC (rev 1613)
@@ -0,0 +1,73 @@
+/*===========================================================================
+ * FileName : config.h
+ * About : build configuration file
+ *
+ * Copyright (C) 2005 by Kazuki Ohta (mover at hct.zaq.ne.jp)
+ *
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of authors nor the names of its contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+===========================================================================*/
+#ifndef __SIGSCHEME_CONFIG_H
+#define __SIGSCHEME_CONFIG_H
+
+/*===========================================================================
+ Character Encoding
+===========================================================================*/
+#define SCM_USE_EUCJP 1 /* use EUC-JP as internal encoding */
+
+/*===========================================================================
+ SRFI(Scheme Request for Implementation)
+===========================================================================*/
+#define SCM_USE_SRFI1 0 /* use SRFI-1 list library procedures written in C */
+#define SCM_USE_SRFI2 1 /* use SRFI-2 and-let* */
+#define SCM_USE_SRFI8 1 /* use SRFI-8 receive procedure written in C */
+#define SCM_USE_SRFI23 1 /* use SRFI-23 error procedure written in C */
+#define SCM_USE_SRFI38 1 /* use SRFI-38 write/ss written in C */
+#define SCM_USE_SRFI60 1 /* use SRFI-60 integers as bits written in C */
+
+/*===========================================================================
+ General Extensions
+===========================================================================*/
+#define SCM_USE_NONSTD_FEATURES 1 /* use Non-R5RS standard features such as "require" */
+
+/*===========================================================================
+ SIOD(Scheme In One Defun) Compatiblity
+===========================================================================*/
+#define SCM_COMPAT_SIOD 1 /* use SIOD compatible features */
+#define SCM_COMPAT_SIOD_BUGS 1 /* emulate the buggy behaviors of SIOD */
+
+/*===========================================================================
+ Miscellaneous
+===========================================================================*/
+#define SCM_STRICT_R5RS 0 /* use strict R5RS check */
+#define SCM_STRICT_ARGCHECK 1 /* enable strict argument check */
+#define SCM_ACCESSOR_ASSERT 0 /* enable strict type check with accessor */
+#define SCM_GCC4_READY_GC 1 /* use experimental gcc4-ready stack protection */
+#define SCM_USE_VALUECONS 1 /* use experimental values passing */
+#define SCM_VOLATILE_OUTPUT 0 /* always flush files on write */
+
+#endif /* __SIGSCHEME_CONFIG_H */
Modified: branches/r5rs/sigscheme/sigscheme.h
===================================================================
--- branches/r5rs/sigscheme/sigscheme.h 2005-09-27 16:22:21 UTC (rev 1612)
+++ branches/r5rs/sigscheme/sigscheme.h 2005-09-27 16:35:27 UTC (rev 1613)
@@ -49,27 +49,11 @@
/*=======================================
Local Include
=======================================*/
+#include "config.h"
/*=======================================
Macro Declarations
=======================================*/
-/* FIXME: split off to config.h */
-#define SCM_USE_EUCJP 1 /* use EUC-JP as internal encoding */
-#define SCM_USE_SRFI1 0 /* use SRFI-1 list library procedures written in C */
-#define SCM_USE_SRFI2 1 /* use SRFI-2 and-let* */
-#define SCM_USE_SRFI8 1 /* use SRFI-8 receive procedure written in C */
-#define SCM_USE_SRFI23 1 /* use SRFI-23 error procedure written in C */
-#define SCM_USE_SRFI38 1 /* use SRFI-38 write/ss written in C */
-#define SCM_USE_SRFI60 1 /* use SRFI-60 integers as bits written in C */
-#define SCM_USE_NONSTD_FEATURES 1 /* use Non-R5RS standard features */
-#define SCM_COMPAT_SIOD 1 /* use SIOD compatible features */
-#define SCM_COMPAT_SIOD_BUGS 1 /* emulate the buggy behaviors of SIOD */
-#define SCM_STRICT_R5RS 0 /* use strict R5RS check */
-#define SCM_STRICT_ARGCHECK 1 /* enable strict argument check */
-#define SCM_ACCESSOR_ASSERT 0 /* enable strict type check with accessor */
-#define SCM_GCC4_READY_GC 1 /* use experimental gcc4-ready stack protection */
-#define SCM_USE_VALUECONS 1 /* use experimental values passing */
-#define SCM_VOLATILE_OUTPUT 0 /* always flush files on write */
/* dependency resolution */
#if SCM_COMPAT_SIOD
More information about the uim-commit
mailing list