121 Commits

Author SHA1 Message Date
Owen Taylor
5f5016fdad Copy REALLOC_0_WORKS check from HEAD, since autoconf-2.5x complains about
Mon Mar 11 15:36:33 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Copy REALLOC_0_WORKS check from
        HEAD, since autoconf-2.5x complains about the
        old version.

        * acinclude.m4: Remove libtool macros.

        * acglib.m4 configure.in: Fix AC_DIVERT compatibility
        problems with autoconf-2.5x.

        * ghash.c: Backport optimization (remove floating
        point arithmetic) from HEAD. (#59124)
2002-03-11 20:40:24 +00:00
Owen Taylor
4aeb06f883 Backport from HEAD of fix by Raja R Harinath: (fd_set): Change the grep
Mon Mar 11 15:19:01 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Backport from HEAD of fix by Raja R Harinath:
        (fd_set): Change the grep for `fd_mask' to search for `fd_set'.
        (#56364)

        * gcompletion.c (g_completion_complete): Fix memory
        leak. (#53408, Ron Koerner)
2002-03-11 20:21:59 +00:00
Sebastian Wilhelmi
4f8c618407 Fix test for posix like pthread_cond_timedwait. (#70525)
2002-02-05  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Fix test for posix like
	pthread_cond_timedwait. (#70525)
2002-02-05 08:13:38 +00:00
Sebastian Wilhelmi
19a27ad809 Get the right multithread option for GCC 3.0 and later on AIX. (#67583)
2002-01-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Get the right multithread option for GCC 3.0 and
	later on AIX. (#67583)
2002-01-22 09:52:17 +00:00
Owen Taylor
1f2b1ef109 [ Very late checkin ]
Thu Mar 15 10:37:49 2001  Owen Taylor  <otaylor@redhat.com>

        * Released 1.2.10

        * NEWS: Update

        * configure.in: Up micro/interface-age/binary-age to 10.
2001-06-29 23:42:42 +00:00
Sebastian Wilhelmi
05693cc388 Fix typo and thus bug #51862.
2001-03-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in (FLAG_DOES_NOT_WORK): Fix typo and thus bug #51862.
2001-03-08 09:38:15 +00:00
Owen Taylor
b2abe45d57 Add discouraging message if --enable-mem-profile or --enable-mem-check is
Wed Feb 28 16:59:05 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in (mem_warn): Add discouraging message if
	--enable-mem-profile or --enable-mem-check is given.
2001-02-28 22:52:57 +00:00
Tim Janik
c80c7b84fd check for systems with broken RTLD_GLOBAL.
Sat Feb 17 07:33:44 2001  Tim Janik  <timj@gtk.org>

        * configure.in (G_MODULE_BROKEN_RTLD_GLOBAL): check for systems
        with broken RTLD_GLOBAL.

Sat Feb 17 07:33:21 2001  Tim Janik  <timj@gtk.org>

        * gmodule-dl.c: fix systems with broken RTLD_GLOBAL.
2001-02-17 06:34:42 +00:00
Jody Goldberg
4203b081c1 up version number to 1.2.9, interface 9, binary 9.
Mon Oct 16 11:11:06 2000  Tim Janik  <timj@gtk.org>

        * configure.in: up version number to 1.2.9, interface 9, binary 9.

        * gstrfuncs.c (g_printf_string_upper_bound): added patchy hack to
        pad us around segfaults for usages of '\'' in decimal conversions.
        applied patch from jody:

2000-10-15  Jody Goldberg <jgoldberg@home.com>

        * gstrfuncs.c (g_printf_string_upper_bound) : Add 'G' as a valid
         character.

Sun Aug  6 20:06:02 2000  Tim Janik  <timj@gtk.org>

        * gmessages.c (g_log_domain_check_free): keep *last updated while
        running through the domain list, so we don't screw up the removal,
        patch provided by Gady Kozma <gadykozma@hotmail.com>.

Sun Aug  6 20:03:41 2000  Tim Janik  <timj@gtk.org>

        * gmessages.c (g_log_remove_handler): keep *last updated while running
        through the handler list, so we don't screw up the removal.
2000-10-16 09:16:57 +00:00
Martin Baulig
b7e2cecaa2 Provide pkg-config scripts.
2000-09-30  Martin Baulig  <baulig@suse.de>

	* glib.pc.in, gmodule.pc.in, gthread.pc.in: Provide
	pkg-config scripts.

	* configure.in: Create *.pc scripts from the *.pc.in
	templates.
	* Makefile.am (pkgconfig_DATA): Install the *.pc
	scripts in `$(libexecdir)/pkgconfig'.
2000-09-29 22:12:02 +00:00
Sebastian Wilhelmi
ccfc84df3f glibconfig.h now includes files outside of the extern "C" block. Makes
2000-07-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: glibconfig.h now includes files outside of the
	extern "C" block. Makes some C++ compiler happy. Reported by Denis
	Vakatov <vakatov@peony.nlm.nih.gov>.

	* gmodule/gmodule.h: include glib.h before doing extern "C".
        Makes some C++ compiler happy. Reported by Denis Vakatov
	<vakatov@peony.nlm.nih.gov>.
2000-07-19 14:06:27 +00:00
Tim Janik
c3c858cb62 glib version 1.2.8, interface age 8, binary age 8.
Thu May 25 02:29:35 2000  Tim Janik  <timj@gtk.org>

        * configure.in: glib version 1.2.8, interface age 8, binary age 8.
2000-05-25 00:34:18 +00:00
Sebastian Wilhelmi
43acfbf619 The last commit was not quite right. This time it should work.
The last commit was not quite right. This time it should work.
2000-05-18 15:13:00 +00:00
Sebastian Wilhelmi
4611fe9446 Use strlen instead of exit in the test for sys_siglist, as using strlen
2000-05-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Use strlen instead of exit in the test for
	sys_siglist, as using strlen (function without side effects) makes
	the compiler remove that for optimized compilation and the linker
	wont see the symbol, thus a successfull link doesn't mean, that
	the symbol exists. Hint from Robert Pouliot
	<robert.pouliot@bell.ca>.

	* configure.in: Also look for thread functions in libthreads. Hint
	also from Robert Pouliot <robert.pouliot@bell.ca>.
2000-05-18 15:06:39 +00:00
Sebastian Wilhelmi
2b8fb12960 The mutex in the check for pthread_mutex_trylock should be a static var.
2000-03-21  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: The mutex in the check for pthread_mutex_trylock
	should be a static var. Thanks to Wan-Teh Chang <wtc@netscape.com>
	for pointing this out.
2000-03-21 09:23:52 +00:00
Sebastian Wilhelmi
e97d7be284 Changed GCC version test to also accept major versions > 2. Thanks to Ben
2000-02-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Changed GCC version test to also accept major
	versions > 2. Thanks to Ben Gertzfield <che@debian.org> for
	pointing this out.
2000-02-18 09:31:45 +00:00
Tim Janik
7767686fda up version number to 1.2.7, interface age 7 and binary age 7.
Fri Feb  4 19:39:38 2000  Tim Janik  <timj@gtk.org>

        * configure.in: up version number to 1.2.7, interface age 7 and
        binary age 7.

        * NEWS: updates.
2000-02-04 03:21:46 +00:00
Sebastian Wilhelmi
0735756eaa Make the test for getpwuid_r work on newer AIX versions, too. Still works
1999-11-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* Make the test for getpwuid_r work on newer AIX versions,
	too. Still works on Solaris and Linux. Patch from Craig Rodrigues
	<rodrigc@mediaone.net>.
1999-11-08 09:36:07 +00:00
CDT 1999 Shawn T. Amundson
5636dc8433 Released GLib 1.2.6
Thu Oct  7 12:28:27 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

        * Released GLib 1.2.6
1999-10-07 17:39:11 +00:00
Tim Janik
302ec721e0 applied patch from Soeren Sandmann <sandmann@daimi.au.dk>, to force mem
Fri Sep 17 10:24:45 1999  Tim Janik  <timj@gtk.org>

        * gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
        from Soeren Sandmann <sandmann@daimi.au.dk>, to force mem chunk's area
        sizes to be a multitiple of atom_size, and to eliminate the MAX_MEM_AREA
        restriction of 65536 bytes. we also catch cases where users pass an area
        size < atom size with a return_if_fail statement now (which is ok,
        because previously this lead to memory corruption anyways).
1999-09-17 09:03:51 +00:00
Tim Janik
df4f26e24c update version to 1.2.4, interface age 4, binary age 4.
Mon Aug 23 18:29:45 1999  Tim Janik  <timj@gtk.org>

        * configure.in: update version to 1.2.4, interface age 4, binary age 4.

        * NEWS: updates.

        * Makefile.am: require automake 1.4, build README from README.in and
        INSTALL from INSTALL.in in dist-hook.

        * README.in:
        * INSTALL.in: new files to autogenerate README and INSTALL from.

        * COPYING: update to the GNU LESSER GENERAL PUBLIC LICENSE.
1999-08-23 19:27:39 +00:00
CDT 1999 Shawn T. Amundson
9b679abd55 Released GLib 1.2.3
Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>

        * Released GLib 1.2.3
1999-05-11 03:06:59 +00:00
Tor Lillqvist
1b9116f9e4 Don't distribute glibconfig.h.win32.in, but glibconfig.h.win32. Generate
* Makefile.am: Don't distribute glibconfig.h.win32.in, but
	glibconfig.h.win32. Generate it when making a dist. Also generate
	makefile.msc and config.h.win32 from corresponding .in files when
	making dist.

	* configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
	@GLIB_BINARY_AGE@ (needed in config.h.win32).

	* glibconfig.h.win32.in: Use static mutex structure and initial
	value corresponding to the 1999-04-07 snapshot of pthreads-win32.

	* tests/Makefile.am: Distribute makefile.msc. Generate it when
	making dist.

	* tests/makefile.msc.in: New file.

	* tests/node-test.c: Include <stdlib.h> for exit().
1999-04-29 21:38:56 +00:00
Sebastian Wilhelmi
822c785df0 Adjusted the test for an unimplemented getpwuid_r. Info from Michael
1999-04-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Adjusted the test for an unimplemented
	getpwuid_r. Info from Michael Pruett <mikep@ugcs.caltech.edu>.
1999-04-12 09:16:07 +00:00
Tim Janik
7f3b25b0d6 bumped versin number to GLib 1.2.2, interface 2, binary 2.
Sun Apr 11 15:07:34 1999  Tim Janik  <timj@gtk.org>

        * configure.in: bumped versin number to GLib 1.2.2, interface 2,
        binary 2.

        * NEWS: updates.

Sun Apr 11 14:37:06 1999  Tim Janik  <timj@gtk.org>

        * gstrfuncs.c (g_strcasecmp): always check for s1, s2 != NULL.
1999-04-11 14:59:33 +00:00
Sebastian Wilhelmi
6a1327a2ef Fixed slight bug, that made configure hang on some systems. Please do not
1999-03-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Fixed slight bug, that made configure hang on some
	systems. Please do not merge this into 1.3 branch. It's taken care
	of differently there. Info from J. Rhett Aultman
	<cuplan@alley.gator.net>
1999-03-31 12:29:08 +00:00
CST 1999 Shawn T. Amundson
36f6b54fb2 Released GLib 1.2.1
Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>

        * Released GLib 1.2.1

        * README:
          INSTALL:
          NEWS:
          sanity_check: updated

        * glibconfig.h.win32.in:
          Makefile.am:
          docs/glib-config.1.in:
          docs/Makefile.am: Added files used to generate new files.

        * glibconfig.h.win32:
          docs/glib-config.1: Removed, now generated.

        * configure.in: Added to output now-generated files.
1999-03-25 04:04:57 +00:00
Tim Janik
9f18edbb99 configure.in bumped versin number to GLib 1.2.1, interface 1, binary 1.
Wed Mar 17 03:17:42 1999  Tim Janik  <timj@gtk.org>

        * configure.in bumped versin number to GLib 1.2.1, interface 1,
        binary 1.

        * NEWS: updates.

        * glib.h: added GLIB_CHECK_VERSION() macro similar to
        GTK_CHECK_VERSION().
1999-03-17 02:37:02 +00:00
Sebastian Wilhelmi
1227e07bd8 Also accept _Pctime_r instead of ctime_r, while seraching for the right
1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

       * configure.in: Also accept _Pctime_r instead of ctime_r, while
       seraching for the right `_REENTRANT' flag. This is for Digital
       UNIX 4.0d. Thanks to Sascha Brawer <sb@adasys.ch>.
1999-03-12 15:15:54 +00:00
Tim Janik
911b6132ea check for working realloc (NULL,). use malloc() for initial allocation on
Tue Mar  9 23:25:50 1999  Tim Janik  <timj@gtk.org>

        * configure.in: check for working realloc (NULL,).
        * gmem.c (g_realloc): use malloc() for initial allocation on systems
        where realloc(NULL,) will not work (this is the case on SunOS, reported
        by Tom Geiger).
1999-03-09 22:31:33 +00:00
Sebastian Wilhelmi
45ce5e5c30 Moved G_THREADS_IMPL_POSIX from config.h.win32 to glibconfig.h.win32
1999-03-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
	from config.h.win32 to glibconfig.h.win32

	* acconfig.h, configure.in, config.h.win32: Added test for DCE
	versions of mutex_trylock and cond_timedwait. The win32 versions
	are posix, aren't they?

	* gthread/gthread-posix.c: Fixed broken mutex_trylock and
	slightly broken	cond_timed_wait functions.
1999-03-03 08:47:23 +00:00
Shawn Amundson
a66533dbfa Increment version to 1.2.0.
Increment version to 1.2.0.

-Shawn
amundson@gtk.org
1999-02-25 21:34:25 +00:00
Michael Fulbright
a9a2206fc6 I've made the spec file autogenerated, and I tweaked it
Dr Mike <drmike@redhat.com>
1999-02-21 18:58:59 +00:00
CST 1999 Shawn T. Amundson
95a5574cf4 version=1.1.16
Tue Feb 16 14:08:59 CST 1999 Shawn T. Amundson <amundson@gtk.org>

        * NEWS
          README
          INSTALL
          config.h.win32
          configure.in
          glib.spec
          glibconfig.h.win32
          docs/glib-config.1: version=1.1.16

        * Released GLib 1.1.16
1999-02-16 21:20:13 +00:00
Sebastian Wilhelmi
8168836cd2 Changed signature of all g_static_mutex_* functions to take a pointer
1999-02-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* glib.h, glibconfig.h.win32, configure.in: Changed signature of
	all g_static_mutex_* functions to take a pointer rather than the
	struct itself. This is not an issue at the moment, because those
	funcs are really macros, but is it un'G'ish and might fall on our
	feet in the future.

	* gthread/testgthread.c (test_mutexes): Use new signature of
	g_static_mutex* functions.
1999-02-15 08:26:00 +00:00
Tim Janik
3f5639a791 default to yes for development trees.
Mon Feb 15 07:45:54 1999  Tim Janik  <timj@gtk.org>

        * configure.in (--enable-debug): default to yes for development trees.
1999-02-15 06:50:15 +00:00
Tim Janik
0df89d51a4 be more descriptive on unsupported systems.
Wed Feb 10 12:06:30 1999  Tim Janik  <timj@gtk.org>

        * gmodule.c (CHECK_ERROR): be more descriptive on unsupported systems.

Wed Feb 10 12:01:42 1999  Tim Janik  <timj@gtk.org>

        * configure.in: don't reset G_MODULE_IMPL, so it can be overridden
        from the command line.
1999-02-10 11:15:13 +00:00
Sebastian Wilhelmi
fa5d3b74b0 Changed the test for getpwuid_r to exclude those systems (i.e. IRIX), that
1999-02-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in, acconfig.h: Changed the test for getpwuid_r to
	exclude those systems (i.e. IRIX), that set ENOSYS after the call.
	Test, if pthread_getspecific is posix like or something different,
	as on PCThreads.

	* gthread/gthread-posix.c (g_private_get_posix_impl): Use the
	HAVE_PTHREAD_GETSPECIFIC_POSIX macro to determine, which signature
	to use for pthread_getspecific.
1999-02-08 17:14:44 +00:00
Sebastian Wilhelmi
28500009d4 Make the error message in case of a broken thread system a bit more
1999-02-05  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Make the error message in case of a broken thread
	system a bit more informative.

	* gutils.c (g_get_any_init): Changed the error logic again, now
	only leaving the memory doubling loop, when success is reached or
	when the user isn't found or when the buffer is 32k big,
	additionally now getpwuid will be run, if getpwuid_r didn't work
	out properly. A warning is issued however.
1999-02-05 16:41:02 +00:00
PST 1999 Shawn T. Amundson
3d2943e0cf version=1.1.15
Thu Feb  4 01:45:01 PST 1999 Shawn T. Amundson <amundson@gtk.org>

        * ChangeLog
          NEWS
          README
          configure.in
          glib.spec
          docs/glib-config.1: version=1.1.15

        * Released GLib 1.1.15
1999-02-04 12:59:35 +00:00
Sebastian Wilhelmi
87d3468f20 Moved the check for MT save function variants after the determination of
1999-01-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Moved the check for MT save function variants
	after the determination of the MT cflags and use them there.
1999-02-01 08:44:24 +00:00
Sebastian Wilhelmi
1432d70585 Fixed typo. Now HPUX 11 thread system detection should work.
1999-01-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Fixed typo. Now HPUX 11 thread system detection
	should work.
1999-01-29 13:34:43 +00:00
CST 1999 Shawn T. Amundson
0fc0cf6635 version=1.1.14
Wed Jan 27 23:21:50 CST 1999 Shawn T. Amundson <amundson@gtk.org>

        * INSTALL
          NEWS
          README
          configure.in
          glib.spec
          docs/glib-config.1: version=1.1.14

        * Released GLib 1.1.14
1999-01-28 08:13:30 +00:00
Sebastian Wilhelmi
c65e5aab74 Simplified configure.in test for posix threads, systems, that provide
1999-01-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Simplified configure.in test for posix threads,
	systems, that provide /usr/include/pthread.h should also have the
	posix thread library. This is to avoid writing down all the tests
	twice. New test for thread system on HPUX 11. Info from Matt
	Nottingham <matt@sar.dera.gov.uk>.
1999-01-28 07:43:18 +00:00
Tim Janik
d9a8bb01e4 applied patch from Andrej Borsenkow <borsenkow.msk@sni.de> to also check
Wed Jan 27 01:57:19 1999  Tim Janik  <timj@gtk.org>

        * configure.in (G_MODULE_HAVE_DLERROR): applied patch from Andrej
        Borsenkow <borsenkow.msk@sni.de> to also check for dlsym() in system
        libraries and -ldl, to catch systems that provide dlopen() in libc
        and dlsym() in libdl. this is at least the case for Reliant UNIX
        5.44 (labeling itself as SINIX).
1999-01-27 08:52:57 +00:00
Manish Singh
8ef66ccb25 don't use backquotes in warning text
-Yosh
1999-01-26 21:40:55 +00:00
Sebastian Wilhelmi
d60b23eb02 Removed the #warning about MT unsafety without localtime_r.
1999-01-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gdate.c (g_date_set_time): Removed the #warning about MT
	unsafety without localtime_r.

	* configure.in: Moved it here.
1999-01-26 13:17:46 +00:00
Raph Levien
427345f568 Fixed a broken #define for G_THREADS_IMPL_$g_threads_impl_def
that was causing NONE to get defined in the no-threads case.
1999-01-25 18:12:34 +00:00
Timur Bakeyev
9225673ea2 NO_SYS_SIGLIST_DECL change.
Mon Jan 25 15:34:43 1999  Timur Bakeyev <mc@bat.ru>

	* configure.in, gstrfuncs.c: Inverted logic of NO_SYS_SYGLIST_DECL -
	now it's normal (see 1999-01-19 Josh MacDonald). Also, remove from
	#include <signal.h> wrapper NO_SYS_SYGLIST - *sys_syglist[] declara-
	tion hides there.
1999-01-25 12:45:51 +00:00
Sebastian Wilhelmi
def1947e4f Do not use the thread libs, when searching for some functions, as this
1999-01-25  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* configure.in: Do not use the thread libs, when searching for
	some functions, as this might require glib to always be linked
	with the thread libs on some platforms.

	* gutils.c (g_get_any_init): Don't set errno to zero and use it
	only as the error code, if the function returned a value less
	0. It might happen, that the call succeeds, even though the errno
	is set during the call (i.e. it first looks for a passwd file,
	which is not found). Submitted by Michael Natterer
	<mitschel@cs.tu-berlin.de>. BTW: Sorry for all the mess with that
	`getpwuid_r' change, but it had to be done once.
1999-01-25 09:53:17 +00:00