--- configure.orig	Tue Oct  3 08:23:12 2006
+++ configure	Tue Oct  3 08:23:12 2006
@@ -26464,7 +26464,7 @@
 
 
 
-for ac_func in cfmakeraw getpgid getpt grantpt unlockpt ptsname ptsname_r
+for ac_func in cfmakeraw getpgid getpt posix_openpt grantpt unlockpt ptsname ptsname_r
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $ac_func" >&5
