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