Debian Codegraph @

am/flushleft.m4

raw
1 dnl
2 dnl Copyright (C) 1996-2026 Free Software Foundation, Inc.
3 dnl
4 dnl This file is part of GNU Inetutils.
5 dnl
6 dnl GNU Inetutils is free software: you can redistribute it and/or modify
7 dnl it under the terms of the GNU General Public License as published by
8 dnl the Free Software Foundation, either version 3 of the License, or (at
9 dnl your option) any later version.
10 dnl
11 dnl GNU Inetutils is distributed in the hope that it will be useful, but
12 dnl WITHOUT ANY WARRANTY; without even the implied warranty of
13 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 dnl General Public License for more details.
15 dnl
16 dnl You should have received a copy of the GNU General Public License
17 dnl along with this program. If not, see `http://www.gnu.org/licenses/'.
18
19 dnl Written by Miles Bader.
20
21 dnl IU_FLUSHLEFT -- remove all whitespace at the beginning of lines
22 dnl This is useful for c-code which may include cpp statements
23 dnl
24 AC_DEFUN([IU_FLUSHLEFT],
25 [m4_changequote(`,')dnl
26 m4_bpatsubst(`$1', `^[ ]+')
27 m4_changequote([,])])dnl