xref: /third_party/curl/m4/zz50-xc-ovr.m4 (revision 13498266)
113498266Sopenharmony_ci#---------------------------------------------------------------------------
213498266Sopenharmony_ci#
313498266Sopenharmony_ci# zz50-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 some language related macros
3413498266Sopenharmony_cidnl -------------------------------------------------
3513498266Sopenharmony_cidnl This is done to prevent Libtool 1.5.X from doing
3613498266Sopenharmony_cidnl unnecessary C++, Fortran and Java tests when only
3713498266Sopenharmony_cidnl using C language and reduce resulting configure
3813498266Sopenharmony_cidnl script by nearly 300 Kb.
3913498266Sopenharmony_ci
4013498266Sopenharmony_cim4_ifdef([AC_LIBTOOL_LANG_CXX_CONFIG],
4113498266Sopenharmony_ci  [m4_undefine([AC_LIBTOOL_LANG_CXX_CONFIG])])
4213498266Sopenharmony_cim4_define([AC_LIBTOOL_LANG_CXX_CONFIG],[:])
4313498266Sopenharmony_ci
4413498266Sopenharmony_cim4_ifdef([AC_LIBTOOL_LANG_F77_CONFIG],
4513498266Sopenharmony_ci  [m4_undefine([AC_LIBTOOL_LANG_F77_CONFIG])])
4613498266Sopenharmony_cim4_define([AC_LIBTOOL_LANG_F77_CONFIG],[:])
4713498266Sopenharmony_ci
4813498266Sopenharmony_cim4_ifdef([AC_LIBTOOL_LANG_GCJ_CONFIG],
4913498266Sopenharmony_ci  [m4_undefine([AC_LIBTOOL_LANG_GCJ_CONFIG])])
5013498266Sopenharmony_cim4_define([AC_LIBTOOL_LANG_GCJ_CONFIG],[:])
5113498266Sopenharmony_ci
5213498266Sopenharmony_ci
5313498266Sopenharmony_cidnl XC_OVR_ZZ50
5413498266Sopenharmony_cidnl -------------------------------------------------
5513498266Sopenharmony_cidnl Placing a call to this macro in configure.ac will
5613498266Sopenharmony_cidnl make macros in this file visible to other macros
5713498266Sopenharmony_cidnl used for same configure script, overriding those
5813498266Sopenharmony_cidnl provided elsewhere.
5913498266Sopenharmony_ci
6013498266Sopenharmony_ciAC_DEFUN([XC_OVR_ZZ50],
6113498266Sopenharmony_ci  [AC_BEFORE([$0],[AC_PROG_LIBTOOL])])
62