changeset 11998:3c3f3bbe311f

Allow x_libraries and x_includes to be paths.
author Karl Heuer <kwzh@gnu.org>
date Mon, 29 May 1995 19:52:41 +0000
parents 50c7c05fc301
children f074fb9f8e83
files configure.in
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Mon May 29 19:49:52 1995 +0000
+++ b/configure.in	Mon May 29 19:52:41 1995 +0000
@@ -932,11 +932,11 @@
 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