xref: /aosp_15_r20/external/curl/m4/zz50-xc-ovr.m4 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker#---------------------------------------------------------------------------
2*6236dae4SAndroid Build Coastguard Worker#
3*6236dae4SAndroid Build Coastguard Worker# zz50-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 some language related macros
34*6236dae4SAndroid Build Coastguard Workerdnl -------------------------------------------------
35*6236dae4SAndroid Build Coastguard Workerdnl This is done to prevent Libtool 1.5.X from doing
36*6236dae4SAndroid Build Coastguard Workerdnl unnecessary C++, Fortran and Java tests when only
37*6236dae4SAndroid Build Coastguard Workerdnl using C language and reduce resulting configure
38*6236dae4SAndroid Build Coastguard Workerdnl script by nearly 300 Kb.
39*6236dae4SAndroid Build Coastguard Worker
40*6236dae4SAndroid Build Coastguard Workerm4_ifdef([AC_LIBTOOL_LANG_CXX_CONFIG],
41*6236dae4SAndroid Build Coastguard Worker  [m4_undefine([AC_LIBTOOL_LANG_CXX_CONFIG])])
42*6236dae4SAndroid Build Coastguard Workerm4_define([AC_LIBTOOL_LANG_CXX_CONFIG],[:])
43*6236dae4SAndroid Build Coastguard Worker
44*6236dae4SAndroid Build Coastguard Workerm4_ifdef([AC_LIBTOOL_LANG_F77_CONFIG],
45*6236dae4SAndroid Build Coastguard Worker  [m4_undefine([AC_LIBTOOL_LANG_F77_CONFIG])])
46*6236dae4SAndroid Build Coastguard Workerm4_define([AC_LIBTOOL_LANG_F77_CONFIG],[:])
47*6236dae4SAndroid Build Coastguard Worker
48*6236dae4SAndroid Build Coastguard Workerm4_ifdef([AC_LIBTOOL_LANG_GCJ_CONFIG],
49*6236dae4SAndroid Build Coastguard Worker  [m4_undefine([AC_LIBTOOL_LANG_GCJ_CONFIG])])
50*6236dae4SAndroid Build Coastguard Workerm4_define([AC_LIBTOOL_LANG_GCJ_CONFIG],[:])
51*6236dae4SAndroid Build Coastguard Worker
52*6236dae4SAndroid Build Coastguard Worker
53*6236dae4SAndroid Build Coastguard Workerdnl XC_OVR_ZZ50
54*6236dae4SAndroid Build Coastguard Workerdnl -------------------------------------------------
55*6236dae4SAndroid Build Coastguard Workerdnl Placing a call to this macro in configure.ac will
56*6236dae4SAndroid Build Coastguard Workerdnl make macros in this file visible to other macros
57*6236dae4SAndroid Build Coastguard Workerdnl used for same configure script, overriding those
58*6236dae4SAndroid Build Coastguard Workerdnl provided elsewhere.
59*6236dae4SAndroid Build Coastguard Worker
60*6236dae4SAndroid Build Coastguard WorkerAC_DEFUN([XC_OVR_ZZ50],
61*6236dae4SAndroid Build Coastguard Worker  [AC_BEFORE([$0],[AC_PROG_LIBTOOL])])
62