File: configure.in

package info (click to toggle)
cgvg 1.6.2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge, squeeze
  • size: 216 kB
  • ctags: 3
  • sloc: perl: 404; sh: 330; makefile: 43
file content (28 lines) | stat: -rw-r--r-- 473 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
dnl cgvg configure.in File
dnl   - by: Manish Singh
dnl
dnl GNU Autoconf file

AC_INIT(cg.in)

AM_INIT_AUTOMAKE(cgvg, 1.6.2)

AC_PATH_PROGS(PERL, perl5 perl perl5.005 perl5.004, "")
if test -z "$PERL"; then
  AC_MSG_ERROR([perl not found])
fi

AC_MSG_CHECKING(for perl version 5 or higher)
if $PERL -e 'exit ($] < 5)'; then
  AC_MSG_RESULT(yes)
else
  AC_MSG_RESULT(no)
  AC_MSG_ERROR([Get perl5 sexy boy!])
fi

dnl FINISHED!
AC_OUTPUT([
Makefile
cg
vg],
[chmod +x cg vg])