diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2010-11-26 23:50:56 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2010-11-26 23:50:56 +0000 |
commit | 6b7aa68613b37a87625cd413addcd58a5d23f371 (patch) | |
tree | 8bb482be300c883c3123627bb0b78700e046f778 | |
parent | 6c1e90bfd001b147e7da5fd38119e1ace761e485 (diff) |
Define HAVE_GTK in config.h when compiling with GTK for the GUI
svn path=/trunk/; revision=35036
-rw-r--r-- | config.h.win32 | 3 | ||||
-rw-r--r-- | configure.in | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/config.h.win32 b/config.h.win32 index 688d9076f7..27bce4b539 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -232,6 +232,9 @@ #define popen _popen #define pclose _pclose +/* Define to use GTK *(/ +#define HAVE_GTK + /* Name of package */ #define PACKAGE "wireshark" diff --git a/configure.in b/configure.in index eee1efc9d8..27de1d7ab4 100644 --- a/configure.in +++ b/configure.in @@ -674,6 +674,7 @@ if test "x$enable_wireshark" = "xyes"; then [ CFLAGS="$CFLAGS $GTK_CFLAGS" CXXFLAGS="$CXXFLAGS $GTK_CFLAGS" + AC_DEFINE(HAVE_GTK, 1, [Define to 1 if compiling with GTK]) ], GTK_OK=no, gthread) else GTK_OK=no |