File: configure.ac

package info (click to toggle)
icon-naming-utils 0.8.90-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 596 kB
  • sloc: xml: 7,490; sh: 619; makefile: 70; perl: 60
file content (33 lines) | stat: -rw-r--r-- 806 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
29
30
31
32
33
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)

AC_INIT([icon-naming-utils], [0.8.90])
AC_CONFIG_SRCDIR(icon-name-mapping.pl.in)
AC_COPYRIGHT([Copyright 2005-2007 Rodney Dawes])

AM_INIT_AUTOMAKE

AM_MAINTAINER_MODE

AC_PATH_PROG(PERL, perl)
if test -z "$PERL"; then
   AC_MSG_ERROR([perl not found])
fi
if test -z "`$PERL -v | fgrep 'v5.' 2> /dev/null`" -a -z "`$PERL -v | fgrep 'version 5.' 2> /dev/null`"; then
   AC_MSG_ERROR([perl 5.x required for icon-naming-utils])
fi
AC_MSG_CHECKING([for XML::Simple])
if `$PERL -e "require XML::Simple" 2>/dev/null`; then
   AC_MSG_RESULT([ok])
else
   AC_MSG_ERROR([XML::Simple perl module is required for icon-naming-utils])
fi

AC_CONFIG_FILES([
Makefile
icon-naming-utils.pc
icon-naming-utils-uninstalled.pc
])

AC_OUTPUT