xref: /curl/m4/zz50-xc-ovr.m4 (revision b2696ac3)
1#---------------------------------------------------------------------------
2#
3# zz50-xc-ovr.m4
4#
5# Copyright (C) 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# SPDX-License-Identifier: ISC
20#
21#---------------------------------------------------------------------------
22
23# serial 1
24
25
26dnl The funny name of this file is intentional in order to make it
27dnl sort alphabetically after any libtool, autoconf or automake
28dnl provided .m4 macro file that might get copied into this same
29dnl subdirectory. This allows that macro (re)definitions from this
30dnl file may override those provided in other files.
31
32
33dnl Override some language related macros
34dnl -------------------------------------------------
35dnl This is done to prevent Libtool 1.5.X from doing
36dnl unnecessary C++, Fortran and Java tests when only
37dnl using C language and reduce resulting configure
38dnl script by nearly 300 Kb.
39
40m4_ifdef([AC_LIBTOOL_LANG_CXX_CONFIG],
41  [m4_undefine([AC_LIBTOOL_LANG_CXX_CONFIG])])
42m4_define([AC_LIBTOOL_LANG_CXX_CONFIG],[:])
43
44m4_ifdef([AC_LIBTOOL_LANG_F77_CONFIG],
45  [m4_undefine([AC_LIBTOOL_LANG_F77_CONFIG])])
46m4_define([AC_LIBTOOL_LANG_F77_CONFIG],[:])
47
48m4_ifdef([AC_LIBTOOL_LANG_GCJ_CONFIG],
49  [m4_undefine([AC_LIBTOOL_LANG_GCJ_CONFIG])])
50m4_define([AC_LIBTOOL_LANG_GCJ_CONFIG],[:])
51
52
53dnl XC_OVR_ZZ50
54dnl -------------------------------------------------
55dnl Placing a call to this macro in configure.ac will
56dnl make macros in this file visible to other macros
57dnl used for same configure script, overriding those
58dnl provided elsewhere.
59
60AC_DEFUN([XC_OVR_ZZ50],
61  [AC_BEFORE([$0],[AC_PROG_LIBTOOL])])
62