--- ssh-2.0.10/configure.orig Mon Oct 19 23:19:08 1998 +++ ssh-2.0.10/configure Fri Oct 30 21:05:16 1998 @@ -2339,7 +2339,7 @@ *-*-hpux*) # HPUX flags from jgotts@engin.umich.edu if test -z "$GCC"; then - CFLAGS="$CFLAGS -Ae -D_HPUX_SOURCE" + CFLAGS="$CFLAGS -Ae" fi cat >> confdefs.h <<\EOF #define HPSUX_NONSTANDARD_X11_KLUDGE 1 @@ -7192,6 +7192,10 @@ for ac_func in strcasecmp strncasecmp snprintf crypt do +ac_func2=$ac_func +if [ $ac_func = snprintf ]; then + ac_func2=v$ac_func +fi echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:7197: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then @@ -7206,7 +7210,7 @@ /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char $ac_func(); +char $ac_func2(); int main() { @@ -7216,7 +7220,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -$ac_func(); +$ac_func2(); #endif ; return 0; }