diff --git a/ChangeLog b/ChangeLog index ed8a724eaa..2c0efa74df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2005-12-04 Derek Atkins + + * configure.in: fix some of the output strings + * lib/libgsf-1.12.3/gsf/glib24_26-compat.c: + make g_get_filename_charsets static because it's not + needed outside this file. + * lib/goffice-0.0.4/goffice/glib24_26-compat.c: + make _g_compute_locale_variants static because it's + not needed outside this file. + 2005-12-04 Joshua Sled * All: Fold branches/goffice-update/ back into trunk/. diff --git a/configure.in b/configure.in index 91b62f9e2b..fb5ac2da06 100644 --- a/configure.in +++ b/configure.in @@ -418,6 +418,7 @@ if test x$QOF_XML_DIR = x; then QOF_CFLAGS="-I\${top_srcdir}/lib/libqof/qof" QOF_LIBS="\${top_srcdir}/lib/libqof/qof/libqof.la" # QOF_LIB_DIR=`eval echo ${libdir}` + QOF_VERSION="internal" QOF_PREFIX="internal" QOF_XML_DIR=`eval echo ${datadir}/xml/qsf` LIBQOF_LIBRARY_VERSION=1:1:0 @@ -483,7 +484,7 @@ else AC_MSG_NOTICE(using internally-packaged libgsf) GSF_CFLAGS='-I${top_srcdir}/lib/libgsf-1.12.3' GSF_LIBS='${top_builddir}/lib/libgsf-1.12.3/gsf/libgsf-1.la' - NEED_LIBGSF=yes + HAVE_LIBGSF=no fi AM_CONDITIONAL(HAVE_LIBGSF, test "x$HAVE_LIBGSF" = "xyes") AC_SUBST(GSF_CFLAGS) @@ -499,7 +500,7 @@ else AC_MSG_NOTICE(using internally-packaged goffice) GOFFICE_CFLAGS='-I${top_srcdir}/lib/goffice-0.0.4' GOFFICE_LIBS='${top_builddir}/lib/goffice-0.0.4/goffice/libgoffice-1.la' - NEED_GOFFICE=yes + HAVE_GOFFICE=no fi AM_CONDITIONAL(HAVE_GOFFICE, test "x$HAVE_GOFFICE" = "xyes") AC_SUBST(GOFFICE_CFLAGS) @@ -2162,8 +2163,8 @@ AC_MSG_RESULT([ CPPFLAGS ............. : $CPPFLAGS CFLAGS ............... : $CFLAGS LDFLAGS .............. : $LDFLAGS - Have libgsf............: $HAVE_LIBGSF - Have goffice...........: $HAVE_GOFFICE + Native libgsf..........: $HAVE_LIBGSF + Native goffice.........: $HAVE_GOFFICE QOF support ...........: $QOF_VERSION QOF location ..........: $QOF_PREFIX QOF library dir .......: $QOF_LIB_DIR diff --git a/lib/goffice-0.0.4/goffice/glib24_26-compat.c b/lib/goffice-0.0.4/goffice/glib24_26-compat.c index edac66d49d..438e46a699 100644 --- a/lib/goffice-0.0.4/goffice/glib24_26-compat.c +++ b/lib/goffice-0.0.4/goffice/glib24_26-compat.c @@ -223,7 +223,7 @@ explode_locale (const gchar *locale, * but it is big, ugly, and complicated, so I'm reluctant * to do so when this should handle 99% of the time... */ -GSList * +static GSList * _g_compute_locale_variants (const gchar *locale) { GSList *retval = NULL; diff --git a/lib/libgsf-1.12.3/gsf/glib24_26-compat.c b/lib/libgsf-1.12.3/gsf/glib24_26-compat.c index e907ef060b..70255b9d9b 100644 --- a/lib/libgsf-1.12.3/gsf/glib24_26-compat.c +++ b/lib/libgsf-1.12.3/gsf/glib24_26-compat.c @@ -77,7 +77,7 @@ struct _GFilenameCharsetCache { * * Since: 2.6 */ -gboolean +static gboolean g_get_filename_charsets (G_CONST_RETURN gchar ***filename_charsets) { static const gchar *charsets[] = {