summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/makevalues.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/css/makevalues.pl')
-rw-r--r--Source/WebCore/css/makevalues.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebCore/css/makevalues.pl b/Source/WebCore/css/makevalues.pl
index 353360698..9c9fb5793 100644
--- a/Source/WebCore/css/makevalues.pl
+++ b/Source/WebCore/css/makevalues.pl
@@ -3,7 +3,7 @@
# This file is part of the WebKit project
#
# Copyright (C) 1999 Waldo Bastian (bastian@kde.org)
-# Copyright (C) 2007 Apple Inc. All rights reserved.
+# Copyright (C) 2007, 2012 Apple Inc. All rights reserved.
# Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
# Copyright (C) 2010 Andras Becsi (abecsi@inf.u-szeged.hu), University of Szeged
#
@@ -160,4 +160,5 @@ const char* getValueName(unsigned short id);
EOF
close HEADER;
-system("gperf --key-positions=\"*\" -D -n -s 2 CSSValueKeywords.gperf --output-file=CSSValueKeywords.cpp") == 0 || die "calling gperf failed: $?";
+my $gperf = $ENV{GPERF} ? $ENV{GPERF} : "gperf";
+system("\"$gperf\" --key-positions=\"*\" -D -n -s 2 CSSValueKeywords.gperf --output-file=CSSValueKeywords.cpp") == 0 || die "calling gperf failed: $?";