diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-03-28 13:46:26 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-05-03 15:06:25 +0000 |
commit | bc44466ccd2045eea2352f0569399fb0515b46ba (patch) | |
tree | f4b8d05a882d27ceb927aa59419d9f858ef11113 /libgnu | |
parent | fdc98439e9c4a662c8c3248a823dca0cd486f6fc (diff) |
Wrap fts_.h in fts.h
Change-Id: I87cc19052ded7b9ec1a3347faa05709318cc9a74
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'libgnu')
-rw-r--r-- | libgnu/Makefile.am | 9 | ||||
-rw-r--r-- | libgnu/fts.in.h | 34 |
2 files changed, 42 insertions, 1 deletions
diff --git a/libgnu/Makefile.am b/libgnu/Makefile.am index 301744c6..1c8e6b8f 100644 --- a/libgnu/Makefile.am +++ b/libgnu/Makefile.am @@ -36,7 +36,7 @@ MOSTLYCLEANFILES = MOSTLYCLEANDIRS = BUILT_SOURCES = EXTRA_DIST = endian.in.h byteswap.in.h sys_mman.win32.h mman_win32.c sysconf_win32.c ar.in.h features.in.h \ - stdio_ext.in.h + stdio_ext.in.h fts.in.h CLEANFILES = SUFFIXES = @@ -68,6 +68,13 @@ BUILT_SOURCES += features.h MOSTLYCLEANFILES += features.h endif +if !HAVE_FTS_H +fts.h: fts.in.h + $(AM_V_GEN)rm -f $@ && cat $< > $@ +BUILT_SOURCES += fts.h +MOSTLYCLEANFILES += fts.h +endif + if !HAVE_SYS_MMAN_H if USE_WIN32_MMAN sys/mman.h: sys_mman.win32.h diff --git a/libgnu/fts.in.h b/libgnu/fts.in.h new file mode 100644 index 00000000..2fc57d1f --- /dev/null +++ b/libgnu/fts.in.h @@ -0,0 +1,34 @@ +/* Wrap fts_.h under real name + Copyright (C) 2017 The Qt Company Ltd + This file is part of elfutils. + + This file is free software; you can redistribute it and/or modify + it under the terms of either + + * the GNU Lesser General Public License as published by the Free + Software Foundation; either version 3 of the License, or (at + your option) any later version + + or + + * the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at + your option) any later version + + or both in parallel, as here. + + elfutils is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received copies of the GNU General Public License and + the GNU Lesser General Public License along with this program. If + not, see <http://www.gnu.org/licenses/>. */ + +#ifndef _FTS_REAL_H +#define _FTS_REAL_H 1 + +#include "fts_.h" + +#endif /* fts.h */ |