Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh-3.0.5 on MachTen 4.1.1 - this worked



Setup: Power Mac G3 [512Mb RAM] with System 8.1 [HFS+] with MachTen 4.1.1

Problem: compiling zsh-3.0.5

Thanks to Sean Ahern [ahern@xxxxxxxxxxxxxxx], this worked...

#############################################################################
Ediff configure.orig configure:

-------- 35 lines deleted at 2337:
echo $ac_n "checking if tgetent accepts NULL""... $ac_c" 1>&6
echo "configure:2339: checking if tgetent accepts NULL" >&5
if eval "test \"`echo '$''{'zsh_cv_func_tgetent_accepts_null'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else
  if test "$cross_compiling" = yes; then
  zsh_cv_func_tgetent_accepts_null=no
else
  cat > conftest.$ac_ext <<EOF
#line 2347 "configure"
#include "confdefs.h"
main(){int i = tgetent((char*)0,"vt100");exit(!i || i == -1);}
EOF
if { (eval echo configure:2351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
  zsh_cv_func_tgetent_accepts_null=yes
else
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  zsh_cv_func_tgetent_accepts_null=no
fi
rm -fr conftest*
fi

fi

echo "$ac_t""$zsh_cv_func_tgetent_accepts_null" 1>&6
if test $zsh_cv_func_tgetent_accepts_null = yes; then
  cat >> confdefs.h <<\EOF
#define TGETENT_ACCEPTS_NULL 1
EOF

fi



Messages sorted by: Reverse Date, Date, Thread, Author