]> git.wh0rd.org - patches.git/blob - elf2flt-use-AC_MSG_ERROR.patch
initial import
[patches.git] / elf2flt-use-AC_MSG_ERROR.patch
1 Index: configure.in
2 ===================================================================
3 RCS file: /var/cvs/elf2flt/configure.in,v
4 retrieving revision 1.9
5 diff -u -p -r1.9 configure.in
6 --- configure.in 10 Jul 2006 22:23:46 -0000 1.9
7 +++ configure.in 30 Dec 2006 03:27:45 -0000
8 @@ -81,29 +81,29 @@ fi
9 binutils_ldscript_dir="$ac_binutils_ldscript_dir"
10
11 if test "$ac_libbfd" = "NONE" -o "$ac_libiberty" = "NONE" ; then
12 - echo
13 - echo "You need to specify the location of the libfd.a and libiberty.a"
14 - echo "host libraries from the binutils package."
15 - echo
16 - echo "Run configure again specifying these options:"
17 - echo
18 - echo " ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>"
19 - echo
20 - exit 1
21 + AC_MSG_ERROR([
22 +
23 +You need to specify the location of the libfd.a and libiberty.a
24 +host libraries from the binutils package.
25 +
26 +Run configure again specifying these options:
27 +
28 + ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
29 +])
30 fi
31
32 if test "$ac_bfd_include_dir" = "NONE" ; then
33 - echo
34 - echo "You need to specify the location of the bfd.h header from a"
35 - echo "configured/compiled version of the binutils package for your target."
36 - echo "Without this your elf2flt may crash as it will try to use the"
37 - echo "systems bfd.h which may be from a different binutils package."
38 - echo
39 - echo "Run configure again specifying these options:"
40 - echo
41 - echo " ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>"
42 - echo
43 - exit 1
44 + AC_MSG_ERROR([
45 +
46 +You need to specify the location of the bfd.h header from a
47 +configured/compiled version of the binutils package for your target.
48 +Without this your elf2flt may crash as it will try to use the
49 +systems bfd.h which may be from a different binutils package.
50 +
51 +Run configure again specifying these options:
52 +
53 + ./configure --target=<ARCH> --with-bfd-include-dir=<dir> --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>
54 +])
55 fi
56
57 dnl Checks for header files.