[gnutls-dev] building libgcrypt

Simon Josefsson jas@extundo.com
Fri Nov 23 19:58:02 2001


To build libgcrypt from CVS I had to do this:

Copy depcomp (from recent Automake) into scripts/.
Symlink libtool into top-level directory.
Apply patch below (since I don't have DocBook).

Index: configure.ac
===================================================================
RCS file: /cvs/gnupg/libgcrypt/configure.ac,v
retrieving revision 1.3
diff -u -r1.3 configure.ac
--- configure.ac	2001/11/15 17:07:58	1.3
+++ configure.ac	2001/11/23 18:55:11
@@ -180,6 +180,7 @@
 AC_ISC_POSIX
 AC_PROG_INSTALL
 AC_PROG_AWK
+AC_PATH_PROG(DVIPS, dvips)
 GPH_PROG_DB2ANY
 
 AM_DISABLE_STATIC
Index: doc/Makefile.am
===================================================================
RCS file: /cvs/gnupg/libgcrypt/doc/Makefile.am,v
retrieving revision 1.19
diff -u -r1.19 Makefile.am
--- doc/Makefile.am	2001/05/28 21:12:23	1.19
+++ doc/Makefile.am	2001/11/23 18:55:11
@@ -16,7 +16,7 @@
 
 
 %.ps : %.dvi
-	dvips -o $@ $<
+	test "x$(DB2ANY)" == "x: " || $(DVIPS) -o $@ $<
 
 # we might want something like this: -V generate-book-toc  
 # or use a custom stylesheet.