From: Karl Heuer Date: Mon, 29 May 1995 19:52:41 +0000 (+0000) Subject: Allow x_libraries and x_includes to be paths. X-Git-Tag: emacs-19.34~3860 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=00ac3ffc285d78d647fae5666c9180a430ddbb0a;p=emacs.git Allow x_libraries and x_includes to be paths. --- diff --git a/configure.in b/configure.in index 7f20db0eae3..f430b992e8a 100644 --- a/configure.in +++ b/configure.in @@ -932,11 +932,11 @@ else fi if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then - LD_SWITCH_X_SITE="-L${x_libraries}" - LD_SWITCH_X_SITE_AUX="-R${x_libraries}" + LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"` + LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"` fi if test "${x_includes}" != NONE && test -n "${x_includes}"; then - C_SWITCH_X_SITE="-I${x_includes}" + C_SWITCH_X_SITE=-I`echo ${x_libraries} | sed -e "s/:/ -I/g"` fi if test x"${x_includes}" = x; then