From 80745b963d0b8ce06f223204b076ef26f97fcc64 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Aug 19 2013 23:14:21 +0000 Subject: Ticket #47465 problem with 389-adminutil detection in m4/adminutil.m4 in 389-admin and 389-dsgw https://fedorahosted.org/389/ticket/47465 Reviewed by: nhosoi (Thanks!) Branch: master Fix Description: Do not need to check for defined adminutil_lib and adminutil_inc - pkg-config will fail if they cannot be determined. Platforms tested: RHEL6 x86_64, Fedora 20 Flag Day: no Doc impact: no --- diff --git a/configure b/configure index eae3cfb..7f48df6 100755 --- a/configure +++ b/configure @@ -18103,10 +18103,6 @@ fi fi fi -if test -z "$adminutil_inc" -o -z "$adminutil_lib"; then - as_fn_error $? "ADMINUTIL not found, specify with --with-adminutil." "$LINENO" 5 -fi - if test "$with_openldap" = "yes"; then OPENLDAP_TRUE= diff --git a/m4/adminutil.m4 b/m4/adminutil.m4 index 1d5900b..c5d4893 100644 --- a/m4/adminutil.m4 +++ b/m4/adminutil.m4 @@ -62,7 +62,3 @@ if test -z "$adminutil_inc" -o -z "$adminutil_lib"; then fi fi fi - -if test -z "$adminutil_inc" -o -z "$adminutil_lib"; then - AC_MSG_ERROR([ADMINUTIL not found, specify with --with-adminutil.]) -fi