From 05e2aeffcbccacbd5160d74f6e85856756a69620 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 16 Sep 2008 08:13:40 +0000 Subject: [PATCH] Use $ac_cpp instead of $CPP, like the rest of autoconf does --- build/openldap.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/openldap.m4 b/build/openldap.m4 index 1f3cead936..e4ded7a9c5 100644 --- a/build/openldap.m4 +++ b/build/openldap.m4 @@ -319,7 +319,7 @@ AC_DEFUN([OL_BDB_HEADER_VERSION], #endif __db_version DB_VERSION_MAJOR ]) - ol_cv_bdb_major=`$CPP conftest.$ac_ext | $EGREP __db_version | $SED 's/__db_version //'` + ol_cv_bdb_major=`eval "$ac_cpp conftest.$ac_ext" | $EGREP __db_version | $SED 's/__db_version //'` fi if test $ol_cv_bdb_major = 0 ; then @@ -338,7 +338,7 @@ AC_CACHE_CHECK([for Berkeley DB minor version in db.h], [ol_cv_bdb_minor],[ #endif __db_version DB_VERSION_MINOR ]) - ol_cv_bdb_minor=`$CPP conftest.$ac_ext | $EGREP __db_version | $SED 's/__db_version //'` + ol_cv_bdb_minor=`eval "$ac_cpp conftest.$ac_ext" | $EGREP __db_version | $SED 's/__db_version //'` fi ]) ]) -- 2.39.5