~ubuntu-branches/ubuntu/precise/apvlv/precise

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ritter
  • Date: 2009-09-19 19:31:00 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090919193100-102ojwfnbs7l70o3
Tags: 0.0.7.3-1
* New upstream release
* Added apvlvrc to conffiles

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
dnl APVLV - Alf's PDF Viewer Like Vim
3
3
dnl
4
4
 
5
 
AC_INIT(apvlv, 0.0.7.2, naihe2010@gmail.com)
 
5
AC_PREREQ([2.63])
 
6
AC_INIT(apvlv, 0.0.7.3, naihe2010@gmail.com)
6
7
AC_COPYRIGHT([Copyright (C) 2008 Alf's Software.])
7
8
 
8
9
if test -e .svn; then
24
25
AM_INIT_AUTOMAKE
25
26
 
26
27
AC_PROG_CXX
27
 
AC_PROG_LD
 
28
AC_PROG_CC
28
29
AC_PROG_INSTALL
29
30
 
 
31
AC_CHECK_HEADERS([fcntl.h limits.h locale.h stddef.h stdlib.h string.h sys/time.h unistd.h])
 
32
 
 
33
AC_HEADER_STDBOOL
 
34
AC_C_INLINE
 
35
AC_TYPE_SIZE_T
 
36
AC_TYPE_UINT32_T
 
37
 
 
38
AC_FUNC_ERROR_AT_LINE
 
39
AC_FUNC_FSEEKO
 
40
AC_FUNC_MALLOC
 
41
AC_FUNC_MKTIME
 
42
AC_FUNC_MMAP
 
43
AC_FUNC_REALLOC
 
44
AC_CHECK_FUNCS([floor getcwd getpagesize gettimeofday localtime_r memmove memset munmap pow realpath select setlocale sqrt strcasecmp strchr strcspn strdup strerror strncasecmp strrchr strstr strtol])
 
45
 
30
46
if test "$prefix" = "NONE"; then
31
47
  prefix="/usr/local"
32
48
fi
77
93
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.4.0, CPPFLAGS="$CPPFLAGS $GTK_CFLAGS"; LIBS="$LIBS $GTK_LIBS")
78
94
PKG_CHECK_MODULES(POPPLER, poppler-glib >= 0.5.4, CPPFLAGS="$CPPFLAGS $POPPLER_CFLAGS"; LIBS="$LIBS $POPPLER_LIBS")
79
95
 
80
 
dnl
81
 
dnl check whether Startup.pdf should be created by self.
82
 
dnl
83
 
AC_PATH_PROG(latexpath, latex)
84
 
AC_PATH_PROG(dvipdfpath, dvipdf)
85
 
 
86
96
AC_OUTPUT(Makefile src/Makefile)