File: as-auto-alt.m4

package info (click to toggle)
gst-plugins-bad1.0 1.0.8-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 36,832 kB
  • sloc: ansic: 297,908; cpp: 22,677; sh: 13,303; xml: 6,362; makefile: 4,867; perl: 1,435; objc: 1,273; python: 362; sed: 16
file content (50 lines) | stat: -rw-r--r-- 1,540 bytes parent folder | download | duplicates (111)
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
dnl as-auto-alt.m4 0.0.2
dnl autostars m4 macro for supplying alternate autotools versions to configure
dnl thomas@apestaart.org
dnl
dnl AS_AUTOTOOLS_ALTERNATE()
dnl
dnl supplies --with arguments for autoconf, autoheader, automake, aclocal

AC_DEFUN([AS_AUTOTOOLS_ALTERNATE],
[
  dnl allow for different autoconf version
  AC_ARG_WITH(autoconf,
    AC_HELP_STRING([--with-autoconf],
                   [use a different autoconf for regeneration of Makefiles]),
    [
      unset AUTOCONF
      AM_MISSING_PROG(AUTOCONF, ${withval})
      AC_MSG_NOTICE([Using $AUTOCONF as autoconf])
    ])

  dnl allow for different autoheader version
  AC_ARG_WITH(autoheader,
    AC_HELP_STRING([--with-autoheader],
                   [use a different autoheader for regeneration of Makefiles]),
    [
      unset AUTOHEADER
      AM_MISSING_PROG(AUTOHEADER, ${withval})
      AC_MSG_NOTICE([Using $AUTOHEADER as autoheader])
    ])

  dnl allow for different automake version
  AC_ARG_WITH(automake,
    AC_HELP_STRING([--with-automake],
                   [use a different automake for regeneration of Makefiles]),
    [
      unset AUTOMAKE
      AM_MISSING_PROG(AUTOMAKE, ${withval})
      AC_MSG_NOTICE([Using $AUTOMAKE as automake])
    ])

  dnl allow for different aclocal version
  AC_ARG_WITH(aclocal,
    AC_HELP_STRING([--with-aclocal],
                   [use a different aclocal for regeneration of Makefiles]),
    [
      unset ACLOCAL
      AM_MISSING_PROG(ACLOCAL, ${withval})
      AC_MSG_NOTICE([Using $ACLOCAL as aclocal])
    ])
])