ax_restore_flags.m4 881 B

12345678910111213141516171819202122232425262728293031
  1. # ===========================================================================
  2. # http://www.gnu.org/software/autoconf-archive/ax_restore_flags.html
  3. # ===========================================================================
  4. #
  5. # SYNOPSIS
  6. #
  7. # AX_RESTORE_FLAGS()
  8. #
  9. # DESCRIPTION
  10. #
  11. # Restore common compilation flags from temporary variables
  12. #
  13. # LICENSE
  14. #
  15. # Copyright (c) 2009 Filippo Giunchedi <filippo@esaurito.net>
  16. #
  17. # Copying and distribution of this file, with or without modification, are
  18. # permitted in any medium without royalty provided the copyright notice
  19. # and this notice are preserved. This file is offered as-is, without any
  20. # warranty.
  21. #serial 3
  22. AC_DEFUN([AX_RESTORE_FLAGS], [
  23. CPPFLAGS="${CPPFLAGS_save}"
  24. CFLAGS="${CFLAGS_save}"
  25. CXXFLAGS="${CXXFLAGS_save}"
  26. OBJCFLAGS="${OBJCFLAGS_save}"
  27. LDFLAGS="${LDFLAGS_save}"
  28. LIBS="${LIBS_save}"
  29. ])