~ubuntu-branches/ubuntu/trusty/lv/trusty-proposed

« back to all changes in this revision

Viewing changes to .pc/20050506_%src%file.c_~enable-fastio-use-fread.2.diff/src/configure.in

  • Committer: Package Import Robot
  • Author(s): HIGUCHI Daisuke (VDR dai)
  • Date: 2014-03-15 03:42:28 UTC
  • Revision ID: package-import@ubuntu.com-20140315034228-6lcwgjiug8rym3wc
Tags: 4.51-2.2
* Non-maintainer upload.
* debian/control, debian/rules, debian/compat: use dh9.
* debian/control
  - add Vcs-* tags.
  - add Homepage: tag.
  - add ${misc:Depends} to Depends:.
  - add xz-utils to Recommends:.
* debian/source/format: set 3.0 (quilt).
* debian/patches/*: rename from debian/patch* and add DEP-3 headers.
* debian/copyright: convert to DEP-5.
* debian/patches/fix-hyphen-used-as-minus-sign.diff: new file.
* debian/lv.doc-base: new file.
* bump up Standards-Version 3.9.5

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(ascii.h)
 
3
 
 
4
dnl Checks for programs.
 
5
AC_PROG_LN_S
 
6
AC_PROG_CC
 
7
AC_PROG_INSTALL
 
8
AC_PROG_CPP
 
9
AC_PROG_MAKE_SET
 
10
AC_PATH_PROGS(PERL, perl perl4 perl5)
 
11
 
 
12
AC_MSG_CHECKING(if --enable-purify is specified)
 
13
AC_SUBST(PURIFY)
 
14
PURIFY=
 
15
AC_ARG_ENABLE(purify,
 
16
        [ --enable-purify          enables checks by purify],
 
17
        [AC_MSG_RESULT(yes)
 
18
        AC_PATH_PROGS(PURIFY, purify, "")
 
19
        if test "$PURIFY" != ""; then
 
20
                PURIFY="$PURIFY purecov"
 
21
        fi],
 
22
        [AC_MSG_RESULT(no)])
 
23
 
 
24
dnl Checks for libraries.
 
25
AC_DEFINE(UNIX)
 
26
AC_DEFINE(TERMCAP)
 
27
AC_CHECK_LIB(terminfo, tgetstr,, [AC_CHECK_LIB(termcap, tgetstr,, [AC_CHECK_LIB(ncurses, tgetstr,, [AC_CHECK_LIB(curses, tgetstr)])])])
 
28
 
 
29
dnl Checks for header files.
 
30
AC_HEADER_STDC
 
31
AC_HEADER_SYS_WAIT
 
32
AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h termio.h unistd.h termios.h locale.h)
 
33
 
 
34
dnl Checks for typedefs, structures, and compiler characteristics.
 
35
 
 
36
dnl Checks for library functions.
 
37
AC_CHECK_FUNCS(sigvec tgetnum setlocale)
 
38
AC_FUNC_GETPGRP
 
39
AC_PROG_GCC_TRADITIONAL
 
40
AC_TYPE_SIGNAL
 
41
 
 
42
dnl From Bruno Haible.
 
43
 
 
44
AC_DEFUN([AM_LANGINFO_CODESET],
 
45
[
 
46
  AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
 
47
    [AC_TRY_LINK([#include <langinfo.h>],
 
48
      [char* cs = nl_langinfo(CODESET);],
 
49
      am_cv_langinfo_codeset=yes,
 
50
      am_cv_langinfo_codeset=no)
 
51
    ])
 
52
  if test $am_cv_langinfo_codeset = yes; then
 
53
    AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
 
54
      [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
 
55
  fi
 
56
])
 
57
 
 
58
AM_LANGINFO_CODESET
 
59
 
 
60
dnl AC_OUTPUT(Makefile src/Makefile)
 
61
AC_OUTPUT(Makefile)