[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.6.0-20091004-25-g322ed18)
The branch, master has been updated
via 322ed1852405e6d5e80cb63930edb1d780cf795d (commit)
from f30b66a2d02592c907b1ac15270f34d8f62f1327 (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
=========
configure.ac | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 322ed1852405e6d5e80cb63930edb1d780cf795d
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>
Add a locale.h check otherwise it never gets included in gschem.c
gschem/src/gschem.c protects the inclusion of locale.h with HAVE_LOCALE_H
but configure.ac didn't provide that test. This caused build failures
on newer (5.0) NetBSD systems. It is unclear if there are any systems
capable of running gaf where locale.h doesn't exist but is still
NLS capable.
:100644 100644 89f7846... df0a0f6... M configure.ac
=========
Changes
=========
commit 322ed1852405e6d5e80cb63930edb1d780cf795d
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>
Add a locale.h check otherwise it never gets included in gschem.c
gschem/src/gschem.c protects the inclusion of locale.h with HAVE_LOCALE_H
but configure.ac didn't provide that test. This caused build failures
on newer (5.0) NetBSD systems. It is unclear if there are any systems
capable of running gaf where locale.h doesn't exist but is still
NLS capable.
diff --git a/configure.ac b/configure.ac
index 89f7846..df0a0f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -106,6 +106,12 @@ AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
# fail anyway.
AC_CHECK_HEADERS([errno.h fcntl.h])
+# FIXME On a system without locale.h, the user may have just disabled NLS
+# to be able to build. But are there known systems with working NLS but
+# without a locale.h? We do need to include locale.h on some systems
+# to be able to build gschem/src/gschem.c
+AC_CHECK_HEADERS([locale.h])
+
# Check for rint in math library. FIXME do we actually need to test
# this? Should we use lrint instead?
AC_CHECK_LIB([m], [lrint],
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs