diff --git a/configure b/configure
index 99a5be2f5990f4c24209e88e29e8c0a364b271d1..26cd7ea73ab355e4e6964996f1570e4b9f57651b 100755
--- a/configure
+++ b/configure
@@ -54,6 +54,8 @@ if test "$E1" != 0 || test "$E2" = 0; then
     exit 1
 fi
 
+test -d /usr/xpg4/bin && PATH=/usr/xpg4/bin:$PATH
+
 show_help(){
     cat <<EOF
 Usage: configure [options]