[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: stable-1.6 updated (1.6.0-20091004-14-ge5604fa)
The branch, stable-1.6 has been updated
via e5604faa09629ddd06ebc8377de4e42a7cd622d2 (commit)
from 1d3486d420ff603548697f4fcb553776d2cea62f (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 e5604faa09629ddd06ebc8377de4e42a7cd622d2
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
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.
(cherry picked from commit 322ed1852405e6d5e80cb63930edb1d780cf795d)
:100644 100644 89f7846... df0a0f6... M configure.ac
=========
Changes
=========
commit e5604faa09629ddd06ebc8377de4e42a7cd622d2
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
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.
(cherry picked from commit 322ed1852405e6d5e80cb63930edb1d780cf795d)
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