Mercurial > hg > xemacs-beta
comparison configure @ 527:7b35ad872326
[xemacs-hg @ 2001-05-10 08:09:13 by yoshiki]
Malcolm Purvis's patch "[PATCH] Ximian an unsupported version of GTK?",
<m166frq0wn.fsf@co3018576-a.rivrw1.nsw.optushome.com.au>
* configure.in: Check gtk version validity only when gtk-config
exists.
author | yoshiki |
---|---|
date | Thu, 10 May 2001 08:09:23 +0000 |
parents | 6495d35ba9df |
children | c69610198c35 |
comparison
equal
deleted
inserted
replaced
526:a5ee2ca8672c | 527:7b35ad872326 |
---|---|
5031 for possible in gtk12-config gtk14-config gtk-config | 5031 for possible in gtk12-config gtk14-config gtk-config |
5032 do | 5032 do |
5033 possible_version=`${possible} --version 2> /dev/null` | 5033 possible_version=`${possible} --version 2> /dev/null` |
5034 if test "x${possible_version}" != "x"; then | 5034 if test "x${possible_version}" != "x"; then |
5035 GTK_CONFIG="${possible}" | 5035 GTK_CONFIG="${possible}" |
5036 case "${possible_version}" in | |
5037 1.0.*) echo "configure: warning: GTK 1.2 is required, please upgrade your version of GTK." 1>&2; with_gtk=no;; | |
5038 1.3.*) echo "configure: warning: GTK 1.3 is not supported right now" 1>&2; with_gtk=no;; | |
5039 1.2.*) | |
5040 with_gtk=yes | |
5041 break | |
5042 ;; | |
5043 *) echo "configure: warning: Found unsupported version of GTK: $possible_version" 1>&2;; | |
5044 esac | |
5036 fi | 5045 fi |
5037 case "${possible_version}" in | |
5038 1.0.*) echo "configure: warning: GTK 1.2 is required, please upgrade your version of GTK." 1>&2; with_gtk=no;; | |
5039 1.3.*) echo "configure: warning: GTK 1.3 is not supported right now" 1>&2; with_gtk=no;; | |
5040 1.2.*) | |
5041 with_gtk=yes | |
5042 break | |
5043 ;; | |
5044 *) echo "configure: warning: Found unsupported version of GTK: $possible_version" 1>&2;; | |
5045 esac | |
5046 done | 5046 done |
5047 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5047 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5048 fi | 5048 fi |
5049 | 5049 |
5050 if test "${GTK_CONFIG}" != "no"; then | 5050 if test "${GTK_CONFIG}" != "no"; then |