aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAge
* 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.
* build: Require Automake 1.12 or later.Ludovic Courtès2013-01-28
| | | | * configure.ac: Require Automake 1.12 or later.
* build: Use "nix-instantiate" as the default name for that program.Ludovic Courtès2013-01-19
| | | | * configure.ac: Have `NIX_INSTANTIATE' default to `nix-instantiate'.
* build: Bump to version 0.2.Ludovic Courtès2013-01-18
| | | | * configure.ac: Bump version number.
* Add `guix-gc'.Ludovic Courtès2013-01-06
| | | | | | | | | | * guix-gc.in, tests/guix-gc.sh: New files. * configure.ac: Output `guix-gc', and make it executable. * Makefile.am (bin_SCRIPTS): Add `guix-gc'. (TESTS): Add `tests/guix-gc.sh'. * doc/guix.texi (Features): Add xref to "Invoking guix-gc". (Invoking guix-gc): New node. * po/POTFILES.in: Add `guix-gc.in'.
* build: Make `--enable-daemon' the default.Ludovic Courtès2012-12-13
| | | | * configure.ac: Have $guix_build_daemon default to "yes".
* build: When `--enable-daemon', don't error out when Nix programs are missing.Ludovic Courtès2012-12-13
| | | | | | | * config-daemon.ac: Move AC_ARG_ENABLE([daemon]...)... * configure.ac: ... here. When Nix programs are not found, error out only when $guix_build_daemon is no.
* build: Capture configure-time settings in (guix config).Ludovic Courtès2012-12-06
| | | | | | | | | | | * configure.ac: Compute and substitute `guix_localstatedir'. * m4/guix.m4: Substitute `guix_system'. * guix/config.scm.in (%store-directory, %store-directory, %system): New variables. * guix/store.scm (%nix-state-dir): Remove. (%default-socket-path): Use %STATE-DIRECTORY as the default. (%store-prefix): Use %STORE-DIRECTORY as the default. * guix/utils.scm (%current-system): Default to %SYSTEM.
* build: Run all the tests against the just-built daemon.Ludovic Courtès2012-12-06
| | | | | | | | | | | | | | * test-env.in: New file. * configure.ac: Add it to `AC_CONFIG_FILES' and `commands-exec'. * config-daemon.ac: Set and substitute `GUIX_TEST_ROOT'. * Makefile.am (SCM_LOG_COMPILER, SH_LOG_COMPILER): Use it in lieu of `pre-inst-env'. * daemon.am (test_root): Remove (AM_TESTS_ENVIRONMENT): Remove `TEST_ROOT'. (clean-local): Use $(GUIX_TEST_ROOT); make files writable before removing them.guix_test_root * tests/guix-daemon.sh: Remove `NIX_' variable settings; don't launch `guix-daemon'.
* build: Include a copy of Nix's libstore and daemon; build it.Ludovic Courtès2012-12-03
| | | | | | | | | | | | | | * configure.ac: Call `AC_USE_SYSTEM_EXTENSIONS', and `GUIX_SYSTEM_TYPE'. Add `--with-store-dir' option, and substitute `storedir'. Include `config-daemon.ac'. * config-daemon.ac: New file. * Makefile.am [BUILD_DAEMON]: Include `daemon.am'. * daemon.am: New file. * m4/guix.m4 (GUIX_SYSTEM_TYPE): New macro. * nix/libutil/gcrypt-hash.cc, nix/libutil/gcrypt-hash.hh, nix/libutil/md5.h, nix/libutil/sha1.h, nix/libutil/sha256.h, nix/nix-daemon/guix-daemon.cc, nix/nix-daemon/shared.hh: New files.
* build: Change bug-report address; add URL.Ludovic Courtès2012-11-24
| | | | * configure.ac: Change bug-report address in `AC_INIT'; add URL.
* Turn Guix into "GNU Guix".Ludovic Courtès2012-11-18
| | | | | | | | * configure.ac: Change package name to "GNU Guix", and bug-report address to `gnu-system-discuss@gnu.org'. * doc/guix.texi: Replace "Guix" by "GNU Guix" in some places. (Top, Introduction): Mention "for the GNU system". * HACKING, README: Use "GNU Guix" instead of "Guix" in some places.
* Add (guix snix) and the `guix-import' command.Ludovic Courtès2012-11-04
| | | | | | | | * guix/snix.scm, tests/snix.scm, guix-import.in: New files. * configure.ac: Output `guix-import' and make it executable. * Makefile.am (bin_SCRIPTS): Add `guix-import'. (MODULES): Add `guix/snix.scm'. (TESTS): Add `tests/snix.scm'.
* build: Require GNU libgcrypt.Ludovic Courtès2012-11-03
| | | | | | | | | | | | * guix/utils.scm (sha256): Remove Coreutils- and libchop-based implementations. * README: Update accordingly. * m4/guix.m4: New file. * configure.ac: Use `GUIX_ASSERT_LIBGCRYPT_USABLE'. Set and substitute `LIBGCRYPT_PREFIX'. * Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Pass `--with-libgcrypt-prefix=$(LIBGCRYPT_PREFIX)'.
* build: Produce (guix config) instead of using compile-time tricks.Ludovic Courtès2012-11-03
| | | | | | | | | | | | | | * guix/config.scm.in: New file. * guix/utils.scm: Use it. (%libgcrypt): Remove. (%nixpkgs-directory): Don't capture the compile-time $NIXPKGS; use %NIXPKGS instead. (nixpkgs-derivation): Use %NIX-INSTANTIATE. * pre-inst-env.in (NIX_INSTANTIATE, NIXPKGS, LIBGCRYPT): Remove. * configure.ac: Emit `guix/config.scm'. * Makefile.am (GOBJECTS): Add `guix/config.go'. (nobase_nodist_guilemodule_DATA): Add `guix/config.scm'.
* build: Clearly mark Nixpkgs as optional.Ludovic Courtès2012-11-03
| | | | | | | | | | | | | | | | * configure.ac: Always show the result of checking for Nixpkgs. Don't warn when Nixpkgs is not found. * Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Remove `--with-nixpkgs' flag. * guix/utils.scm (%nixpkgs-directory): Use either the compile-time or the run-time `NIXPKGS' environment variable. * release.nix (jobs.tarball, jobs.build): Remove `--with-nixpkgs' configure flag. * README: Mark Nixpkgs as optional. * distro/packages/databases.scm, distro/packages/guile.scm, distro/packages/typesetting.scm: Change uses of `nixpkgs-derivation*' to `nixpkgs-derivation', to avoid failing at compile-time.
* Add a preliminary `guix-package' command-line tool.Ludovic Courtès2012-11-01
| | | | | | | * guix-package.in, tests/guix-package.sh: New files. * configure.ac: Output `guix-package'. * Makefile.am (TESTS): Add `tests/guix-package.sh'. (bin_SCRIPTS): Add `guix-package'.
* Add `guix-download'.Ludovic Courtès2012-10-25
| | | | | | | * guix-download.in: New file. * configure.ac: Emit `guix-download' and make it executable. * Makefile.am (bin_SCRIPTS): Add `guix-download'. * po/POTFILES.in: Add `guix-download.in'.
* Add `pre-inst-env' script.Ludovic Courtès2012-10-04
| | | | | * pre-inst-env.in: New file. * configure.ac: Add it to `AC_CONFIG_FILES' and `AC_CONFIG_COMMANDS'.
* configure.ac: Make 'guild' configure check fatal, otherwise one gets ↵Cyprien Nicolas (fulax)2012-08-27
| | | | 'compile: command not found' during make
* build: Bump version number.Ludovic Courtès2012-08-22
| | | | * configure.ac: Switch to version 0.1.
* build: Add `--with-libgcrypt-prefix'; capture the path to libgcrypt.Ludovic Courtès2012-08-17
| | | | | | | | | * configure.ac: Add `--with-libgcrypt-prefix'. Substitute `LIBGCRYPT'. * Makefile.am (.scm.go): Pass $(LIBGCRYPT). * guix/utils.scm (%libgcrypt): New variable. (sha256): Use it.
* build: Pass the right flags for "make distcheck".Ludovic Courtès2012-08-14
| | | | | * Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): New variable. * configure.ac: Define and substitute `NIX_PREFIX'.
* build: Use Automake's `gnu' option.Ludovic Courtès2012-07-07
| | | | | * configure.ac: Use Automake's `gnu' option. * ChangeLog, NEWS: New files.
* build: Use `AM_GNU_GETTEXT_VERSION'.Ludovic Courtès2012-07-02
| | | | | * configure.ac: Add `AM_GNU_GETTEXT_VERSION'. Suggested by Antono Vasiljev.
* build: Capitalize the package name.Ludovic Courtès2012-07-01
| | | | * configure.ac: Use "Guix", not "guix", as the package name.
* Add `guix-build'.Ludovic Courtès2012-07-01
| | | | | | | | * guix-build.in: New file. * configure.ac: Emit `guix-build'. Add `commands-exec'. * Makefile.am (bin_SCRIPTS): New variable. * po/POTFILES.in: Add `guix-build.in'.
* Gettextize, with GNU Gettext 0.18.1.Ludovic Courtès2012-06-29
| | | | | | | | | * Makefile.am (EXTRA_DIST): Add `build-aux/config.rpath'. (SUBDIRS, ACLOCAL_AMFLAGS): New variables. * configure.ac: Use `AM_GNU_GETTEXT'. Emit `po/Makefile.in'. * po/Makevars, po/POTFILES.in: New files.
* build: Be cross-compilation-ready.Ludovic Courtès2012-06-15
| | | | | | * Makefile.am (.scm.go): Pass `--target=$(host)'. * configure.ac: Use `AC_CANONICAL_HOST'.
* Add a build system.Ludovic Courtès2012-06-13
* configure.ac, Makefile.am: New files.