1#---------------------------------------------------------------------------
2#
3# zz60-xc-ovr.m4
4#
5# Copyright (c) 2013 Daniel Stenberg <daniel@haxx.se>
6#
7# Permission to use, copy, modify, and distribute this software for any
8# purpose with or without fee is hereby granted, provided that the above
9# copyright notice and this permission notice appear in all copies.
10#
11# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18#
19#---------------------------------------------------------------------------
20
21# serial 1
22
23
24dnl The funny name of this file is intentional in order to make it
25dnl sort alphabetically after any libtool, autoconf or automake
26dnl provided .m4 macro file that might get copied into this same
27dnl subdirectory. This allows that macro (re)definitions from this
28dnl file may override those provided in other files.
29
30
31dnl Override an autoconf provided macro
32dnl -------------------------------------------------
33dnl This macro overrides the one provided by autoconf
34dnl 2.58 or newer, and provides macro definition for
35dnl autoconf 2.57 or older which lack it. This allows
36dnl using libtool 2.2 or newer, which requires that
37dnl this macro is used in configure.ac, with autoconf
38dnl 2.57 or older.
39
40m4_ifdef([AC_CONFIG_MACRO_DIR],
41[dnl
42m4_undefine([AC_CONFIG_MACRO_DIR])dnl
43])
44m4_define([AC_CONFIG_MACRO_DIR],[])
45
46
47dnl XC_OVR_ZZ60
48dnl -------------------------------------------------
49dnl Placing a call to this macro in configure.ac will
50dnl make macros in this file visible to other macros
51dnl used for same configure script, overriding those
52dnl provided elsewhere.
53
54AC_DEFUN([XC_OVR_ZZ60],
55[dnl
56AC_BEFORE([$0],[LT_INIT])dnl
57AC_BEFORE([$0],[AM_INIT_AUTOMAKE])dnl
58AC_BEFORE([$0],[AC_LIBTOOL_WIN32_DLL])dnl
59AC_BEFORE([$0],[AC_PROG_LIBTOOL])dnl
60dnl
61AC_BEFORE([$0],[AC_CONFIG_MACRO_DIR])dnl
62AC_BEFORE([$0],[AC_CONFIG_MACRO_DIRS])dnl
63])
64
65