aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid J. MacKenzie1994-11-14 17:08:32 +0000
committerDavid J. MacKenzie1994-11-14 17:08:32 +0000
commitea199426bb18d98a91145555c8c222477dfaa8ba (patch)
treee19080b2433585d482e57d12a70d1ab652f3aece
parent5c06a8eb1508bcbbfb16c848da122f68cb82d25b (diff)
downloademacs-ea199426bb18d98a91145555c8c222477dfaa8ba.tar.gz
emacs-ea199426bb18d98a91145555c8c222477dfaa8ba.zip
Don't add -I, -L, -R options for cc if their
arguments would be empty.
-rw-r--r--configure.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 6b75ffa32b9..21063584eb1 100644
--- a/configure.in
+++ b/configure.in
@@ -897,9 +897,13 @@ else
897 window_system=x11 897 window_system=x11
898fi 898fi
899 899
900test "${x_libraries}" != NONE && LD_SWITCH_X_SITE="-L${x_libraries}" 900if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
901test "${x_libraries}" != NONE && LD_SWITCH_X_SITE_AUX="-R${x_libraries}" 901 LD_SWITCH_X_SITE="-L${x_libraries}"
902test "${x_includes}" != NONE && C_SWITCH_X_SITE="-I${x_includes}" 902 LD_SWITCH_X_SITE_AUX="-R${x_libraries}"
903fi
904if test "${x_includes}" != NONE && test -n "${x_includes}"; then
905 C_SWITCH_X_SITE="-I${x_includes}"
906fi
903 907
904if test x"${x_includes}" = x; then 908if test x"${x_includes}" = x; then
905 bitmapdir=/usr/include/X11/bitmaps 909 bitmapdir=/usr/include/X11/bitmaps