diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-05-12 18:43:03 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-05-12 18:43:03 +0200 |
commit | 75fb74860da7decd94432a4d211795310308a4a8 (patch) | |
tree | a4a7a4755150cf43bca6c4f7d075ce67e1c4ade2 /ext/pdo_oci | |
parent | e96c776bd5d03d3042e9b1c91d395ebf81741540 (diff) | |
download | php-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/pdo_oci')
-rw-r--r-- | ext/pdo_oci/config.m4 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ext/pdo_oci/config.m4 b/ext/pdo_oci/config.m4 index c692483394..744a26c788 100644 --- a/ext/pdo_oci/config.m4 +++ b/ext/pdo_oci/config.m4 @@ -1,5 +1,3 @@ -dnl config.m4 for extension pdo_oci - if test -z "$SED"; then PHP_PDO_OCI_SED="sed"; else @@ -16,12 +14,15 @@ fi AC_DEFUN([AC_PDO_OCI_VERSION],[ AC_MSG_CHECKING([Oracle version]) PDO_OCI_LCS_BASE=$PDO_OCI_LIB_DIR/libclntsh.$SHLIB_SUFFIX_NAME - PDO_OCI_LCS=`ls $PDO_OCI_LCS_BASE.*.1 2> /dev/null | $PHP_PDO_OCI_TAIL1` # Oracle 10g, 11g, 12c etc + dnl Oracle 10g, 11g, 12c etc + PDO_OCI_LCS=`ls $PDO_OCI_LCS_BASE.*.1 2> /dev/null | $PHP_PDO_OCI_TAIL1` if test -f "$PDO_OCI_LCS"; then - dnl Oracle 10g, 11g 12c etc. The x.2 version libraries are named x.1 for drop in compatibility + dnl Oracle 10g, 11g 12c etc. The x.2 version libraries are named x.1 for + dnl drop in compatibility PDO_OCI_VERSION=`echo $PDO_OCI_LCS | $PHP_PDO_OCI_SED -e 's/.*\.\(.*\)\.1$/\1.1/'` elif test -f $PDO_OCI_LCS_BASE.9.0; then - dnl There is no case for Oracle 9.2. Oracle 9.2 libraries have a 9.0 suffix for drop-in compatibility with Oracle 9.0 + dnl There is no case for Oracle 9.2. Oracle 9.2 libraries have a 9.0 suffix + dnl for drop-in compatibility with Oracle 9.0 PDO_OCI_VERSION=9.0 else AC_MSG_ERROR(Oracle libclntsh.$SHLIB_SUFFIX_NAME client library not found or its version is lower than 9) |