diff options
| author | David J. MacKenzie | 1994-11-14 17:08:32 +0000 |
|---|---|---|
| committer | David J. MacKenzie | 1994-11-14 17:08:32 +0000 |
| commit | ea199426bb18d98a91145555c8c222477dfaa8ba (patch) | |
| tree | e19080b2433585d482e57d12a70d1ab652f3aece | |
| parent | 5c06a8eb1508bcbbfb16c848da122f68cb82d25b (diff) | |
| download | emacs-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.in | 10 |
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 |
| 898 | fi | 898 | fi |
| 899 | 899 | ||
| 900 | test "${x_libraries}" != NONE && LD_SWITCH_X_SITE="-L${x_libraries}" | 900 | if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then |
| 901 | test "${x_libraries}" != NONE && LD_SWITCH_X_SITE_AUX="-R${x_libraries}" | 901 | LD_SWITCH_X_SITE="-L${x_libraries}" |
| 902 | test "${x_includes}" != NONE && C_SWITCH_X_SITE="-I${x_includes}" | 902 | LD_SWITCH_X_SITE_AUX="-R${x_libraries}" |
| 903 | fi | ||
| 904 | if test "${x_includes}" != NONE && test -n "${x_includes}"; then | ||
| 905 | C_SWITCH_X_SITE="-I${x_includes}" | ||
| 906 | fi | ||
| 903 | 907 | ||
| 904 | if test x"${x_includes}" = x; then | 908 | if test x"${x_includes}" = x; then |
| 905 | bitmapdir=/usr/include/X11/bitmaps | 909 | bitmapdir=/usr/include/X11/bitmaps |