You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

zz60-xc-ovr.m4 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #---------------------------------------------------------------------------
  2. #
  3. # zz60-xc-ovr.m4
  4. #
  5. # Copyright (c) 2013 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. # serial 1
  22. dnl The funny name of this file is intentional in order to make it
  23. dnl sort alphabetically after any libtool, autoconf or automake
  24. dnl provided .m4 macro file that might get copied into this same
  25. dnl subdirectory. This allows that macro (re)definitions from this
  26. dnl file may override those provided in other files.
  27. dnl Override an autoconf provided macro
  28. dnl -------------------------------------------------
  29. dnl This macro overrides the one provided by autoconf
  30. dnl 2.58 or newer, and provides macro definition for
  31. dnl autoconf 2.57 or older which lack it. This allows
  32. dnl using libtool 2.2 or newer, which requires that
  33. dnl this macro is used in configure.ac, with autoconf
  34. dnl 2.57 or older.
  35. m4_ifdef([AC_CONFIG_MACRO_DIR],
  36. [dnl
  37. m4_undefine([AC_CONFIG_MACRO_DIR])dnl
  38. ])
  39. m4_define([AC_CONFIG_MACRO_DIR],[])
  40. dnl XC_OVR_ZZ60
  41. dnl -------------------------------------------------
  42. dnl Placing a call to this macro in configure.ac will
  43. dnl make macros in this file visible to other macros
  44. dnl used for same configure script, overriding those
  45. dnl provided elsewhere.
  46. AC_DEFUN([XC_OVR_ZZ60],
  47. [dnl
  48. AC_BEFORE([$0],[LT_INIT])dnl
  49. AC_BEFORE([$0],[AM_INIT_AUTOMAKE])dnl
  50. AC_BEFORE([$0],[AC_LIBTOOL_WIN32_DLL])dnl
  51. AC_BEFORE([$0],[AC_PROG_LIBTOOL])dnl
  52. dnl
  53. AC_BEFORE([$0],[AC_CONFIG_MACRO_DIR])dnl
  54. AC_BEFORE([$0],[AC_CONFIG_MACRO_DIRS])dnl
  55. ])