File: ac_prog_fig2dev.m4

package info (click to toggle)
autoconf-archive 20060312-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,180 kB
  • ctags: 13
  • sloc: sh: 455; makefile: 44
file content (21 lines) | stat: -rw-r--r-- 521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
dnl @synopsis AC_PROG_FIG2DEV
dnl
dnl @obsoleted Replaced by VL_PROG_FIG2DEV.
dnl
dnl This macro test if fig2dev is installed. If fig2dev is installed,
dnl it set $fig2dev to the right value
dnl
dnl @category Obsolete
dnl @author Mathieu Boretti <boretti@bss-network.com>
dnl @version 2005-01-25
dnl @license GPLWithACException

AC_DEFUN([AC_PROG_FIG2DEV],[
AC_CHECK_PROGS(fig2dev,[fig2dev],no)
export fig2dev;
if test $fig2dev = "no" ;
then
	AC_MSG_ERROR([Unable to find a fig2dev application]);
fi
AC_SUBST(fig2dev)
])