Rough fix for new libiberty include dir
This commit is contained in:
parent
d5f348af44
commit
7b880f0a96
@ -1,7 +1,7 @@
|
|||||||
dnl QiLinux RPM tool for the distribution
|
dnl A tool for maintaining an RPM based distribution
|
||||||
dnl
|
dnl
|
||||||
dnl Copyright 2006 (C) Davide Madrisan <davide.madrisan@gmail.com>
|
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
|
||||||
dnl This program is free software; you can redistribute it and/or modify it under
|
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
|
dnl the terms of version 2 of the GNU General Public License as published by the
|
||||||
@ -210,7 +210,7 @@ fi
|
|||||||
LIBS="$LIBS $RPMLIBS"
|
LIBS="$LIBS $RPMLIBS"
|
||||||
|
|
||||||
dnl Check for libiberty' library and header files
|
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,]
|
[AC_MSG_ERROR([Can't find libiberty.h in your system,]
|
||||||
[check http://www.gnu.org/software/binutils/binutils.html for libiberty])])
|
[check http://www.gnu.org/software/binutils/binutils.html for libiberty])])
|
||||||
AC_CHECK_LIB(iberty, freeargv,
|
AC_CHECK_LIB(iberty, freeargv,
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#include <libiberty.h>
|
#include <libiberty/libiberty.h>
|
||||||
#include "functions.h"
|
#include "functions.h"
|
||||||
|
|
||||||
#ifndef RPMFUNCTIONS_H
|
#ifndef RPMFUNCTIONS_H
|
||||||
|
Loading…
Reference in New Issue
Block a user