patch-configure 833 B

12345678910111213141516171819202122232425262728293031323334
  1. --- cups-1.4.4.orig/configure 2010-06-17 20:25:47.000000000 +0200
  2. +++ cups-1.4.4/configure 2010-09-29 22:35:47.000000000 +0200
  3. @@ -1966,7 +1966,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4. -uname=`uname`
  5. +uname=Linux
  6. uversion=`uname -r | sed -e '1,$s/^[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\1\2/'`
  7. uarch=`uname -m`
  8. @@ -10002,8 +10002,8 @@ if test "$libdir" = "\${exec_prefix}/lib
  9. libdir="$exec_prefix/lib32"
  10. ;;
  11. Linux*)
  12. - if test -d /usr/lib64; then
  13. - libdir="$exec_prefix/lib64"
  14. + if test -d /usr/lib; then
  15. + libdir="$exec_prefix/lib"
  16. fi
  17. ;;
  18. HP-UX*)
  19. @@ -10412,11 +10412,6 @@ _ACEOF
  20. # Server executables...
  21. case "$uname" in
  22. - *BSD* | Darwin*)
  23. - # *BSD and Darwin (MacOS X)
  24. - INSTALL_SYSV=""
  25. - CUPS_SERVERBIN="$exec_prefix/libexec/cups"
  26. - ;;
  27. *)
  28. # All others
  29. INSTALL_SYSV="install-sysv"