[go: up one dir, main page]

File: configure.in

package info (click to toggle)
tiger 1%3A3.2.3-12.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,508 kB
  • ctags: 381
  • sloc: sh: 14,818; ansic: 1,933; perl: 573; makefile: 319; sql: 38
file content (62 lines) | stat: -rw-r--r-- 1,830 bytes parent folder | download | duplicates (10)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
dnl Process this file with autoconf to produce a configure script.

dnl This file is just some unique file that configure will check
dnl for to make sure it's in the right directory.
AC_INIT(tiger)

AC_PROG_CC
AC_PROG_INSTALL

test "x$prefix" != "xNONE" || prefix=/usr/local

AC_ARG_WITH(tigerhome, [  --with-tigerhome=LOCATION        Location of all Tiger files],
tigerhome=$withval, tigerhome="no")
if test "$tigerhome" = "no" ; then
        tigerhome=${prefix}/tiger
fi

AC_ARG_WITH(tigerconfig, [  --with-tigerconfig=LOCATION        Location of Tiger configuration files],
tigerconfig=$withval, tigerconfig="no")
if test "$tigerconfig" = "no" ; then
        tigerconfig=${sysconfdir}/tiger

fi

AC_ARG_WITH(tigerwork, [  --with-tigerwork=LOCATION        Location of all the temporary files created by Tiger],
tigerwork=$withval, tigerwork="no")
if test "$tigerwork" = "no" ; then
        tigerwork=${localstatedir}/tiger/run
fi

AC_ARG_WITH(tigerlog, [  --with-tigerlog=LOCATION        Location of all the logfiles created by Tiger],
tigerlog=$withval, tigerlog="no")
if test "$tigerlog" = "no" ; then
        tigerlog=${localstatedir}/tiger/log
fi

AC_ARG_WITH(tigerbin, [  --with-tigerbin=LOCATION        Location of the Tiger binaries],
tigerbin=$withval, tigerbin="no")
if test "$tigerbin" = "no" ; then
        tigerbin=${sbindir}
fi

dnl Full expansion for when it's needed (in manpage)
tigerworkdir=`eval echo $tigerwork`
tigerlogdir=`eval echo $tigerlog`
tigerconfigdir=`eval echo $tigerconfig`
tigerhomedir=`eval echo $tigerhome`
AC_SUBST(install)
AC_SUBST(tigerhome)
AC_SUBST(tigerwork)
AC_SUBST(tigerlog)
AC_SUBST(tigerbin)
AC_SUBST(tigerconfig)
AC_SUBST(tigerworkdir)
AC_SUBST(tigerlogdir)
AC_SUBST(tigerconfigdir)
AC_SUBST(tigerhomedir)
AC_OUTPUT(Makefile
	c/Makefile
	doc/Makefile
	man/tiger.8
	man/tigercron.8)