From 1d827a9038d0b80475a5e38a6988d4f4f4d3c1ee Mon Sep 17 00:00:00 2001 From: Greg Ungerer Date: Wed, 3 Jan 2007 03:49:47 +0000 Subject: [PATCH] The proper way to do error message output is with AC_MSG_ERROR() ... patch attached. Patch submitted by Mike Frysinger --- configure.in | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/configure.in b/configure.in index 2e2eb7a..73443c6 100644 --- a/configure.in +++ b/configure.in @@ -81,29 +81,29 @@ fi binutils_ldscript_dir="$ac_binutils_ldscript_dir" if test "$ac_libbfd" = "NONE" -o "$ac_libiberty" = "NONE" ; then - echo - echo "You need to specify the location of the libfd.a and libiberty.a" - echo "host libraries from the binutils package." - echo - echo "Run configure again specifying these options:" - echo - echo " ./configure --target= --with-bfd-include-dir= --with-libbfd= --with-libiberty=" - echo - exit 1 + AC_MSG_ERROR([ + +You need to specify the location of the libfd.a and libiberty.a +host libraries from the binutils package. + +Run configure again specifying these options: + + ./configure --target= --with-bfd-include-dir= --with-libbfd= --with-libiberty= +]) fi if test "$ac_bfd_include_dir" = "NONE" ; then - echo - echo "You need to specify the location of the bfd.h header from a" - echo "configured/compiled version of the binutils package for your target." - echo "Without this your elf2flt may crash as it will try to use the" - echo "systems bfd.h which may be from a different binutils package." - echo - echo "Run configure again specifying these options:" - echo - echo " ./configure --target= --with-bfd-include-dir= --with-libbfd= --with-libiberty=" - echo - exit 1 + AC_MSG_ERROR([ + +You need to specify the location of the bfd.h header from a +configured/compiled version of the binutils package for your target. +Without this your elf2flt may crash as it will try to use the +systems bfd.h which may be from a different binutils package. + +Run configure again specifying these options: + + ./configure --target= --with-bfd-include-dir= --with-libbfd= --with-libiberty= +]) fi dnl Checks for header files. -- 2.39.5