--- old/configure	2008-05-22 18:03:26.027060000 +0400
+++ new/configure	2008-05-22 18:03:51.727000000 +0400
@@ -434,9 +434,7 @@
 test -f .makeconfig && rm .makeconfig
 test -f .tmakeconfig && rm .tmakeconfig
 
-if test -z $PWD; then
-  PWD=`pwd`
-fi
+PWD=`pwd`
 
 cat > .makeconfig <<EOF
 DOXYGEN   = $PWD
