patch-configure_in 748 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-configure_in,v 1.2 2013/05/15 09:46:28 sebastia Exp $
  2. --- configure.in.orig Fri Aug 27 15:51:53 2010
  3. +++ configure.in Sun Apr 28 07:51:37 2013
  4. @@ -216,7 +216,8 @@ if test $openpty -eq 0 ; then
  5. # the default behavior, we must also handle augment LIBS too.
  6. # This needn't be done in the 2nd and 3rd tests.
  7. AC_DEFINE(HAVE_OPENPTY)
  8. - LIBS="$LIBS -lutil"
  9. + PTYLIB="-lutil"
  10. + LIBS="$LIBS $PTYLIB"
  11. ])
  12. fi
  13. @@ -980,6 +981,7 @@ AC_SUBST(DEFAULT_STTY_ARGS)
  14. # Expect uses these from tclConfig.sh to make the main executable
  15. AC_SUBST(TCL_DL_LIBS)
  16. AC_SUBST(TCL_CC_SEARCH_FLAGS)
  17. +AC_SUBST(PTYLIB)
  18. #--------------------------------------------------------------------
  19. # More TEA code based on data we got from the original expect