no "if [];" but "if test;"!

master
Marc Wäckerlin 20 years ago
parent ac592c4152
commit e03ad3c4ee
  1. 5
      configure.in

@ -9,6 +9,9 @@
## @license LGPL, see file <a href="license.html">COPYING</a> ## @license LGPL, see file <a href="license.html">COPYING</a>
## ##
## $Log$ ## $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 ## Revision 1.7 2004/08/31 16:01:10 marc
## no -lbfd for --disable-stacktrace ## no -lbfd for --disable-stacktrace
## ##
@ -82,7 +85,7 @@ AC_ARG_ENABLE(stacktrace,
you still want to use the other parts], you still want to use the other parts],
[have_stacktrace="$enableval"], [have_stacktrace="yes"]) [have_stacktrace="$enableval"], [have_stacktrace="yes"])
AM_CONDITIONAL(HAVE_STACKTRACE, test "$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_SEARCH_LIBS(cplus_demangle, iberty, [AC_MSG_RESULT([OK])],
[AC_MSG_ERROR([Library iberty is required!])]) [AC_MSG_ERROR([Library iberty is required!])])
AC_SEARCH_LIBS(bfd_arch_list, bfd, [AC_MSG_RESULT([OK])], AC_SEARCH_LIBS(bfd_arch_list, bfd, [AC_MSG_RESULT([OK])],

Loading…
Cancel
Save