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.

60 lines
2.2 KiB

  1. diff -ruN paragui-1.0.4/configure paragui-1.0.4-avm/configure
  2. --- paragui-1.0.4/configure 2003-06-27 10:34:29.000000000 +0200
  3. +++ paragui-1.0.4-avm/configure 2003-09-27 18:31:27.000000000 +0200
  4. @@ -7381,10 +7381,46 @@
  5. if test "x$PYTHON" = xno; then
  6. { echo "configure: error: *** Unable to find python interpreter! ***" 1>&2; exit 1; }
  7. fi
  8. - PYTHON_INCLUDE_DIR=""
  9. + PYTHON_INCLUDE_DIR=""
  10. PYTHON_LIB_DIR=""
  11. have_python_include=no
  12. - ac_safe=`echo "python2.2/Python.h" | sed 'y%./+-%__p_%'`
  13. + ac_safe=`echo "python2.3/Python.h" | sed 'y%./+-%__p_%'`
  14. +echo $ac_n "checking for python2.3/Python.h""... $ac_c" 1>&6
  15. +echo "configure:7426: checking for python2.3/Python.h" >&5
  16. +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  17. + echo $ac_n "(cached) $ac_c" 1>&6
  18. +else
  19. + cat > conftest.$ac_ext <<EOF
  20. +#line 7431 "configure"
  21. +#include "confdefs.h"
  22. +#include <python2.3/Python.h>
  23. +EOF
  24. +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  25. +{ (eval echo configure:7436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  26. +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
  27. +if test -z "$ac_err"; then
  28. + rm -rf conftest*
  29. + eval "ac_cv_header_$ac_safe=yes"
  30. +else
  31. + echo "$ac_err" >&5
  32. + echo "configure: failed program was:" >&5
  33. + cat conftest.$ac_ext >&5
  34. + rm -rf conftest*
  35. + eval "ac_cv_header_$ac_safe=no"
  36. +fi
  37. +rm -f conftest*
  38. +fi
  39. +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
  40. + echo "$ac_t""yes" 1>&6
  41. + have_python_include=yes
  42. +else
  43. + echo "$ac_t""no" 1>&6
  44. +fi
  45. +
  46. + PYTHON_INCLUDE_DIR=$prefix/include/python2.3
  47. + PYTHON_LIB_DIR=$libdir/python2.3
  48. + if test x$have_python_include = xno; then
  49. + ac_safe=`echo "python2.2/Python.h" | sed 'y%./+-%__p_%'`
  50. echo $ac_n "checking for python2.2/Python.h""... $ac_c" 1>&6
  51. echo "configure:7390: checking for python2.2/Python.h" >&5
  52. if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  53. @@ -7419,6 +7455,7 @@
  54. PYTHON_INCLUDE_DIR=$prefix/include/python2.2
  55. PYTHON_LIB_DIR=$libdir/python2.2
  56. + fi
  57. if test x$have_python_include = xno; then
  58. ac_safe=`echo "python2.1/Python.h" | sed 'y%./+-%__p_%'`
  59. echo $ac_n "checking for python2.1/Python.h""... $ac_c" 1>&6