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.4 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 - 2006 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. --- ./configure.in~ 2005-10-19 04:38:18.000000000 +0200
  20. +++ ./configure.in 2005-10-19 04:39:58.000000000 +0200
  21. @@ -32,6 +32,51 @@
  22. test $enable_termcap = yes && libtermcap="-ltermcap",)
  23. AC_SUBST(libtermcap)
  24. +# Generic macro, sets up all of the global packaging variables.
  25. +# The following environment variables may be set to override defaults:
  26. +# DEBUG OPTIMIZER MALLOCLIB PLATFORM DISTRIBUTION INSTALL_USER INSTALL_GROUP
  27. +# BUILD_VERSION
  28. +#
  29. +AC_DEFUN([AC_PACKAGE_GLOBALS],
  30. + [ pkg_name="$1"
  31. + AC_SUBST(pkg_name)
  32. +
  33. + . ./VERSION
  34. + pkg_version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
  35. + AC_SUBST(pkg_version)
  36. + pkg_release=$PKG_BUILD
  37. + test -z "$BUILD_VERSION" || pkg_release="$BUILD_VERSION"
  38. + AC_SUBST(pkg_release)
  39. +
  40. + DEBUG=${DEBUG:-'-DDEBUG'} dnl -DNDEBUG
  41. + debug_build="$DEBUG"
  42. + AC_SUBST(debug_build)
  43. +
  44. + OPTIMIZER=${OPTIMIZER:-'-g'} dnl -O2
  45. + opt_build="$OPTIMIZER"
  46. + AC_SUBST(opt_build)
  47. +
  48. + MALLOCLIB=${MALLOCLIB:-''} dnl /usr/lib/libefence.a
  49. + malloc_lib="$MALLOCLIB"
  50. + AC_SUBST(malloc_lib)
  51. +
  52. + PKG_USER=${INSTALL_USER:-'root'}
  53. + pkg_user="$PKG_USER"
  54. + AC_SUBST(pkg_user)
  55. +
  56. + PKG_GROUP=${INSTALL_GROUP:-'root'}
  57. + pkg_group="$PKG_GROUP"
  58. + AC_SUBST(pkg_group)
  59. +
  60. + pkg_distribution=`uname -s`
  61. + test -z "$DISTRIBUTION" || pkg_distribution="$DISTRIBUTION"
  62. + AC_SUBST(pkg_distribution)
  63. +
  64. + pkg_platform=`uname -s | tr 'A-Z' 'a-z' | sed -e 's/irix64/irix/'`
  65. + test -z "$PLATFORM" || pkg_platform="$PLATFORM"
  66. + AC_SUBST(pkg_platform)
  67. + ])
  68. +
  69. AC_PACKAGE_GLOBALS(xfsprogs)
  70. AC_PACKAGE_UTILITIES(xfsprogs)