X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=acinclude.m4;h=aefb543897dd3af9223a468118984aa57e810ada;hp=867740385b38ec03fa3402becf7dacdc5e5cca16;hb=HEAD;hpb=47bcf8ba77fa8011f9be728c23dbe6915d70251b diff --git a/acinclude.m4 b/acinclude.m4 index 8677403..aefb543 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -40,7 +40,7 @@ dnl If apr_found is "yes" or "reconfig", then the caller should use the dnl value of apr_config to fetch any necessary build/link information. dnl -AC_DEFUN(APR_FIND_APR, [ +AC_DEFUN([APR_FIND_APR], [ apr_found="no" if test "$ac_cv_emxos2" = "yes"; then @@ -65,6 +65,12 @@ AC_DEFUN(APR_FIND_APR, [ elif $TEST_X "$withval/apr-config"; then apr_found="yes" apr_config="$withval/apr-config" + elif $TEST_X "$withval/bin/apr-1-config"; then + apr_found="yes" + apr_config="$withval/bin/apr-1-config" + elif $TEST_X "$withval/apr-1-config"; then + apr_found="yes" + apr_config="$withval/apr-1-config" elif $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then apr_found="yes" apr_config="$withval"