summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAge
* build: 'make check' errors out if file name limits would be hit.Ludovic Courtès2016-01-12
| | | | | | | | | * Makefile.am (SCM_TESTS, SH_TESTS, TESTS, AM_TESTS_ENVIRONMENT) (SCM_LOG_COMPILER, SH_LOG_COMPILER, AM_SCM_LOG_FLAGS) (AM_SH_LOG_FLAGS): Move within 'if CAN_RUN_TESTS'. (check-local) [!CAN_RUN_TESTS]: New target. * daemon.am (AM_TESTS_ENVIRONMENT, TESTS): Ditto. * m4/guix.m4 (GUIX_CHECK_FILE_NAME_LIMITS): Add parameter and set it.
* build: Bump version number.Ludovic Courtès2016-01-05
| | | | * configure.ac: Change version to 0.9.1.
* build: Always check for gzip/bzip2/xz.Ludovic Courtès2015-12-09
| | | | | | | | | This allows (guix config) to contain valid values of %GZIP et al. even when configured with --disable-daemon. * config-daemon.ac: Move 'AC_PATH_PROG' invocations for gzip & co. to... * configure.ac: ... here.
* build: Set DOT_USER_PROGRAM for Emacs interface.Alex Kost2015-10-20
| | | | | | | | Suggested by Ludovic Courtès <ludo@gnu.org>. * configure.ac: Set DOT_USER_PROGRAM variable. * emacs/guix-config.el.in (guix-config-dot-program): New constant. * emacs/guix-external.el (guix-dot-program): Use it.
* build: Fix libgcrypt detection on FHS systems.Ludovic Courtès2015-10-09
| | | | | | | | | | | Reported by Christopher Allan Webber <cwebber@dustycloud.org>. * m4/guix.m4 (GUIX_LIBGCRYPT_LIBDIR): Add "grep -e -L" to the pipeline to account for cases where the output of "libgcrypt-config --libs" lacks a -L flag. * configure.ac: When 'GUIX_LIBGCRYPT_LIBDIR' returns the empty string, set LIBGCRYPT_LIBDIR to "no". * config-daemon.ac: Add missing space.
* build: Automatically determine libgcrypt's file name.Ludovic Courtès2015-10-06
| | | | | | | | * m4/guix.m4 (GUIX_LIBGCRYPT_LIBDIR): New macro. * configure.ac: Use it when no --with-libgcrypt-* option was passed. * README: Do not recommend --with-libgcrypt-prefix. Co-authored-by: 宋文武 <iyzsong@gmail.com>
* build: Bump version number.Ludovic Courtès2015-09-25
| | | | * configure.ac: Change version to 0.9.0.
* build: Produce 'guix-config' instead of using compile-time tricks.Mathieu Lirzin2015-08-30
| | | | | | | | | | * emacs/guix-{init,profiles}.el.in: Rename to ... * emacs/guix-{init,profiles}.el: ... these. New files. Use 'guix-config'. * emacs/guix-config.el.in: New file. * emacs.am (nodist_lisp_DATA): Add it. Move them to ... (ELFILES): ... here. * .gitignore, configure.ac: Adjust accordingly.
* build: Do not build (guix build syscalls) if 'mount' is missing from libc.Ludovic Courtès2015-08-27
| | | | | | | | | | This disables compilation of this module on GNU/Hurd. Reported by Manolis Ragkousis <manolis837@gmail.com>. * m4/guix.m4 (GUIX_CHECK_LIBC_MOUNT): New variable. * configure.ac: Use it. Define 'BUILD_SYSCALLS_MODULE' conditional. * Makefile.am (MODULES, EXTRA_DIST): Make 'guix/build/syscalls.scm' conditional on BUILD_SYSCALLS_MODULE.
* doc: Move most 'HACKING' informations into the manual.Mathieu Lirzin2015-06-14
| | | | | | | | | | | * HACKING (Contributing): New section. (Building from Git, The Perfect Setup, Coding Style, Submitting Patches): Move to ... * doc/guix.texi (Running Guix Before It Is Installed): Likewise. * doc/contributing.texi: ... here. New file. * doc.am (EXTRA_DIST): Use it. * README (Installation): Adapt to it. * configure.ac (DOT): Likewise.
* build: Bump version number.Ludovic Courtès2015-06-03
| | | | * configure.ac: Change version to 0.8.3.
* build: Build and install manual pages.Ludovic Courtès2015-06-01
| | | | | | | * configure.ac: Use 'AM_MISSING_PROG' for 'help2man'. * doc.am (subcommand-manual-target, SUBCOMMANDS, dist_man1_MANS): New variables. (doc/guix-$(1).1, doc/guix.1): New targets.
* build: Require Guile >= 2.0.7.Ludovic Courtès2015-05-10
| | | | | | * configure.ac: Require guile-2.0 >= 2.0.7. * README: Adjust accordingly. * doc/guix.texi (Requirements): Likewise.
* build: Silence warnings about 'make' portability.Ludovic Courtès2015-04-14
| | | | * configure.ac: Pass -Wno-portability to AM_INIT_AUTOMAKE.
* Add Bash completion file.Ludovic Courtès2015-04-09
| | | | | | * etc/completion/bash/guix: New file. * Makefile.am (dist_bashcompletion_DATA): New variable. * configure.ac: Add --with-bash-completion-dir.
* build: Enable silent rules by default.Ludovic Courtès2015-04-08
| | | | * configure.ac: Use 'AM_SILENT_RULES'.
* build: Detect lack of guile.m4 at autoconf time.Ludovic Courtès2015-03-19
| | | | * configure.ac: Add 'm4_pattern_forbid' invocation.
* build: Bump version number.Ludovic Courtès2015-02-26
| | | | * configure.ac: Change to version 0.8.2.
* build: Reject or warn against file name length limit overruns.Ludovic Courtès2015-02-24
| | | | | | | | | | | * m4/guix.m4 (GUIX_TEST_ROOT_DIRECTORY, LINUX_HASH_BANG_LIMIT, SOCKET_FILE_NAME_LIMIT, GUIX_SOCKET_FILE_NAME_LENGTH, GUIX_TEST_SOCKET_FILE_NAME_LENGTH, GUIX_HASH_BANG_LENGTH, GUIX_CHECK_FILE_NAME_LIMITS): New macros. * configure.ac: Use 'GUIX_CHECK_FILE_NAME_LIMITS'. * config-daemon.ac: Use 'GUIX_TEST_ROOT_DIRECTORY'. * test-env.in: Check socket name length and emit warning if it exceeds 107.
* build: Change version to 0.8.1.Ludovic Courtès2015-01-23
| | | | * configure.ac: Change version to 0.8.1.
* emacs: Move profiles code to "guix-profiles.el.in".Alex Kost2014-12-02
| | | | | | | | | | * emacs/guix-base.el (guix-user-profile, guix-default-profile, guix-current-profile, guix-profile-prompt, guix-set-current-profile): Move to... * emacs/guix-init.el.in (guix-default-profile): Move to... * emacs/guix-profiles.el.in: ... here. New file. * configure.ac (AC_CONFIG_FILES): Add "emacs/guix-profiles.el". * emacs.am (nodist_lisp_DATA): Likewise.
* build: Bump version number.Ludovic Courtès2014-11-25
| | | | * configure.ac: Bump to 0.9.
* import: Add PyPI importer.David Thompson2014-09-29
| | | | | | | | | | | | | | | | | | | * guix/snix.scm: Delete. * guix/import/snix.scm: New file. * guix/import/pypi.scm: New file. * guix/import/utils.scm: New file. * guix/scripts/import/nix.scm: New file. * guix/scripts/import/pypi.scm: New file. * tests/pypi.scm: New file. * tests/snix.scm: Import (guix import snix) module. * guix/scripts/import.scm (%default-options, %options): Delete. (%standard-import-options, importers): New variables. (show-help): List importers. (guix-import): Factor out Nix-specific logic. Delegate to correct importer based upon first argument. * configure.ac (HAVE_GUILE_JSON): New conditional. * Makefile.am (MODULES): Add new files and remove 'guix/snix.scm'. (SCM_TESTS): Add 'tests/pypi.scm' if guile-json is installed.
* build: Don't generate Emacs autoloads when Emacs is unavailable.Ludovic Courtès2014-09-27
| | | | | | | Reported by Andreas Enge. * configure.ac: Define 'HAVE_EMACS' Automake conditional. * emacs.am ($(AUTOLOADS)): Wrap in 'if HAVE_EMACS'.
* Add Emacs user interface.Alex Kost2014-09-03
| | | | | | | | | | | | | | | | | | | * configure.ac (emacsuidir): New variable. (AC_CONFIG_FILES): Add 'emacs/guix-init.el', 'emacs/guix-helper.scm'. * Makefile.am: Include 'emacs.am'. * emacs.am: New file. * doc/emacs.texi: New file. * doc/guix.texi: Include 'emacs.texi'. * emacs/guix-backend.el: New file. * emacs/guix-base.el: New file. * emacs/guix-helper.scm.in: New file. * emacs/guix-history.el: New file. * emacs/guix-info.el: New file. * emacs/guix-init.el.in: New file. * emacs/guix-list.el: New file. * emacs/guix-main.scm: New file. * emacs/guix-utils.el: New file. * emacs/guix.el: New file.
* build: Bump to version 0.8.Ludovic Courtès2014-07-25
| | | | * configure.ac: Switch to 0.8.
* Require only lower gettext version.Andreas Enge2014-07-22
| | | | | * configure.ac: Change back to requiring gettext at least 0.18.1, partially reverting commit ee76417.
* Separate package description translations from string translations.Ludovic Courtès2014-06-13
| | | | | | | | | | | | | | | | * po/packages/LINGUAS, po/packages/Makevars, po/packages/POTFILES.in: New files. * po/guix/Makevars (DOMAIN): Change to "guix". (XGETTEXT_OPTIONS): Remove "--keyword=synopsis --keyword=description". * po/guix/POTFILES.in: Remove gnu/packages/*.scm. * configure.ac: Change to gettext 0.18.3. Produce po/packages/Makefile.in. * Makefile.am (SUBDIRS): Add po/packages. * guix/ui.scm (%package-text-domain): New variable. (P_): New procedure. (package->recutils): Use 'P_' instead of '_'. * guix/scripts/package.scm (find-packages-by-description): Use 'P_' instead of 'gettext'.
* Move gettext files to 'po/guix'.Ludovic Courtès2014-06-13
| | | | | | | | * po: Rename to... * po/guix: ... this. * po/guix/Makevars (subdir, top_builddir): Adjust accordingly. * configure.ac: Change 'po/Makefile.in' to 'po/guix/Makefile.in'. * Makefile.am (SUBDIRS): Change 'po' to 'po/guix'.
* build: Fix builds without --with-libgcrypt-prefix nor --with-libgcrypt-libdir.Ludovic Courtès2014-05-22
| | | | | | | | | | | | Reported by Manolis Ragkousis <manolis837@gmail.com>. Fixes a regression introduced in 14af289. Before this commit, ./configure would leave LIBGCRYPT_PREFIX and LIBGCRYPT_LIBDIR undefined, leading to LIBGCRYPT_LIBS="-L -lgcrypt" and thus to a link failure. * configure.ac: Make sure $LIBGCRYPT_PREFIX and $LIBGCRYPT_LIBDIR are never empty.
* build: Add --with-libgcrypt-libdir=DIR to support Debian's multi-arch layout.Ludovic Courtès2014-05-17
| | | | | | | | | * configure.ac: Remove 'LIBGCRYPT_PREFIX' and use 'LIBGCRYPT_LIBDIR' instead. Add --with-libgcrypt-libdir=DIR option. * Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Pass '--with-libgcrypt-libdir'. * config-daemon.ac: Honor $LIBGCRYPT_LIBDIR when computing LIBGCRYPT_LIBS.
* build: Bump to version 0.7.Ludovic Courtès2014-04-09
| | | | * configure.ac: Switch to 0.7.
* Change the default store file name to /gnu/store.Ludovic Courtès2014-03-09
| | | | | | | | * configure.ac: Change the default 'storedir' to /gnu/store. Print $storedir. * doc/guix.texi: Replace "/nix/store" by "/gnu/store", except where describing Nix compatibility. * Makefile.am: Likewise.
* store: Add 'register-path' procedure.Ludovic Courtès2014-01-24
| | | | | | | | | * guix/store.scm (register-path): New procedure. * tests/store.scm ("register-path"): New test. * guix/config.scm.in (%guix-register-program): New variable. * configure.ac: Compute and substitute 'guix_sbindir'. Compute 'guix_prefix'. * pre-inst-env.in: Define 'GUIX_REGISTER'.
* build: Improve documentation of Nix-related options.Ludovic Courtès2013-12-29
| | | | * configure.ac: Add documentation for --with-nix and --with-nixpkgs.
* config: Export '%config-directory'.Ludovic Courtès2013-12-29
| | | | | * configure.ac: Define and substitute 'guix_sysconfdir'. * guix/config.scm.in (%config-directory): New variable.
* build: Bump to version 0.6.Ludovic Courtès2013-12-11
| | | | * configure.ac: Switch to 0.6.
* build: Make sure pkg.m4 is present.Ludovic Courtès2013-11-23
| | | | | | | Suggested by John Darrington <john@darrington.wattle.id.au>. * configure.ac: Forbid occurrences of 'PKG_CHECK_MODULES' in the output.
* build: Bump version to 0.5.Ludovic Courtès2013-09-27
| | | | * configure.ac: Switch to 0.5.
* build: Use `missing' for `dot'.Ludovic Courtès2013-08-29
| | | | | * configure.ac: Substitute `DOT'. * doc.am (.dot.png, .dot.eps): Use $(DOT).
* build: Build docs from the top-level Makefile.Ludovic Courtès2013-08-29
| | | | | | | | | | | This undoes commit 575ed8d ("doc: Create own Makefile.am in subdirectory."), and fixes a bug whereby "make pdf" or "make ps" wouldn't do anything. * doc/Makefile.am: Remove. * doc.am: New file. Use `-local' rules to build the image. * Makefile.am: Include it. * configure.ac: Use `-Woverride' to avoid undesired overridding of Automake rules.
* build: Bump version to 0.4.Ludovic Courtès2013-07-19
| | | | * configure.ac: Switch to 0.4.
* build: Provide a replacement (srfi srfi-37) when the user's one is broken.Ludovic Courtès2013-07-17
| | | | | | | | | | | * srfi/srfi-37.scm.in: New file, taken from Guile 2.0.9. * m4/guix.m4: New macro. * configure.ac: Use it. Define Automake conditional `INSTALL_SRFI_37'. * Makefile.am (nobase_nodist_guilemodule_DATA)[INSTALL_SRFI_37]: Add srfi/srfi-37.scm. (GOBJECTS)[INSTALL_SRFI_37]: Add srfi/srfi-37.go. (srfi/srfi-37.scm)[INSTALL_SRFI_37]: New target. (EXTRA_DIST): Add srfi/srfi-37.scm.in.
* build: Bail out on unsupported platforms; add `--with-courage'.Ludovic Courtès2013-07-05
| | | | | * m4/guix.m4 (GUIX_ASSERT_SUPPORTED_SYSTEM): New macro. * configure.ac: Use it.
* build: Switch to 0.3.Ludovic Courtès2013-05-18
| | | | * configure.ac: Bump to 0.3. Use the full URL.
* build: Use separate `AC_CONFIG_FILES' invocations for executable files.Ludovic Courtès2013-05-12
| | | | | | * configure.ac: Use separate AC_CONFIG_FILES invocations for files that need to be made executable. * config-daemon.ac: Likewise.
* build: Make sure the user's Guile has all the required features.Ludovic Courtès2013-05-10
| | | | | * m4/guix.m4 (GUIX_ASSERT_GUILE_FEATURES): New macro. * configure.ac: Use it.
* build: Explicitly require Guile >= 2.0.5.Ludovic Courtès2013-04-27
| | | | * configure.ac: Require guile-2.0 >= 2.0.5.
* Replace individual scripts with master 'guix' script.Mark H Weaver2013-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * scripts/guix.in: New script. * Makefile.am (bin_SCRIPTS): Add 'scripts/guix'. Remove 'guix-build', 'guix-download', 'guix-import', 'guix-package', and 'guix-gc'. (MODULES): Add 'guix/scripts/build.scm', 'guix/scripts/download.scm', 'guix/scripts/import.scm', 'guix/scripts/package.scm', and 'guix/scripts/gc.scm'. * configure.ac (AC_CONFIG_FILES): Add 'scripts/guix'. Remove 'guix-build', 'guix-download', 'guix-import', 'guix-package', and 'guix-gc'. * guix-build.in, guix-download.in, guix-gc.in, guix-import.in, guix-package.in: Remove shell script boilerplate. Move to guix-COMMAND.in to guix/scripts/COMMAND.scm. Rename module from (guix-COMMAND) to (guix scripts COMMAND). Change "guix-COMMAND" to "guix COMMAND" in usage help string. * pre-inst-env.in: Add "@abs_top_builddir@/scripts" to the front of $PATH. Export $GUIX_UNINSTALLED. * tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-gc.sh, tests/guix-package.sh: Use "guix COMMAND" instead of "guix-COMMAND". * doc/guix.texi: Replace all occurrences of "guix-COMMAND" with "guix COMMAND". * po/POTFILES.in: Update.
* build: `chmod +x' scripts as they are generated.Ludovic Courtès2013-02-06
| | | | | * configure.ac: Add the `chmod +x' as a second argument to `AC_CONFIG_FILES'. Remove `AC_CONFIG_COMMANDS' invocation.