no "if [];" but "if test;"!
This commit is contained 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])],
|
||||||
|
Reference in New Issue
Block a user