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