patch-configure_in 1.1 KB

12345678910111213141516171819202122232425
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- librpcsecgss-0.18.orig/configure.in 2008-04-09 00:05:40.000000000 +0200
  3. +++ librpcsecgss-0.18/configure.in 2009-01-30 16:11:01.000000000 +0100
  4. @@ -10,12 +10,17 @@ AM_PROG_LIBTOOL
  5. # Checks for programs.
  6. AC_PROG_CC
  7. AC_PROG_RANLIB
  8. +AC_PROG_LIBTOOL
  9. # Checks for libraries.
  10. -PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1], [],
  11. - [AC_MSG_ERROR([Unable to locate information required to use libgssglue.
  12. - If you have pkgconfig installed, you might try setting environment
  13. - variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])])
  14. +PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1],
  15. + [echo GSSGLUE found; cp librpcsecgss.pc.in.gssglue librpcsecgss.pc.in],
  16. + [PKG_CHECK_MODULES([GSSGLUE], [heimdal-gssapi],
  17. + [echo HEIMDAL found; cp librpcsecgss.pc.in.heimdal librpcsecgss.pc.in],
  18. + [AC_MSG_ERROR([Unable to locate information required to use libgssglue.
  19. + If you have pkgconfig installed, you might try setting environment
  20. + variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])])])
  21. +
  22. # Checks for header files.
  23. AC_HEADER_STDC