AM_PATH_GTK and -Werror
- From: "Juergen A. Erhard" <jae laden ilk de>
- To: GTK <gtk-list redhat com>
- Subject: AM_PATH_GTK and -Werror
- Date: Thu, 23 Apr 1998 15:55:46 +0200
This is re: 0.99.9, so if 0.99.10+ fixes this, ignore it.
If you compile with -Werror, and set in configure.in together with
other -W flags... then don't do that before AM_PATH_CHECK. Otherwise
it won't `find' GTK.
How come? AM_PATH_CHECK runs a test prog which defines three int vars
for the holding the version number you specify. Those it compares
against the major, minor, micro parts of GTK's version number... but
those are `guint's!
configure:1524: warning: comparison between signed and unsigned
and this is an error with -Werror!
The fix: just make major,minor and micro in AM_PATH_CHECK be
Jürgen A. Erhard eMail: firstname.lastname@example.org phone: (GERMANY) 0721 27326
My WebHome: http://members.tripod.com/~Juergen_Erhard
GNOME Desktop Project (http://www.gnome.org)
Win32 has many known work arounds. For example, Linux.
] [Thread Prev