diff options
| author | Glenn Morris | 2012-04-30 20:16:02 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-04-30 20:16:02 -0400 |
| commit | 4d5c63499ad91b69ffd08bcfbc248bd66a2d8641 (patch) | |
| tree | b42fdb24a40e2777879320109891226678c8976f | |
| parent | 4737362e43c22bb212c33667f0c264dc7772dc03 (diff) | |
| download | emacs-4d5c63499ad91b69ffd08bcfbc248bd66a2d8641.tar.gz emacs-4d5c63499ad91b69ffd08bcfbc248bd66a2d8641.zip | |
Rename autoconf output variable LD_SWITCH_X_SITE_AUX_RPATH
* configure.in (LD_SWITCH_X_SITE_RPATH):
Rename from LD_SWITCH_X_SITE_AUX_RPATH.
* src/Makefile.in (LD_SWITCH_X_SITE_RPATH):
Rename from LD_SWITCH_X_SITE_AUX_RPATH.
| -rw-r--r-- | ChangeLog | 3 | ||||
| -rw-r--r-- | configure.in | 20 | ||||
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/Makefile.in | 2 |
4 files changed, 17 insertions, 11 deletions
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-05-01 Glenn Morris <rgm@gnu.org> | 1 | 2012-05-01 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * configure.in (LD_SWITCH_X_SITE_RPATH): | ||
| 4 | Rename from LD_SWITCH_X_SITE_AUX_RPATH. | ||
| 5 | |||
| 3 | * configure.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used. | 6 | * configure.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used. |
| 4 | 7 | ||
| 5 | 2012-04-26 Glenn Morris <rgm@gnu.org> | 8 | 2012-04-26 Glenn Morris <rgm@gnu.org> |
diff --git a/configure.in b/configure.in index 0504033141b..47ab49793a4 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -973,7 +973,7 @@ AC_SUBST(LD_SWITCH_SYSTEM) | |||
| 973 | 973 | ||
| 974 | ac_link="$ac_link $LD_SWITCH_SYSTEM" | 974 | ac_link="$ac_link $LD_SWITCH_SYSTEM" |
| 975 | 975 | ||
| 976 | ## This setting of LD_SWITCH_SYSTEM references LD_SWITCH_X_SITE_AUX_RPATH, | 976 | ## This setting of LD_SWITCH_SYSTEM references LD_SWITCH_X_SITE_RPATH, |
| 977 | ## which has not been defined yet. When this was handled with cpp, | 977 | ## which has not been defined yet. When this was handled with cpp, |
| 978 | ## it was expanded to null when configure sourced the s/*.h file. | 978 | ## it was expanded to null when configure sourced the s/*.h file. |
| 979 | ## Thus LD_SWITCH_SYSTEM had different values in configure and the Makefiles. | 979 | ## Thus LD_SWITCH_SYSTEM had different values in configure and the Makefiles. |
| @@ -985,7 +985,7 @@ ac_link="$ac_link $LD_SWITCH_SYSTEM" | |||
| 985 | ## LD_SWITCH_SYSTEM_TEMACS. | 985 | ## LD_SWITCH_SYSTEM_TEMACS. |
| 986 | case "$opsys" in | 986 | case "$opsys" in |
| 987 | netbsd|openbsd) | 987 | netbsd|openbsd) |
| 988 | LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_AUX_RPATH) $LD_SWITCH_SYSTEM" ;; | 988 | LD_SWITCH_SYSTEM="\$(LD_SWITCH_X_SITE_RPATH) $LD_SWITCH_SYSTEM" ;; |
| 989 | esac | 989 | esac |
| 990 | 990 | ||
| 991 | 991 | ||
| @@ -1499,11 +1499,11 @@ else | |||
| 1499 | window_system=x11 | 1499 | window_system=x11 |
| 1500 | fi | 1500 | fi |
| 1501 | 1501 | ||
| 1502 | LD_SWITCH_X_SITE_AUX_RPATH= | 1502 | LD_SWITCH_X_SITE_RPATH= |
| 1503 | if test "${x_libraries}" != NONE; then | 1503 | if test "${x_libraries}" != NONE; then |
| 1504 | if test -n "${x_libraries}"; then | 1504 | if test -n "${x_libraries}"; then |
| 1505 | LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` | 1505 | LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` |
| 1506 | LD_SWITCH_X_SITE_AUX_RPATH=-Wl,-rpath`echo ${x_libraries} | sed -e "s/:/ -Wl,-rpath/g"` | 1506 | LD_SWITCH_X_SITE_RPATH=-Wl,-rpath`echo ${x_libraries} | sed -e "s/:/ -Wl,-rpath/g"` |
| 1507 | fi | 1507 | fi |
| 1508 | x_default_search_path="" | 1508 | x_default_search_path="" |
| 1509 | x_search_path=${x_libraries} | 1509 | x_search_path=${x_libraries} |
| @@ -1526,7 +1526,7 @@ ${x_library}/X11/%T/%N%S" | |||
| 1526 | fi | 1526 | fi |
| 1527 | done | 1527 | done |
| 1528 | fi | 1528 | fi |
| 1529 | AC_SUBST(LD_SWITCH_X_SITE_AUX_RPATH) | 1529 | AC_SUBST(LD_SWITCH_X_SITE_RPATH) |
| 1530 | 1530 | ||
| 1531 | if test "${x_includes}" != NONE && test -n "${x_includes}"; then | 1531 | if test "${x_includes}" != NONE && test -n "${x_includes}"; then |
| 1532 | C_SWITCH_X_SITE="$isystem"`echo ${x_includes} | sed -e "s/:/ $isystem/g"` | 1532 | C_SWITCH_X_SITE="$isystem"`echo ${x_includes} | sed -e "s/:/ $isystem/g"` |
| @@ -1854,9 +1854,9 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 1854 | CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS" | 1854 | CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS" |
| 1855 | 1855 | ||
| 1856 | # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests. | 1856 | # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests. |
| 1857 | # This is handled by LD_SWITCH_X_SITE_AUX_RPATH during the real build, | 1857 | # This is handled by LD_SWITCH_X_SITE_RPATH during the real build, |
| 1858 | # but it's more convenient here to set LD_RUN_PATH since this | 1858 | # but it's more convenient here to set LD_RUN_PATH since this |
| 1859 | # also works on hosts that don't understand LD_SWITCH_X_SITE_AUX_RPATH. | 1859 | # also works on hosts that don't understand LD_SWITCH_X_SITE_RPATH. |
| 1860 | if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then | 1860 | if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then |
| 1861 | LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH | 1861 | LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH |
| 1862 | export LD_RUN_PATH | 1862 | export LD_RUN_PATH |
| @@ -3506,14 +3506,14 @@ case "$opsys" in | |||
| 3506 | LD_SWITCH_SYSTEM_TEMACS="-X $LD_SWITCH_SYSTEM_TEMACS" | 3506 | LD_SWITCH_SYSTEM_TEMACS="-X $LD_SWITCH_SYSTEM_TEMACS" |
| 3507 | ;; | 3507 | ;; |
| 3508 | 3508 | ||
| 3509 | ## LD_SWITCH_X_SITE_AUX_RPATH is a -rpath option saying where to | 3509 | ## LD_SWITCH_X_SITE_RPATH is a -rpath option saying where to |
| 3510 | ## find X at run-time. | 3510 | ## find X at run-time. |
| 3511 | ## When handled by cpp, this was in LD_SWITCH_SYSTEM. However, at the | 3511 | ## When handled by cpp, this was in LD_SWITCH_SYSTEM. However, at the |
| 3512 | ## point where configure sourced the s/*.h file, LD_SWITCH_X_SITE_AUX_RPATH | 3512 | ## point where configure sourced the s/*.h file, LD_SWITCH_X_SITE_RPATH |
| 3513 | ## had not yet been defined and was expanded to null. Hence LD_SWITCH_SYSTEM | 3513 | ## had not yet been defined and was expanded to null. Hence LD_SWITCH_SYSTEM |
| 3514 | ## had different values in configure (in ac_link) and src/Makefile.in. | 3514 | ## had different values in configure (in ac_link) and src/Makefile.in. |
| 3515 | ## It seems clearer therefore to put this piece in LD_SWITCH_SYSTEM_TEMACS. | 3515 | ## It seems clearer therefore to put this piece in LD_SWITCH_SYSTEM_TEMACS. |
| 3516 | gnu*) LD_SWITCH_SYSTEM_TEMACS="\$(LD_SWITCH_X_SITE_AUX_RPATH)" ;; | 3516 | gnu*) LD_SWITCH_SYSTEM_TEMACS="\$(LD_SWITCH_X_SITE_RPATH)" ;; |
| 3517 | 3517 | ||
| 3518 | *) LD_SWITCH_SYSTEM_TEMACS= ;; | 3518 | *) LD_SWITCH_SYSTEM_TEMACS= ;; |
| 3519 | esac | 3519 | esac |
diff --git a/src/ChangeLog b/src/ChangeLog index dc8683839a6..f1e175a968d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-05-01 Glenn Morris <rgm@gnu.org> | 1 | 2012-05-01 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (LD_SWITCH_X_SITE_RPATH): | ||
| 4 | Rename from LD_SWITCH_X_SITE_AUX_RPATH. | ||
| 5 | |||
| 3 | * Makefile.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used. | 6 | * Makefile.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used. |
| 4 | 7 | ||
| 5 | 2012-04-30 Andreas Schwab <schwab@linux-m68k.org> | 8 | 2012-04-30 Andreas Schwab <schwab@linux-m68k.org> |
diff --git a/src/Makefile.in b/src/Makefile.in index 7bea8c2b29d..32276084b3f 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -96,7 +96,7 @@ LD_SWITCH_X_SITE= | |||
| 96 | 96 | ||
| 97 | ## This must come before LD_SWITCH_SYSTEM. | 97 | ## This must come before LD_SWITCH_SYSTEM. |
| 98 | ## If needed, a -rpath option that says where to find X windows at run time. | 98 | ## If needed, a -rpath option that says where to find X windows at run time. |
| 99 | LD_SWITCH_X_SITE_AUX_RPATH=@LD_SWITCH_X_SITE_AUX_RPATH@ | 99 | LD_SWITCH_X_SITE_RPATH=@LD_SWITCH_X_SITE_RPATH@ |
| 100 | 100 | ||
| 101 | ## System-specific LDFLAGS. | 101 | ## System-specific LDFLAGS. |
| 102 | LD_SWITCH_SYSTEM=@LD_SWITCH_SYSTEM@ | 102 | LD_SWITCH_SYSTEM=@LD_SWITCH_SYSTEM@ |