113498266Sopenharmony_ci#--------------------------------------------------------------------------- 213498266Sopenharmony_ci# 313498266Sopenharmony_ci# zz60-xc-ovr.m4 413498266Sopenharmony_ci# 513498266Sopenharmony_ci# Copyright (C), Daniel Stenberg <daniel@haxx.se> 613498266Sopenharmony_ci# 713498266Sopenharmony_ci# Permission to use, copy, modify, and distribute this software for any 813498266Sopenharmony_ci# purpose with or without fee is hereby granted, provided that the above 913498266Sopenharmony_ci# copyright notice and this permission notice appear in all copies. 1013498266Sopenharmony_ci# 1113498266Sopenharmony_ci# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1213498266Sopenharmony_ci# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1313498266Sopenharmony_ci# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1413498266Sopenharmony_ci# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1513498266Sopenharmony_ci# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 1613498266Sopenharmony_ci# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 1713498266Sopenharmony_ci# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1813498266Sopenharmony_ci# 1913498266Sopenharmony_ci# SPDX-License-Identifier: ISC 2013498266Sopenharmony_ci# 2113498266Sopenharmony_ci#--------------------------------------------------------------------------- 2213498266Sopenharmony_ci 2313498266Sopenharmony_ci# serial 1 2413498266Sopenharmony_ci 2513498266Sopenharmony_ci 2613498266Sopenharmony_cidnl The funny name of this file is intentional in order to make it 2713498266Sopenharmony_cidnl sort alphabetically after any libtool, autoconf or automake 2813498266Sopenharmony_cidnl provided .m4 macro file that might get copied into this same 2913498266Sopenharmony_cidnl subdirectory. This allows that macro (re)definitions from this 3013498266Sopenharmony_cidnl file may override those provided in other files. 3113498266Sopenharmony_ci 3213498266Sopenharmony_ci 3313498266Sopenharmony_cidnl Override an autoconf provided macro 3413498266Sopenharmony_cidnl ------------------------------------------------- 3513498266Sopenharmony_cidnl This macro overrides the one provided by autoconf 3613498266Sopenharmony_cidnl 2.58 or newer, and provides macro definition for 3713498266Sopenharmony_cidnl autoconf 2.57 or older which lack it. This allows 3813498266Sopenharmony_cidnl using libtool 2.2 or newer, which requires that 3913498266Sopenharmony_cidnl this macro is used in configure.ac, with autoconf 4013498266Sopenharmony_cidnl 2.57 or older. 4113498266Sopenharmony_ci 4213498266Sopenharmony_cim4_ifdef([AC_CONFIG_MACRO_DIR], 4313498266Sopenharmony_ci[dnl 4413498266Sopenharmony_cim4_undefine([AC_CONFIG_MACRO_DIR])dnl 4513498266Sopenharmony_ci]) 4613498266Sopenharmony_cim4_define([AC_CONFIG_MACRO_DIR],[]) 4713498266Sopenharmony_ci 4813498266Sopenharmony_ci 4913498266Sopenharmony_cidnl XC_OVR_ZZ60 5013498266Sopenharmony_cidnl ------------------------------------------------- 5113498266Sopenharmony_cidnl Placing a call to this macro in configure.ac will 5213498266Sopenharmony_cidnl make macros in this file visible to other macros 5313498266Sopenharmony_cidnl used for same configure script, overriding those 5413498266Sopenharmony_cidnl provided elsewhere. 5513498266Sopenharmony_ci 5613498266Sopenharmony_ciAC_DEFUN([XC_OVR_ZZ60], 5713498266Sopenharmony_ci[dnl 5813498266Sopenharmony_ciAC_BEFORE([$0],[LT_INIT])dnl 5913498266Sopenharmony_ciAC_BEFORE([$0],[AM_INIT_AUTOMAKE])dnl 6013498266Sopenharmony_ciAC_BEFORE([$0],[AC_LIBTOOL_WIN32_DLL])dnl 6113498266Sopenharmony_ciAC_BEFORE([$0],[AC_PROG_LIBTOOL])dnl 6213498266Sopenharmony_cidnl 6313498266Sopenharmony_ciAC_BEFORE([$0],[AC_CONFIG_MACRO_DIR])dnl 6413498266Sopenharmony_ciAC_BEFORE([$0],[AC_CONFIG_MACRO_DIRS])dnl 6513498266Sopenharmony_ci]) 66