]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow x_libraries and x_includes to be paths.
authorKarl Heuer <kwzh@gnu.org>
Mon, 29 May 1995 19:52:41 +0000 (19:52 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 29 May 1995 19:52:41 +0000 (19:52 +0000)
configure.in

index 7f20db0eae3c4ae0e7449e761521a135731eb015..f430b992e8a2da12f0ce2168e199671cb2d5420f 100644 (file)
@@ -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