diff options
author | Jim Meyering <meyering@redhat.com> | 2009-12-03 11:45:05 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-12-08 20:54:52 +0100 |
commit | 35a55cdc264acef3cce914af041f4badecacd203 (patch) | |
tree | 0c3f23333a06cf9da63facc093e49ed6b82935d6 /.gitignore | |
parent | 77d7d334ab4574d3f860d3f84c5be649b320ae1c (diff) | |
download | parted-35a55cdc264acef3cce914af041f4badecacd203.tar.gz |
libparted: use gperf-generated lookup function
* libparted/labels/pt-tools.c (ptt_partition_max_start_len):
Rewrite to use the gperf-generated look-up function.
(ptt_partition_max_start_sector): New function.
(ptt_partition_max_length): New function.
* libparted/labels/pt-tools.h: Declare them.
* libparted/labels/Makefile.am (GPERF, GPERF_OPTIONS): Define.
(BUILT_SOURCES): Define.
(liblabels_la_SOURCES): Append pt-limit.gperf.
(pt-limit.c): New rule.
(MAINTAINERCLEANFILES): Remove useless definition.
(DISTCLEANFILES): Set to $(BUILT_SOURCES).
* libparted/labels/pt-limit.gperf: New file.
* cfg.mk (bootstrap-tools): Mention gperf.
* bootstrap.conf (buildreq): Require gperf-3.0.3.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -48,5 +48,6 @@ partprobe/partprobe po/.reference stamp-h1 tests/init.sh +tests/print-align tests/t*.sh.log tests/test-suite.log |