mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix acx_nlnetlabs.m4 configure output for autoconf-2.66 AS_TR_CPP
changes, uses m4_bpatsubst now. git-svn-id: file:///svn/unbound/trunk@2213 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
e0a0eafef0
commit
6021182b64
2 changed files with 8 additions and 3 deletions
|
|
@ -2,7 +2,8 @@
|
||||||
# Copyright 2009, Wouter Wijngaards, NLnet Labs.
|
# Copyright 2009, Wouter Wijngaards, NLnet Labs.
|
||||||
# BSD licensed.
|
# BSD licensed.
|
||||||
#
|
#
|
||||||
# Version 10
|
# Version 11
|
||||||
|
# 2010-08-16 Fix FLAG_OMITTED for AS_TR_CPP changes in autoconf-2.66.
|
||||||
# 2010-07-02 Add check for ss_family (for minix).
|
# 2010-07-02 Add check for ss_family (for minix).
|
||||||
# 2010-04-26 Fix to use CPPFLAGS for CHECK_COMPILER_FLAGS.
|
# 2010-04-26 Fix to use CPPFLAGS for CHECK_COMPILER_FLAGS.
|
||||||
# 2010-03-01 Fix RPATH using CONFIG_COMMANDS to run at the very end.
|
# 2010-03-01 Fix RPATH using CONFIG_COMMANDS to run at the very end.
|
||||||
|
|
@ -1192,7 +1193,7 @@ AC_DEFUN([ACX_CFLAGS_STRIP],
|
||||||
[
|
[
|
||||||
if echo $CFLAGS | grep " $1" >/dev/null 2>&1; then
|
if echo $CFLAGS | grep " $1" >/dev/null 2>&1; then
|
||||||
CFLAGS="`echo $CFLAGS | sed -e 's/ $1//g'`"
|
CFLAGS="`echo $CFLAGS | sed -e 's/ $1//g'`"
|
||||||
AC_DEFINE(AS_TR_CPP(OMITTED_$1), 1, Put $1 define in config.h)
|
AC_DEFINE(m4_bpatsubst(OMITTED_$1,[[-=]],_), 1, Put $1 define in config.h)
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
@ -1223,7 +1224,7 @@ AC_DEFUN([AHX_CONFIG_FLAG_OMITTED],
|
||||||
dnl Wrapper for AHX_CONFIG_FLAG_OMITTED for -D style flags
|
dnl Wrapper for AHX_CONFIG_FLAG_OMITTED for -D style flags
|
||||||
dnl $1: the -DNAME or -DNAME=value string.
|
dnl $1: the -DNAME or -DNAME=value string.
|
||||||
AC_DEFUN([AHX_CONFIG_FLAG_EXT],
|
AC_DEFUN([AHX_CONFIG_FLAG_EXT],
|
||||||
[AHX_CONFIG_FLAG_OMITTED(AS_TR_CPP(OMITTED_$1),m4_bpatsubst(m4_bpatsubst($1,-D,),=.*$,),m4_if(m4_bregexp($1,=),-1,1,m4_bpatsubst($1,^.*=,)))
|
[AHX_CONFIG_FLAG_OMITTED(m4_bpatsubst(OMITTED_$1,[[-=]],_),m4_bpatsubst(m4_bpatsubst($1,-D,),=.*$,),m4_if(m4_bregexp($1,=),-1,1,m4_bpatsubst($1,^.*=,)))
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl config.h part to define omitted cflags, use with ACX_STRIP_EXT_FLAGS.
|
dnl config.h part to define omitted cflags, use with ACX_STRIP_EXT_FLAGS.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
16 August 2010: Wouter
|
||||||
|
- Fix acx_nlnetlabs.m4 configure output for autoconf-2.66 AS_TR_CPP
|
||||||
|
changes, uses m4_bpatsubst now.
|
||||||
|
|
||||||
13 August 2010: Wouter
|
13 August 2010: Wouter
|
||||||
- More pleasant remote control command parsing.
|
- More pleasant remote control command parsing.
|
||||||
- documentation added for return values reported by doxygen 1.7.1.
|
- documentation added for return values reported by doxygen 1.7.1.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue