From e03ad3c4eeece8fab7620059f5da4418ff7822df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 31 Aug 2004 16:24:55 +0000 Subject: [PATCH] no "if [];" but "if test;"! --- configure.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index f88630e..da50833 100644 --- a/configure.in +++ b/configure.in @@ -9,6 +9,9 @@ ## @license LGPL, see file COPYING ## ## $Log$ +## Revision 1.8 2004/08/31 16:24:55 marc +## no "if [];" but "if test;"! +## ## Revision 1.7 2004/08/31 16:01:10 marc ## no -lbfd for --disable-stacktrace ## @@ -82,7 +85,7 @@ AC_ARG_ENABLE(stacktrace, you still want to use the other parts], [have_stacktrace="$enableval"], [have_stacktrace="yes"]) AM_CONDITIONAL(HAVE_STACKTRACE, test "$have_stacktrace" = "yes") -if [ "$have_stacktrace" = "yes" ]; then +if test "$have_stacktrace" = "yes"; then AC_SEARCH_LIBS(cplus_demangle, iberty, [AC_MSG_RESULT([OK])], [AC_MSG_ERROR([Library iberty is required!])]) AC_SEARCH_LIBS(bfd_arch_list, bfd, [AC_MSG_RESULT([OK])],