File: configure.ac

package info (click to toggle)
slice 1.3.8-14
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 872 kB
  • sloc: ansic: 3,310; perl: 2,263; sh: 869; makefile: 296; yacc: 127
file content (49 lines) | stat: -rw-r--r-- 1,005 bytes parent folder | download | duplicates (13)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
dnl ##
dnl ##  configure.in -- GNU autoconf configuration source
dnl ##

AC_PREREQ(2.50)dnl
AC_REVISION($Revision: 1.1 $)dnl

AC_INIT

shtool="./etc/shtool"

dnl ##  version id
SLICE_VERSION="`$shtool version -l perl -d long slice_vers.pl`"
$shtool echo -e "%BConfiguring for Slice $SLICE_VERSION %b"

AC_CONFIG_SRCDIR([README])
AC_PREFIX_DEFAULT(/usr/local)

AC_PROG_MAKE_SET

test "x$prefix" = xNONE && prefix=$ac_default_prefix
eval "dir=$prefix"
case $dir in
    *slice* ) libsubdir= ;;
          * ) libsubdir="/slice" ;;
esac
AC_SUBST(libsubdir)

AC_CHECK_PERL_INTERPRETER
AC_CHECK_PERL_MM_PATHS
AC_ARG_WITH(closedworld,dnl
[  --with-closedworld      force the private install of all Perl modules],[
have_getoptlong=0
have_bitvector=0
have_io=0
],)dnl
AC_CHECK_PERL_MODULE(Getopt::Long, 2.13, getoptlong)
AC_CHECK_PERL_MODULE(Bit::Vector, 5.0, bitvector)
AC_CHECK_PERL_MODULE(IO::File, 1.07, io)

AC_CONFIG_FILES([
        Makefile
        t/Makefile
        lib/Makefile
])

AC_OUTPUT

dnl ##EOF##