aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2010-04-26 20:32:39 -0700
committerGlenn Morris2010-04-26 20:32:39 -0700
commit8ea5f2d92ff7d9d3c243e76c67ed99f25c2bdae2 (patch)
tree5b457fc785de1d404f6302a208429194ff2db7d5
parentafd297bc85725b381439fae4d3036652436aa5c2 (diff)
downloademacs-8ea5f2d92ff7d9d3c243e76c67ed99f25c2bdae2.tar.gz
emacs-8ea5f2d92ff7d9d3c243e76c67ed99f25c2bdae2.zip
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.
-rw-r--r--ChangeLog3
-rwxr-xr-xconfigure16
-rw-r--r--configure.in10
-rw-r--r--src/config.in6
4 files changed, 5 insertions, 30 deletions
diff --git a/ChangeLog b/ChangeLog
index 61a5bf19416..2a70a00484a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
12010-04-27 Glenn Morris <rgm@gnu.org> 12010-04-27 Glenn Morris <rgm@gnu.org>
2 2
3 * configure.in (HAVE_MOTIF_2_1, HAVE_LIBXP): Remove unused AC_DEFINEs,
4 replaced by LIBXP.
5
3 * configure.in (--with-crt-dir): Doc fix (now valid for all platforms). 6 * configure.in (--with-crt-dir): Doc fix (now valid for all platforms).
4 (CRT_DIR): On (powerpc64|sparc64)-*-linux-gnu*, default to /usr/lib64. 7 (CRT_DIR): On (powerpc64|sparc64)-*-linux-gnu*, default to /usr/lib64.
5 On hpux10-20, default to /lib. 8 On hpux10-20, default to /lib.
diff --git a/configure b/configure
index 9bbc94e7fb8..cf4b43fd09a 100755
--- a/configure
+++ b/configure
@@ -13315,12 +13315,6 @@ fi
13315$as_echo "$emacs_cv_motif_version_2_1" >&6; } 13315$as_echo "$emacs_cv_motif_version_2_1" >&6; }
13316 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 13316 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
13317 if test $emacs_cv_motif_version_2_1 = yes; then 13317 if test $emacs_cv_motif_version_2_1 = yes; then
13318 HAVE_LIBXP=no
13319
13320cat >>confdefs.h <<\_ACEOF
13321#define HAVE_MOTIF_2_1 1
13322_ACEOF
13323
13324 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 13318 { $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
13325$as_echo_n "checking for XpCreateContext in -lXp... " >&6; } 13319$as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
13326if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then 13320if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
@@ -13387,17 +13381,9 @@ fi
13387{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 13381{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
13388$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; } 13382$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
13389if test $ac_cv_lib_Xp_XpCreateContext = yes; then 13383if test $ac_cv_lib_Xp_XpCreateContext = yes; then
13390 HAVE_LIBXP=yes 13384 LIBXP=-lXp
13391fi 13385fi
13392 13386
13393 if test ${HAVE_LIBXP} = yes; then
13394
13395cat >>confdefs.h <<\_ACEOF
13396#define HAVE_LIBXP 1
13397_ACEOF
13398
13399 LIBXP=-lXp
13400 fi
13401 else 13387 else
13402 { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 13388 { $as_echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5
13403$as_echo_n "checking for LessTif where some systems put it... " >&6; } 13389$as_echo_n "checking for LessTif where some systems put it... " >&6; }
diff --git a/configure.in b/configure.in
index 20f335a52cf..fa0d0b3fccd 100644
--- a/configure.in
+++ b/configure.in
@@ -1890,15 +1890,7 @@ Motif version prior to 2.1.
1890 emacs_cv_motif_version_2_1=yes, emacs_cv_motif_version_2_1=no)]) 1890 emacs_cv_motif_version_2_1=yes, emacs_cv_motif_version_2_1=no)])
1891 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 1891 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
1892 if test $emacs_cv_motif_version_2_1 = yes; then 1892 if test $emacs_cv_motif_version_2_1 = yes; then
1893 HAVE_LIBXP=no 1893 AC_CHECK_LIB(Xp, XpCreateContext, LIBXP=-lXp)
1894 AC_DEFINE(HAVE_MOTIF_2_1, 1,
1895 [Define to 1 if you have Motif 2.1 or newer.])
1896 AC_CHECK_LIB(Xp, XpCreateContext, HAVE_LIBXP=yes)
1897 if test ${HAVE_LIBXP} = yes; then
1898 AC_DEFINE(HAVE_LIBXP, 1,
1899 [Define to 1 if you have the Xp library (-lXp).])
1900 LIBXP=-lXp
1901 fi
1902 else 1894 else
1903 AC_CACHE_CHECK(for LessTif where some systems put it, emacs_cv_lesstif, 1895 AC_CACHE_CHECK(for LessTif where some systems put it, emacs_cv_lesstif,
1904 # We put this in CFLAGS temporarily to precede other -I options 1896 # We put this in CFLAGS temporarily to precede other -I options
diff --git a/src/config.in b/src/config.in
index 654f32346ec..25b45f8ca97 100644
--- a/src/config.in
+++ b/src/config.in
@@ -405,9 +405,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
405/* Define to 1 if you have the `Xmu' library (-lXmu). */ 405/* Define to 1 if you have the `Xmu' library (-lXmu). */
406#undef HAVE_LIBXMU 406#undef HAVE_LIBXMU
407 407
408/* Define to 1 if you have the Xp library (-lXp). */
409#undef HAVE_LIBXP
410
411/* Define to 1 if you have the <limits.h> header file. */ 408/* Define to 1 if you have the <limits.h> header file. */
412#undef HAVE_LIMITS_H 409#undef HAVE_LIMITS_H
413 410
@@ -488,9 +485,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
488/* Define to 1 if you have a working `mmap' system call. */ 485/* Define to 1 if you have a working `mmap' system call. */
489#undef HAVE_MMAP 486#undef HAVE_MMAP
490 487
491/* Define to 1 if you have Motif 2.1 or newer. */
492#undef HAVE_MOTIF_2_1
493
494/* Define to 1 if you have the `mremap' function. */ 488/* Define to 1 if you have the `mremap' function. */
495#undef HAVE_MREMAP 489#undef HAVE_MREMAP
496 490