From: Ben Pfaff Date: Mon, 22 Feb 2016 17:58:54 +0000 (-0800) Subject: m4: Rename compat.at to compat.m4. X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=12878bc422712ec2bc602819641d4da2555c37c3 m4: Rename compat.at to compat.m4. This is used by both Autoconf and Autotest, so it doesn't make sense for it to have a .at (Autotest) extension. Signed-off-by: Ben Pfaff --- diff --git a/m4/compat.at b/m4/compat.at deleted file mode 100644 index 78da7a97e..000000000 --- a/m4/compat.at +++ /dev/null @@ -1,17 +0,0 @@ -# -*- autoconf -*- - -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -m4_ifndef([AS_VAR_COPY], - [m4_define([AS_VAR_COPY], - [AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])])]) diff --git a/m4/compat.m4 b/m4/compat.m4 new file mode 100644 index 000000000..78da7a97e --- /dev/null +++ b/m4/compat.m4 @@ -0,0 +1,17 @@ +# -*- autoconf -*- + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +m4_ifndef([AS_VAR_COPY], + [m4_define([AS_VAR_COPY], + [AS_LITERAL_IF([$1[]$2], [$1=$$2], [eval $1=\$$2])])]) diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index b89925021..a44822319 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -1,6 +1,6 @@ # -*- autoconf -*- -# Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Nicira, Inc. +# Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Nicira, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -m4_include([m4/compat.at]) +m4_include([m4/compat.m4]) dnl Checks for --enable-coverage and updates CFLAGS and LDFLAGS appropriately. AC_DEFUN([OVS_CHECK_COVERAGE], diff --git a/tests/ovs-macros.at b/tests/ovs-macros.at index f09af4ece..f2923b0f8 100644 --- a/tests/ovs-macros.at +++ b/tests/ovs-macros.at @@ -2,7 +2,7 @@ AT_TESTED([ovs-vswitchd]) AT_TESTED([ovs-vsctl]) AT_TESTED([perl]) -m4_include([m4/compat.at]) +m4_include([m4/compat.m4]) dnl Make AT_SETUP automatically run the ovs_init() shell function dnl as the first step in every test.