summaryrefslogtreecommitdiff
path: root/ext/ldap/config.m4
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-05-12 18:43:03 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-05-12 18:43:03 +0200
commit75fb74860da7decd94432a4d211795310308a4a8 (patch)
treea4a7a4755150cf43bca6c4f7d075ce67e1c4ade2 /ext/ldap/config.m4
parente96c776bd5d03d3042e9b1c91d395ebf81741540 (diff)
downloadphp-git-75fb74860da7decd94432a4d211795310308a4a8.tar.gz
Normalize comments in *nix build system m4 files
Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now
Diffstat (limited to 'ext/ldap/config.m4')
-rw-r--r--ext/ldap/config.m418
1 files changed, 6 insertions, 12 deletions
diff --git a/ext/ldap/config.m4 b/ext/ldap/config.m4
index 7653bf9344..1812cb0e0b 100644
--- a/ext/ldap/config.m4
+++ b/ext/ldap/config.m4
@@ -1,5 +1,3 @@
-dnl config.m4 for extension ldap
-
AC_DEFUN([PHP_LDAP_CHECKS], [
if test -f $1/include/ldap.h; then
LDAP_DIR=$1
@@ -15,7 +13,8 @@ AC_DEFUN([PHP_LDAP_CHECKS], [
LDAP_LIBDIR=$1/$PHP_LIBDIR
else
- dnl Find Oracle Instant Client RPM header location corresponding to the given lib path e.g. for --with-ldap=/usr/lib/oracle/12.1/client64/lib
+ dnl Find Oracle Instant Client RPM header location corresponding to the
+ dnl given lib path e.g. for --with-ldap=/usr/lib/oracle/12.1/client64/lib
AC_CHECK_SIZEOF([long])
AC_MSG_CHECKING([if we're at 64-bit platform])
AS_IF([test "$ac_cv_sizeof_long" -eq 4],[
@@ -114,9 +113,8 @@ if test "$PHP_LDAP" != "no"; then
AC_MSG_ERROR(Cannot find ldap.h)
fi
- dnl The Linux version of the SDK need -lpthread
- dnl I have tested Solaris, and it doesn't, but others may. Add
- dnl these here if necessary. -RL
+ dnl The Linux version of the SDK needs -lpthread. Solaris tested, and it
+ dnl doesn't, but others may. Add these here if necessary. -RL
dnl Is this really necessary? -Troels Arvin
if test `uname` = "Linux"; then
@@ -212,20 +210,16 @@ if test "$PHP_LDAP" != "no"; then
AC_DEFINE(HAVE_3ARG_SETREBINDPROC,1,[Whether 3 arg set_rebind_proc()])
fi
- dnl Solaris 2.8 claims to be 2004 API, but doesn't have
- dnl ldap_parse_reference() nor ldap_start_tls_s()
+ dnl Solaris 2.8 claims to be 2004 API, but doesn't have ldap_parse_reference()
+ dnl nor ldap_start_tls_s()
AC_CHECK_FUNCS([ldap_parse_result ldap_parse_reference ldap_start_tls_s ldap_control_find ldap_parse_extended_result ldap_extended_operation ldap_extended_operation_s ldap_passwd ldap_whoami_s ldap_refresh_s])
- dnl
dnl SASL check
- dnl
if test "$PHP_LDAP_SASL" != "no"; then
PHP_LDAP_SASL_CHECKS([$PHP_LDAP_SASL])
fi
- dnl
dnl Sanity check
- dnl
AC_CHECK_FUNC(ldap_bind_s, [], [
AC_MSG_ERROR([LDAP build check failed. Please check config.log for more information.])
])