Commit ea199426 authored by David J. MacKenzie's avatar David J. MacKenzie
Browse files

Don't add -I, -L, -R options for cc if their

        arguments would be empty.
parent 5c06a8eb
...@@ -897,9 +897,13 @@ else ...@@ -897,9 +897,13 @@ else
window_system=x11 window_system=x11
fi fi
test "${x_libraries}" != NONE && LD_SWITCH_X_SITE="-L${x_libraries}" if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
test "${x_libraries}" != NONE && LD_SWITCH_X_SITE_AUX="-R${x_libraries}" LD_SWITCH_X_SITE="-L${x_libraries}"
test "${x_includes}" != NONE && C_SWITCH_X_SITE="-I${x_includes}" LD_SWITCH_X_SITE_AUX="-R${x_libraries}"
if test "${x_includes}" != NONE && test -n "${x_includes}"; then
if test x"${x_includes}" = x; then if test x"${x_includes}" = x; then
bitmapdir=/usr/include/X11/bitmaps bitmapdir=/usr/include/X11/bitmaps
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment