[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: branch: master updated (1.1.1.20070708-54-g0f5c72d)
The branch, master has been updated
via 0f5c72daacfa7d78666769e4063122934861da5c (commit)
from 5c098070b87709540345afb1b3b79d9db470ed53 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
gattrib/configure.ac | 48 +++++++++++++++++++++++++++++-------------------
gnetlist/configure.ac | 48 +++++++++++++++++++++++++++++-------------------
gschem/configure.ac.in | 48 +++++++++++++++++++++++++++++-------------------
gsymcheck/configure.ac | 48 +++++++++++++++++++++++++++++-------------------
libgeda/configure.ac | 48 +++++++++++++++++++++++++++++-------------------
utils/configure.ac | 48 +++++++++++++++++++++++++++++-------------------
6 files changed, 174 insertions(+), 114 deletions(-)
=================
Commit Messages
=================
commit 0f5c72daacfa7d78666769e4063122934861da5c
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Sun Aug 5 22:36:56 2007 +0100
Alter guile 1.6 compat tests to work with older autoconf versions
Don't use AC_DEFINE to define function like macros, instead use
AC_CHECK_DECLS to set a HAVE_DECL_..., then use AH_VERBATIM to
insert a test which defines a replacement if necessary.
:100644 100644 74871d7... 58a69ad... M gattrib/configure.ac
:100644 100644 0339517... 7682535... M gnetlist/configure.ac
:100644 100644 f0c9bc7... 2474086... M gschem/configure.ac.in
:100644 100644 4bfb973... 5f02557... M gsymcheck/configure.ac
:100644 100644 7bfc576... 9eef91e... M libgeda/configure.ac
:100644 100644 2e78d1f... 9513efb... M utils/configure.ac
=========
Changes
=========
commit 0f5c72daacfa7d78666769e4063122934861da5c
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Sun Aug 5 22:36:56 2007 +0100
Alter guile 1.6 compat tests to work with older autoconf versions
Don't use AC_DEFINE to define function like macros, instead use
AC_CHECK_DECLS to set a HAVE_DECL_..., then use AH_VERBATIM to
insert a test which defines a replacement if necessary.
diff --git a/gattrib/configure.ac b/gattrib/configure.ac
index 74871d7..58a69ad 100644
--- a/gattrib/configure.ac
+++ b/gattrib/configure.ac
@@ -85,25 +85,35 @@ fi
# Guile 1.6 compatability
-AC_CHECK_DECL(scm_is_string,,
- AC_DEFINE(scm_is_string(x), (SCM_STRINGP(x)), [Compatability define for scm_is_string]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_integer,,
- AC_DEFINE(scm_is_integer(x), (SCM_INUMP(x)), [Compatability define for scm_is_integer]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_int,,
- AC_DEFINE(scm_to_int(x), (SCM_INUM(x)), [Compatability define for scm_to_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_from_int,,
- AC_DEFINE(scm_from_int(x), (SCM_MAKINUM(x)), [Compatability define for scm_from_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_true,,
- AC_DEFINE(scm_is_true(x), (SCM_NFALSEP(x)), [Compatability define for scm_is_true]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_false,,
- AC_DEFINE(scm_is_false(x), (SCM_FALSEP(x)), [Compatability define for scm_is_false]), [#include <libguile.h>])
-
-AC_CHECK_DECL(scm_from_locale_string,,
- AC_DEFINE(scm_from_locale_string(x), (scm_makfrom0str(x)), [Compatability define for scm_from_locale_string]),
- [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_locale_string,,
- AC_DEFINE(scm_to_locale_string(x), (strdup(SCM_STRING_CHARS(x))), [Compatability define for scm_to_locale_string]),
- [#include <libguile.h>])
+AC_CHECK_DECLS([scm_is_string, scm_is_integer, scm_to_int,
+scm_from_int, scm_is_true, scm_is_false,
+scm_from_locale_string, scm_to_locale_string],,,
+[#include <libguile.h>])
+
+AH_VERBATIM(SCM_IS_STRING, [#if !HAVE_DECL_SCM_IS_STRING
+# define scm_is_string(x) SCM_STRINGP(x)
+#endif])
+AH_VERBATIM(SCM_IS_INTEGER, [#if !HAVE_DECL_SCM_IS_INTEGER
+# define scm_is_integer(x) SCM_INUMP(x)
+#endif])
+AH_VERBATIM(SCM_TO_INT, [#if !HAVE_DECL_SCM_TO_INT
+# define scm_to_int(x) SCM_INUM(x)
+#endif])
+AH_VERBATIM(SCM_FROM_INT, [#if !HAVE_DECL_SCM_FROM_INT
+# define scm_from_int(x) SCM_MAKINUM(x)
+#endif])
+AH_VERBATIM(SCM_IS_TRUE, [#if !HAVE_DECL_SCM_IS_TRUE
+# define scm_is_true(x) SCM_NFALSEP(x)
+#endif])
+AH_VERBATIM(SCM_IS_FALSE, [#if !HAVE_DECL_SCM_IS_FALSE
+# define scm_is_false(x) SCM_FALSEP(x)
+#endif])
+AH_VERBATIM(SCM_FROM_LOCALE_STRING, [#if !HAVE_DECL_SCM_FROM_LOCALE_STRING
+# define scm_from_locale_string(x) scm_makfrom0str(x)
+#endif])
+AH_VERBATIM(SCM_TO_LOCALE_STRING, [#if !HAVE_DECL_SCM_TO_LOCALE_STRING
+# define scm_to_locale_string(x) strdup(SCM_STRING_CHARS(x))
+#endif])
#
# Check for guile end
diff --git a/gnetlist/configure.ac b/gnetlist/configure.ac
index 0339517..7682535 100644
--- a/gnetlist/configure.ac
+++ b/gnetlist/configure.ac
@@ -164,25 +164,35 @@ fi
# Guile 1.6 compatability
-AC_CHECK_DECL(scm_is_string,,
- AC_DEFINE(scm_is_string(x), (SCM_STRINGP(x)), [Compatability define for scm_is_string]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_integer,,
- AC_DEFINE(scm_is_integer(x), (SCM_INUMP(x)), [Compatability define for scm_is_integer]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_int,,
- AC_DEFINE(scm_to_int(x), (SCM_INUM(x)), [Compatability define for scm_to_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_from_int,,
- AC_DEFINE(scm_from_int(x), (SCM_MAKINUM(x)), [Compatability define for scm_from_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_true,,
- AC_DEFINE(scm_is_true(x), (SCM_NFALSEP(x)), [Compatability define for scm_is_true]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_false,,
- AC_DEFINE(scm_is_false(x), (SCM_FALSEP(x)), [Compatability define for scm_is_false]), [#include <libguile.h>])
-
-AC_CHECK_DECL(scm_from_locale_string,,
- AC_DEFINE(scm_from_locale_string(x), (scm_makfrom0str(x)), [Compatability define for scm_from_locale_string]),
- [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_locale_string,,
- AC_DEFINE(scm_to_locale_string(x), (strdup(SCM_STRING_CHARS(x))), [Compatability define for scm_to_locale_string]),
- [#include <libguile.h>])
+AC_CHECK_DECLS([scm_is_string, scm_is_integer, scm_to_int,
+scm_from_int, scm_is_true, scm_is_false,
+scm_from_locale_string, scm_to_locale_string],,,
+[#include <libguile.h>])
+
+AH_VERBATIM(SCM_IS_STRING, [#if !HAVE_DECL_SCM_IS_STRING
+# define scm_is_string(x) SCM_STRINGP(x)
+#endif])
+AH_VERBATIM(SCM_IS_INTEGER, [#if !HAVE_DECL_SCM_IS_INTEGER
+# define scm_is_integer(x) SCM_INUMP(x)
+#endif])
+AH_VERBATIM(SCM_TO_INT, [#if !HAVE_DECL_SCM_TO_INT
+# define scm_to_int(x) SCM_INUM(x)
+#endif])
+AH_VERBATIM(SCM_FROM_INT, [#if !HAVE_DECL_SCM_FROM_INT
+# define scm_from_int(x) SCM_MAKINUM(x)
+#endif])
+AH_VERBATIM(SCM_IS_TRUE, [#if !HAVE_DECL_SCM_IS_TRUE
+# define scm_is_true(x) SCM_NFALSEP(x)
+#endif])
+AH_VERBATIM(SCM_IS_FALSE, [#if !HAVE_DECL_SCM_IS_FALSE
+# define scm_is_false(x) SCM_FALSEP(x)
+#endif])
+AH_VERBATIM(SCM_FROM_LOCALE_STRING, [#if !HAVE_DECL_SCM_FROM_LOCALE_STRING
+# define scm_from_locale_string(x) scm_makfrom0str(x)
+#endif])
+AH_VERBATIM(SCM_TO_LOCALE_STRING, [#if !HAVE_DECL_SCM_TO_LOCALE_STRING
+# define scm_to_locale_string(x) strdup(SCM_STRING_CHARS(x))
+#endif])
#
# Check for guile end
diff --git a/gschem/configure.ac.in b/gschem/configure.ac.in
index f0c9bc7..2474086 100644
--- a/gschem/configure.ac.in
+++ b/gschem/configure.ac.in
@@ -88,25 +88,35 @@ fi
# Guile 1.6 compatability
-AC_CHECK_DECL(scm_is_string,,
- AC_DEFINE(scm_is_string(x), (SCM_STRINGP(x)), [Compatability define for scm_is_string]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_integer,,
- AC_DEFINE(scm_is_integer(x), (SCM_INUMP(x)), [Compatability define for scm_is_integer]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_int,,
- AC_DEFINE(scm_to_int(x), (SCM_INUM(x)), [Compatability define for scm_to_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_from_int,,
- AC_DEFINE(scm_from_int(x), (SCM_MAKINUM(x)), [Compatability define for scm_from_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_true,,
- AC_DEFINE(scm_is_true(x), (SCM_NFALSEP(x)), [Compatability define for scm_is_true]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_false,,
- AC_DEFINE(scm_is_false(x), (SCM_FALSEP(x)), [Compatability define for scm_is_false]), [#include <libguile.h>])
-
-AC_CHECK_DECL(scm_from_locale_string,,
- AC_DEFINE(scm_from_locale_string(x), (scm_makfrom0str(x)), [Compatability define for scm_from_locale_string]),
- [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_locale_string,,
- AC_DEFINE(scm_to_locale_string(x), (strdup(SCM_STRING_CHARS(x))), [Compatability define for scm_to_locale_string]),
- [#include <libguile.h>])
+AC_CHECK_DECLS([scm_is_string, scm_is_integer, scm_to_int,
+scm_from_int, scm_is_true, scm_is_false,
+scm_from_locale_string, scm_to_locale_string],,,
+[#include <libguile.h>])
+
+AH_VERBATIM(SCM_IS_STRING, [#if !HAVE_DECL_SCM_IS_STRING
+# define scm_is_string(x) SCM_STRINGP(x)
+#endif])
+AH_VERBATIM(SCM_IS_INTEGER, [#if !HAVE_DECL_SCM_IS_INTEGER
+# define scm_is_integer(x) SCM_INUMP(x)
+#endif])
+AH_VERBATIM(SCM_TO_INT, [#if !HAVE_DECL_SCM_TO_INT
+# define scm_to_int(x) SCM_INUM(x)
+#endif])
+AH_VERBATIM(SCM_FROM_INT, [#if !HAVE_DECL_SCM_FROM_INT
+# define scm_from_int(x) SCM_MAKINUM(x)
+#endif])
+AH_VERBATIM(SCM_IS_TRUE, [#if !HAVE_DECL_SCM_IS_TRUE
+# define scm_is_true(x) SCM_NFALSEP(x)
+#endif])
+AH_VERBATIM(SCM_IS_FALSE, [#if !HAVE_DECL_SCM_IS_FALSE
+# define scm_is_false(x) SCM_FALSEP(x)
+#endif])
+AH_VERBATIM(SCM_FROM_LOCALE_STRING, [#if !HAVE_DECL_SCM_FROM_LOCALE_STRING
+# define scm_from_locale_string(x) scm_makfrom0str(x)
+#endif])
+AH_VERBATIM(SCM_TO_LOCALE_STRING, [#if !HAVE_DECL_SCM_TO_LOCALE_STRING
+# define scm_to_locale_string(x) strdup(SCM_STRING_CHARS(x))
+#endif])
#
# Check for guile end
diff --git a/gsymcheck/configure.ac b/gsymcheck/configure.ac
index 4bfb973..5f02557 100644
--- a/gsymcheck/configure.ac
+++ b/gsymcheck/configure.ac
@@ -76,25 +76,35 @@ fi
# Guile 1.6 compatability
-AC_CHECK_DECL(scm_is_string,,
- AC_DEFINE(scm_is_string(x), (SCM_STRINGP(x)), [Compatability define for scm_is_string]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_integer,,
- AC_DEFINE(scm_is_integer(x), (SCM_INUMP(x)), [Compatability define for scm_is_integer]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_int,,
- AC_DEFINE(scm_to_int(x), (SCM_INUM(x)), [Compatability define for scm_to_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_from_int,,
- AC_DEFINE(scm_from_int(x), (SCM_MAKINUM(x)), [Compatability define for scm_from_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_true,,
- AC_DEFINE(scm_is_true(x), (SCM_NFALSEP(x)), [Compatability define for scm_is_true]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_false,,
- AC_DEFINE(scm_is_false(x), (SCM_FALSEP(x)), [Compatability define for scm_is_false]), [#include <libguile.h>])
-
-AC_CHECK_DECL(scm_from_locale_string,,
- AC_DEFINE(scm_from_locale_string(x), (scm_makfrom0str(x)), [Compatability define for scm_from_locale_string]),
- [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_locale_string,,
- AC_DEFINE(scm_to_locale_string(x), (strdup(SCM_STRING_CHARS(x))), [Compatability define for scm_to_locale_string]),
- [#include <libguile.h>])
+AC_CHECK_DECLS([scm_is_string, scm_is_integer, scm_to_int,
+scm_from_int, scm_is_true, scm_is_false,
+scm_from_locale_string, scm_to_locale_string],,,
+[#include <libguile.h>])
+
+AH_VERBATIM(SCM_IS_STRING, [#if !HAVE_DECL_SCM_IS_STRING
+# define scm_is_string(x) SCM_STRINGP(x)
+#endif])
+AH_VERBATIM(SCM_IS_INTEGER, [#if !HAVE_DECL_SCM_IS_INTEGER
+# define scm_is_integer(x) SCM_INUMP(x)
+#endif])
+AH_VERBATIM(SCM_TO_INT, [#if !HAVE_DECL_SCM_TO_INT
+# define scm_to_int(x) SCM_INUM(x)
+#endif])
+AH_VERBATIM(SCM_FROM_INT, [#if !HAVE_DECL_SCM_FROM_INT
+# define scm_from_int(x) SCM_MAKINUM(x)
+#endif])
+AH_VERBATIM(SCM_IS_TRUE, [#if !HAVE_DECL_SCM_IS_TRUE
+# define scm_is_true(x) SCM_NFALSEP(x)
+#endif])
+AH_VERBATIM(SCM_IS_FALSE, [#if !HAVE_DECL_SCM_IS_FALSE
+# define scm_is_false(x) SCM_FALSEP(x)
+#endif])
+AH_VERBATIM(SCM_FROM_LOCALE_STRING, [#if !HAVE_DECL_SCM_FROM_LOCALE_STRING
+# define scm_from_locale_string(x) scm_makfrom0str(x)
+#endif])
+AH_VERBATIM(SCM_TO_LOCALE_STRING, [#if !HAVE_DECL_SCM_TO_LOCALE_STRING
+# define scm_to_locale_string(x) strdup(SCM_STRING_CHARS(x))
+#endif])
#
# Check for guile end
diff --git a/libgeda/configure.ac b/libgeda/configure.ac
index 7bfc576..9eef91e 100644
--- a/libgeda/configure.ac
+++ b/libgeda/configure.ac
@@ -86,25 +86,35 @@ fi
# Guile 1.6 compatability
-AC_CHECK_DECL(scm_is_string,,
- AC_DEFINE(scm_is_string(x), (SCM_STRINGP(x)), [Compatability define for scm_is_string]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_integer,,
- AC_DEFINE(scm_is_integer(x), (SCM_INUMP(x)), [Compatability define for scm_is_integer]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_int,,
- AC_DEFINE(scm_to_int(x), (SCM_INUM(x)), [Compatability define for scm_to_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_from_int,,
- AC_DEFINE(scm_from_int(x), (SCM_MAKINUM(x)), [Compatability define for scm_from_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_true,,
- AC_DEFINE(scm_is_true(x), (SCM_NFALSEP(x)), [Compatability define for scm_is_true]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_false,,
- AC_DEFINE(scm_is_false(x), (SCM_FALSEP(x)), [Compatability define for scm_is_false]), [#include <libguile.h>])
-
-AC_CHECK_DECL(scm_from_locale_string,,
- AC_DEFINE(scm_from_locale_string(x), (scm_makfrom0str(x)), [Compatability define for scm_from_locale_string]),
- [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_locale_string,,
- AC_DEFINE(scm_to_locale_string(x), (strdup(SCM_STRING_CHARS(x))), [Compatability define for scm_to_locale_string]),
- [#include <libguile.h>])
+AC_CHECK_DECLS([scm_is_string, scm_is_integer, scm_to_int,
+scm_from_int, scm_is_true, scm_is_false,
+scm_from_locale_string, scm_to_locale_string],,,
+[#include <libguile.h>])
+
+AH_VERBATIM(SCM_IS_STRING, [#if !HAVE_DECL_SCM_IS_STRING
+# define scm_is_string(x) SCM_STRINGP(x)
+#endif])
+AH_VERBATIM(SCM_IS_INTEGER, [#if !HAVE_DECL_SCM_IS_INTEGER
+# define scm_is_integer(x) SCM_INUMP(x)
+#endif])
+AH_VERBATIM(SCM_TO_INT, [#if !HAVE_DECL_SCM_TO_INT
+# define scm_to_int(x) SCM_INUM(x)
+#endif])
+AH_VERBATIM(SCM_FROM_INT, [#if !HAVE_DECL_SCM_FROM_INT
+# define scm_from_int(x) SCM_MAKINUM(x)
+#endif])
+AH_VERBATIM(SCM_IS_TRUE, [#if !HAVE_DECL_SCM_IS_TRUE
+# define scm_is_true(x) SCM_NFALSEP(x)
+#endif])
+AH_VERBATIM(SCM_IS_FALSE, [#if !HAVE_DECL_SCM_IS_FALSE
+# define scm_is_false(x) SCM_FALSEP(x)
+#endif])
+AH_VERBATIM(SCM_FROM_LOCALE_STRING, [#if !HAVE_DECL_SCM_FROM_LOCALE_STRING
+# define scm_from_locale_string(x) scm_makfrom0str(x)
+#endif])
+AH_VERBATIM(SCM_TO_LOCALE_STRING, [#if !HAVE_DECL_SCM_TO_LOCALE_STRING
+# define scm_to_locale_string(x) strdup(SCM_STRING_CHARS(x))
+#endif])
#
# Check for guile end
diff --git a/utils/configure.ac b/utils/configure.ac
index 2e78d1f..9513efb 100644
--- a/utils/configure.ac
+++ b/utils/configure.ac
@@ -115,25 +115,35 @@ fi
# Guile 1.6 compatability
-AC_CHECK_DECL(scm_is_string,,
- AC_DEFINE(scm_is_string(x), (SCM_STRINGP(x)), [Compatability define for scm_is_string]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_integer,,
- AC_DEFINE(scm_is_integer(x), (SCM_INUMP(x)), [Compatability define for scm_is_integer]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_int,,
- AC_DEFINE(scm_to_int(x), (SCM_INUM(x)), [Compatability define for scm_to_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_from_int,,
- AC_DEFINE(scm_from_int(x), (SCM_MAKINUM(x)), [Compatability define for scm_from_int]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_true,,
- AC_DEFINE(scm_is_true(x), (SCM_NFALSEP(x)), [Compatability define for scm_is_true]), [#include <libguile.h>])
-AC_CHECK_DECL(scm_is_false,,
- AC_DEFINE(scm_is_false(x), (SCM_FALSEP(x)), [Compatability define for scm_is_false]), [#include <libguile.h>])
-
-AC_CHECK_DECL(scm_from_locale_string,,
- AC_DEFINE(scm_from_locale_string(x), (scm_makfrom0str(x)), [Compatability define for scm_from_locale_string]),
- [#include <libguile.h>])
-AC_CHECK_DECL(scm_to_locale_string,,
- AC_DEFINE(scm_to_locale_string(x), (strdup(SCM_STRING_CHARS(x))), [Compatability define for scm_to_locale_string]),
- [#include <libguile.h>])
+AC_CHECK_DECLS([scm_is_string, scm_is_integer, scm_to_int,
+scm_from_int, scm_is_true, scm_is_false,
+scm_from_locale_string, scm_to_locale_string],,,
+[#include <libguile.h>])
+
+AH_VERBATIM(SCM_IS_STRING, [#if !HAVE_DECL_SCM_IS_STRING
+# define scm_is_string(x) SCM_STRINGP(x)
+#endif])
+AH_VERBATIM(SCM_IS_INTEGER, [#if !HAVE_DECL_SCM_IS_INTEGER
+# define scm_is_integer(x) SCM_INUMP(x)
+#endif])
+AH_VERBATIM(SCM_TO_INT, [#if !HAVE_DECL_SCM_TO_INT
+# define scm_to_int(x) SCM_INUM(x)
+#endif])
+AH_VERBATIM(SCM_FROM_INT, [#if !HAVE_DECL_SCM_FROM_INT
+# define scm_from_int(x) SCM_MAKINUM(x)
+#endif])
+AH_VERBATIM(SCM_IS_TRUE, [#if !HAVE_DECL_SCM_IS_TRUE
+# define scm_is_true(x) SCM_NFALSEP(x)
+#endif])
+AH_VERBATIM(SCM_IS_FALSE, [#if !HAVE_DECL_SCM_IS_FALSE
+# define scm_is_false(x) SCM_FALSEP(x)
+#endif])
+AH_VERBATIM(SCM_FROM_LOCALE_STRING, [#if !HAVE_DECL_SCM_FROM_LOCALE_STRING
+# define scm_from_locale_string(x) scm_makfrom0str(x)
+#endif])
+AH_VERBATIM(SCM_TO_LOCALE_STRING, [#if !HAVE_DECL_SCM_TO_LOCALE_STRING
+# define scm_to_locale_string(x) strdup(SCM_STRING_CHARS(x))
+#endif])
#
# Check for guile end
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs