Merge lp:~tangent-org/libmemcached/1.0-build/ Build: jenkins-Libmemcached-187
[m6w6/libmemcached] / m4 / ax_save_flags.m4
1 # ===========================================================================
2 # http://www.gnu.org/software/autoconf-archive/ax_save_flags.html
3 # ===========================================================================
4 #
5 # SYNOPSIS
6 #
7 # AX_SAVE_FLAGS()
8 #
9 # DESCRIPTION
10 #
11 # Save common compilation flags into 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
22 #serial 3
23
24 AC_DEFUN([AX_SAVE_FLAGS], [
25 CPPFLAGS_save="${CPPFLAGS}"
26 CFLAGS_save="${CFLAGS}"
27 CXXFLAGS_save="${CXXFLAGS}"
28 OBJCFLAGS_save="${OBJCFLAGS}"
29 LDFLAGS_save="${LDFLAGS}"
30 LIBS_save="${LIBS}"
31 ])