summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-12-07Temporarily fix `unistr.in.h' to allow compilation with `-Wundef'.Ludovic Courtès1-14/+14
See <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/24225> for details. * lib/unistr.in.h: Change #if's into #ifdef's.
2010-12-07Use Gnulib's `nproc'.Ludovic Courtès47-292/+1699
This updates Gnulib to v0.0-4496-g6491120. * m4/gnulib-cache.m4: Add `nproc'.
2010-09-08Use Gnulib's `isnan' and `isinf' modules.Ludovic Courtès7-1/+1162
This updates Gnulib to v0.0-4219-g84cdd8b. * m4/gnulib-cache.m4: Add `isinf' and `isnan'. * configure.ac: Remove checks for `floatingpoint.h', `ieeefp.h', and `nan.h'. * libguile/gen-scmconfig.c (main): Remove definitions of `SCM_HAVE_FLOATINGPOINT_H', `SCM_HAVE_IEEEFP_H', and `SCM_HAVE_NAN_H'. * libguile/numbers.c (isnan)[SCO && !HAVE_ISNAN]: Remove. (isinf)[SCO && !HAVE_ISINF]: Remove. (xisinf, xisnan): Remove. Change callers to use `isinf' and `isnan'. (guile_ieee_init): Remove the `defined HAVE_ISINF' and `define HAVE_ISNAN' conditions. * libguile/numbers.h: Remove code conditional on `SCM_HAVE_FLOATINGPOINT_H', `SCM_HAVE_IEEEFP_H', or `SCM_HAVE_NAN_H'.
2010-09-04Use Gnulib's `stat-time' module; update Gnulib.Ludovic Courtès11-42/+291
This updates Gnulib files to v0.0-4207-gc82b481. * m4/gnulib-cache.m4: Add `stat-time'.
2010-06-05Update Gnulib to v0.0-3966-g9f737c8 for `libunistring' m4 fixes.Ludovic Courtès2-21/+27
2010-05-30Import Gnulib's `git-version-gen' module.Ludovic Courtès1-1/+8
* m4/gnulib-cache.m4: Add `git-version-gen'.
2010-05-29Update Gnulib to v0.0-3955-g8ab5996.Ludovic Courtès28-470/+1018
2010-03-18Update Gnulib; use the `func' module.Ludovic Courtès11-987/+2467
Update Gnulib to v0.0-3575-g128e4b8. * m4/gnulib-cache.m4: Add `func'.
2010-02-17Update to Gnulib v0.0-3448-g6078aa4 for its <netdb.h> fix.Ludovic Courtès1-11/+17
Reverts commit 691b9ec196203fa5d6da3530d5355b2f73e707d1 ("getaddrinfo: Define macros lacking in NetBSD 5.0."). * libguile/net_db.c (AI_ALL, AI_V4MAPPED, AI_ADDRCONFIG): Remove placeholder definitions, how provided by Gnulib's <netdb.h>.
2010-02-14Add missing Gnulib files; update `.gitignore'.Ludovic Courtès4-0/+772
This files were missing from commit 61cd9dc907b8a09990b14e9aeac7e20fe77cecc6 ("Use Gnulib's `getaddrinfo' module.").
2010-02-14Use Gnulib's `getaddrinfo' module.Ludovic Courtès100-946/+1130
* m4/gnulib-cache.m4: Add `getaddrinfo'. * libguile/Makefile.am (libguile_la_LDFLAGS): Add `$(GETADDRINFO_LIB) $(HOSTENT_LIB) $(SERVENT_LIB)'.
2009-12-15Use Gnulib's `sys_stat' module; update Gnulib.Ludovic Courtès64-9050/+9247
* .x-sc_prohibit_S_IS_definition: New file. * m4/gnulib-cache.m4: Add `sys_stat'. * libguile/filesys.c: Remove `S_IS*' macro definitions for Ultrix and MinGW.
2009-12-11merge from master to elispAndy Wingo40-995/+4761
* module/language/elisp/compile-tree-il.scm: Update for changes to tree-il (lambda-case, mainly). * module/language/elisp/spec.scm: Update GPL version to 3. Update reader for new taking a port and environment argument. * libguile/_scm.h: Bump objcode version. * libguile/vm-i-system.c: Fix conflicts. * module/Makefile.am: Fix conflicts, and add elisp modules to the build.
2009-11-24Update to Gnulib v0.0-2923-g6575ab5.Ludovic Courtès1-17/+2
2009-11-23Use Gnulib's `duplocale' module.Ludovic Courtès2-1/+125
* libguile/i18n.c (scm_make_locale): Simplify global locale handling, using duplocale(3) for all kinds of locales. (scm_init_i18n): Comment on why we don't just use `LC_GLOBAL_LOCALE' for `global_locale_smob'. * m4/gnulib-cache.m4: Add `duplocale'.
2009-11-23Use Gnulib's `locale' module.Ludovic Courtès4-6/+117
* configure.ac: Remove test for <xlocale.h>. * libguile/i18n.c: Remove conditional <xlocale.h> inclusion on `HAVE_XLOCALE_H'. * m4/gnulib-cache.m4: Add `locale' module.
2009-11-21fix version-etc for older autoconfAndy Wingo1-1/+1
* lib/version-etc.c: Don't reference the undefined PACKAGE if PACKAGE_URL is undefined. Probably should go upstream.
2009-11-17Add Gnulib maintainer modules.Ludovic Courtès1-1/+66
* m4/gnulib-cache.m4: Add `announce-gen', `gendocs', `gitlog-to-changelog', `gnupload', `gnu-web-doc-update', and `maintainer-makefile'. * .gnuploadrc, .x-sc_GPL_version, .x-sc_avoid_if_before_free, .x-sc_error_message_period, .x-sc_cast_of_alloca_return_value, .x-sc_cast_of_argument_to_free, .x-sc_error_message_uppercase, .x-sc_error_message_warn_fatal: New files.
2009-11-17Use Gnulib's `version-etc-fsf' for `--version' and `--help' output.Ludovic Courtès9-30/+759
* m4/gnulib-cache.m4: Add `version-etc-fsf'. Switch to LGPLv3+. * GUILE-VERSION (PACKAGE): Change to "GNU Guile". * Makefile.am (distdir): New variable. * libguile/script.c (scm_shell_usage): Improve formatting. Use `emit_bug_reporting_address ()'. (scm_compile_shell_switches): Use `version_etc ()'.
2009-11-17Use Gnulib's `warning' module.Ludovic Courtès7-58/+145
* m4/gnulib-cache.m4: Add `warnings'. * configure.ac: Use `gl_WARN_ADD' to check whether compiler flags are supported. * libguile/Makefile.am (libguile_la_LIBADD): Add $(LTLIBICONV). (libguile_la_LDFLAGS): Add $(INET_NTOP_LIB) $(INET_PTON_LIB).
2009-11-16Add `iconv_open-solaris.h' to remove dependency on gperf.Ludovic Courtès1-0/+190
* lib/iconv_open-solaris.h: New file.
2009-11-16Use Gnulib's `alignof' module.Ludovic Courtès1-1/+1
* m4/gnulib-cache.m4: Use `alignof'. * libguile/objcodes.c (scm_c_make_objcode_slice): Use `alignof_type'.
2009-11-16Use Gnulib's `inet_ntop' and `inet_pton' modules.Ludovic Courtès29-858/+3417
* m4/gnulib-cache.m4: Add `inet_ntop' and `inet_pton'. * configure.ac: Don't check for `inet_ntop' and `inet_pton'. * libguile/socket.c (scm_inet_pton, scm_inet_ntop): Compile regardless of `HAVE_INET_PTON' and `HAVE_INET_NTOP' respectively. * libguile/filesys.c: Use <stdlib.h> instead of <canonicalize.h>.
2009-08-27Merge branch 'master' of git://git.savannah.gnu.org/guile into elispDaniel Kraft4-6/+21
2009-08-18Merge branch 'master' into boehm-demers-weiser-gcLudovic Courtès73-50/+18443
Conflicts: lib/Makefile.am libguile/Makefile.am libguile/frames.c libguile/gc-card.c libguile/gc-freelist.c libguile/gc-mark.c libguile/gc-segment.c libguile/gc_os_dep.c libguile/load.c libguile/macros.c libguile/objcodes.c libguile/programs.c libguile/strings.c libguile/vm.c m4/gnulib-cache.m4 m4/gnulib-comp.m4 m4/inline.m4
2009-08-09Use Gnulib's `lib-symbol-versions' module.Ludovic Courtès3-5/+20
* m4/gnulib-cache.m4: Add `lib-symbol-versions'.
2009-07-15Explicitly use Gnulib's `verify' module.Ludovic Courtès1-1/+1
* m4/gnulib-cache.m4: Add `verify'.
2009-07-05Use Gnulib's `vsnprintf' module.Ludovic Courtès19-1/+8435
* m4/gnulib-cache.m4: Use `vsnprintf', needed by `deprecation.c'.
2009-06-19gnulib-tool --import canonicalize-lgplAndy Wingo9-2/+840
2009-06-14Provide easier configure options for GMP and readlineNeil Jerram1-1/+1
This patch uses the AC_LIB_LINKFLAGS macro, provided by Gnulib's havelib module, to provide --with-gmp-prefix and --with-readline-prefix configure options. Many thanks to Bruno Haible for suggesting and explaining this to me. * configure.in (top level): Add AC_LIB_LINKFLAGS(gmp). * guile-readline/configure.in (AC_CONFIG_AUX_DIR): Change to ../build-aux, to share the main build-aux directory and so avoid having to distribute multiple copies of config.rpath. (top level): Add AC_LIB_LINKFLAGS(readline). * lib/Makefile.am, m4/gnulib-cache.m4: Regenerated by gnulib-tool for new import of the `havelib' module.
2009-06-05add gperf-generated files to gitAndy Wingo4-0/+1032
* lib/iconv_open-osf.h: * lib/iconv_open-aix.h: * lib/iconv_open-hpux.h: * lib/iconv_open-irix.h: Add to git. Should remove build-time dep on gperf; we'll see if this causes problems.
2009-05-28Use GNU libunistring and Gnulib modules needed by R6RS bytevectors and ports.Ludovic Courtès30-2/+6178
* m4/gnulib-cache.m4 (gl_MODULES): Add `byteswap', `iconv_open-utf', `libunistring', `striconveh', and `string'.
2009-05-26gnulib-tool --import environ; rely on gnulib for environ definitionsAndy Wingo1-1/+1
* libguile/posix.c: * libguile/stime.c: Remove environ definition, gnulib provides it now.
2009-05-26gnulib-tool --import lib-symbol-visibilityAndy Wingo1-1/+11
2009-05-21Add Gnulib portability modules; update Gnulib files.Ludovic Courtès13-45/+1793
* m4/gnulib-cache.m4 (gl_MODULES): Add `flock' (provides flock(2) declaration and implementation), `fpieee' (fixes floating point behavior on Alpha and SH), `stdlib' (provides an unsetenv(3) declaration, among others), `putenv' (provides a putenv(3) declaration and implementation with the semantics we need).
2009-01-17Merge branch 'master' into boehm-demers-weiser-gcLudovic Courtès14-512/+2186
Conflicts: lib/Makefile.am m4/gnulib-cache.m4 m4/gnulib-comp.m4
2009-01-15Invoke gnulib-tool with --no-vc-files option, andNeil Jerram9-925/+1
remove files that should not have been committed to the repository.
2009-01-15Revert lib/.gitignore and m4/.gitignore to how they should beNeil Jerram1-0/+0
(before my confused Gnulib commits...)
2009-01-15Add more missing Gnulib filesNeil Jerram10-9/+1811
2009-01-12Make sure that we have a real on-the-stack alloca()Neil Jerram14-512/+1308
Because of how Guile saves and restores continuations (by copying the stack), and how it uses alloca to create space for debug information on the stack, we must have an alloca() that really does use the stack, and not one that uses the heap. To do this, we use the Gnulib "alloca-opt" module instead of "alloca". This commit also updates the Gnulib sources from the current Gnulib Git repository.
2008-12-14Merge branch 'master' into boehm-demers-weiser-gcLudovic Courtès15-46/+1049
Conflicts: lib/Makefile.am libguile/struct.c libguile/threads.c m4/gnulib-cache.m4 m4/gnulib-comp.m4
2008-12-08Add other missing Gnulib files.Ludovic Courtès2-0/+42
2008-11-30Use Gnulib's `full-write' and `full-read' modules.Ludovic Courtès10-46/+987
2008-11-30Update Gnulib files to commit d4b129b8e5f8a8d1198020fd6fc79310d305936c.Ludovic Courtès4-1/+15
2008-09-13Merge branch 'master' into boehm-demers-weiser-gcLudovic Courtès1-1/+1
Conflicts: lib/Makefile.am libguile/gc-card.c libguile/gc-freelist.c libguile/gc-mark.c libguile/gc-segment.c libguile/gc.c libguile/gc.h libguile/gc_os_dep.c libguile/private-gc.h m4/.cvsignore m4/gnulib-cache.m4 m4/gnulib-comp.m4
2008-09-11Use Gnulib's `autobuild' module.Ludovic Courtès1-1/+1
* m4/gnulib-cache.m4 (gl_MODULES): Add `autobuild'. * Makefile.am (EXTRA_DIST): Add `m4/autobuild.m4'.
2008-09-11Revert "Use Gnulib's `count-one-bits' module."Ludovic Courtès3-231/+1
We don't need it in this branch. This reverts commit d7014610b16cd5f273479e70db253bff2f0124fc.
2008-09-09Use Gnulib's `count-one-bits' module.Ludovic Courtès3-1/+231
* m4/gnulib-cache.m4 (gl_MODULES): Add `count-one-bits'.
2008-09-02Add Gnulib `strftime' module, update Gnulib files.Ludovic Courtès8-3/+1957
* m4/gnulib-cache.m4 (gl_MODULES): Add `strftime'.
2008-08-21Add Gnulib-provided files for convenience.Ludovic Courtès8-7/+918
These come from Gnulib's Git commit ae3a0d62f26d8156b403e40d6007475006f3136f, dated 2008-08-19.