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.

72 lines
2.7 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/kasc/paragui/python24.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 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.orig 2004-12-13 16:52:22.000000000 +0100
  20. +++ ./configure 2004-12-13 16:53:50.000000000 +0100
  21. @@ -7384,6 +7384,42 @@
  22. PYTHON_INCLUDE_DIR=""
  23. PYTHON_LIB_DIR=""
  24. have_python_include=no
  25. + ac_safe=`echo "python2.4/Python.h" | sed 'y%./+-%__p_%'`
  26. +echo $ac_n "checking for python2.4/Python.h""... $ac_c" 1>&6
  27. +echo "configure:7426: checking for python2.4/Python.h" >&5
  28. +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  29. + echo $ac_n "(cached) $ac_c" 1>&6
  30. +else
  31. + cat > conftest.$ac_ext <<EOF
  32. +#line 7431 "configure"
  33. +#include "confdefs.h"
  34. +#include <python2.4/Python.h>
  35. +EOF
  36. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  37. +{ (eval echo configure:7436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  38. +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  39. +if test -z "$ac_err"; then
  40. + rm -rf conftest*
  41. + eval "ac_cv_header_$ac_safe=yes"
  42. +else
  43. + echo "$ac_err" >&5
  44. + echo "configure: failed program was:" >&5
  45. + cat conftest.$ac_ext >&5
  46. + rm -rf conftest*
  47. + eval "ac_cv_header_$ac_safe=no"
  48. +fi
  49. +rm -f conftest*
  50. +fi
  51. +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  52. + echo "$ac_t""yes" 1>&6
  53. + have_python_include=yes
  54. +else
  55. + echo "$ac_t""no" 1>&6
  56. +fi
  57. +
  58. + PYTHON_INCLUDE_DIR=$prefix/include/python2.4
  59. + PYTHON_LIB_DIR=$libdir/python2.4
  60. + if test x$have_python_include = xno; then
  61. ac_safe=`echo "python2.3/Python.h" | sed 'y%./+-%__p_%'`
  62. echo $ac_n "checking for python2.3/Python.h""... $ac_c" 1>&6
  63. echo "configure:7426: checking for python2.3/Python.h" >&5
  64. @@ -7419,6 +7455,7 @@
  65. PYTHON_INCLUDE_DIR=$prefix/include/python2.3
  66. PYTHON_LIB_DIR=$libdir/python2.3
  67. + fi
  68. if test x$have_python_include = xno; then
  69. ac_safe=`echo "python2.2/Python.h" | sed 'y%./+-%__p_%'`
  70. echo $ac_n "checking for python2.2/Python.h""... $ac_c" 1>&6