From 84685930d5cfc7005f3414601230a23e28a18f59 Mon Sep 17 00:00:00 2001 From: Thomas Loimer Date: Tue, 5 Sep 2023 22:02:55 +0200 Subject: [PATCH 1/3] Enable error message for missing libraries Move the check for missing libraries to a place where the queried variables are set. --- configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 035b9d7..47452c5 100644 --- a/configure.ac +++ b/configure.ac @@ -95,9 +95,6 @@ dnl AC_CHECK_PROG(XDG_MENU, [xdg-desktop-menu], [xdg-desktop-menu]) AC_SEARCH_LIBS([pow], [m])dnl dnl AC_SEARCH_LIBS([deflate], [z]) # libz is not needed. AC_SEARCH_LIBS([FcInit], [fontconfig]) -AS_IF([test "x$ac_cv_search_pow" = xno \ - || test "x$ac_cv_search_png_read_info" = xno], - [AC_MSG_ERROR([Necessary libraries not found.])]) # Checks for header files. @@ -187,6 +184,10 @@ PostScript files. To disable calling ghostscript, set to the empty string, AC_SUBST([gsman]) AM_SUBST_NOTMAKE([gsman]) +AS_IF([test "x$ac_cv_search_pow" = xno \ + || test "x$ac_cv_search_png_read_info" = xno], + [AC_MSG_ERROR([Necessary libraries not found.])]) + # Checks for typedefs, structures, and compiler characteristics. AC_C_BIGENDIAN -- 2.40.1 442eba98be21518423f2cf0a10d1fa5d6c7865ca'>commitdiff
path: root/tests/cpio.scm
AgeCommit message (Expand)Author
2024-04-15utils: Don’t re-export ‘call-with-temporary-output-file’....* guix/utils.scm: Remove re-export of ‘call-with-temporary-output-file’. Autoload a number of modules. * guix/download.scm, guix/import/hackage.scm, guix/import/hexpm.scm, guix/import/opam.scm, guix/import/pypi.scm, tests/cpio.scm, tests/egg.scm, tests/opam.scm, tests/publish.scm, tests/store-database.scm, tests/utils.scm: Adjust imports accordingly. Change-Id: I3f5e94631397996a30be2ea4ff8b50a3371e8ee7 Ludovic Courtès
2022-12-20cpio: Skip test on inode numbers that don't fit on 32 bits....Fixes <https://issues.guix.gnu.org/60202>. Reported by Christopher Baines <mail@cbaines.net>. * tests/cpio.scm (%test-file): New variable. ("file->cpio-header + write-cpio-header + read-cpio-header"): Use it. Skip test when the inode number of %TEST-FILE is too big. Ludovic Courtès