diff options
author | Jörg Mayer <jmayer@loplof.de> | 2013-07-24 11:51:10 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2013-07-24 11:51:10 +0000 |
commit | 18155bd148a5352a1c8fe2f36424f7051163229d (patch) | |
tree | dfd9d1fb92cc303172f2330ed300bc1c35768574 | |
parent | 957436d5b89291c653d9dc6226d858140490cd36 (diff) |
Change default gtk build from version 2 to version 3 for
autotool, cmake and nmake.
No idea what it takes to change the visual project stuff
svn path=/trunk/; revision=50863
-rw-r--r-- | CMakeOptions.txt | 2 | ||||
-rw-r--r-- | config.nmake | 2 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rwxr-xr-x | macosx-setup.sh | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt index cbf9dd81e3..17a6c146eb 100644 --- a/CMakeOptions.txt +++ b/CMakeOptions.txt @@ -19,7 +19,7 @@ option(AUTOGEN_pidl "Autogenerate pidl dissectors" OFF) option(DISABLE_WERROR "Do not treat Warnings as errors" OFF) option(ENABLE_EXTRA_GCC_CHECKS "Do additional -W checks in GCC (disables -Werror)" OFF) -option(ENABLE_GTK3 "Use GTK3 instead of GTK2 to build wireshark" OFF) +option(ENABLE_GTK3 "Use GTK3 instead of GTK2 to build wireshark" ON) option(ENABLE_QT5 "Use Qt5 instead of Qt4 to build qtshark" OFF) option(ENABLE_PCAP "Enable libpcap support (required for capturing)" ON) # diff --git a/config.nmake b/config.nmake index e0375609de..aaf108cc6b 100644 --- a/config.nmake +++ b/config.nmake @@ -251,7 +251,7 @@ GLIB_VERSION=2.0 # directory in which the "include" and "lib" directories reside. # # Set the name to gtk3 if you want to use gtk3 -GTK_NAME=gtk2 +GTK_NAME=gtk3 GTK_DIR=$(WIRESHARK_LIB_DIR)\$(GTK_NAME) diff --git a/configure.ac b/configure.ac index 30d419934c..d87a9ef406 100644 --- a/configure.ac +++ b/configure.ac @@ -404,8 +404,8 @@ AC_ARG_WITH([gtk2], AC_ARG_WITH([gtk3], AC_HELP_STRING( [--with-gtk3=@<:@yes/no@:>@], - [use GTK+ 3.0 instead of 2.0 @<:@default=no@:>@]), - with_gtk3="$withval", with_gtk3="no") + [use GTK+ 3.0 instead of 2.0 @<:@default=yes@:>@]), + with_gtk3="$withval", with_gtk3="yes") # GnuTLS # Version 3.0 switched from LGPLv2.1+ to LGPLv3+, then switched back to diff --git a/macosx-setup.sh b/macosx-setup.sh index 9943e36033..84cff9642d 100755 --- a/macosx-setup.sh +++ b/macosx-setup.sh @@ -391,7 +391,7 @@ if [[ $DARWIN_MAJOR_VERSION -le 9 ]]; then fi # To set up a GTK3 environment -# GTK3=1 +GTK3=1 # To build cmake # CMAKE=1 # |