[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: ChangeLog
User: pcjc2
Date: 07/04/21 13:10:35
Modified: . ChangeLog configure.ac.in
Log:
Added explicit test for locale.h
Revision Changes Path
1.661 +2 -0 eda/geda/gaf/gschem/ChangeLog
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ChangeLog
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/ChangeLog,v
retrieving revision 1.660
retrieving revision 1.661
diff -u -b -r1.660 -r1.661
--- ChangeLog 21 Apr 2007 16:16:06 -0000 1.660
+++ ChangeLog 21 Apr 2007 17:10:34 -0000 1.661
@@ -1,5 +1,7 @@
2007-04-21 Peter Clifton <pcjc2@xxxxxxxxx>
+ * configure.ac.in: Added explicit test for locale.h
+
* src/i_callbacks.c: Make test for revert page question more
succinct, testing for the absence of the "YES" response, rather
than for the various ways the user might cancel the dialog.
1.8 +13 -1 eda/geda/gaf/gschem/configure.ac.in
(In the diff below, changes in quantity of whitespace are not shown.)
Index: configure.ac.in
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/configure.ac.in,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- configure.ac.in 17 Apr 2007 20:19:14 -0000 1.7
+++ configure.ac.in 21 Apr 2007 17:10:35 -0000 1.8
@@ -1,4 +1,4 @@
-# $Id: configure.ac.in,v 1.7 2007/04/17 20:19:14 pcjc2 Exp $
+# $Id: configure.ac.in,v 1.8 2007/04/21 17:10:35 pcjc2 Exp $
#
# Process this file with autoconf to produce a configure script.
AC_INIT
@@ -392,6 +392,18 @@
AC_CHECK_HEADERS(unistd.h string.h stdlib.h \
stdarg.h assert.h fcntl.h errno.h sys/param.h)
+# Check for locale.h
+
+# Set USE_NLS
+AM_NLS
+AC_CHECK_HEADER([locale.h],
+ [AC_DEFINE([HAVE_LOCALE_H], 1, [Define if you have locale.h])],
+ [
+ if test "$USE_NLS" == "yes"; then
+ AC_MSG_ERROR([Cannot find useful locale.h, and nls support is enabled. Try compiling with --disable-nls])
+ fi
+ ])
+
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs