aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-07-01 06:19:04 -0400
committerGlenn Morris2011-07-01 06:19:04 -0400
commitf527bd029a8a4ed4071c155fc46437f4d728bea7 (patch)
tree305d6f331afa29c3c4e25d751f2cfa39e1627c7d
parent0da3f8bcf500844c46a6b12b0920776714db8624 (diff)
downloademacs-f527bd029a8a4ed4071c155fc46437f4d728bea7.tar.gz
emacs-f527bd029a8a4ed4071c155fc46437f4d728bea7.zip
Auto-commit of generated files.
-rw-r--r--autogen/Makefile.in4
-rw-r--r--autogen/config.in3
-rwxr-xr-xautogen/configure140
3 files changed, 144 insertions, 3 deletions
diff --git a/autogen/Makefile.in b/autogen/Makefile.in
index d3151304c5f..fd93b0146a6 100644
--- a/autogen/Makefile.in
+++ b/autogen/Makefile.in
@@ -306,6 +306,8 @@ GNULIB_WRITE = @GNULIB_WRITE@
306GNULIB__EXIT = @GNULIB__EXIT@ 306GNULIB__EXIT = @GNULIB__EXIT@
307GNU_OBJC_CFLAGS = @GNU_OBJC_CFLAGS@ 307GNU_OBJC_CFLAGS = @GNU_OBJC_CFLAGS@
308GREP = @GREP@ 308GREP = @GREP@
309GSETTINGS_CFLAGS = @GSETTINGS_CFLAGS@
310GSETTINGS_LIBS = @GSETTINGS_LIBS@
309GTK_CFLAGS = @GTK_CFLAGS@ 311GTK_CFLAGS = @GTK_CFLAGS@
310GTK_LIBS = @GTK_LIBS@ 312GTK_LIBS = @GTK_LIBS@
311GTK_OBJ = @GTK_OBJ@ 313GTK_OBJ = @GTK_OBJ@
@@ -619,6 +621,8 @@ REPLACE_WCTOMB = @REPLACE_WCTOMB@
619REPLACE_WRITE = @REPLACE_WRITE@ 621REPLACE_WRITE = @REPLACE_WRITE@
620RSVG_CFLAGS = @RSVG_CFLAGS@ 622RSVG_CFLAGS = @RSVG_CFLAGS@
621RSVG_LIBS = @RSVG_LIBS@ 623RSVG_LIBS = @RSVG_LIBS@
624SETTINGS_CFLAGS = @SETTINGS_CFLAGS@
625SETTINGS_LIBS = @SETTINGS_LIBS@
622SET_MAKE = @SET_MAKE@ 626SET_MAKE = @SET_MAKE@
623SHELL = @SHELL@ 627SHELL = @SHELL@
624SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ 628SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
diff --git a/autogen/config.in b/autogen/config.in
index 23b98d256b9..8fa108844b8 100644
--- a/autogen/config.in
+++ b/autogen/config.in
@@ -304,6 +304,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
304/* Define to 1 if you have the `grantpt' function. */ 304/* Define to 1 if you have the `grantpt' function. */
305#undef HAVE_GRANTPT 305#undef HAVE_GRANTPT
306 306
307/* Define to 1 if using GSettings. */
308#undef HAVE_GSETTINGS
309
307/* Define to 1 if using GTK 3 or later. */ 310/* Define to 1 if using GTK 3 or later. */
308#undef HAVE_GTK3 311#undef HAVE_GTK3
309 312
diff --git a/autogen/configure b/autogen/configure
index d8ec94e90b1..3543c39c3b1 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -1103,8 +1103,12 @@ LIBXTR6
1103LIBGNUTLS_LIBS 1103LIBGNUTLS_LIBS
1104LIBGNUTLS_CFLAGS 1104LIBGNUTLS_CFLAGS
1105LIBSELINUX_LIBS 1105LIBSELINUX_LIBS
1106SETTINGS_LIBS
1107SETTINGS_CFLAGS
1106GCONF_LIBS 1108GCONF_LIBS
1107GCONF_CFLAGS 1109GCONF_CFLAGS
1110GSETTINGS_LIBS
1111GSETTINGS_CFLAGS
1108DBUS_OBJ 1112DBUS_OBJ
1109DBUS_LIBS 1113DBUS_LIBS
1110DBUS_CFLAGS 1114DBUS_CFLAGS
@@ -1271,6 +1275,7 @@ with_ns
1271with_gpm 1275with_gpm
1272with_dbus 1276with_dbus
1273with_gconf 1277with_gconf
1278with_gsettings
1274with_selinux 1279with_selinux
1275with_gnutls 1280with_gnutls
1276with_makeinfo 1281with_makeinfo
@@ -1987,6 +1992,7 @@ Optional Packages:
1987 console 1992 console
1988 --without-dbus don't compile with D-Bus support 1993 --without-dbus don't compile with D-Bus support
1989 --without-gconf don't compile with GConf support 1994 --without-gconf don't compile with GConf support
1995 --without-gsettings don't compile with GSettings support
1990 --without-selinux don't compile with SELinux support 1996 --without-selinux don't compile with SELinux support
1991 --without-gnutls don't use -lgnutls for SSL/TLS support 1997 --without-gnutls don't use -lgnutls for SSL/TLS support
1992 --without-makeinfo don't require makeinfo for building manuals 1998 --without-makeinfo don't require makeinfo for building manuals
@@ -3990,6 +3996,14 @@ else
3990fi 3996fi
3991 3997
3992 3998
3999# Check whether --with-gsettings was given.
4000if test "${with_gsettings+set}" = set; then :
4001 withval=$with_gsettings;
4002else
4003 with_gsettings=yes
4004fi
4005
4006
3993# Check whether --with-selinux was given. 4007# Check whether --with-selinux was given.
3994if test "${with_selinux+set}" = set; then : 4008if test "${with_selinux+set}" = set; then :
3995 withval=$with_selinux; 4009 withval=$with_selinux;
@@ -11046,8 +11060,113 @@ done
11046fi 11060fi
11047 11061
11048 11062
11063HAVE_GSETTINGS=no
11064if test "${HAVE_X11}" = "yes" && test "${with_gsettings}" = "yes"; then
11065
11066 succeeded=no
11067
11068 # Extract the first word of "pkg-config", so it can be a program name with args.
11069set dummy pkg-config; ac_word=$2
11070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11071$as_echo_n "checking for $ac_word... " >&6; }
11072if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11073 $as_echo_n "(cached) " >&6
11074else
11075 case $PKG_CONFIG in
11076 [\\/]* | ?:[\\/]*)
11077 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11078 ;;
11079 *)
11080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11081for as_dir in $PATH
11082do
11083 IFS=$as_save_IFS
11084 test -z "$as_dir" && as_dir=.
11085 for ac_exec_ext in '' $ac_executable_extensions; do
11086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11087 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11089 break 2
11090 fi
11091done
11092 done
11093IFS=$as_save_IFS
11094
11095 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
11096 ;;
11097esac
11098fi
11099PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11100if test -n "$PKG_CONFIG"; then
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11102$as_echo "$PKG_CONFIG" >&6; }
11103else
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11105$as_echo "no" >&6; }
11106fi
11107
11108
11109
11110 if test "$PKG_CONFIG" = "no" ; then
11111 HAVE_GSETTINGS=no
11112 else
11113 PKG_CONFIG_MIN_VERSION=0.9.0
11114 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.26" >&5
11116$as_echo_n "checking for glib-2.0 >= 2.26... " >&6; }
11117
11118 if $PKG_CONFIG --exists "glib-2.0 >= 2.26" 2>&5; then
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11120$as_echo "yes" >&6; }
11121 succeeded=yes
11122
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSETTINGS_CFLAGS" >&5
11124$as_echo_n "checking GSETTINGS_CFLAGS... " >&6; }
11125 GSETTINGS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.26"|sed -e 's,///*,/,g'`
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSETTINGS_CFLAGS" >&5
11127$as_echo "$GSETTINGS_CFLAGS" >&6; }
11128
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GSETTINGS_LIBS" >&5
11130$as_echo_n "checking GSETTINGS_LIBS... " >&6; }
11131 GSETTINGS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.26"|sed -e 's,///*,/,g'`
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GSETTINGS_LIBS" >&5
11133$as_echo "$GSETTINGS_LIBS" >&6; }
11134 else
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11136$as_echo "no" >&6; }
11137 GSETTINGS_CFLAGS=""
11138 GSETTINGS_LIBS=""
11139 ## If we have a custom action on failure, don't print errors, but
11140 ## do set a variable so people can do so.
11141 GSETTINGS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.26"`
11142
11143 fi
11144
11145
11146
11147 else
11148 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
11149 echo "*** See http://www.freedesktop.org/software/pkgconfig"
11150 fi
11151 fi
11152
11153 if test $succeeded = yes; then
11154 HAVE_GSETTINGS=yes
11155 else
11156 HAVE_GSETTINGS=no
11157 fi
11158
11159 if test "$HAVE_GSETTINGS" = "yes"; then
11160
11161$as_echo "#define HAVE_GSETTINGS 1" >>confdefs.h
11162
11163 SETTINGS_CFLAGS="$GSETTINGS_CFLAGS"
11164 SETTINGS_LIBS="$GSETTINGS_LIBS"
11165 fi
11166fi
11167
11049HAVE_GCONF=no 11168HAVE_GCONF=no
11050if test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then 11169if test "${HAVE_GSETTINGS}" = "no" && test "${HAVE_X11}" = "yes" && test "${with_gconf}" = "yes"; then
11051 11170
11052 succeeded=no 11171 succeeded=no
11053 11172
@@ -11146,7 +11265,17 @@ $as_echo "no" >&6; }
11146 11265
11147$as_echo "#define HAVE_GCONF 1" >>confdefs.h 11266$as_echo "#define HAVE_GCONF 1" >>confdefs.h
11148 11267
11149 for ac_func in g_type_init 11268 SETTINGS_CFLAGS="$GSETTINGS_CFLAGS"
11269 SETTINGS_LIBS="$GSETTINGS_LIBS"
11270 fi
11271fi
11272
11273if test "$HAVE_GSETTINGS" = "yes" || test "$HAVE_GCONF" = "yes"; then
11274 SAVE_CFLAGS="$CFLAGS"
11275 SAVE_LDFLAGS="$LDFLAGS"
11276 CFLAGS="$SETTINGS_CFLAGS $CFLAGS"
11277 LDFLAGS="$SETTINGS_LIBS $LDFLAGS"
11278 for ac_func in g_type_init
11150do : 11279do :
11151 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init" 11280 ac_fn_c_check_func "$LINENO" "g_type_init" "ac_cv_func_g_type_init"
11152if test "x$ac_cv_func_g_type_init" = x""yes; then : 11281if test "x$ac_cv_func_g_type_init" = x""yes; then :
@@ -11157,9 +11286,13 @@ _ACEOF
11157fi 11286fi
11158done 11287done
11159 11288
11160 fi 11289 CFLAGS="$SAVE_CFLAGS"
11290 LDFLAGS="$SAVE_LDFLAGS"
11161fi 11291fi
11162 11292
11293
11294
11295
11163HAVE_LIBSELINUX=no 11296HAVE_LIBSELINUX=no
11164LIBSELINUX_LIBS= 11297LIBSELINUX_LIBS=
11165if test "${with_selinux}" = "yes"; then 11298if test "${with_selinux}" = "yes"; then
@@ -21106,6 +21239,7 @@ echo " Does Emacs use imagemagick? ${HAVE_IMAGEMAGI
21106echo " Does Emacs use -lgpm? ${HAVE_GPM}" 21239echo " Does Emacs use -lgpm? ${HAVE_GPM}"
21107echo " Does Emacs use -ldbus? ${HAVE_DBUS}" 21240echo " Does Emacs use -ldbus? ${HAVE_DBUS}"
21108echo " Does Emacs use -lgconf? ${HAVE_GCONF}" 21241echo " Does Emacs use -lgconf? ${HAVE_GCONF}"
21242echo " Does Emacs use GSettings? ${HAVE_GSETTINGS}"
21109echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}" 21243echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}"
21110echo " Does Emacs use -lgnutls (2.6.x or higher)? ${HAVE_GNUTLS}" 21244echo " Does Emacs use -lgnutls (2.6.x or higher)? ${HAVE_GNUTLS}"
21111echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}" 21245echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}"