Skip to content

Commit c15af25

Browse files
author
foobar
committed
Check for PHP_SIGCHILD only if any of oracle libs is enabled.
1 parent b3a855d commit c15af25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ X
10181018
fi
10191019
10201020
# Warn about linking Apache with libpthread if oci8 extension is enabled on linux.
1021-
if test "$PHP_OCI8" != "no"; then
1021+
if test "$PHP_OCI8" != "no" -o "$PHP_ORACLE" != "no"; then
10221022
if test "$PHP_SAPI" = "apache"; then
10231023
if test `uname` = "Linux"; then
10241024
cat <<X
@@ -1031,16 +1031,16 @@ cat <<X
10311031
X
10321032
fi
10331033
fi
1034-
fi
10351034
1036-
if test "$PHP_SIGCHILD" != "yes"; then
1035+
if test "$PHP_SIGCHILD" != "yes"; then
10371036
cat <<X
10381037
+--------------------------------------------------------------------+
10391038
| Notice: |
10401039
| If you encounter <defunc> processes when using a local Oracle-DB |
10411040
| please recompile PHP and specify --enable-sigchild when configuring|
10421041
| (This problem has been reported un Linux using Oracle >= 8.1.5) |
10431042
X
1043+
fi
10441044
fi
10451045
10461046
cat<<X

0 commit comments

Comments
 (0)