[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100044: Remove some AC_DEFINEs that
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100044: Remove some AC_DEFINEs that are now unused. |
Date: |
Mon, 26 Apr 2010 20:32:39 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100044
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Mon 2010-04-26 20:32:39 -0700
message:
Remove some AC_DEFINEs that are now unused.
* configure.in (HAVE_MOTIF_2_1, HAVE_LIBXP): Remove unused AC_DEFINEs,
replaced by LIBXP.
* configure, src/config.in: Regenerate.
modified:
ChangeLog
configure
configure.in
src/config.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2010-04-27 03:14:14 +0000
+++ b/ChangeLog 2010-04-27 03:32:39 +0000
@@ -1,5 +1,8 @@
2010-04-27 Glenn Morris <address@hidden>
+ * configure.in (HAVE_MOTIF_2_1, HAVE_LIBXP): Remove unused AC_DEFINEs,
+ replaced by LIBXP.
+
* configure.in (--with-crt-dir): Doc fix (now valid for all platforms).
(CRT_DIR): On (powerpc64|sparc64)-*-linux-gnu*, default to /usr/lib64.
On hpux10-20, default to /lib.
=== modified file 'configure'
--- a/configure 2010-04-27 03:18:39 +0000
+++ b/configure 2010-04-27 03:32:39 +0000
@@ -13315,12 +13315,6 @@
$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
- HAVE_LIBXP=no
-
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_MOTIF_2_1 1
-_ACEOF
-
{ $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
$as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
@@ -13387,17 +13381,9 @@
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
if test $ac_cv_lib_Xp_XpCreateContext = yes; then
- HAVE_LIBXP=yes
+ LIBXP=-lXp
fi
- if test ${HAVE_LIBXP} = yes; then
-
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_LIBXP 1
-_ACEOF
-
- LIBXP=-lXp
- fi
else
{ $as_echo "$as_me:$LINENO: checking for LessTif where some systems put
it" >&5
$as_echo_n "checking for LessTif where some systems put it... " >&6; }
=== modified file 'configure.in'
--- a/configure.in 2010-04-27 03:14:14 +0000
+++ b/configure.in 2010-04-27 03:32:39 +0000
@@ -1890,15 +1890,7 @@
emacs_cv_motif_version_2_1=yes, emacs_cv_motif_version_2_1=no)])
HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
if test $emacs_cv_motif_version_2_1 = yes; then
- HAVE_LIBXP=no
- AC_DEFINE(HAVE_MOTIF_2_1, 1,
- [Define to 1 if you have Motif 2.1 or newer.])
- AC_CHECK_LIB(Xp, XpCreateContext, HAVE_LIBXP=yes)
- if test ${HAVE_LIBXP} = yes; then
- AC_DEFINE(HAVE_LIBXP, 1,
- [Define to 1 if you have the Xp library (-lXp).])
- LIBXP=-lXp
- fi
+ AC_CHECK_LIB(Xp, XpCreateContext, LIBXP=-lXp)
else
AC_CACHE_CHECK(for LessTif where some systems put it, emacs_cv_lesstif,
# We put this in CFLAGS temporarily to precede other -I options
=== modified file 'src/config.in'
--- a/src/config.in 2010-04-24 02:25:45 +0000
+++ b/src/config.in 2010-04-27 03:32:39 +0000
@@ -405,9 +405,6 @@
/* Define to 1 if you have the `Xmu' library (-lXmu). */
#undef HAVE_LIBXMU
-/* Define to 1 if you have the Xp library (-lXp). */
-#undef HAVE_LIBXP
-
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
@@ -488,9 +485,6 @@
/* Define to 1 if you have a working `mmap' system call. */
#undef HAVE_MMAP
-/* Define to 1 if you have Motif 2.1 or newer. */
-#undef HAVE_MOTIF_2_1
-
/* Define to 1 if you have the `mremap' function. */
#undef HAVE_MREMAP
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100044: Remove some AC_DEFINEs that are now unused.,
Glenn Morris <=