Skip to content

Commit

Permalink
Merge branch 'fix_cups_16_issue'
Browse files Browse the repository at this point in the history
  • Loading branch information
tadejm committed Jan 7, 2013
2 parents d109374 + ce864bf commit e3898ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
exit
end

def has_cups_1_6_installed?
`cups-config --version`.scan(/1.6/).size > 0
end
# def has_cups_1_6_installed?
# `cups-config --version`.scan(/1.6/).size > 0
# end

cups_cflags = `cups-config --cflags`.chomp || ""
cups_cflags += ' -D_IPP_PRIVATE_STRUCTURES' if has_cups_1_6_installed?
# cups_cflags += ' -D_IPP_PRIVATE_STRUCTURES' if has_cups_1_6_installed?
cups_libs = `cups-config --libs`.chomp || ""

with_cflags(cups_cflags) {
Expand Down

0 comments on commit e3898ce

Please sign in to comment.