fig2dev detection
LRN
lrn1986 at gmail.com
Tue Dec 10 23:23:29 CET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10.12.2013 15:05, Matthias Wachs wrote:
> Hi,
>
> I am trying to install the latest libgcrypt version from git on a
> ubuntu 12.4.3 system. I (still) have the fig2dev detection issue
>
> Making install in doc make[1]: Entering directory
> `/home/gnunet/svn/libgcrypt/doc' fig2dev -L eps `test -f
> 'libgcrypt-modules.fig' || echo './'`libgcrypt-modules.fig
> libgcrypt-modules.eps /bin/bash: fig2dev: command not found
> make[1]: *** [libgcrypt-modules.eps] Error 127 make[1]: Leaving
> directory `/home/gnunet/svn/libgcrypt/doc' make: ***
> [install-recursive] Error 1
>
Use this patch, and may the Force be with you.
Or install fig2dev, as suggested in the other message in this thread.
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJSp5RgAAoJEOs4Jb6SI2CwvmEIAIABI5XWKqsvod3jIFMNWEFD
WaxxMbeAVPTDos0wwG33Mm0TnU/9OjnSAXpqsqxZMyH170AYOO5fP2lA123s1Gg3
TiD0vXOAe1KMphOeELzntS4oMoDr/6dxbmN9lK1GXKeZ9Y56I+Ea/VgaxlcYnnqt
fegigB5zHSoB/jo0Y2N+7PkJP/npswSuMzUZz061P+HKWgL5BtjSAvXjqJbPBhek
7iQ++3P4EAaZenck+7GujWyp9tvU7lYxQBOFkhoXzblAt2o+WHldTl3iU6VWPSVo
bAJsiSpNIqFMtWA4mFXe+jeqrlt6968b9p28RSZenOdic2O4j5/uEv+HAxtrxs8=
=VcqT
-----END PGP SIGNATURE-----
-------------- next part --------------
From 15cad0ff53ad39e569b796474ad534687ea33e32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1=D1?=
=?UTF-8?q?=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= <lrn1986 at gmial.com>
Date: Wed, 20 Mar 2013 20:31:57 +0400
Subject: [PATCH 2/3] Smarter fig2dev detection
---
configure.ac | 5 +++++
doc/Makefile.am | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7afd83d..a6d8bdc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -654,6 +654,11 @@ AC_SUBST(PTH_CFLAGS)
AC_SUBST(PTH_LIBS)
#
+# Find fig2dev
+#
+AC_PATH_PROG([FIG2DEV], [fig2dev], [false])
+
+#
# Check whether pthreads is available
#
AC_CHECK_LIB(pthread,pthread_create,have_pthread=yes)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 30330bb..42c7d4f 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -45,16 +45,16 @@ yat2m: yat2m.c
$(CC_FOR_BUILD) -o $@ $(srcdir)/yat2m.c
.fig.png:
- fig2dev -L png `test -f '$<' || echo '$(srcdir)/'`$< $@
+ $(FIG2DEV) -L png `test -f '$<' || echo '$(srcdir)/'`$< $@ || touch $@
.fig.jpg:
- fig2dev -L jpg `test -f '$<' || echo '$(srcdir)/'`$< $@
+ $(FIG2DEV) -L jpg `test -f '$<' || echo '$(srcdir)/'`$< $@ || touch $@
.fig.eps:
- fig2dev -L eps `test -f '$<' || echo '$(srcdir)/'`$< $@
+ $(FIG2DEV) -L eps `test -f '$<' || echo '$(srcdir)/'`$< $@ || touch $@
.fig.pdf:
- fig2dev -L pdf `test -f '$<' || echo '$(srcdir)/'`$< $@
+ $(FIG2DEV) -L pdf `test -f '$<' || echo '$(srcdir)/'`$< $@ || touch $@
yat2m-stamp: $(myman_sources)
@rm -f yat2m-stamp.tmp
--
1.7.11
More information about the Gcrypt-devel
mailing list