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.

82 lines
3.2 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/python23.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. diff -ruN paragui-1.0.4/configure paragui-1.0.4-avm/configure
  23. --- paragui-1.0.4/configure 2003-06-27 10:34:29.000000000 +0200
  24. +++ paragui-1.0.4-avm/configure 2003-09-27 18:31:27.000000000 +0200
  25. @@ -7381,10 +7381,46 @@
  26. if test "x$PYTHON" = xno; then
  27. { echo "configure: error: *** Unable to find python interpreter! ***" 1>&2; exit 1; }
  28. fi
  29. - PYTHON_INCLUDE_DIR=""
  30. + PYTHON_INCLUDE_DIR=""
  31. PYTHON_LIB_DIR=""
  32. have_python_include=no
  33. - ac_safe=`echo "python2.2/Python.h" | sed 'y%./+-%__p_%'`
  34. + ac_safe=`echo "python2.3/Python.h" | sed 'y%./+-%__p_%'`
  35. +echo $ac_n "checking for python2.3/Python.h""... $ac_c" 1>&6
  36. +echo "configure:7426: checking for python2.3/Python.h" >&5
  37. +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  38. + echo $ac_n "(cached) $ac_c" 1>&6
  39. +else
  40. + cat > conftest.$ac_ext <<EOF
  41. +#line 7431 "configure"
  42. +#include "confdefs.h"
  43. +#include <python2.3/Python.h>
  44. +EOF
  45. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  46. +{ (eval echo configure:7436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  47. +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  48. +if test -z "$ac_err"; then
  49. + rm -rf conftest*
  50. + eval "ac_cv_header_$ac_safe=yes"
  51. +else
  52. + echo "$ac_err" >&5
  53. + echo "configure: failed program was:" >&5
  54. + cat conftest.$ac_ext >&5
  55. + rm -rf conftest*
  56. + eval "ac_cv_header_$ac_safe=no"
  57. +fi
  58. +rm -f conftest*
  59. +fi
  60. +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  61. + echo "$ac_t""yes" 1>&6
  62. + have_python_include=yes
  63. +else
  64. + echo "$ac_t""no" 1>&6
  65. +fi
  66. +
  67. + PYTHON_INCLUDE_DIR=$prefix/include/python2.3
  68. + PYTHON_LIB_DIR=$libdir/python2.3
  69. + if test x$have_python_include = xno; then
  70. + ac_safe=`echo "python2.2/Python.h" | sed 'y%./+-%__p_%'`
  71. echo $ac_n "checking for python2.2/Python.h""... $ac_c" 1>&6
  72. echo "configure:7390: checking for python2.2/Python.h" >&5
  73. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  74. @@ -7419,6 +7455,7 @@
  75. PYTHON_INCLUDE_DIR=$prefix/include/python2.2
  76. PYTHON_LIB_DIR=$libdir/python2.2
  77. + fi
  78. if test x$have_python_include = xno; then
  79. ac_safe=`echo "python2.1/Python.h" | sed 'y%./+-%__p_%'`
  80. echo $ac_n "checking for python2.1/Python.h""... $ac_c" 1>&6