~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct an inequality sign causing the bounds check in Windows
[sgt/putty]
/
unix
/
configure.ac
diff --git
a/unix/configure.ac
b/unix/configure.ac
index
17db126
..
c0756fd
100644
(file)
--- a/
unix/configure.ac
+++ b/
unix/configure.ac
@@
-85,7
+85,15
@@
case "$gtk_version_desired:$gtk" in
1:none | any:none)
ifdef([AM_PATH_GTK],[
AM_PATH_GTK([1.2.0], [gtk=1], [])
1:none | any:none)
ifdef([AM_PATH_GTK],[
AM_PATH_GTK([1.2.0], [gtk=1], [])
- ],[AC_WARNING([generating configure script without GTK 1 autodetection])])
+ ],[
+ # manual check for gtk1
+ AC_PATH_PROG(GTK1_CONFIG, gtk-config, absent)
+ if test "$GTK1_CONFIG" != "absent"; then
+ GTK_CFLAGS=`"$GTK1_CONFIG" --cflags`
+ GTK_LIBS=`"$GTK1_CONFIG" --libs`
+ gtk=1
+ fi
+ ])
;;
esac
;;
esac