mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.5 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/xfsprogs/new_automake.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -ruN xfsprogs-2.6.13-old/configure.in xfsprogs-2.6.13/configure.in
  20. --- xfsprogs-2.6.13-old/configure.in 2004-06-17 11:42:40.341733888 +0200
  21. +++ xfsprogs-2.6.13/configure.in 2004-06-17 11:41:28.386672720 +0200
  22. @@ -26,7 +26,50 @@
  23. enable_editline=no)
  24. AC_SUBST(libeditline)
  25. AC_SUBST(enable_editline)
  26. +# Generic macro, sets up all of the global packaging variables.
  27. +# The following environment variables may be set to override defaults:
  28. +# DEBUG OPTIMIZER MALLOCLIB PLATFORM DISTRIBUTION INSTALL_USER INSTALL_GROUP
  29. +# BUILD_VERSION
  30. +#
  31. +AC_DEFUN([AC_PACKAGE_GLOBALS],
  32. + [ pkg_name="$1"
  33. + AC_SUBST(pkg_name)
  34. + . ./VERSION
  35. + pkg_version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
  36. + AC_SUBST(pkg_version)
  37. + pkg_release=$PKG_BUILD
  38. + test -z "$BUILD_VERSION" || pkg_release="$BUILD_VERSION"
  39. + AC_SUBST(pkg_release)
  40. +
  41. + DEBUG=${DEBUG:-'-DDEBUG'} dnl -DNDEBUG
  42. + debug_build="$DEBUG"
  43. + AC_SUBST(debug_build)
  44. +
  45. + OPTIMIZER=${OPTIMIZER:-'-g'} dnl -O2
  46. + opt_build="$OPTIMIZER"
  47. + AC_SUBST(opt_build)
  48. +
  49. + MALLOCLIB=${MALLOCLIB:-''} dnl /usr/lib/libefence.a
  50. + malloc_lib="$MALLOCLIB"
  51. + AC_SUBST(malloc_lib)
  52. +
  53. + PKG_USER=${INSTALL_USER:-'root'}
  54. + pkg_user="$PKG_USER"
  55. + AC_SUBST(pkg_user)
  56. +
  57. + PKG_GROUP=${INSTALL_GROUP:-'root'}
  58. + pkg_group="$PKG_GROUP"
  59. + AC_SUBST(pkg_group)
  60. +
  61. + pkg_distribution=`uname -s`
  62. + test -z "$DISTRIBUTION" || pkg_distribution="$DISTRIBUTION"
  63. + AC_SUBST(pkg_distribution)
  64. +
  65. + pkg_platform=`uname -s | tr 'A-Z' 'a-z' | sed -e 's/irix64/irix/'`
  66. + test -z "$PLATFORM" || pkg_platform="$PLATFORM"
  67. + AC_SUBST(pkg_platform)
  68. + ])
  69. AC_PACKAGE_GLOBALS(xfsprogs)
  70. AC_PACKAGE_UTILITIES(xfsprogs)