The first problem appears (in other words, I really don't know :-^) to be at line 3353. 3353 and 3354 are below.
PHP_GTK_ARG_ENABLE(debug, whether to include debugging symbols, --enable-debug Compile with debugging symbols., no)
I commented both of them out and the script continued past without any complaint. However, I later see this...
checking for working mkdir -p... yes mkdir: too few arguments Try `mkdir --help' for more information.
It seems the script isn't passing something too the mkdir command, however, I'm at a loss to see what it is. Anybody have any knowledge of
this problem?
Cheers, BDKR