summaryrefslogtreecommitdiff
path: root/acinclude.m4
AgeCommit message (Collapse)AuthorFilesLines
2007-11-08Move some inter-*.m4 includes from configure.in to acinclude.m4 to avoidMatthias Clasen1-0/+4
2007-11-07 Matthias Clasen <mclasen@redhat.com> * acinclude.m4: * configure.in: Move some inter-*.m4 includes from configure.in to acinclude.m4 to avoid warnings when using automake 1.9. (#449937) svn path=/trunk/; revision=5812
2003-10-04Make the various printf feature test macros reflect the system printf,Matthias Clasen1-0/+10
2003-10-05 Matthias Clasen <maclas@gmx.de> * configure.in: Make the various printf feature test macros reflect the system printf, even when using the included printf. In particular, don't force HAVE_C99_SNPRINTF, since g-gnulib.h needs that test result. (#122973) * glib/gprintf.c (g_vasprintf): Don't rely on HAVE_VASPRINTF, directly check for _g_vasprintf. * glib/gprintfint.h (_g_vasprintf): Only define _g_vasprintf() if vasprintf() is available. * glib/gnulib/printf.c (_g_gnulib_vfprintf): Don't write trailing nul to the file. (#122973) * acinclude.m4 (AC_FUNC_VSNPRINTF_C99): Make the test detect non-C99-compliance of AIX 5.1 and Solaris vsnprintf(). (#122496)
2003-08-10Copy newer versions of JH_CHECK_XML_CATALOG and JH_PATH_XML_CATALOG fromMatthias Clasen1-7/+38
* acinclude.m4: Copy newer versions of JH_CHECK_XML_CATALOG and JH_PATH_XML_CATALOG from gtk-doc to enable configuring without xmlcatalog in PATH. (#119115)
2003-08-07Tighten the snprintf() test to check behaviour on zero-size buffers.Matthias Clasen1-29/+16
2003-08-07 Matthias Clasen <maclas@gmx.de> * acinclude.m4: Tighten the snprintf() test to check behaviour on zero-size buffers. (#106091)
2003-07-28Integrate gnulib vasnprintf().Matthias Clasen1-0/+296
2003-06-17New macros to check for XML catalog contents and path, borrowed fromMatthias Clasen1-0/+46
2003-06-17 Matthias Clasen <maclas@gmx.de> * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New macros to check for XML catalog contents and path, borrowed from gtk-doc. * configure.in: New option --enable-man to enable regeneration of man pages from Docbook, if the necessary tools are found. * gobject/Makefile.am: Add rule to regenerate man pages from Docbook. (man_MANS): Add glib-mkenums.1, glib-genmarshal.1 and gobject-query.1. (content_files): Add glib-mkenums.xml, glib-genmarshal.xml and gobject-query.xml. * gobject/glib-mkenums.xml: * gobject/glib-genmarshal.xml: * gobject/gobject-query.xml: New refentries. * gobject/glib-mkenums.1: * gobject/glib-genmarshal.1: * gobject/gobject-query.1: Man pages generated from the .xml sources. * gobject/gobject-docs.sgml: Include glib-mkenums.xml, glib-genmarshal.xml and gobject-query.xml. * glib/Makefile.am: Add rule to regenerate man pages from Docbook. (man_MANS): Add glib-gettextize.1. (content_files): Add glib-gettextize.xml. * glib/glib-gettextize.xml: New refentry. * glib/glib-gettextize.1: Man page generated from the .xml source. * glib/glib-docs.sgml: Include glib-gettextize.xml.
2002-12-11Use an include to avoid having to duplicate the gettext macros betweenOwen Taylor1-285/+0
* configure.in acinclude.m4: Use an include to avoid having to duplicate the gettext macros between glib-gettext.m4 and acinclude.m4.
2002-11-21 Include a printf implementation supporting C99 snprintf and SUSMatthias Clasen1-0/+34
positional parameters: (#79488) * glib/gstrfuncs.c: * glib/gspawn-win32.c: * glib/gscanner.c: * glib/gconvert.c: * glib/gbacktrace.c: Use _g_printf wrappers. * glib/gutils.c (g_vsnprintf): Simplify, since we can assume C99 snprintf semantics now. * glib/gmessages.c (printf_string_upper_bound): No longer needed, since we can assume C99 snprintf semantics now. (g_logv): Simplify. * acinclude.m4 (AC_FUNC_PRINTF_UNIX98): New macro to check wether printf supports SUS positional parameters. * configure.in: New option --enable-included-printf to force compilation of trio; otherwise trio is compiled if the system printf misses either C99 snprintf semantics of SUS positional parameters. * glib/Makefile.am (SUBDIRS): Conditionally compile trio. (libglib_2_0_la_SOURCES): Add gprintf.c and gprintfint.h. (glibsubinclude_HEADERS): Add gprintf.h. * glib/gprintfint.h: New private wrapping either system printf or trio printf variants in _g_printf wrappers for use inside glib. * glib/gprintf.h: New public header declaring g_printf variants. * glib/gprintf.c: Corresponding implementations. * glib/trio/*: New directory, containing the trio-1.9 sources. * glib/tmpl/string_utils.sgml: Add note on including gprintf.h, move some docs inline. * glib/glib-sections.txt: Add g_printf, g_vprintf, g_fprintf, g_vfprintf, g_sprintf, g_vsprintf.
2002-05-22Remove notes about now-fixed-bugs.Owen Taylor1-1/+2
Wed May 22 15:40:47 2002 Owen Taylor <otaylor@redhat.com> * README.in: Remove notes about now-fixed-bugs. * m4macros/glib-gettext.m4 acinclude.m4: Get rid of AC_MSG_NOTICE() usage, since some broken systems (Hi Debian!) might not be using autoconf-2.5x for downstream packages even though we require it for glib itself. * INSTALL.in: Add a note about installing extra converters for Solaris. * glib/gutils.h (g_bit_nth_msf): Fix termination condition. (#82582, Paolo Molaro) Wed May 22 15:24:04 2002 Owen Taylor <otaylor@redhat.com> * README.translators: Add from GTK+. * *.po: Convert all po files to UTF-8.
2002-05-21Move iconv tests before gettext checks. (#81999)Owen Taylor1-15/+22
Mon May 20 18:02:46 2002 Owen Taylor <otaylor@redhat.com> * configure.in: Move iconv tests before gettext checks. (#81999) * m4macros/glib-gettext.m4 acinclude.m4: If we can't link to gettext, try adding in -liconv. (#80076, Boyd Lynn Gerber) * m4macros/glib-gettext.m4 acinclude.m4: Suppress warnings about xgettext not being GNU gettext when libintl wasn't found at all. (#79016, Andrew P. Lentvorski, Jr.)
2002-05-16Incorporate AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST as AM_GLIB_* to avoidOwen Taylor1-4/+53
Thu May 16 12:24:00 2002 Owen Taylor <otaylor@redhat.com> * acinclude.m4 m4macros/glib-gettext.m4: Incorporate AM_LC_MESSAGES, AM_PATH_PROG_WITH_TEST as AM_GLIB_* to avoid dependencies on gettext m4 files. (#81885, Hidetoshi Tajima.)
2002-01-16acinclude.m4 removed the --disable-nls option. You can't disable NativeSven Neumann1-94/+85
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.
2001-12-06The following patch corrects some function attributes. (#61780)Matthias Clasen1-0/+44
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-09-18Fixes for compilation on Solaris (#59026, Frank Belew)Owen Taylor1-107/+0
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-05-16Add inter-library dependencies.Owen Taylor1-429/+0
Sun May 13 10:31:17 2001 Owen Taylor <otaylor@redhat.com> * glib/Makefile.am gobject/Makefile.am gmodule/Makefile.am: Add inter-library dependencies. * acinclude.m4: Remove libtool macros. * autogen.sh: Require libtool-1.4, automake-1.4p1.
2001-01-31Fix problem with --disable-nls.Owen Taylor1-3/+3
Wed Jan 31 13:46:58 2001 Owen Taylor <otaylor@redhat.com> * acinclude.m4 glib-gettext.m4: Fix problem with --disable-nls.
2001-01-16Add gettext support.Owen Taylor1-0/+346
Mon Jan 15 21:12:49 2001 Owen Taylor <otaylor@redhat.com> * configure.in acconfig.h glibintl.h gutils.c po/{Makefile.in.in,POTFILES.in,po2tbl.in}: Add gettext support. * glib-gettext.m4 acinclude.m4: Clean up the GTK+ gettext macros some more and put them in this file, though they also need to be included in acinclude.m4 due to the brokeness of aclocal. * gspawn.c gspawn-win32.c gutf8.c gconvert.c gfileutils.c gshell.c: Remove dummy _() #defines, include glibintl.m4.
1999-06-02libtool 1.3.2 (BeOS changes merged)Manish Singh1-3/+6
-Yosh
1999-05-01libtool 1.3 upgradeManish Singh1-270/+69
use -avoid-version and -module for test plugins -Yosh
1999-03-20acinclude.m4 config.guess config.sub ltconfig upgrade to libtool 1.2fManish Singh1-193/+275
* acinclude.m4 * config.guess * config.sub * ltconfig * ltmain.sh: upgrade to libtool 1.2f * autogen.sh: libtool is not required to autogen glib * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly needed) -Yosh
1999-01-28Xsed isn't valid here, don't use itManish Singh1-1/+1
* acinclude.m4: Xsed isn't valid here, don't use it * ltmain.sh * ltconfig: better file magic regexp for Linux libs * gmodule/Makefile.am: arg, noinst_LTLIBRARIES doesn't make shared libs, revert my previous change to this file * docs/texinfo.tex: add it so automake doesn't whine -Yosh
1999-01-13acinclude.m4 ltconfig upgrade to libtool 1.2d (with fixes for irix6 andManish Singh1-20/+304
* acinclude.m4 * ltconfig * ltmain.sh: upgrade to libtool 1.2d (with fixes for irix6 and osf) * testglib.c: removed unused cruft -Yosh
1998-06-11New file. Contains `libtool.m4' from libtool-1.2, the version from whichRaja R Harinath1-0/+259
* acinclude.m4: New file. Contains `libtool.m4' from libtool-1.2, the version from which glib's libtool forked. Needed for people who use post-1.2 alphas of libtool. * configure.in (enable_mem_check, enable_mem_profile): Replace `echo -n' with AC_MSG_CHECKING. (fd_set): Explain test for `fd_set' better.