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.

29 lines
847 B

  1. --- a/configure.in
  2. +++ b/configure.in
  3. @@ -632,14 +632,14 @@ if test "$class_driver" = "no" && test "
  4. fi
  5. fi
  6. -SAVE_CPPFLAGS="$CPPFLAGS"
  7. +SAVE_CFLAGS="$CFLAGS"
  8. CFLAGS=`python-config --includes`
  9. -if [ $? -eq 0 ]
  10. +if test $? -eq 0
  11. then
  12. echo $FLAGS
  13. else
  14. CFLAGS=`python3-config --includes`
  15. - if [ $? -eq 0 ]
  16. + if test $? -eq 0
  17. then
  18. echo $FLAGS
  19. fi
  20. @@ -659,7 +659,7 @@ if test "$class_driver" = "no" && test "
  21. AS_IF([test "x$FOUND_HEADER" != "xyes"],
  22. [AC_MSG_ERROR([cannot find python-devel support], 6)])
  23. fi
  24. -CFLAGS="$save_CFLAGS"
  25. +CFLAGS="$SAVE_CFLAGS"
  26. if test "$hpijs_only_build" = "no" && test "$scan_build" = "yes" && test "$hpcups_only_build" = "no"; then
  27. AC_CHECK_LIB([sane], [sane_open], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find sane-backends-devel support (or --disable-scan-build)], 12)])