Mercurial > hg > xemacs-beta
comparison configure.in @ 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 |
---|---|
2546 for possible in gtk12-config gtk14-config gtk-config | 2546 for possible in gtk12-config gtk14-config gtk-config |
2547 do | 2547 do |
2548 possible_version=`${possible} --version 2> /dev/null` | 2548 possible_version=`${possible} --version 2> /dev/null` |
2549 if test "x${possible_version}" != "x"; then | 2549 if test "x${possible_version}" != "x"; then |
2550 GTK_CONFIG="${possible}" | 2550 GTK_CONFIG="${possible}" |
2551 case "${possible_version}" in | |
2552 1.0.*) AC_MSG_WARN([GTK 1.2 is required, please upgrade your version of GTK.]); with_gtk=no;; | |
2553 1.3.*) AC_MSG_WARN([GTK 1.3 is not supported right now]); with_gtk=no;; | |
2554 1.2.*) | |
2555 with_gtk=yes | |
2556 break | |
2557 ;; | |
2558 *) AC_MSG_WARN([Found unsupported version of GTK: $possible_version]);; | |
2559 esac | |
2551 fi | 2560 fi |
2552 case "${possible_version}" in | |
2553 1.0.*) AC_MSG_WARN([GTK 1.2 is required, please upgrade your version of GTK.]); with_gtk=no;; | |
2554 1.3.*) AC_MSG_WARN([GTK 1.3 is not supported right now]); with_gtk=no;; | |
2555 1.2.*) | |
2556 with_gtk=yes | |
2557 break | |
2558 ;; | |
2559 *) AC_MSG_WARN([Found unsupported version of GTK: $possible_version]);; | |
2560 esac | |
2561 done | 2561 done |
2562 AC_MSG_RESULT([${GTK_CONFIG}]) | 2562 AC_MSG_RESULT([${GTK_CONFIG}]) |
2563 fi | 2563 fi |
2564 | 2564 |
2565 if test "${GTK_CONFIG}" != "no"; then | 2565 if test "${GTK_CONFIG}" != "no"; then |