Commit Graph

333 Commits

Author SHA1 Message Date
Michael Natterer
46bf6d8a81 added a new conditional CROSS_COMPILING which indicates ($build != $host).
2002-05-07  Michael Natterer  <mitch@gimp.org>

	* configure.in: added a new conditional CROSS_COMPILING which
	indicates ($build != $host). If it is set, look for
	glib-genmarshal in PATH. Error out if it was not found.

2002-05-07  Michael Natterer  <mitch@gimp.org>

	* Makefile.am: use the glib-genmarshal found at configure time
	if CROSS_COMPILING is set, use the one which was just built
	otherwise.
2002-05-07 15:41:24 +00:00
Owen Taylor
83fbec4d46 [ merged from stable ]
Mon May  6 11:48:08 2002  Owen Taylor  <otaylor@redhat.com>

	[ merged from stable ]

        * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)

        * m4macros/glib-2.0.m4: save CFLAGS/LIBS properly when
        compiling "what went wrong" test case. (#79330)

        * m4macros/glib-2.0.m4: Remove reference to editing
        pkg-config script. (From Jim Gettys)

        * configure.in: (Look for dyld interfaces before dlopen()
        since OS X can have both. Patch from Jacob Berkman,
        #80438)
2002-05-06 16:07:03 +00:00
jacob berkman
dccffe146d fix typo on 64-bit printf formatting string configure message (fixes
2002-05-01  jacob berkman  <jacob@ximian.com>

	* configure.in: fix typo on 64-bit printf formatting string
	configure message (fixes #80389)
2002-05-01 15:21:07 +00:00
Pablo Saratxaga
a1cf2262f7 Added Vietnamese file 2002-04-29 08:05:44 +00:00
Stanislav Brabec
b24ff252fb Added Czech (cs) to ALL_LINGUAS.
2002-04-08  Stanislav Brabec  <utx@penguin.cz>

        * cs.po: Added Czech (cs) to ALL_LINGUAS.
2002-04-07 23:09:08 +00:00
Hasbullah Bin Pit
8a6815970e Added Malay (ms)to ALL_LINGUAS.
2002-03-31  Hasbullah Bin Pit <sebol@ikhlas.com>

* configure.in: Added Malay (ms)to ALL_LINGUAS.
2002-03-31 21:51:42 +00:00
Owen Taylor
7bb2462a42 Released 2.0.1
Thu Mar 28 18:25:14 2002  Owen Taylor  <otaylor@redhat.com>

        * Released 2.0.1

        * configure.in: Version 2.0.1, interface, binary age 1.
2002-03-28 23:40:18 +00:00
Owen Taylor
a841dbd7a2 Use $PKG_CONFIG, not pkg-config. (LEE Sau Dan, #75572)
Wed Mar 20 11:00:59 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Use $PKG_CONFIG, not pkg-config.
        (LEE Sau Dan, #75572)
2002-03-20 16:10:34 +00:00
Owen Taylor
dac25522cd Updates.
Fri Mar  8 00:15:29 2002  Owen Taylor  <otaylor@redhat.com>

        * README.in: Updates.

        * README.in: Add warnings about current encoding problems with .po
        files and error logging functions.

        * configure.in: Check for bind_textdomain_codeset().

        * glib/gutils.c (_glib_gettext): Call
        bind_textdomain_codeset, if present.

        * INSTALL.in: Some updates.

        * AUTHORS: Updates.

        * Makefile.am (EXTRA_DIST): Remove TODO.xml from EXTRA_DIST.

        * docs/Makefile.am (EXTRA_DIST): Remove Changes-2.0.txt
        from EXTRA_DIST.
2002-03-08 05:48:03 +00:00
Sebastian Wilhelmi
6e61ccb19e Fixed recognition of dce. Do not use -lc_r on OpenBSD and FreeBSD. Instead
2002-03-06  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Fixed recognition of dce. Do not use -lc_r on
	OpenBSD and FreeBSD. Instead use -pthread. Move scheduling
	parameter check to after the case..esac block for finding the
	right thread libs.
2002-03-06 17:43:32 +00:00
Owen Taylor
fc8fd6f8cb Default to --disable-gtk-doc, to avoid Jade setup hassles.
Sun Mar  3 21:09:24 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Default to --disable-gtk-doc, to avoid
        Jade setup hassles.

        * autogen.sh: Add --enable-gtk-doc.

        * configure.in: Default to --disable-static to go
        along with Pango, GTK+ where we need to do that for
        bin-compat reasons.

        * Makefile.am: Add a slightly modified distcheck rule
        that passes --enable-gtk-doc to the configure inside.
        (So that 'make dist' succeeds inside.)

        * configure.in *.pc.in **/Makefile.am m4macros/glib-2.0.m4
        tests/makefile.mingw.in: Switch everything over to
        glib-2.0.
2002-03-05 05:18:23 +00:00
Owen Taylor
7e620ee072 Check for iconv_* in -liconv as well as libiconv_* in -liconv since AIX
Mon Feb 25 23:01:53 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in acconfig.h config.h.win32.in
        glib/gconvert.c: Check for iconv_* in -liconv
        as well as libiconv_* in -liconv since AIX ships
        the system iconv in a separate library.
        Patch from Miroslaw Dobrzanski-Neumann (#72569)
2002-02-26 04:12:52 +00:00
Owen Taylor
cca5009912 1.3.15, binary, interface age 0.
Sat Feb 23 21:36:51 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.15, binary, interface age 0.

        * NEWS: Updated.
2002-02-24 03:19:45 +00:00
Owen Taylor
88cec4d135 ed Feb 20 22:35:42 2002 Owen Taylor <otaylor@redhat.com>
Fixes from Miroslaw Dobrzanski-Neumann (#71963)

        * glib/giounix.c (g_io_channel_new_file): Fix trailing comma
        in enum.

        * configure.in: Check for unsetenv.

        * test/uri-test.c: Fall back to trying putenv(VARNAME) if
        unsetenv isn't present.
2002-02-21 03:54:34 +00:00
Simos Xenitellis
ec2b9edc39 Added Greek translation 2002-02-20 14:34:32 +00:00
Owen Taylor
ec82c68f59 Turn off ISO varargs support for gcc-2.95 since it causes problems with
Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Turn off ISO varargs support for gcc-2.95
        since it causes problems with ANSI and we we have GNUC
        varargs. (#70024, reported by Morten Welinder, fix from
        James Henstridge)
2002-02-18 17:48:44 +00:00
Owen Taylor
ac20a8deba Version 1.3.14.
Fri Feb 15 11:41:42 2002  Owen Taylor  <otaylor@redhat.com>

        * Version 1.3.14.

        * configure.in: 1.3.14, binary age 0, interface age 0.
2002-02-15 17:26:49 +00:00
Owen Taylor
5d43b9ade4 Updated.
Fri Feb 15 10:41:51 2002  Owen Taylor  <otaylor@redhat.com>

        * NEWS: Updated.

        * configure.in: Require autoconf-2.52, run AC_SYS_LARGEFILE.
        (#71410, Sven Neumann)

        * glib/giounix.c glib/giowin32.c glib/giochannel.[ch]:
        Change offset type for g_io_channel_seek[_position] to
        gint64.
2002-02-15 16:41:54 +00:00
Sebastian Wilhelmi
9e240b85cc Make --disable-threads work again. (#71034)
2002-02-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Make --disable-threads work again. (#71034)

	* gthread-impl.c: Only compile most of this file, if
	G_THREAD_ENABLED is set.
2002-02-09 20:08:06 +00:00
Owen Taylor
b99e2343e5 Register transformations for gint64, guint64. (#70780, patch from Andy
Fri Feb  8 23:52:27 2002  Owen Taylor  <otaylor@redhat.com>

        * gobject/gvaluetransform.c: Register transformations for
        gint64, guint64. (#70780, patch from Andy Wingo)

        * configure.in: Handle missing G_GINT64_FORMAT,
        G_GUINT64_FORMAT ... harder to require GNU libc than GCC.

        * NEWS: Some cleanups that I had setting around.
2002-02-09 04:59:54 +00:00
Changwoo Ryu
4e9073509f Added Korean translation. 2002-02-07 01:59:29 +00:00
Owen Taylor
5a7cf7fa60 1.3.13
Tue Jan 29 11:18:44 2002  Owen Taylor  <otaylor@redhat.com>

        * 1.3.13

        * NEWS: Updated.

        * configure.in: Micro == 13, binary age, interface age 0.
        [ binary breakage was return type of g_signal_connect_object(),
        probably could have used binary age == 0, but a little safer not to.]

        * configure.in: Remove configure warning.
2002-01-29 17:10:34 +00:00
Sebastian Wilhelmi
a9d13e865e Get the right multithread option for GCC 3.0 and later. (#67583)
2002-01-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Get the right multithread option for GCC 3.0 and
	later. (#67583)
2002-01-22 09:50:24 +00:00
Sven Neumann
a1ebb7048f acinclude.m4 removed the --disable-nls option. You can't disable Native
2002-01-16  Sven Neumann  <sven@gimp.org>

        * acinclude.m4
        * m4macros/glib-gettext.m4: removed the --disable-nls option. You
        can't disable Native Language Support since we rely on it.

        * configure.in: nicer --help output.
2002-01-16 19:29:16 +00:00
Zbigniew Chyla
4ea02b74e6 Added pl.
2002-01-07  Zbigniew Chyla  <cyba@gnome.pl>

	* configure.in (ALL_LINGUAS): Added pl.
2002-01-07 21:02:11 +00:00
Duarte Loreto
4ebdccaac1 Added portuguese to ALL_LINGUAS
2001-12-27  Duarte Loreto <happyguy_pt@hotmail.com>

        * configure.in: Added portuguese to ALL_LINGUAS
2001-12-27 03:38:54 +00:00
Owen Taylor
08388c5f59 1.3.12, binary, interface age 0.
Sat Dec 22 12:08:56 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: 1.3.12, binary, interface age 0.

        * NEWS: Updated.
2001-12-23 22:39:10 +00:00
Tim Janik
8d835e44a7 add configure check to determine G_HAVE_GROWING_STACK.
Tue Dec 18 21:11:10 2001  Tim Janik  <timj@gtk.org>

        * configure.in: add configure check to determine G_HAVE_GROWING_STACK.
2001-12-18 20:39:53 +00:00
Matthias Clasen
39e4c5afe8 The following patch corrects some function attributes. (#61780)
The following patch corrects some function attributes. (#61780)

        * glib/ghash.h (g_int_equal, g_int_hash): These are not const.

        * glib/glibintl.h (_glib_gettext): Add G_GNUC_FORMAT(1).

        * glib/gmacros.h: Use reserved symbols in function attribute macros.

        The following patch avoids manual printf()-format parsing
        if a C99-conforming vsnprintf() is available. (#55106)

        * acinclude.m4 (AC_FUNC_VSNPRINTF_C99): New macro to test for a
        C99 conforming vsnprintf.

        * configure.in: Use AC_FUNC_VSNPRINTF_C99.

        * glib/gmessages.c (g_printf_string_upper_bound): Use C99 vsnprintf().
2001-12-06 22:37:05 +00:00
Sebastian Wilhelmi
ddc45b8892 Always call GLIB_SIZEOF(..., system_thread). Fixes #65624.
2001-11-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
	#65624.
2001-11-28 16:47:26 +00:00
Dan Winship
8049ab4876 Set this from libtool rather than hardcoding values for certain platforms.
* configure.in (G_MODULE_LDFLAGS): Set this from libtool rather
	than hardcoding values for certain platforms.

	* glib/libcharset/config.charset: Add a rule for NetBSD.

	* glib/libcharset/localcharset.c (_g_locale_get_charset_aliases):
	If LIBCHARSET_ALIAS_DIR is set, look for charset.aliases there.

	* tests/Makefile.am (TESTS_ENVIRONMENT): set LIBCHARSET_ALIAS_DIR
	so we don't depend on charset.aliases having been installed
2001-11-27 17:31:12 +00:00
Tim Janik
ff3ecc745d provide GLIB_SIZEOF_SIZE_T.
Mon Nov 26 09:42:24 2001  Tim Janik  <timj@gtk.org>

        * configure.in: provide GLIB_SIZEOF_SIZE_T.
2001-11-26 09:19:17 +00:00
Jesus Bravo Alvarez
a8a91e438f Added Galician translation 2001-11-25 23:24:51 +00:00
Dirk-Jan C. Binnema
f409c97549 - added nl (Dutch) to ALL_LINGUAS 2001-11-24 22:55:58 +00:00
Owen Taylor
4ab50f038b Version 11, interface, binary age 0.
Thu Nov 22 13:14:18 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in (GLIB_MICRO_VERSION): Version 11,
        interface, binary age 0.

        * NEWS: Updated.

        * tests/Makefile.am (libmoduletestplugin_[ab]_la_LDFLAGS):
        Add dummy -rpath argument. On some (but not all) platforms,
        libtool will only build a convenience library without this.
        (#63486, Dan Winship)

        * Makefile.am (EXTRA_DIST): Add README.in, INSTALL.in -
        autoconf-2.5x checks for 'make dist' in the tarball
        when you make distcheck.

        * glib/Makefile.am (EXTRA_DIST): Distribute
        makefile.msc/mingw.in, glib.rc.in.

        * tests/patterntest.c: Include string.h.

        * glib/gpattern.c (g_utf8_reverse): doc parsing fix.
2001-11-22 18:56:12 +00:00
Takayuki KUSANO
2a66b244b2 Added "ja" to ALL_LINGUAS. Added Japanese translation.
* configure.in: Added "ja" to ALL_LINGUAS.
	* po/ja.po: Added Japanese translation.
2001-11-15 08:21:45 +00:00
Wang Jian
01103fab04 *** empty log message *** 2001-11-08 13:49:31 +00:00
Owen Taylor
ff6174aedd Add check for dirent.h
Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in (CFLAGS): Add check for dirent.h

	* glib/glib.h glib/Makefile.am: Add gdir.

	* glib/gdir.c (g_dir_close): Couple of small tweaks
	now that it is actually compiling...
2001-11-05 01:47:31 +00:00
Marius Andreiana
5e70b13b2a Added ro (Romanian) to ALL_LINGUAS added
2001-11-01  Marius Andreiana  <mandreiana@yahoo.com>

        * configure.in: Added ro (Romanian) to ALL_LINGUAS
	* po/ro.po: added
2001-11-01 13:45:55 +00:00
Sebastian Wilhelmi
eb1df47d71 Make --with-threads=none mean, that we want thread support, but no default
2001-10-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Make --with-threads=none mean, that we want thread
	support, but no default thread implementation. This also was the
	original intention, but disapeared around 1998... So it doesn't
	seem to be the most requested feature, but we went far to make it
	possible in the code, so I resurrected this feature.

	* INSTALL.in: Describe the --enable-gc-friendly, --disable-threads
	and --with-threads options of configure.
2001-10-31 15:40:52 +00:00
Tor Lillqvist
a0781a1747 New file, used to build distribution packages for Windows.
2001-10-30  Tor Lillqvist  <tml@iki.fi>

	* glib-zip.in: New file, used to build distribution packages for
	Windows.

	* configure.in: Expand it.

	* Makefile.am: Distribute it.

	* config.h.win32.in: Update to match currently produced config.h
2001-10-29 22:33:34 +00:00
Owen Taylor
404bb824c9 Generate glib-mkenums from glib-mkenums.in, substituting in path to perl.
Mon Oct 29 11:05:15 2001  Owen Taylor  <otaylor@redhat.com>

	* glib-mkenums.in: Generate glib-mkenums from glib-mkenums.in,
	substituting in path to perl.  (#63093, Dan Winship)

	* Makefile.am (bin_SCRIPTS): Remove hack to copy glib-mkenums
	from srcdir.

Mon Oct 29 10:59:36 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Check for path to Perl, add gobject/glib-mkenums
2001-10-29 16:13:36 +00:00
jacob berkman
d59c859aec version of gettextize which uses glib's po/Makefile.in.in and
2001-10-28  jacob berkman  <jacob@ximian.com>

	* glib-gettextize.in: version of gettextize which uses glib's
	po/Makefile.in.in and po2tbl.sed.in, and no longer copies in intl/
	or installs ChangeLog entries in po/ChangeLog

	* configure.in (AC_OUTPUT): generate glib-gettextize

	* Makefile.am (bin_SCRIPTS): install glib-gettextize

2001-10-28  jacob berkman  <jacob@ximian.com>

	* Makefile.in.in: install Makefile.in.in and po2tbl.sed.in for use
	with glib-gettextize by other packages
2001-10-28 16:34:24 +00:00
Tor Lillqvist
982edff615 Don't default to win32 thread implementation on Cygwin. The gthread-win32
2001-10-26  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Don't default to win32 thread implementation on
	Cygwin. The gthread-win32 implementation really is for Win32 with
	MS runtime only. Let configure find pthreads when configuring for
	Cygwin.
2001-10-26 05:38:32 +00:00
Owen Taylor
2b4a6e0a88 Version 1.3.10, interface age, binary age = 0.
Wed Oct 24 11:10:54 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Version 1.3.10, interface age, binary age = 0.

        * NEWS: Updates

Thu Oct 25 12:01:41 2001  Owen Taylor  <otaylor@redhat.com>

        * tests/Makefile.am: Temporarily remove mainloop-test, since it
        prevents distcheck.
2001-10-25 18:51:58 +00:00
Tor Lillqvist
c9ffda7cd7 Fix test for lib.exe. Can't set ms_librarian before calling AC_CHECK_PROG,
2001-10-19  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Fix test for lib.exe. Can't set ms_librarian
	before calling AC_CHECK_PROG, as it doesn't actually check
	anything if the result variable has been preset...
2001-10-19 20:22:15 +00:00
Tor Lillqvist
73c99a0f64 Check also ac_cv_sizeof___int64 when requiring a 64-bit type.
2001-10-19  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Check also ac_cv_sizeof___int64 when requiring a
	64-bit type.
2001-10-18 21:07:29 +00:00
Raja R Harinath
858b18bdca (ac_cv_sizeof_long_long): Avoid '==' and '-a' in 'test's.
Please read the 'autoconf' manual on writing portable tests.
2001-10-11 05:15:46 +00:00
Joshua N Pritikin
04e753ab88 Un-conditionalize and require a 64-bit integer type.
* configure.in: Un-conditionalize and require a 64-bit integer
type.
2001-10-11 02:43:40 +00:00
Raja R Harinath
6af5ba071d Avoid 'test -a'. 2001-10-05 01:36:56 +00:00
Alexander Larsson
d398a176e1 Add build/win32/dirent/Makefile to the list of makefiles
2001-09-29  Alexander Larsson  <alla@lysator.liu.se>

	* configure.in:
	Add build/win32/dirent/Makefile to the list of makefiles
2001-09-30 01:08:36 +00:00
Owen Taylor
b6d8893eb7 Fix macros from libcharset to work with autoconf-2.5x. (From Laszlo
Fri Sep 28 19:41:32 2001  Owen Taylor  <otaylor@redhat.com>

	* glib/libcharset/* configure.in: Fix macros from libcharset
	to work with autoconf-2.5x. (From Laszlo Peter.)
2001-09-28 23:44:46 +00:00
Kwok-Koon Cheung
5ce4dc1857 Adding double quotes around values in test expression 2001-09-28 21:03:02 +00:00
Tor Lillqvist
63e17a0f73 Oops, actually commit the configure.in change I thought I did in my
previous commit:

2001-09-26  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Retract my change earlier today. Don't preset
	autoconf variables in a try to match both mingw and MSVC. Instead,
	he who packages a prebuilt GLib developer distribution for Win32
	runs configure twice: once for mingw, once for MSVC, and then uses
	diff -D on the glibconfig.h files to generate a suitably ifdeffed
	glibconfig.h for distribution that suits both compilers. (Ditto
	for config.h, although that file wouldn't be distributed in a
	developer package, but in a source package for Win32 users who
	want to build GLib but can't use configure.)

----------------------------------------------------------------------
----------------------------------------------------------------------
2001-09-27 06:11:48 +00:00
Owen Taylor
b5fa5b9867 Fixes for #58195, based on some ideas from Hidetosh Tajima.
Wed Sep 26 22:34:12 2001  Owen Taylor  <otaylor@redhat.com>

        Fixes for #58195, based on some ideas from Hidetosh Tajima.

        * aclibcharset.m4 glib/libcharset: Add Bruno Haible's
        portable-current charset detection code from libiconv.

        * glib/gutf8.c (g_utf8_get_charset_internal): Rewrite
        to use _g_locale_charset().

        * glib/gutf8.c (_g_charset_get_aliases): Private functions
        to get aliases from libcharset for a particular canonical
        name.

        * glib/gconvert.c: If loading a charset fails, try
        aliases to look for fallbacks.
2001-09-27 02:49:05 +00:00
Tor Lillqvist
0208965f0f One-line fix, wrong variable name was leftover. 2001-09-26 06:23:25 +00:00
Tor Lillqvist
44d87afb02 Move the Win32 check closer to the start, after the BeOS checks. Preset
2001-09-26  Tor Lillqvist  <tml@iki.fi>

	* configure.in: (Win32:) Move the Win32 check closer to the start,
	after the BeOS checks. Preset some autoconf variables so that
	configure won't find those few headers and functions that gcc
	(mingw) pretends to implement (even if the actual C library
	doesn't), but MSVC doesn't. This because I want the same config.h
	and glibconfig.h to be usable both from gcc and MSVC (as they use
	the same C library). Some other minor hackery for this purpose.

	* glibconfig.h.win32.in
	* config.h.win32.in: Use versions generated by configure (and
	hand-edited slightly).
2001-09-26 06:20:31 +00:00
Owen Taylor
d75fde163d Version 1.3.9 (binary, interface == 0)
Tue Sep 25 11:34:22 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Version 1.3.9 (binary, interface == 0)

	* glib/gstrfuncs.c (g_ascii_strdown): Change g_ascii_strup/strdown
	to take a 'len' argument to match g_utf8_strup/strdown. This
	hopefully will also make it more obvious that they duplicate
	the string rather than acting like g_strup/strdown.
	(Suggestion from Matthias Clasen, #59550)
2001-09-25 15:55:39 +00:00
Tor Lillqvist
1c8de25a5e More Win32 automake macros. For .def files: GLIB_DEF, GMODULE_DEF,
2001-09-25  Tor Lillqvist  <tml@iki.fi>

	* configure.in: More Win32 automake macros. For .def files:
	GLIB_DEF, GMODULE_DEF, GOBJECT_DEF and GTHREAD_DEF. For .exp
	files: TESTGMODULE_EXP (for programs that need to export symbols,
	just testgmodule here). A new conditional, MS_LIB_AVAILABLE to
	test whether the Microsoft librarian ("ar") is available to build
	MS import libraries.

	* glib/Makefile.am
	* gmodule/Makefile.am: Use above. New rule to build MS import
	library.

	* glib/makefile.msc.in
	* tests/makefile.msc.in
	* tests/makefile.mingw.in: Use same DLL and import library names as
	libtool.

gmodule:
2001-09-25  Tor Lillqvist  <tml@iki.fi>

	* makefile.mingw.in: Fix missing end @ in @LT_CURRENT@.

	* makefile.msc.in: Use same DLL and import library names as
	libtool.

gobject:
2001-09-25  Tor Lillqvist  <tml@iki.fi>

	* Makefile.am: Use new macros for .def file, and check for
	MS_LIB_AVAILABLE, new rule to build MS import library.

	* makefile.msc.in: Use same DLL and import library names as
	libtool.

gthread:
2001-09-25  Tor Lillqvist  <tml@iki.fi>

	* Makefile.am: Use new macros for .def file, and check for
	MS_LIB_AVAILABLE, new rule to build MS import library.

	* makefile.msc.in: Use same DLL and import library names as
	libtool.
2001-09-25 06:03:23 +00:00
Stanislav Visnovsky
1efae7e5ba Added "sk" to ALL_LINGUAS. Added Slovak translation.
2001-09-24  Stanislav Visnovsky  <visnovsky@nenya.ms.mff.cuni.cz>

	* configure.in: Added "sk" to ALL_LINGUAS.
	* po/sk.po: Added Slovak translation.
2001-09-24 14:29:20 +00:00
Owen Taylor
7b0afc5582 Patch from Matthias Clasen (#59806)
Wed Sep 19 14:17:31 2001  Owen Taylor  <otaylor@redhat.com>

	Patch from Matthias Clasen (#59806)

	* configure.in: Check for vasprintf().
2001-09-19 20:39:56 +00:00
Owen Taylor
37fd6f79d4 Error out if gettext support is not found. (#59386)
Wed Sep 19 11:23:41 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Error out if gettext support is not found. (#59386)
2001-09-19 15:40:38 +00:00
Tim Janik
d5a724df11 up version number to 1.3.8, interface age 0, binary age 0.
Tue Sep 18 22:57:33 2001  Tim Janik  <timj@gtk.org>

        * configure.in (GLIB_MICRO_VERSION): up version number to 1.3.8,
        interface age 0, binary age 0.

        * NEWS: updates.

Tue Sep 18 23:09:02 2001  Tim Janik  <timj@gtk.org>

        * gparam.[hc]: rename *nick and *blurb fields to catch
        direct accesses in third party code.
        provide g_param_get_nick(), g_param_get_blurb() and
        g_param_get_name() accessors.
2001-09-18 23:38:06 +00:00
Owen Taylor
a9b48f3327 Fixes for compilation on Solaris (#59026, Frank Belew)
Tue Sep 18 18:23:02 2001  Owen Taylor  <otaylor@redhat.com>

        Fixes for compilation on Solaris (#59026, Frank Belew)

        * glib/gqsort.c (g_qsort_with_data): Use g_alloca().

        * glib/giochannel.c (g_io_channel_read_to_end): Fix use
        of ternary on left-hand-side.

        * configure.in: Handle the ac_cv_working_alloca_h variable
        set by autoconf-2.5x.

Tue Sep 11 18:50:44 2001  Owen Taylor  <otaylor@redhat.com>

        * m4macros/glib-gettext.m4 acinclude.m4: Remove commented
        out sections for clarity.
2001-09-18 22:28:32 +00:00
Tor Lillqvist
020b44f5ac Add variable for LT_CURRENT minus LT_AGE (the suffix used by libtool on
2001-09-17  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Add variable for LT_CURRENT minus LT_AGE (the
	suffix used by libtool on Win32 for DLLs). Set variables for the
	compiled resource files on Windows. Handle the native Win32
	gthread stuff.

	* glib/Makefile.am
	* gmodule/Makefile.am
	* gobject/Makefile.am: (Win32) Add minor hacks to link in the object
	file produced from the resource file. Use the lt-compile-resource
	script from the build module. The non-hack way would be to teach
	libtool, autoconf and automake about .rc files (which are a kind
	of source code, after all, that gets compiled to object
	files). But then there would be problems for those who wouldn't have
	bleeding edge auto* and libtool.

	* glib/glib.def
	* gobject/gobject.def: Updates.

	* glib/glib.rc.in
	* gmodule/gmodule.rc.in
	* gobject/gobject.rc.in
	* gthread/gthread.rc.in: Update InternalName and OriginalFilename to
	match libtool's naming convention for DLLs.

	* glib/gutils.c: Ditto when constructing the DLL name in the
	definition for GLIB_LOCALE_DIR.

	* glib/makefile.mingw.in
	* gmodule/makefile.mingw.in
	* gobject/makefile.mingw.in
	* gthread/makefile.mingw.in: Update import library names.
2001-09-17 00:41:39 +00:00
Carlos Perell Marn
384c8d0639 Added Spanish translation by jos antonio salgueiro
2001-09-02  Carlos Perell Marn <carlos@gnome-db.org>

	* es.po: Added Spanish translation by jos antonio salgueiro
	<joseantsa@retemail.es>
2001-09-02 06:46:40 +00:00
Kwok-Koon Cheung
5b01d5f62c Added traditional Chinese translation. 2001-08-21 05:10:34 +00:00
Fatih Demir
cd793f2ced Added Tamil translation. 2001-08-19 11:32:26 +00:00
Sven Neumann
c2ec77f534 beautified configure help output.
2001-08-03  Sven Neumann  <sven@gimp.org>

	* configure.in: beautified configure help output.

	* glib/gtree.c: changed help for g_tree_insert(); it was misleading.
2001-08-03 16:00:23 +00:00
Sebastian Wilhelmi
548ac42ad8 #undef inline before testing whether it works to avoid false positives.
2001-07-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: #undef inline before testing whether it works to
	avoid false positives. Patch from Garry R. Osgood
	<grosgood@rcn.com>. Fixes bug #58272.
2001-07-30 09:02:37 +00:00
Darin Adler
07638db802 Update location of pkgconfig from sourceforge.net to new location at
* configure.in:
	* m4macros/glib-2.0.m4:
	Update location of pkgconfig from sourceforge.net to new
	location at freedeskop.org.
2001-07-26 20:11:42 +00:00
Kjartan Maraas
926af68d34 Added "nn" to ALL_LINGUAS.
2001-07-17  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Added "nn" to ALL_LINGUAS.
2001-07-17 19:01:11 +00:00
Pablo Saratxaga
6a31ce2dac Added Basque file 2001-07-06 12:26:56 +00:00
Tim Janik
fd860cb987 up version number to 1.3.7, interface age 0, binary age 0.
Thu Jun 28 16:57:44 2001  Tim Janik  <timj@gtk.org>

        * configure.in (GLIB_MICRO_VERSION): up version number to 1.3.7,
        interface age 0, binary age 0.

Thu Jun 28 16:42:49 2001  Tim Janik  <timj@gtk.org>

        * gsignal.c (g_signal_lookup):
        (g_signal_list_ids): give elaborate warnings about invalid types,
        non-instantiatable types and unloaded types that we can't operate on.

        * gparam.[hc]: g_param_spec_pool_belongings() ->
        g_param_spec_pool_list_owned().

        * gsignal.[hc]: renamed:
        g_signal_newc -> g_signal_new
        g_signal_disconnect_by_func -> g_signal_handlers_disconnect_by_func
        g_signal_block_by_func -> g_signal_handlers_block_by_func
        g_signal_unblock_by_func -> g_signal_handlers_unblock_by_func
        added GConnectType to simplify (..gboolean swapped, gboolean after)
        args.

        * gobject.[hc]: changed prototypes accordingly.
2001-06-28 17:05:12 +00:00
Sebastian Wilhelmi
623cb39af2 Removed glib-config-2.0, as we have pkg-config now.
2001-06-27  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* Makefile.am, configure.in: Removed glib-config-2.0, as we have
	pkg-config now.

	* glib/Makefile.am: Added -I$(top_srcdir) for builddir != srcdir.

	* Makefile.am: Removed gen-unicode-tables.pl from EXTRA_DIST.
2001-06-27 14:38:08 +00:00
Owen Taylor
2fd6b001fb Move glib library into a subdirectory, make all GLib include files include
Tue Jun 26 11:43:46 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in Makefile.am *.[ch] glib/*.[ch] glib/Makefile.am:
	Move glib library into a subdirectory, make all GLib include
	files include as <glib/glist.h>

	* tests/testglib.c tests/testgdate.c tests/testgdateparser.c
	  tests/timeloop.c tests/timeloop-basic.c: Move all tests into
	the tests/ subdirectory.
2001-06-26 16:01:21 +00:00
Havoc Pennington
7ab9d6380d updated
2001-06-11  Havoc Pennington  <hp@redhat.com>

	* NEWS: updated

	* configure.in (GLIB_MICRO_VERSION): increment version to 1.3.6

2001-06-12  Havoc Pennington  <hp@redhat.com>

	* Makefile.am (glib-mkenums): don't put $(srcdir)/glib-mkenums in
	bin_SCRIPTS, that breaks make install. Instead put 'glib-mkenums'
	in bin_SCRIPTS and cp it into builddir
2001-06-12 20:05:43 +00:00
Pablo Saratxaga
78273842cc Added Azeri file 2001-06-08 12:48:45 +00:00
Sebastian Wilhelmi
64fca344e3 Remove docs/glib-config.1.in.
2001-06-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* docs/Makefile.am, configure.in: Remove docs/glib-config.1.in.
2001-06-08 12:19:59 +00:00
Havoc Pennington
fab889b14d subst GLIB_GENMARSHAL, GOBJECT_QUERY, GLIB_MKENUMS variables
2001-06-07  Havoc Pennington  <hp@redhat.com>

	* m4macros/glib-2.0.m4: subst GLIB_GENMARSHAL, GOBJECT_QUERY,
	GLIB_MKENUMS variables

	* gmodule-2.0.pc.in: add gmodule_supported variable

	* glib-2.0.pc.in: add glib_genmarshal, gobject_query,
	glib_mkenums variables

	* configure.in: put G_MODULE_SUPPORTED value into
	.pc files

	* autogen.sh: support AUTOGEN_SUBDIR_MODE

	* Makefile.am: add -uninstalled.pc.in to EXTRA_DIST

2001-06-07  Havoc Pennington  <hp@redhat.com>

	* pango/Makefile.am: add libpango.la to _DEPENDENCIES for the
	other libs

	* configure.in: use AM_PATH_GLIB_2_0

	* autogen.sh: support AUTOGEN_SUBDIR_MODE

	* Makefile.am: dist the .pc.in files

2001-06-07  Havoc Pennington  <hp@redhat.com>

	* atk/Makefile.am: use @GLIB_GENMARSHAL@ so we can use uninstalled
	glib-genmarshal

	* configure.in: rearrange the library checks to support
	uninstalled linking

	* autogen.sh: add support for AUTOGEN_SUBDIR_MODE

	* atk-uninstalled.pc.in: new file, allows linking to uninstalled
	ATK in giant GTK tarball

2001-06-07  Havoc Pennington  <hp@redhat.com>

	* tests/Makefile.am: add missing -I flag

	* gtk/Makefile.am: use @GLIB_MKENUMS@, @GLIB_GENMARSHAL@, etc.

	* configure.in: use pkg-config to see if GModule is
	supported; fix to properly turn on included loaders
	when GModule isn't supported; don't use AC_CHECK_LIB
	when libs are not installed yet

	* autogen.sh: add support for AUTOGEN_SUBDIR_MODE

	* Makefile.am (SUBDIRS): add m4macros subdir

	* gtk/Makefile.am: $(srcdir)/foo targets must be $(srcdir)/foo in
	dependencies also.
2001-06-07 16:39:54 +00:00
Sebastian Wilhelmi
632943f359 Look for nanosleep function.
2001-06-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Look for nanosleep function.

	* gtimer.c: Use nanosleep for g_usleep, when found.

	* gtimer.c, gtimer.h: Add g_time_val_add function. Closes #54271.

	* gasyncqueue.c: Documentation updates.

	* gthreadpool.c: Use g_time_val_add now that we have it.

	* glib/glib-sections.txt, glib/tmpl/date.sgml: Add g_time_val_add.

	* glib/tmpl/threads.sgml: Updated.
2001-06-07 13:46:14 +00:00
Sebastian Wilhelmi
47412cbbc9 Remove G_HAVE_ISO_CXX_VARARGS and G_HAVE_ISO_C_VARARGS and define
2001-05-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Remove G_HAVE_ISO_CXX_VARARGS and
	G_HAVE_ISO_C_VARARGS and define G_HAVE_ISO_VARARGS directly
	guarded by #if(n)def __cplusplus.
2001-05-31 08:10:17 +00:00
Sebastian Wilhelmi
5ff90aee0d Don't bail out, if no C++ compiler is found. Define G_HAVE_ISO_VARARGS
2001-05-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Don't bail out, if no C++ compiler is
	found. Define G_HAVE_ISO_VARARGS only if appropriate.

	* gmessages.h: Thus we can revert the previous patch.
2001-05-29 13:47:05 +00:00
Owen Taylor
1b1bbd0ddc Check for __VARARGS__ separately for C and C++.
Mon May 28 11:40:34 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Check for __VARARGS__ separately for C and C++.
2001-05-28 15:41:24 +00:00
Sebastian Wilhelmi
4d8aba8947 Fix typo.
2001-05-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Fix typo.

	* gobject/Makefile.am (EXTRA_DIST): Really distribute
        glib-mkenums, now that bin_SCRIPTS doesn't seem to care about
        doing so anymore.
2001-05-28 11:16:33 +00:00
Owen Taylor
686e9b4645 Fix some problems in writing out varargs tests in configure.in
Sun May 20 10:47:47 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Fix some problems in writing out varargs
	tests in configure.in
2001-05-20 14:49:44 +00:00
Owen Taylor
5df92b7423 Use compile checks for ISO C99 and GNU extension varargs macros syntax and
Fri May 18 10:52:23 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in gmessages.h: Use compile checks for ISO C99 and GNU
	extension varargs macros syntax and store result in glibconfig.h
	(G_HAVE_ISO_VARARGS, G_HAVE_GNUC_VARARGS) rather than relying
	on checking predefined macros.
2001-05-18 16:00:54 +00:00
Havoc Pennington
348c8f102f m4macros/Makefile
2001-05-15  Havoc Pennington  <hp@redhat.com>

	* configure.in (AC_OUTPUT): m4macros/Makefile

	* m4macros/Makefile.am, m4macros/glib-2.0.m4,
	m4macros/glib-gettext.m4:
	m4 files moved here on server, Makefile.am added

	This is so you can aclocal -I m4macros while avoiding acinclude.m4

	* Makefile.am: add m4macros subdir, remove references to glib-2.0.m4
2001-05-15 22:07:21 +00:00
Havoc Pennington
ea05dba9b6 Get rid of --enable-msg-prefix
2001-04-26  Havoc Pennington  <hp@redhat.com>

	* configure.in: Get rid of --enable-msg-prefix

	* gmessages.c: make whether to prefix the messages with
	appname/pid a runtime setting, not a compile-time setting.  Change
	default to include prefix for debug/warning/error type messages.
2001-05-09 16:36:17 +00:00
Owen Taylor
77ec0f5826 Released 1.3.5
Fri May  4 11:49:18 2001  Owen Taylor  <otaylor@redhat.com>

	* Released 1.3.5

	* NEWS: Updated

	* configure.in (GLIB_MICRO_VERSION): Up version to 1.3.5,
	interface/binary age 0.
2001-05-04 22:34:43 +00:00
Pablo Saratxaga
81cc9074f4 Added Catalan file 2001-04-30 20:40:51 +00:00
Dan Winship
655d467602 Add a check for the Darwin dynamic linker. Use AC_TRY_LINK when checking
* configure.in: Add a check for the Darwin dynamic linker. Use
        AC_TRY_LINK when checking for "nonposix getpwuid_r" so it notices
        "no getpwuid_r" correctly.

        * testglib.c (main): Make template[] bigger to prevent an overrun.
        Remove an unused variable. Initialize error to NULL.

        * tests/gio-test.c (main): Add a cast to prevent a warning when
        size_t is a long.

        * tests/type-test.c (main): Add an #ifdef to prevent a warning
        when G_HAVE_GINT64 is defined and G_GINT64_FORMAT isn't.
2001-04-20 17:08:57 +00:00
Sebastian Wilhelmi
4f5ea7fce3 Removed bashism in test for the pkg-config version.
2001-04-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Removed bashism in test for the pkg-config
	version.

	* configure.in: Rewrote test for multithread flag. Now uses
	localtime_r, which hopefully has a consistent prototype across
	different platforms. Also it uses a clever double EGREP trick
	instead of compiling, which could give false positives. Thanks to
	Dan Winship <danw@ximian.com> for the hint.
2001-04-19 08:26:21 +00:00
Owen Taylor
525689823d Remove warnings about conflicts with the stable version.
Mon Apr 16 12:04:52 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Remove warnings about conflicts with the
        stable version.

	 * glib-2.0.m4: Fix some of the error text to be halfway
        up to date.

        * README.in INSTALL.in: Add these to generate README, INSTAL
        (as in the stable branch). Update.

	  * HACKING: Update.
2001-04-17 00:55:34 +00:00
Tim Janik
58bfca360d increment version to 1.3.4 (binary 0, interface 0).
Mon Apr  9 18:57:44 2001  Tim Janik  <timj@gtk.org>

        * configure.in: increment version to 1.3.4 (binary 0, interface 0).

Mon Apr  9 18:56:15 2001  Tim Janik  <timj@gtk.org>

        * gclosure.c (g_closure_invoke): only require marshal/meta_marshal if
        we're valid (about to actually do marshalling).
2001-04-09 17:03:55 +00:00
Christian Rose
5ccb1c7a45 Added Swedish translation. 2001-04-05 00:51:52 +00:00
Owen Taylor
c13277dc75 Exit with an error message that you should use pkg-config instead.
Tue Apr  3 12:38:16 2001  Owen Taylor  <otaylor@redhat.com>

	* glib-config-2.0.in: Exit with an error message that you
	should use pkg-config instead.

	* configure.in (PACKAGE): Require pkg-config.

	* tests/Makefile.am (EXTRA_DIST): Add utf8.txt.

	* configure.in (GLIB_MICRO_VERSION): Up MICRO to 3,
	leave interface/binary at 0.
2001-04-03 18:27:59 +00:00
Owen Taylor
b8d7add377 *** empty log message *** 2001-03-26 18:35:34 +00:00
Pablo Saratxaga
3a4312b309 added 'ru' to ALL_LINGUAS 2001-03-16 07:28:45 +00:00
Tor Lillqvist
5c00c34972 Cygwin support contributed by Stefan Ondrejicka <ondrej@idata.sk>.
2001-02-21  Tor Lillqvist  <tml@iki.fi>

	Cygwin support contributed by Stefan Ondrejicka
	<ondrej@idata.sk>. Hopefully I got it all in while simultaneously
	adding support for auto*/libtool for mingw.

	* Makefile.am: Changes for auto* support on Cygwin and Win32. Do
	still distribute the hand-written makefiles and *.win32.in files,
	though. Use GIO, GSPAWN and PLATFORMDEP macros set by configure.
	Use -no-undefined. Pass -export-symbols glib.def to libtool.

	* configure.in: Define G_PLATFORM_WIN32 on both pure Win32 (mingw)
	and Cygwin. Add AC_CYGWIN, AC_EXEEXT and AC_LIBTOOL_WIN32_DLL
	calls for Cygwin and mingw support.  Check for %I64u guint64
	format (in MS C library). Set G_MODULE_IMPL on mingw and
	Cygwin. Use ac_object and ac_exeext.  Set GIO, GSPAWN, PLATFORMDEP
	and G_LIBS_EXTRA. Compile timeloop only on Unix. Define OS_WIN32
	automake conditional on Win32.

	* glib.h: Include gwin32.h also on Cygwin.

	* gfileutils.c (get_contents_posix): Use O_BINARY (defined as 0 on
	Unix) for Cygwin's sake.

	* gtimer.c (GETTIME): Reduce #ifdefs, use a macro GETTIME().

	* gconvert.c
	* gthread.c
	* gutf8.c
	* gutils.c: For code needed both on Cygwin and native Win32,
	test for G_PLATFORM_WIN32.

	* gtypes.h: Refine GLIB_VAR definition. Also check for DLL_EXPORT
	in case compiling a static library on Win32 or Cygwin.

	* gwin32.c: No <direct.h> on Cygwin. No need for ftruncate() or
	dirent emulation on Cygwin.
	(get_package_directory_from_module) Convert return value from
	GetModuleFileName() to POSIX path on Cygwin.

	* tests/Makefile.am (progs_LDADD): Link with libglib, libgthread
	and libgmodule as appropriate. Use -no-undefined.

	* gbacktrace.c: Move #ifdefs around a bit on Win32.

	* gshell.c (unquote_string_inplace): Make static.
2001-03-09 21:18:33 +00:00