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.3)
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])
|