patch-configure_ac 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --- util-linux-2.25.2.orig/configure.ac 2014-10-24 05:24:02.952545559 -0500
  2. +++ util-linux-2.25.2/configure.ac 2014-12-28 02:49:26.739043554 -0600
  3. @@ -53,16 +53,6 @@ LIBSMARTCOLS_LT_MINOR=1
  4. LIBSMARTCOLS_LT_MICRO=0
  5. LIBSMARTCOLS_VERSION_INFO=`expr $LIBSMARTCOLS_LT_MAJOR + $LIBSMARTCOLS_LT_MINOR`:$LIBSMARTCOLS_LT_MICRO:$LIBSMARTCOLS_LT_MINOR
  6. -# Check whether exec_prefix=/usr:
  7. -AS_CASE([$exec_prefix:$prefix],
  8. -[NONE:NONE | NONE:/usr | /usr:*],
  9. - [AC_MSG_NOTICE([Default --exec-prefix detected.])
  10. - AS_CASE([$bindir], ['${exec_prefix}/bin'], [bindir=/bin; AC_MSG_NOTICE([ --bindir defaults to /bin]) ])
  11. - AS_CASE([$sbindir], ['${exec_prefix}/sbin'], [sbindir=/sbin; AC_MSG_NOTICE([ --sbindir defaults to /sbin])])
  12. - AS_CASE([$libdir], ['${exec_prefix}/lib'], [libdir=/lib; AC_MSG_NOTICE([ --libdir defaults to /lib]) ])
  13. - ]
  14. -)
  15. -
  16. AS_CASE([$prefix:$localstatedir],
  17. [NONE:'${prefix}/var' | /usr:'${prefix}/var'],
  18. [localstatedir=/run
  19. @@ -160,16 +150,6 @@ UL_SET_ARCH([HPPA], [hppa*])
  20. AC_SYS_LARGEFILE
  21. -dnl Don't forget to maintain alternatively allowed versions in autogen.sh!
  22. -AM_GNU_GETTEXT_VERSION([0.18.3])
  23. -AM_GNU_GETTEXT([external])
  24. -
  25. -AS_IF([test -d "$srcdir/po"], [
  26. - ALL_LINGUAS=`cd $srcdir/po > /dev/null && echo *.po | sed 's/\.po//g'`
  27. -], [
  28. - ALL_LINGUAS="af am ar as be bg bn_IN bn ca cs cy da de el en_GB es et eu_ES fa fi fr gl gu he hi hr hu hy id is it ja ka kn ko ku lo lt lv mk ml mr ms my nb nl nn no nso or pa pl pt_BR pt ro ru si sk sl sq sr@Latn sr sv ta te th tr uk ur vi zh_CN zh_TW zu"
  29. -])
  30. -
  31. AC_CHECK_HEADERS([linux/compiler.h linux/blkpg.h linux/major.h], [], [], [
  32. #ifdef HAVE_LINUX_COMPILER_H
  33. #include <linux/compiler.h>
  34. @@ -1811,7 +1791,9 @@ libmount/src/libmount.h
  35. libsmartcols/docs/Makefile
  36. libsmartcols/docs/version.xml
  37. libsmartcols/src/libsmartcols.h
  38. -po/Makefile.in
  39. +libblkid/blkid.pc
  40. +libuuid/uuid.pc
  41. +libmount/mount.pc
  42. ])
  43. AC_OUTPUT