aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-02-04 20:16:38 +0000
committerRichard M. Stallman1996-02-04 20:16:38 +0000
commit617a496cbbf36ed7ff8bfb5ae1c55b167ab18e31 (patch)
tree79674511099fdeba47adf2bd0271b8e0726f918c
parentcc210d67649f027421f03c60f7e2035d103edcb3 (diff)
downloademacs-617a496cbbf36ed7ff8bfb5ae1c55b167ab18e31.tar.gz
emacs-617a496cbbf36ed7ff8bfb5ae1c55b167ab18e31.zip
(LD_RUN_PATH): Prepend x_libraries to this envvar.
-rw-r--r--configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index fb7ea9f4554..8bcd982eb55 100644
--- a/configure.in
+++ b/configure.in
@@ -1253,6 +1253,15 @@ if test "${HAVE_X11}" = "yes"; then
1253 LIBS="$LIBX $LIBS" 1253 LIBS="$LIBX $LIBS"
1254 CFLAGS="$C_SWITCH_X_SITE $CFLAGS" 1254 CFLAGS="$C_SWITCH_X_SITE $CFLAGS"
1255 1255
1256 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
1257 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
1258 # but it's more convenient here to set LD_RUN_PATH
1259 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
1260 if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
1261 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
1262 export LD_RUN_PATH
1263 fi
1264
1256 if test "${opsys}" = "linux"; then 1265 if test "${opsys}" = "linux"; then
1257 AC_MSG_CHECKING(whether X on GNU/Linux needs -b to link) 1266 AC_MSG_CHECKING(whether X on GNU/Linux needs -b to link)
1258 AC_TRY_LINK([], 1267 AC_TRY_LINK([],