mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-03 02:41:24 +08:00
Use $ac_cpp instead of $CPP, like the rest of autoconf does
This commit is contained in:
parent
705d83a545
commit
05e2aeffcb
@ -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
|
||||
])
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user