diff options
| -rw-r--r-- | configure.in | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 03ef25375b4..a64d161a79a 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -1720,11 +1720,18 @@ else | |||
| 1720 | window_system=x11 | 1720 | window_system=x11 |
| 1721 | fi | 1721 | fi |
| 1722 | 1722 | ||
| 1723 | if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then | 1723 | if test "${x_libraries}" != NONE; then |
| 1724 | LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` | 1724 | if test -n "${x_libraries}"; then |
| 1725 | LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"` | 1725 | LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` |
| 1726 | LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"` | ||
| 1727 | fi | ||
| 1726 | x_default_search_path="" | 1728 | x_default_search_path="" |
| 1727 | for x_library in `echo ${x_libraries} | sed -e "s/:/ /g"`; do | 1729 | x_search_path=${x_libraries} |
| 1730 | if test -z "${x_search_path}"; then | ||
| 1731 | x_search_path=/usr/lib | ||
| 1732 | fi | ||
| 1733 | for x_library in `echo ${x_search_path}: | \ | ||
| 1734 | sed -e "s/:/ /g" -e p -e "s:/lib[[^ /]]* :/share :g"`; do | ||
| 1728 | x_search_path="\ | 1735 | x_search_path="\ |
| 1729 | ${x_library}/X11/%L/%T/%N%C%S:\ | 1736 | ${x_library}/X11/%L/%T/%N%C%S:\ |
| 1730 | ${x_library}/X11/%l/%T/%N%C%S:\ | 1737 | ${x_library}/X11/%l/%T/%N%C%S:\ |