patch-autogen_sh 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. --- polkit-0.112.orig/autogen.sh 2013-09-18 18:55:09.000000000 +0200
  2. +++ polkit-0.112/autogen.sh 2014-01-09 21:12:29.000000000 +0100
  3. @@ -34,14 +34,6 @@ touch ChangeLog
  4. }
  5. }
  6. -(gtkdocize --flavour no-tmpl) < /dev/null > /dev/null 2>&1 || {
  7. - echo
  8. - echo "You must have gtk-doc installed to compile $PROJECT."
  9. - echo "Install the appropriate package for your distribution,"
  10. - echo "or get the source tarball at http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/"
  11. - DIE=1
  12. -}
  13. -
  14. (automake --version) < /dev/null > /dev/null 2>&1 || {
  15. echo
  16. echo "**Error**: You must have automake installed."
  17. @@ -74,13 +66,6 @@ if test "$DIE" -eq 1; then
  18. exit 1
  19. fi
  20. -if test -z "$*"; then
  21. - echo "**Warning**: I am going to run configure with no arguments."
  22. - echo "If you wish to pass any to it, please specify them on the"
  23. - echo $0 " command line."
  24. - echo
  25. -fi
  26. -
  27. case $CC in
  28. xlc )
  29. am_opt=--include-deps;;
  30. @@ -88,13 +73,10 @@ esac
  31. aclocalinclude="$ACLOCAL_FLAGS"
  32. - echo "Running autoreconf on test/mocklibc ..."
  33. - (cd "test/mocklibc"; autoreconf --install)
  34. -
  35. if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then
  36. if test -z "$NO_LIBTOOLIZE" ; then
  37. echo "Running libtoolize..."
  38. - libtoolize --force --copy
  39. + libtoolize -q --force --copy
  40. fi
  41. fi
  42. echo "Running aclocal $aclocalinclude ..."
  43. @@ -108,16 +90,4 @@ esac
  44. echo "Running autoconf ..."
  45. autoconf
  46. -intltoolize --copy --force --automake || exit 1
  47. -
  48. cd "$olddir"
  49. -
  50. -conf_flags="--enable-maintainer-mode --enable-gtk-doc"
  51. -
  52. -if test x$NOCONFIGURE = x; then
  53. - echo "Running $srcdir/configure $conf_flags $@ ..."
  54. - $srcdir/configure $conf_flags "$@" \
  55. - && echo "Now type make to compile." || exit 1
  56. -else
  57. - echo "Skipping configure process."
  58. -fi