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.

53 lines
1.8 KiB

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