|
|
@ -867,7 +867,7 @@ AC_DEFUN([AX_PKG_REQUIRE], [ |
|
|
|
DEV_DIST_PKG= |
|
|
|
DEV_DIST_PKG= |
|
|
|
pkg=m4_default([$2], [$1]) |
|
|
|
pkg=m4_default([$2], [$1]) |
|
|
|
$6 |
|
|
|
$6 |
|
|
|
dep_pkg=${DEV_DEB_DIST_PKG:-${DEV_DIST_PKG:-${pkg}}-dev} |
|
|
|
deb_pkg=${DEV_DEB_DIST_PKG:-${DEV_DIST_PKG:-${pkg}}-dev} |
|
|
|
rpm_pkg=${DEV_RPM_DIST_PKG:-${DEV_DIST_PKG:-${pkg}}-devel} |
|
|
|
rpm_pkg=${DEV_RPM_DIST_PKG:-${DEV_DIST_PKG:-${pkg}}-devel} |
|
|
|
if test -n "$4"; then |
|
|
|
if test -n "$4"; then |
|
|
|
for f in $pkg $4; do |
|
|
|
for f in $pkg $4; do |
|
|
@ -1106,8 +1106,7 @@ AC_DEFUN([AX_DEB_DEPEND], [ |
|
|
|
# - parameter: |
|
|
|
# - parameter: |
|
|
|
# $1 = package name |
|
|
|
# $1 = package name |
|
|
|
AC_DEFUN([AX_DEB_SECTION], [ |
|
|
|
AC_DEFUN([AX_DEB_SECTION], [ |
|
|
|
pkg="$1" |
|
|
|
DEB_SECTION="$1" |
|
|
|
DEB_SECTION="${pkg}" |
|
|
|
|
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
|
# call after setting debian dependencies |
|
|
|
# call after setting debian dependencies |
|
|
@ -1139,19 +1138,17 @@ AC_DEFUN([AX_RPM_DEPEND_IFEXISTS], [ |
|
|
|
# - parameter: |
|
|
|
# - parameter: |
|
|
|
# $1 = package name |
|
|
|
# $1 = package name |
|
|
|
AC_DEFUN([AX_RPM_BUILD_DEPEND], [ |
|
|
|
AC_DEFUN([AX_RPM_BUILD_DEPEND], [ |
|
|
|
pkg="$1" |
|
|
|
RPM_BUILD_DEPEND="${RPM_BUILD_DEPEND}, $1" |
|
|
|
RPM_BUILD_DEPEND="${RPM_BUILD_DEPEND}, ${pkg}" |
|
|
|
|
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
|
# require package in .spec.in append @RPM_DEPEND@ to Depends |
|
|
|
# require package in .spec.in append @RPM_DEPEND@ to Depends |
|
|
|
# - parameter: |
|
|
|
# - parameter: |
|
|
|
# $1 = package name |
|
|
|
# $1 = package name |
|
|
|
AC_DEFUN([AX_RPM_DEPEND], [ |
|
|
|
AC_DEFUN([AX_RPM_DEPEND], [ |
|
|
|
pkg="$1" |
|
|
|
|
|
|
|
if test -z "${RPM_DEPEND}"; then |
|
|
|
if test -z "${RPM_DEPEND}"; then |
|
|
|
RPM_DEPEND="${pkg}" |
|
|
|
RPM_DEPEND="$1" |
|
|
|
else |
|
|
|
else |
|
|
|
RPM_DEPEND="${RPM_DEPEND}, ${pkg}" |
|
|
|
RPM_DEPEND="${RPM_DEPEND}, $1" |
|
|
|
fi |
|
|
|
fi |
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
@ -1159,8 +1156,7 @@ AC_DEFUN([AX_RPM_DEPEND], [ |
|
|
|
# - parameter: |
|
|
|
# - parameter: |
|
|
|
# $1 = package name |
|
|
|
# $1 = package name |
|
|
|
AC_DEFUN([AX_RPM_GROUP], [ |
|
|
|
AC_DEFUN([AX_RPM_GROUP], [ |
|
|
|
pkg="$1" |
|
|
|
RPM_GROUP="$1" |
|
|
|
RPM_GROUP="${pkg}" |
|
|
|
|
|
|
|
]) |
|
|
|
]) |
|
|
|
|
|
|
|
|
|
|
|
# call after setting rpmian dependencies |
|
|
|
# call after setting rpmian dependencies |
|
|
|