[rs-commit] r65 - /redwax-signtext/trunk/src/linux/configure.ac

rs-commit at redwax.eu rs-commit at redwax.eu
Sun Sep 18 15:56:12 CEST 2022


Author: minfrin at redwax.eu
Date: Sun Sep 18 15:56:11 2022
New Revision: 65

Log:
Fallback where libksba had no pkgconfig support

Modified:
    redwax-signtext/trunk/src/linux/configure.ac

Modified: redwax-signtext/trunk/src/linux/configure.ac
==============================================================================
--- redwax-signtext/trunk/src/linux/configure.ac	(original)
+++ redwax-signtext/trunk/src/linux/configure.ac	Sun Sep 18 15:56:11 2022
@@ -21,7 +21,13 @@
    [gcr-3 >= 3])
 
 PKG_CHECK_MODULES([KSBA],
-   [ksba >= 1])
+   [ksba >= 1],[],
+   [
+      AC_PATH_PROG(KSBA_CONFIG, ksba-config, no)
+      KSBA_CFLAGS=`$KSBA_CONFIG --cflags`
+      KSBA_LIBS=`$KSBA_CONFIG --libs`
+   ]
+)
 
 PKG_CHECK_MODULES([GCRYPT],
    [libgcrypt >= 1])



More information about the rs-commit mailing list