configure.in fragment for win32
- From: mcmahill mtl mit edu
- To: gtk-app-devel-list gnome org
- Subject: configure.in fragment for win32
- Date: Tue, 18 Sep 2001 12:53:31 -0400 (EDT)
anyone have a configure.in fragment that sets up GTK+ stuff for win32?
This is what I'd been using for unix-like os's.
AC_PATH_PROG(GTK_CONFIG,gtk-config,none)
if test "x$GTK_CONFIG" = "xnone"; then
AC_MSG_ERROR("You must have gtk installed on your system")
else
AC_MSG_CHECKING("if gtk is version 1.2 or later")
GTK_VER=`$GTK_CONFIG --version`
case $GTK_VER in
0.* )
AC_MSG_ERROR("you need at least version 1.2 of gtk")
;;
1.1* )
AC_MSG_ERROR("you need at least version 1.2 of gtk")
;;
* )
AC_MSG_RESULT("$GTK_VER")
GTK_CFLAGS=`$GTK_CONFIG --cflags`
GTK_LIBS=`$GTK_CONFIG --libs`
;;
esac
fi
thanks
-Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]