diff options
| author | Paul Eggert | 2013-12-08 00:53:49 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-12-08 00:53:49 -0800 |
| commit | 3bc9da3286759f895574ecad3234ee3e0973e9df (patch) | |
| tree | f3c83d49b330eb2764f6257185d3cc2284205d40 | |
| parent | 27262e39e6a1da5db8cf0735615193efc49b9ad7 (diff) | |
| download | emacs-3bc9da3286759f895574ecad3234ee3e0973e9df.tar.gz emacs-3bc9da3286759f895574ecad3234ee3e0973e9df.zip | |
* configure.ac: Simplify supression of GTK deprecation warning.
Move -DGDK_DISABLE_DEPRECATION_WARNINGS out of the command line
and into config.h, to shorten the command line when doing 'make'.
Don't AC_SUBST GTK_CFLAGS, as this is not needed.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.ac | 7 |
2 files changed, 9 insertions, 3 deletions
| @@ -1,5 +1,10 @@ | |||
| 1 | 2013-12-08 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-12-08 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * configure.ac: Simplify supression of GTK deprecation warning. | ||
| 4 | Move -DGDK_DISABLE_DEPRECATION_WARNINGS out of the command line | ||
| 5 | and into config.h, to shorten the command line when doing 'make'. | ||
| 6 | Don't AC_SUBST GTK_CFLAGS, as this is not needed. | ||
| 7 | |||
| 3 | Use libcrypto's checksum implementations if available, for speed. | 8 | Use libcrypto's checksum implementations if available, for speed. |
| 4 | On commonly used platform libcrypto uses architecture-specific | 9 | On commonly used platform libcrypto uses architecture-specific |
| 5 | assembly code, which is significantly faster than the C code we | 10 | assembly code, which is significantly faster than the C code we |
diff --git a/configure.ac b/configure.ac index 264c339ed6e..5240afac291 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -2185,8 +2185,10 @@ if test "${opsys}" != "mingw32"; then | |||
| 2185 | gtk_term_header=gtkutil.h | 2185 | gtk_term_header=gtkutil.h |
| 2186 | USE_GTK_TOOLKIT="GTK3" | 2186 | USE_GTK_TOOLKIT="GTK3" |
| 2187 | if test "x$ac_enable_gtk_deprecation_warnings" = x; then | 2187 | if test "x$ac_enable_gtk_deprecation_warnings" = x; then |
| 2188 | GTK_CFLAGS="$GTK_CFLAGS -DGDK_DISABLE_DEPRECATION_WARNINGS" | 2188 | AC_DEFINE([GDK_DISABLE_DEPRECATION_WARNINGS], [1], |
| 2189 | GTK_CFLAGS="$GTK_CFLAGS -DGLIB_DISABLE_DEPRECATION_WARNINGS" | 2189 | [Define to 1 to disable GTK+/GDK deprecation warnings.]) |
| 2190 | AC_DEFINE([GLIB_DISABLE_DEPRECATION_WARNINGS], [1], | ||
| 2191 | [Define to 1 to disable Glib deprecation warnings.]) | ||
| 2190 | fi | 2192 | fi |
| 2191 | else | 2193 | else |
| 2192 | check_gtk2=yes | 2194 | check_gtk2=yes |
| @@ -2212,7 +2214,6 @@ fi | |||
| 2212 | 2214 | ||
| 2213 | if test x"$pkg_check_gtk" = xyes; then | 2215 | if test x"$pkg_check_gtk" = xyes; then |
| 2214 | 2216 | ||
| 2215 | AC_SUBST(GTK_CFLAGS) | ||
| 2216 | AC_SUBST(GTK_LIBS) | 2217 | AC_SUBST(GTK_LIBS) |
| 2217 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" | 2218 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" |
| 2218 | CFLAGS="$CFLAGS $GTK_CFLAGS" | 2219 | CFLAGS="$CFLAGS $GTK_CFLAGS" |