summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-11-29 13:33:34 +0000
committerfoobar <sniper@php.net>2003-11-29 13:33:34 +0000
commitf7830195c02682482e8e644ad10fd96de0d654ae (patch)
tree9f4645aa896ab377386061e477f99a0091c5a158
parentdf63bcddda8849c2ec99e0af2901b4bccd075f2a (diff)
downloadphp-git-f7830195c02682482e8e644ad10fd96de0d654ae.tar.gz
- Fixed bug #26462 (phpize + ext/bcmath -> compile error)
-rw-r--r--configure.in7
-rw-r--r--ext/bcmath/libbcmath/src/bcmath.h3
2 files changed, 1 insertions, 9 deletions
diff --git a/configure.in b/configure.in
index 6a627b6646..9a6791a27d 100644
--- a/configure.in
+++ b/configure.in
@@ -1223,13 +1223,6 @@ if test "\$CONFIG_FILES" = "$ALL_OUTPUT_FILES" || test "\$CONFIG_FILES" = " $ALL
REDO_ALL=yes
fi
-if test ! -f $srcdir/ext/bcmath/number.c; then
- echo "creating number.c"
- echo "/* Dummy File */" > $srcdir/ext/bcmath/number.c
- echo "creating number.h"
- echo "/* Dummy File */" > $srcdir/ext/bcmath/number.h
-fi
-
################################################################
# Create configuration headers
#
diff --git a/ext/bcmath/libbcmath/src/bcmath.h b/ext/bcmath/libbcmath/src/bcmath.h
index 1914d0bcdf..7612eabf5d 100644
--- a/ext/bcmath/libbcmath/src/bcmath.h
+++ b/ext/bcmath/libbcmath/src/bcmath.h
@@ -53,8 +53,7 @@ typedef struct bc_struct
} bc_struct;
#include "php.h"
-#include "ext/bcmath/php_bcmath.h"
-
+#include "../../php_bcmath.h"
/* The base used in storing the numbers in n_value above.
Currently this MUST be 10. */