~ubuntu-branches/ubuntu/saucy/mailcrypt/saucy

« back to all changes in this revision

Viewing changes to .pc/debian-changes-3.5.9-4/configure.in

  • Committer: Package Import Robot
  • Author(s): Barak A. Pearlmutter
  • Date: 2012-03-29 23:12:12 UTC
  • Revision ID: package-import@ubuntu.com-20120329231212-gh2248fto9cuzar6
Tags: 3.5.9-5
* Acknowledge and merge translation-related NMU.  Thanks Christian Perrier!
* Bump standards version
* Silence lintian tag description-synopsis-starts-with-article
* Single-debian-patch source option (closes: #643211)
* Silence lintian tag maintainer-script-without-set-e

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl Process this file with autoconf to produce a configure script.
2
 
AC_INIT(mailcrypt.el)
3
 
 
4
 
AC_PROG_INSTALL()
5
 
 
6
 
AC_PATH_PROG(INSTALL_INFO, install-info)
7
 
if test "$INSTALL_INFO x" = " x"
8
 
then
9
 
  INSTALL_INFO=":"
10
 
fi
11
 
AC_SUBST(INSTALL_INFO)
12
 
 
13
 
AC_PATH_PROG(BASENAME, basename)
14
 
if test "$BASENAME x" = " x"
15
 
then
16
 
  AC_MSG_ERROR(Cannot find program "basename" on your patch.
17
 
Hint: Try setting BASENAME environment variable or fixing your PATH.)
18
 
fi
19
 
 
20
 
if test -n "$EMACS" && test "$EMACS" = "t"
21
 
then
22
 
    unset EMACS
23
 
fi
24
 
 
25
 
AC_CHECK_PROGS(EMACS, emacs xemacs,dnl
26
 
  AC_MSG_ERROR('Cannot find emacs in your path.
27
 
Hint: Try setting EMACS environment variable or fixing your PATH.'))
28
 
 
29
 
RESULT=`$BASENAME $EMACS`
30
 
if test "$RESULT" = xemacs
31
 
then
32
 
  if $EMACS -batch -q --vanilla
33
 
  then
34
 
    EMACSFLAGS="--vanilla"         # We're running Xemacs 20.x or higher
35
 
    AC_SUBST(EMACSFLAGS)
36
 
  else
37
 
    EMACSFLAGS="-q -no-site-file"  # Still running Xemacs 19.x
38
 
  fi
39
 
else if test "$RESULT" = emacs
40
 
then
41
 
  EMACSFLAGS=""
42
 
  AC_SUBST(EMACSFLAGS)
43
 
fi
44
 
fi
45
 
EXTRA_SRCS=""
46
 
EXTRA_OBJS=""
47
 
echo -n checking for timer.el...
48
 
if $EMACS -batch -l timer 2>/dev/null
49
 
then
50
 
  echo timer.el
51
 
else
52
 
  echo no.  I will install it for you.
53
 
  EXTRA_SRCS="timer.el"
54
 
  AC_SUBST(EXTRA_SRCS)
55
 
  EXTRA_OBJS="timer.elc"
56
 
  AC_SUBST(EXTRA_OBJS)
57
 
fi
58
 
 
59
 
AC_OUTPUT(Makefile tests/Makefile tests/remailer/Makefile)