# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([GNU Guix], [m4_esyscmd([build-aux/git-version-gen .tarball-version])], [bug-guix@gnu.org], [guix], [https://www.gnu.org/software/guix/]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([1.14 gnu tar-ustar silent-rules subdir-objects \ color-tests parallel-tests -Woverride -Wno-portability]) # Enable silent rules by default. AM_SILENT_RULES([yes]) AC_CONFIG_SRCDIR([guix.scm]) AC_CONFIG_MACRO_DIR([m4]) dnl For the C++ code. This must be used early. AC_USE_SYSTEM_EXTENSIONS AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.19.1]) GUIX_SYSTEM_TYPE GUIX_ASSERT_SUPPORTED_SYSTEM GUIX_CHANNEL_METADATA AM_CONDITIONAL([CROSS_COMPILING], [test "x$cross_compiling" = "xyes"]) AC_ARG_WITH(store-dir, AS_HELP_STRING([--with-store-dir=PATH], [file name of the store (defaults to /gnu/store)]), [storedir="$withval"], [storedir="/gnu/store"]) AC_SUBST(storedir) AC_ARG_WITH([bash-completion-dir], AS_HELP_ST
aboutsummaryrefslogtreecommitdiff
path: root/tests/services
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-05-14 11:46:28 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-05-29 22:01:23 -0400
commite7afa035d42f0feb9dff8ea66a3686e44bd22802 (patch)
tree8c60316a2f4a79d73cd608e75a7bf6eb6dd6d911 /tests/services
parente9e825387f1daefde91b0ba5c5ec3540b0b227fa (diff)
downloadguix-e7afa035d42f0feb9dff8ea66a3686e44bd22802.tar.gz
guix-e7afa035d42f0feb9dff8ea66a3686e44bd22802.zip
gnu: make-linux-libre*: Set KBUILD_BUILD_VERSION for reproducibility.
* gnu/packages/linux.scm (make-linux-libre*) [phases] {set-environment}: Set KBUILD_BUILD_VERSION to 1. Change-Id: I6c2e561605a13c757a4eb4d1c59343ba26464067
Diffstat (limited to 'tests/services')
0 files changed, 0 insertions, 0 deletions
raphical installer sources.])) AS_IF([test "x$enable_installer" = "xyes"], [ if test "x$have_guile_newt" != "xyes"; then AC_MSG_ERROR([Guile-newt could not be found; please install it.]) fi ]) AM_CONDITIONAL([ENABLE_INSTALLER], [test "x$enable_installer" = "xyes"]) dnl Make sure we have a full-fledged Guile. GUIX_ASSERT_GUILE_FEATURES([regex posix socket net-db threads]) AC_PROG_SED dnl Decompressors, for use by the substituter and other modules. AC_PATH_PROG([GZIP], [gzip]) AC_PATH_PROG([BZIP2], [bzip2]) AC_PATH_PROG([XZ], [xz]) AC_SUBST([GZIP]) AC_SUBST([BZIP2]) AC_SUBST([XZ]) dnl Git is now required for the "builtin:git-download" derivation builder. AC_PATH_PROG([GIT], [git]) if test "x$GIT" = "x"; then AC_MSG_ERROR([Git is missing; please install it.]) fi AC_SUBST([GIT]) LIBGCRYPT_LIBDIR="no" LIBGCRYPT_PREFIX="no" AC_ARG_WITH([libgcrypt-prefix], [AS_HELP_STRING([--with-libgcrypt-prefix=DIR], [search for GNU libgcrypt in DIR])], [case "$withval" in yes|no) ;; *) LIBGCRYPT_PREFIX="$withval" LIBGCRYPT_LIBDIR="$withval/lib" ;; esac]) AC_ARG_WITH([libgcrypt-libdir], [AS_HELP_STRING([--with-libgcrypt-libdir=DIR], [search for GNU libgcrypt's shared library in DIR])], [case "$withval" in yes|no) LIBGCRYPT_LIBDIR="no" ;; *) LIBGCRYPT_LIBDIR="$withval" ;; esac]) dnl If none of the --with-libgcrypt-* options was used, try to determine the dnl the library directory. case "x$LIBGCRYPT_PREFIX$LIBGCRYPT_LIBDIR" in xnono) GUIX_LIBGCRYPT_LIBDIR([LIBGCRYPT_LIBDIR]) ;; esac AC_SUBST([LIBGCRYPT_PREFIX]) AC_SUBST([LIBGCRYPT_LIBDIR]) dnl Check for Guile-SSH, for the (guix ssh) module. GUIX_CHECK_GUILE_SSH AM_CONDITIONAL([HAVE_GUILE_SSH], [test "x$guix_cv_have_recent_guile_ssh" = "xyes"]) AC_CACHE_SAVE m4_include([config-daemon.ac]) dnl `dot' (from the Graphviz package) is only needed for maintainers. dnl See `Building from Git' in the manual for more info. AM_MISSING_PROG([DOT], [dot]) dnl Manual pages. AM_MISSING_PROG([HELP2MAN], [help2man]) dnl Documentation translation. AM_MISSING_PROG([PO4A], [po4a]) AC_MSG_CHECKING([if building from git]) if test -e .git; then in_git_p=yes else in_git_p=no fi AC_MSG_RESULT([$in_git_p]) AM_CONDITIONAL([in_git_p], [test "x$in_git_p" = "xyes"]) case "$storedir" in /gnu/store) ;; *) AC_MSG_WARN([Using a store directory other than '/gnu/store' will prevent you]) AC_MSG_WARN([from downloading substitutes from gnu.org.]) ;; esac AC_CONFIG_FILES([Makefile po/guix/Makefile.in po/packages/Makefile.in etc/guix-daemon.cil guix/config.scm]) AC_CONFIG_FILES([etc/committer.scm], [chmod +x etc/committer.scm]) AC_CONFIG_FILES([test-env:build-aux/test-env.in], [chmod +x test-env]) AC_CONFIG_FILES([pre-inst-env:build-aux/pre-inst-env.in], [chmod +x pre-inst-env]) AC_OUTPUT