Rough fix for new libiberty include dir

This commit is contained in:
Silvan Calarco 2014-05-26 21:16:48 +02:00
parent d5f348af44
commit 7b880f0a96
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
dnl QiLinux RPM tool for the distribution
dnl A tool for maintaining an RPM based distribution
dnl
dnl Copyright 2006 (C) Davide Madrisan <davide.madrisan@gmail.com>
dnl Copyright 2007 (C) Silvan Calarco <silvan.calarco@mambasoft.it>
dnl Copyright 2007-2014 (C) Silvan Calarco <silvan.calarco@mambasoft.it>
dnl
dnl This program is free software; you can redistribute it and/or modify it under
dnl the terms of version 2 of the GNU General Public License as published by the
@ -210,7 +210,7 @@ fi
LIBS="$LIBS $RPMLIBS"
dnl Check for libiberty' library and header files
AC_CHECK_HEADERS([libiberty.h], [],
AC_CHECK_HEADERS([libiberty/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,

View File

@ -51,7 +51,7 @@
#endif
#include <zlib.h>
#include <libiberty.h>
#include <libiberty/libiberty.h>
#include "functions.h"
#ifndef RPMFUNCTIONS_H