libfdt_env.h is missing in some stable installs (<1.3.0-3), some released linux distributions(e.g. Ubuntu 12.04) depending on it still complain missing libfdt even if already installed. So give more detailed hint for such OS users.
Signed-off-by: Liu Li <john.li...@huawei.com> --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 69b9f56..8eb0b90 100755 --- a/configure +++ b/configure @@ -2948,8 +2948,9 @@ EOF fdt_libs="-L\$(BUILD_DIR)/dtc/libfdt $fdt_libs" elif test "$fdt" = "yes" ; then # have neither and want - prompt for system/submodule install - error_exit "DTC (libfdt) not present. Your options:" \ - " (1) Preferred: Install the DTC (libfdt) devel package" \ + error_exit "DTC (libfdt) not present or too old. Your options:" \ + " (1) Preferred: Install or update the DTC (libfdt)" \ + " devel package" \ " (2) Fetch the DTC submodule, using:" \ " git submodule update --init dtc" else -- 1.7.9.5