From: Glenn Morris Date: Tue, 27 Apr 2010 07:38:05 +0000 (-0700) Subject: Regenerate configure. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~372 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c82a724450cefb1fb095eec7b229186ab13d3dce;p=emacs.git Regenerate configure. --- diff --git a/configure b/configure index d963346e812..99bc7a188e3 100755 --- a/configure +++ b/configure @@ -723,8 +723,6 @@ DBUS_OBJ GCONF_CFLAGS GCONF_LIBS LIBSELINUX_LIBS -LUCID_LIBW -LIBXP FONTCONFIG_CFLAGS FONTCONFIG_LIBS XFT_CFLAGS @@ -794,6 +792,7 @@ OTHER_FILES XMENU_OBJ XOBJ WIDGET_OBJ +TOOLKIT_LIBW LTLIBOBJS' ac_subst_files='' ac_user_opts=' @@ -13011,7 +13010,6 @@ $as_echo "no; do not use toolkit by default" >&6; } fi fi - X_TOOLKIT_TYPE=$USE_X_TOOLKIT if test "${USE_X_TOOLKIT}" != "none"; then @@ -13307,7 +13305,6 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 $as_echo "$emacs_cv_motif_version_2_1" >&6; } - HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 if test $emacs_cv_motif_version_2_1 = yes; then { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 $as_echo_n "checking for XpCreateContext in -lXp... " >&6; } @@ -13453,7 +13450,6 @@ fi - USE_TOOLKIT_SCROLL_BARS=no if test "${with_toolkit_scroll_bars}" != "no"; then if test "${USE_X_TOOLKIT}" != "none"; then @@ -25888,6 +25884,7 @@ fi +## Used in lwlib/Makefile.in. @@ -25954,6 +25951,7 @@ fi WIDGET_OBJ= +MOTIF_LIBW= if test "${USE_X_TOOLKIT}" != "none" ; then WIDGET_OBJ=widget.o @@ -25973,9 +25971,36 @@ cat >>confdefs.h <<\_ACEOF #define USE_MOTIF 1 _ACEOF + MOTIF_LIBW=-lXm + case "$opsys" in + gnu-linux) + ## Paul Abrahams says this is needed. + MOTIF_LIBW="$MOTIF_LIBW -lXpm" + ;; + + unixware) + ## Richard Anthony Ryan + ## says -lXimp is needed in UNIX_SV ... 4.2 1.1.2. + MOTIF_LIBW="MOTIF_LIBW -lXimp" + ;; + + aix4-2) + ## olson@mcs.anl.gov says -li18n is needed by -lXm. + MOTIF_LIBW="$MOTIF_LIBW -li18n" + ;; + esac + MOTIF_LIBW="$MOTIF_LIBW $LIBXP" fi fi + +case "$USE_X_TOOLKIT" in + MOTIF) TOOLKIT_LIBW="$MOTIF_LIBW" ;; + LUCID) TOOLKIT_LIBW="$LUCID_LIBW" ;; + *) TOOLKIT_LIBW= ;; +esac + + if test "${HAVE_X11}" = "yes" ; then cat >>confdefs.h <<\_ACEOF