nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 # fixautomake.m4 serial 8 (gettext-0.18)
2 dnl Copyright (C) 2002-2003, 2006, 2009, 2015-2016 Free Software Foundation,
3 dnl Inc.
4 dnl This file is free software, distributed under the terms of the GNU
5 dnl General Public License. As a special exception to the GNU General
6 dnl Public License, this file may be distributed as part of a program
7 dnl that contains a configuration script generated by Autoconf, under
8 dnl the same distribution terms as the rest of that program.
9  
10 dnl From Bruno Haible
11  
12 dnl Fix an automake-1.5-1.11 bug: the distrib rule is omitted.
13 AC_DEFUN([FIX_MAKEFILE_DISTRIB], [
14 sed -e 's,^#distdir:,distdir:,' < $ac_file > $ac_file.tmp
15 mv $ac_file.tmp $ac_file
16 ])
17  
18 dnl Fix an automake-1.9-1.11 bug: the distrib rule is not extensible.
19 dnl Insert a invocation of the distdir1 target inside the distdir commands,
20 dnl after $(distdir) has been erased and re-created.
21 AC_DEFUN([FIX_MAKEFILE_TOPDIR_DISTRIB], [
22 sed_script='/mkdir "*\$(distdir)"*$/{a\
23 \ $(MAKE) distdir1
24 }'
25 sed -e "$sed_script" < $ac_file > $ac_file.tmp
26 mv $ac_file.tmp $ac_file
27 ])