summaryrefslogtreecommitdiff
path: root/acglib.m4
AgeCommit message (Collapse)AuthorFilesLines
2009-08-14Update GLIB_CHECK_COMPILE_WARNINGS macro to work with Autoconf 2.64Frédéric Péters1-1/+1
Quoting its NEWS file: "The m4sh macros AS_IF and AS_CASE can now be used in shell lists. The responsibility for supplying a trailing newline now belongs to the call site, but since most users did not add dnl, this generally results in fewer empty lines in configure." http://bugzilla.gnome.org/show_bug.cgi?id=591840
2004-02-27quote AC_DEFUN macro names so automake 1.8 won't whine at us. (#134882)Matthias Clasen1-5/+5
Fri Feb 27 02:00:34 2004 Matthias Clasen <maclas@gmx.de> * acglib.m4: quote AC_DEFUN macro names so automake 1.8 won't whine at us. (#134882)
2002-12-11=== Release 2.1.4 ===GLIB_2_1_4Owen Taylor1-0/+8
Wed Dec 11 17:53:34 2002 Owen Taylor <otaylor@redhat.com> * === Release 2.1.4 === * NEWS: Updates.
2002-12-05Start of fixes for cross-compilation. Based on patches from Dimi Shahbaz,Owen Taylor1-69/+25
Thu Dec 5 15:24:14 2002 Owen Taylor <otaylor@redhat.com> Start of fixes for cross-compilation. Based on patches from Dimi Shahbaz, Dan Kegel, Johannes Stenzenbach, Amy Lin. (#58786) * configure.in: Don't run the Digital-Unix 4 -std1 check when cross_compiling. * configure.in: Use AC_TRY_COMPILE() rather than AC_TRY_RUN() for inline checks. (Daniel Egger) * configure.in: use AC_CHECK_SIZEOF rather than GLIB_SIZEOF for size_t. Remove unused checks for size of ptrdiff_t/intmax_t. * acglib.m4: Resync GLIB_SIZEOF of to the current AC_CHECK_SIZEOF, which handles cross-compilation. * acglib.m4: Remove no longer needed GLIB_SYSDEFS(), add GLIB_CHECK_VALUE() as a wrapper around the amazing _AC_COMPUTE_INT() autoconf 2.5x internal. * configure.in: Redo the POLL* value checks in a cross-compilation friendly way. Thu Dec 5 15:28:37 2002 Owen Taylor <otaylor@redhat.com> * glib/gtimer.c: Include glibconfig.h early so that we include <windows.h> when needed. * glib/gstrfuncs.c: Fix typo.
2002-05-13If sizeof(int) == sizeof(long) run compilation tests to determine whichOwen Taylor1-0/+18
Mon May 13 11:55:33 2002 Owen Taylor <otaylor@redhat.com> * configure.in acglib.m4: If sizeof(int) == sizeof(long) run compilation tests to determine which way gsize should be defined. (#74413, reported by Miroslaw Dobrzanski-Neumann)
2000-12-08Rename from GLIB_DIVERT_BEFORE_HELP. Update to track autoconf 2.49b.Raja R Harinath1-6/+7
* acglib.m4 (GLIB_AC_DIVERT_BEFORE_HELP): Rename from GLIB_DIVERT_BEFORE_HELP. Update to track autoconf 2.49b. * configure.in: Reflect above change. (AC_EGREP_HEADER): Rename from really obselete AC_HEADER_EGREP. (debug_default): Replace "if test `expr ...`" with "case".
2000-10-16gmodule: New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST).Raja R Harinath1-2/+3
gmodule: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). gobject: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). (*): Remove traces of @STRIP_{BEGIN,END}@. gthread: * Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST). docs/reference: 'make distcheck' fixes. * glib/Makefile.am (EXTRA_DIST): Add $(DOC_MODULE)-decl.txt. (html): Run 'gtkdoc-fixxref' in $(srcdir). (dist-check-gtkdoc): Add missing quote. (dist-hook): Copy in dependency order, so that none of the makerules are fired in a tarball build. * gobject/Makefile.am: Likewise. toplevel: Remove need for acconfig.h, and misc. cleanups. * acglib.m4 (GLIB_SIZEOF): Add 'autoheader' comment to AC_DEFINE_UNQUOTED. (GLIB_BYTE_CONTENTS): Likewise. * configure.in: Add 'autoheader' comments to all AC_DEFINE(...) and AC_DEFINE_UNQUOTED(...) lines. Replace AC_MSG_CHECKING/AC_CACHE_VAL with AC_CACHE_CHECK. (AM_PROG_LIBTOOL): Move after AC_PROG_CC. * acconfig.h: Empty out. * Makefile.am (BUILT_EXTRA_DIST): New variable. List 'dist'able files that are created in the builddir. (dist-hook): Handle those files. (libglib_1_3_la_SOURCES): Remove @ALLOCA@. @ALLOCA@ should only be used in an _LDADD or _LIBADD, since it expands (if necessary) to 'alloca.o'. * tests/Makefile.am (BUILT_EXTRA_DIST): New variable. (dist-hook): Handle $(BUILT_EXTRA_DIST).
2000-10-10Remove stray '}'Raja R Harinath1-1/+0
2000-10-09Work with beta autoconf 2.50.Raja R Harinath1-26/+43
* configure.in (GLIB_MAJOR_VERSION): Use GLIB_DIVERT_BEFORE_HELP instead of AC_DIVERT_PUSH(),AC_DIVERT_POP. (AC_CHECK_HEADERS): Remove redundant AC_DEFINE(HAVE_...). (REALLOC_0_WORKS): Move AC_DEFINE outside AC_CACHE_VAL. (dlopen): Quote nested AC_CHECK_... calls. * acglib.m4 (GLIB_TR_SH, GLIB_TR_CPP): Utility macros copied from beta autoconf 2.50. (GLIB_DIVERT_BEFORE_HELP): New macro that works both with autoconf 2.13 and beta autoconf 2.50. (GLIB_SIZEOF, GLIB_BYTECONTENTS): Use GLIB_TR_*.
2000-07-26include <stdlib.h> and <stddef.h> if STDC_HEADERS is defined.Tim Janik1-0/+4
Wed Jul 26 05:03:24 2000 Tim Janik <timj@gtk.org> * acglib.m4 (GLIB_SIZEOF): include <stdlib.h> and <stddef.h> if STDC_HEADERS is defined. * glib.h: * glibconfig.h: define gsize and gssize in terms of GLIB_SIZEOF_SIZE_T * glib.h (g_return_if_reached): applied darin's fix for copy'n paste error in the macro implementation.
1999-06-17Completed the thread support in GLib. Thread creation, prioritizingSebastian Wilhelmi1-2/+2
1999-06-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * configure.in, acglib.m4, acconfig.h, glib.h, gthread.c: Completed the thread support in GLib. Thread creation, prioritizing threads, yielding, joining threads as well as reader/writer locks and recursive mutexes are now in place. Please test heavily on your platform. It is so far tested on Linux/i386/pthreads, Solaris/Sparc/pthreads and Solaris/Sparc/solaristhreads. * gtimer.c, glib.h: Implement g_usleep (gulong microseconds) for thread safe sleeping. (sleep() is not MT-safe at all!) * gutils.c: Avoid compiler warning. * tests/Makefile.am, tests/thread-test.c: New program to test some aspects of the thread implementation. * gthread.c, Makefile.am: Renamed from gmutex.c to reflect the change of content. * configure.in: Purged all appearances of nspr. * gthread/gthread-posix.c, gthread-solaris.c: Added the native implementations for the GLib's extended thread support. * gthread/gthread-nspr.c: Removed for good. NSPR is nothing we would want to build upon. * gthread/gthread.c: Renamed to gthread-impl.c to avoid confusion with ../gthread.c (Formerly known as the file called gmutex.c) * gthread/testgthread.c: Removed. The new and much extended tests are in ../tests/thread-test.c. * gthread/Makefile.am: Changed to reflect the changes above.
1999-01-04some echos interpret \n's and some don't. Deal with accordingly.Manish Singh1-3/+8
* acglib.m4: some echos interpret \n's and some don't. Deal with accordingly. -Yosh
1998-12-26acglib.m4 provide defaults for POLL sysdefs, simple enums don't work withManish Singh1-10/+24
* acglib.m4 * configure.in: provide defaults for POLL sysdefs, simple enums don't work with bitwise logic. Reported by Daniel Skarda <0rfelyus@atrey.karlin.mff.cuni.cz> -Yosh
1998-12-19fixed up sys/poll.h and sys/types.h inclusions.Tim Janik1-0/+28
Sat Dec 19 04:27:17 1998 Tim Janik <timj@gtk.org> * fixed up sys/poll.h and sys/types.h inclusions.
1998-12-19fixed up gthread includes, cleaned up glibconfig.h a little bit.Tim Janik1-0/+80
Sat Dec 19 03:10:50 1998 Tim Janik <timj@gtk.org> * fixed up gthread includes, cleaned up glibconfig.h a little bit.