diff --git a/configure.ac b/configure.ac index 48a8918..4436516 100644 --- a/configure.ac +++ b/configure.ac @@ -212,7 +212,7 @@ AC_CHECK_HEADERS([libiberty.h], [], [AC_MSG_ERROR([Can't find libiberty.h in your system,] [check http://www.gnu.org/software/binutils/binutils.html for libiberty])]) AC_CHECK_LIB(iberty, freeargv, - [LIBS="$LIBS -liberty /usr/lib/libiberty.a" + [LIBS="$LIBS -liberty" AC_DEFINE(HAVE_LIBIBERTY,1, [Define to 1 if you have the `libiberty' library (-liberty).])], [AC_MSG_ERROR([Can't find libiberty in your system,]