diff options
| author | Glenn Morris | 2013-07-02 06:17:36 -0400 |
|---|---|---|
| committer | Glenn Morris | 2013-07-02 06:17:36 -0400 |
| commit | 646b949918ac89c9d49a9e75bc82330f1b06f7ae (patch) | |
| tree | cec68f6679c9c2116014b41398259d06e0ff2f2c | |
| parent | 52a9bcae40a1c8536cf70cc4622a6877024e4b36 (diff) | |
| download | emacs-646b949918ac89c9d49a9e75bc82330f1b06f7ae.tar.gz emacs-646b949918ac89c9d49a9e75bc82330f1b06f7ae.zip | |
Auto-commit of generated files.
| -rw-r--r-- | autogen/config.in | 6 | ||||
| -rwxr-xr-x | autogen/configure | 43 |
2 files changed, 35 insertions, 14 deletions
diff --git a/autogen/config.in b/autogen/config.in index 56d59da131a..94185b160ca 100644 --- a/autogen/config.in +++ b/autogen/config.in | |||
| @@ -590,9 +590,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 590 | /* Define to 1 if you have the `gtk_handle_box_new' function. */ | 590 | /* Define to 1 if you have the `gtk_handle_box_new' function. */ |
| 591 | #undef HAVE_GTK_HANDLE_BOX_NEW | 591 | #undef HAVE_GTK_HANDLE_BOX_NEW |
| 592 | 592 | ||
| 593 | /* Define to 1 if you have the `gtk_main' function. */ | ||
| 594 | #undef HAVE_GTK_MAIN | ||
| 595 | |||
| 596 | /* Define to 1 if you have the `gtk_orientable_set_orientation' function. */ | 593 | /* Define to 1 if you have the `gtk_orientable_set_orientation' function. */ |
| 597 | #undef HAVE_GTK_ORIENTABLE_SET_ORIENTATION | 594 | #undef HAVE_GTK_ORIENTABLE_SET_ORIENTATION |
| 598 | 595 | ||
| @@ -1703,7 +1700,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1703 | && !defined __APPLE__) | 1700 | && !defined __APPLE__) |
| 1704 | # define _GL_INLINE inline | 1701 | # define _GL_INLINE inline |
| 1705 | # define _GL_EXTERN_INLINE extern inline | 1702 | # define _GL_EXTERN_INLINE extern inline |
| 1706 | #elif 2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __APPLE__ | 1703 | #elif (2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __STRICT_ANSI__ \ |
| 1704 | && !defined __APPLE__) | ||
| 1707 | # if __GNUC_GNU_INLINE__ | 1705 | # if __GNUC_GNU_INLINE__ |
| 1708 | /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ | 1706 | /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ |
| 1709 | # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) | 1707 | # define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) |
diff --git a/autogen/configure b/autogen/configure index 4e53f52e0b6..4feb8ace937 100755 --- a/autogen/configure +++ b/autogen/configure | |||
| @@ -11455,18 +11455,41 @@ if test x"$pkg_check_gtk" = xyes; then | |||
| 11455 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" | 11455 | C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" |
| 11456 | CFLAGS="$CFLAGS $GTK_CFLAGS" | 11456 | CFLAGS="$CFLAGS $GTK_CFLAGS" |
| 11457 | LIBS="$GTK_LIBS $LIBS" | 11457 | LIBS="$GTK_LIBS $LIBS" |
| 11458 | GTK_COMPILES=no | 11458 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GTK compiles" >&5 |
| 11459 | for ac_func in gtk_main | 11459 | $as_echo_n "checking whether GTK compiles... " >&6; } |
| 11460 | do : | 11460 | GTK_COMPILES=no |
| 11461 | ac_fn_c_check_func "$LINENO" "gtk_main" "ac_cv_func_gtk_main" | 11461 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 11462 | if test "x$ac_cv_func_gtk_main" = x""yes; then : | 11462 | /* end confdefs.h. */ |
| 11463 | cat >>confdefs.h <<_ACEOF | 11463 | /* Check the Gtk and Glib APIs. */ |
| 11464 | #define HAVE_GTK_MAIN 1 | 11464 | #include <gtk/gtk.h> |
| 11465 | #include <glib-object.h> | ||
| 11466 | static void | ||
| 11467 | callback (GObject *go, GParamSpec *spec, gpointer user_data) | ||
| 11468 | {} | ||
| 11469 | |||
| 11470 | int | ||
| 11471 | main () | ||
| 11472 | { | ||
| 11473 | |||
| 11474 | GtkSettings *gs = 0; | ||
| 11475 | /* Use G_CALLBACK to make sure function pointers can be cast to void *; | ||
| 11476 | strict C prohibits this. Use gtk_main_iteration to test that the | ||
| 11477 | libraries are there. */ | ||
| 11478 | if (g_signal_handler_find (G_OBJECT (gs), G_SIGNAL_MATCH_FUNC, | ||
| 11479 | 0, 0, 0, G_CALLBACK (callback), 0)) | ||
| 11480 | gtk_main_iteration (); | ||
| 11481 | |||
| 11482 | ; | ||
| 11483 | return 0; | ||
| 11484 | } | ||
| 11465 | _ACEOF | 11485 | _ACEOF |
| 11466 | GTK_COMPILES=yes | 11486 | if ac_fn_c_try_link "$LINENO"; then : |
| 11487 | GTK_COMPILES=yes | ||
| 11467 | fi | 11488 | fi |
| 11468 | done | 11489 | rm -f core conftest.err conftest.$ac_objext \ |
| 11469 | 11490 | conftest$ac_exeext conftest.$ac_ext | |
| 11491 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_COMPILES" >&5 | ||
| 11492 | $as_echo "$GTK_COMPILES" >&6; } | ||
| 11470 | if test "${GTK_COMPILES}" != "yes"; then | 11493 | if test "${GTK_COMPILES}" != "yes"; then |
| 11471 | GTK_OBJ= | 11494 | GTK_OBJ= |
| 11472 | if test "$USE_X_TOOLKIT" != "maybe"; then | 11495 | if test "$USE_X_TOOLKIT" != "maybe"; then |