File: configure.in

package info (click to toggle)
surfraw 2.1.0-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 780 kB
  • ctags: 139
  • sloc: sh: 7,085; perl: 355; makefile: 155
file content (38 lines) | stat: -rw-r--r-- 1,009 bytes parent folder | download
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
dnl $Id: configure.in,v 1.5 2004/09/15 16:56:54 ianb-guest Exp $

dnl Process this file with autoconf to produce a configure script.

dnl This is the only place where the package version appears
dnl (apart from debian/changelog)	
AC_INIT(surfraw, 2.1.0)
AC_PREREQ(2.54)
AC_CONFIG_SRCDIR([surfraw.IN])

dnl minimum automake version, not surfraw version
AM_INIT_AUTOMAKE([1.7])

ELVIDIR="\$(libdir)/surfraw"

AC_ARG_WITH([elvidir],
	[  --with-elvidir=ELVIDIR  specify location of elvi],
	[if test -n "$withval" && test "$withval" != "no" ; then ELVIDIR="$withval";fi])

AC_SUBST(ELVIDIR)
						  
AC_SUBST(VERSION)

ISODATE=`date +%Y-%m-%d`
AC_SUBST(ISODATE)

AC_CANONICAL_HOST

dnl Checks for programs.
AC_PROG_INSTALL
AC_CHECK_PROGS(sr_text_browser, links w3m lynx)
AC_SUBST(sr_text_browser)
AC_CHECK_PROGS(sr_graphical_browser, mozilla konqueror netscape opera kfm)
AC_SUBST(sr_graphical_browser)

AC_CONFIG_FILES([Makefile surfraw.conf surfraw.lsm surfraw.spec elvi/Makefile surfraw.1 elvi.1sr])
AC_OUTPUT