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