summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-09-29 15:17:02 +0000
committerStig Bakken <ssb@php.net>1999-09-29 15:17:02 +0000
commit1cb0d88186a885f555393e258849562e24156f57 (patch)
treed73a02da5a9134191e39048bd10fd5eb45b274b2 /scripts
parentdb4820447fae020625e210e42569671d0c865c5f (diff)
downloadphp-git-1cb0d88186a885f555393e258849562e24156f57.tar.gz
Decent configure speedup. Makefiles are now generated only for the
extensions you are including. Got rid of configure.in.in. Moved the last Apache-specific files into sapi/apache and made both static and DSO build work again (it still doesn't run properly).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/preconfig15
1 files changed, 2 insertions, 13 deletions
diff --git a/scripts/preconfig b/scripts/preconfig
index 4813fb2687..95068a03c8 100755
--- a/scripts/preconfig
+++ b/scripts/preconfig
@@ -5,22 +5,11 @@
disclaimer="Do NOT edit - this file is generated by preconfig"
# security check - simply overwriting existing files could be harmful
-if test -w configure.in.new || test -w acconfig.h.new ; then
- echo "Please remove the *.new files and rerun this command"
+if test -w acconfig.h.new ; then
+ echo "Please remove acconfig.h.new and rerun this command"
exit 1
fi
-makefileams=`find ext sapi -name Makefile.am -print | sort`
-makefiles=`echo $makefileams | sed -e 's/\.am//g'`
-echo "dnl $disclaimer" > configure.in.new
-sed -e "s#@@EXT_MAKEFILES@@#$makefiles#" configure.in.in >> configure.in.new
-cmp configure.in configure.in.new > /dev/null 2>&1
-if test $? -ne 0 ; then
- mv configure.in.new configure.in
-else
- rm -f configure.in.new
-fi
-
echo "/* $disclaimer */" > acconfig.h.new
cat acconfig.h.in >> acconfig.h.new
confighfiles=`echo ext/*/config.h.stub`